From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Michael Sullivan <msulli1355@gmail.com>
Subject: Re: [gentoo-user] Samba freakiness; why isn't it reading MY /etc/samba/smb.conf file?
Date: Tue, 22 Jun 2010 00:23:13 +0200 [thread overview]
Message-ID: <201006220023.13387.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <1277156698.14918.36.camel@camille.espersunited.com>
On Monday 21 June 2010 23:44:58 Michael Sullivan wrote:
> I just rebooted the computer to make sure this wasn't some weird RAM
> remnant, but the computer booted up:
Everything below is correct. What makes you think its wrong?
testparm does not dump a config file, it tells you what setting are IN EFFECT.
"writeable=yes" and "read only = No" are exactly the same thing. You used the
former, samba uses the latter internally and translated it.
There is no problem here.
>
> carter ~ # /etc/init.d/samba status
> * status: started
> carter ~ # cat /etc/samba/smb.conf
> [global]
> workgroup = MYGROUP
> security = user
> encrypt passwords = yes
> guest account = guest
> wins support = yes
> local master = yes
> os level = 99
> domain master = yes
> preferred master = yes
> hosts allow = 192.168.1. 127.
> interfaces = eth0
>
> [tmp]
> path=/tmp
> writeable=yes
>
> [homes]
> path=/samba/michael
> valid users=michael
> writable=yes
> carter ~ # testparm
> Load smb config files from /etc/samba/smb.conf
> rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
> Processing section "[tmp]"
> Processing section "[homes]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
> Press enter to see a dump of your service definitions
>
> [global]
> workgroup = MYGROUP
> interfaces = eth0
> guest account = guest
> os level = 99
> preferred master = Yes
> domain master = Yes
> wins support = Yes
> hosts allow = 192.168.1., 127.
>
> [tmp]
> path = /tmp
> read only = No
>
> [homes]
> path = /samba/michael
> valid users = michael
> read only = No
>
> At the top there you see that Samba IS started. Under that you see MY
> smb.conf, and at the bottom you see the smb.conf that's being loaded.
> Nothing really in the logs that would suggest what's going on here:
>
> carter ~ # cat /var/log/samba/*
> cat: /var/log/samba/cores: Is a directory
> [2010/06/21 16:39:34, 0] nmbd/nmbd.c:854(main)
> nmbd version 3.4.6 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2009
> [2010/06/21 16:39:34, 0] nmbd/asyncdns.c:155(start_async_dns)
> started asyncdns process 20980
> [2010/06/21 16:39:34, 0]
> nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins)
> become_domain_master_browser_wins:
> Attempting to become domain master browser on workgroup MYGROUP,
> subnet UNICAST_SUBNET.
> [2010/06/21 16:39:34, 0]
> nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins)
> become_domain_master_browser_wins: querying WINS server from IP
> 192.168.1.2 for domain master browser name MYGROUP<1b> on workgroup
> MYGROUP
> [2010/06/21 16:39:40, 0]
> nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
> *****
>
> Samba server CARTER is now a domain master browser for workgroup
> MYGROUP on subnet UNICAST_SUBNET
>
> *****
> [2010/06/21 16:39:40, 0]
> nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast)
> become_domain_master_browser_bcast:
> Attempting to become domain master browser on workgroup MYGROUP on
> subnet 192.168.1.2
> [2010/06/21 16:39:40, 0]
> nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast)
> become_domain_master_browser_bcast: querying subnet 192.168.1.2 for
> domain master browser on workgroup MYGROUP
> [2010/06/21 16:39:48, 0]
> nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
> *****
>
> Samba server CARTER is now a domain master browser for workgroup
> MYGROUP on subnet 192.168.1.2
>
> *****
> [2010/06/21 16:39:56, 0]
> nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
> *****
>
> Samba name server CARTER is now a local master browser for workgroup
> MYGROUP on subnet 192.168.1.2
>
> *****
> [2010/06/21 16:39:33, 0] smbd/server.c:1073(main)
> smbd version 3.4.6 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2009
> [2010/06/21 16:39:33, 0] printing/print_cups.c:103(cups_connect)
> Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such
> file or directory
> [2010/06/21 16:39:33, 0] printing/print_cups.c:103(cups_connect)
> Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such
> file or directory
> [2010/06/21 16:39:34, 0] smbd/server.c:457(smbd_open_one_socket)
> smbd_open_once_socket: open_socket_in: Address already in use
> [2010/06/21 16:39:34, 0] smbd/server.c:457(smbd_open_one_socket)
> smbd_open_once_socket: open_socket_in: Address already in use
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-06-21 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-21 21:44 [gentoo-user] Samba freakiness; why isn't it reading MY /etc/samba/smb.conf file? Michael Sullivan
2010-06-21 22:23 ` Alan McKinnon [this message]
2010-07-03 2:40 ` Greg Fitzgerald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006220023.13387.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
--cc=msulli1355@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox