I have two different versions of Samba on different servers, 3.6.9 and 3.5.4.
The 3.6.9 version of
testparm reports an
idmap parameter that doesn't appear in the
smb.conf file.
The 3.5.4 version of
testparm doesn't show this parameter.
My 3.6.9
smb.conf file:
Code:
[global]
workgroup = maison
netbios name = alice
security = user
log level = 2
[tmp]
path = /srv/samba/tmp
writeable = yes
user name = mickey
The 3.5.4
smb.conf is identical except for a netbios name
bob and a user
guru.
testparm output on 3.6.9:
Code:
.....
Press enter to see a dump of your service definitions
[global]
workgroup = MAISON
netbios name = ALICE
idmap config * : backend = tdb
[tmp]
path = /srv/samba/tmp
username = mickey
read only = No
testparm output on 3.5.4:
Code:
Press enter to see a dump of your service definitions
[global]
workgroup = MAISON
netbios name = BOB
log level = 2
[tmp]
path = /srv/samba/tmp
username = guru
read only = No
The newer version of
testparm also remarks that I shouldn't use the
username parameter anymore. That's fine; I am just testing.
It would seem that the
idmap statement has consequences for user authentication; I am not able to get authenticated on 3.6.9 without adding the user to the Samba user database.
The 3.6.9 WHATSNEW.txt file contains a section on ID Mapping Changes, but it doesn't seem relevant to my case.
So my question is about the background of this. Where does the
idmap statement come from, and is my assessment about the consequences correct? And what's the rationale for the change from 3.5.4 to 3.6.9?