[Samba] NT4 migration errors

Geoffrey Scott geoffs at guestshire.com
Fri Jul 15 06:20:34 GMT 2005


Kevin B wrote:
> Geoff kindly replied...

>> spot on with that assumption.  You are using:
>> add user script = /usr/local/sbin/smbldap-useradd -a -m '%u'
>> In you smb.conf aren't you?
>> It should be:
>> add user script = /usr/local/sbin/smbldap-useradd -m '%u'
>> No *-a* flag.  Samba now takes care of the samba attributes for a
>> user. 
> 

>  You are correct. I recall at one point I had to add the -a to fix
> some other problem. Sounds like my whole approach was a bit off [or
> maybe a byte] so that fix wasn't really relevent.  

Like I said you only need that for adding users on the command line

> 
> I wiped the ldap clean and did as you advised.  Everything was
> looking good up to this point [step 16]: 
> 
> pc-00129:~ # net groupmap list
> Domain Admins (S-1-5-21-1348277581-813059936-1947940980-512) -> 512

Does the SID shown by a net rpc info for the old NT4 server look the same as
the one shown by a net getlocalsid?
Do you have all the delete scripts commented out before you vampire?
Can you show us your smb.conf?

> It also looks like the /home directoy has everyones $HOME but the uid
> and gid for each user is numeric instead of resolving  the username
> and groupname [same as before btw].  
> 
Right this is a fairly good indicator that either nsswitch.conf, or the
pam-ldap files aren't configured properly or that the pam-ldap components
aren't installed.  You need to double check all those things.

> Thanks for the help Geoff.
> If you have any more ideas let me know :]

What version of the smbldap tools do you have?

> 
> Kevin






More information about the samba mailing list