Michel Correge
2010-Sep-14 07:05 UTC
[Samba] Creating users difference between tbsam and smbpasswd backends
Hi, I have installed Samba 3.5.4 on a Sparc Solaris 10 system and when I try to create groups or users on the PDC, I get different results using smbpasswd or tdbsam backend. For an existing Unix user (or group), with smbpasswd backend, the RID is, as before, set to 2*UID+algorithmic_rid_base. For the same user, using tdbsam password backend, the RID is set to some value like 1000, 1001,... Is this correct or is there some hidden parameter incorrectly set in my smb.conf ? [global] unix charset = iso8859-1 workgroup = DCSD-T interfaces = bge0 map to guest = Bad Password passdb backend = tdbsam:/var/samba-3.5.4/private/passdb.tdb username map = /usr/local/samba-%v/lib/usermap log file = /var/samba-%v/log/samba-%m.log printcap name = /usr/local/samba-3.5.4/lib/printcap disable spoolss = Yes logon path logon drive = Q: logon home = \\%L\%U domain logons = Yes os level = 32 preferred master = Yes domain master = Yes [netlogon] comment = Network Logon Service path = /var/samba-%v/netlogon browseable = No [profiles] comment = Profiles Service path = /var/samba-%v/profiles read only = No create mask = 0600 directory mask = 0700 [print$] comment = Printer Driver Download Area path = /var/samba-%v/drivers write list = root guest ok = Yes [printers] comment = All Printers path = /var/samba-%v/spool create mask = 0700 guest ok = Yes printable = Yes browseable = No [homes] comment = Home Directory read only = No create mask = 0640 directory mask = 0750 browseable = No Thanks