[Samba] smb.conf, in addition to my questions of yesterday

joop gerritse jjge at xs4all.nl
Sat Aug 4 16:19:13 GMT 2007


On Saturday 04 August 2007 11:27:27 John Drescher wrote:
[...]
> You are not using AD, LDAP or winbindd but you are using the tdbsam with
> mapped users security method. You are not using a wins server and the samba
> server will not be the master browser (this may be a problem).

Right. I think I will use LDAP later, but, if I understand the documents I've 
seen so far, it is only needed if you want to keep the user databases in step 
between PDC and BDC.
I was not aware that I was using the tdbsam, but I have just seen a completely 
new source of documentation, so I will read that first; at least I now know 
that it exists...
I am not planning to use a wins server, unless I really need it, and I am 
still pondering over your last remark: I have 
        domain master =  no
        local master = yes
        preferred master = no
(I have tried quite a few other settings, though...), but at least it should 
be the local master, and in the absence of the PDC, wouldn't it become the 
master by default?

>
> I see you have a lot of shares configured and the detail in the
> smb.confsays that you have thought this one through.
>
> Do the users in the /etc/samba/smbusers that you have used to connect to
> from windows have their unix accounts created and is the password the same
> as the mapped user has in windows?

yes. In fact, I copied over the whole /etc/passwd, /etc/shadow, smbusers, and 
all home directories. So effectively they should have identical accounts on 
both machines (and don't tell me that this will soon become unmanageable-- I 
know. I want to get it to work first, then I have time to get that 
right ;-) )

>
> Do you have a windows domain controller? Is it using active directory? I
> assume it is the master browser for the network? Are the nmbd  and smbd
> daemons running on the samba server?

yes. In fact, I copied everything over from that machine. It is not using AD. 
It runs smbd and nmbd. Currently, everyone logs in on that machine, and I 
want to make sure that I can take its functions over on the second machine 
before I can take it out of service for a good overhaul (which it needs quite 
badly).

But, anyway, I have just seen a complete new source of information. I think my 
original plan was too simple-minded (never think Microsoft will miss an 
occasion to create a terrible mess :-(  I should have known... ). So I will 
first go through all these HOWTOs before coming back to the list.

Of course, if you find any errors in my current smb.conf, I will be quite 
happy to correct them...

Thanks anyway for your input so far.


More information about the samba mailing list