[Samba] Re: NT domain migration to LDAP/SAMBA (password migration)

Mike Brodbelt m.brodbelt at acu.ac.uk
Tue Jul 27 13:33:28 GMT 2004


Kang Sun wrote:
> Previous question was regarding the passwords was not migrated ...
> 
> Well, I find one error, at least that was what happened to me.
> 
> In the smb.conf file,  I had
> add user script = /var/lib/samba/sbin/smbldap-useradd.pl -a -m "%u"
> while it should have been
> add user script = /var/lib/samba/sbin/smbldap-useradd.pl -m "%u"
> 
> The add user script only suppose to add a posix account. The windows account
> is migrated and mapped to that posix account.
> with "-a" option on, a windows account is also created together with the
> Posix account. The migration failed because a windows account, with all the
> default atrributes from smbldap.conf, already exists.

Ahhhh - the light dawns. I've not had time to test this yet, but it
certainly sounds like you've spotted the problem. Will test in due course.

Thanks,

Mike.


More information about the samba mailing list