[Samba] migrating smbpasswd backend to ldap backend
Peter Collins Wasenda
pwasenda at rcsuganda.com
Wed Sep 20 16:01:05 GMT 2006
however, can't figure out what the script uses /etc/passwd for.
by the way, i had this "unix passwd sync" thing working until some
point when i upgraded my server from SuSE 9.0 to SuSE 10, so some
entries in the /etc/passwd file might not be in the
/etc/samba/smbpasswd file. do you think the script will still work in
my scenario ?
Quoting Matt Hyclak <hyclak at math.ohiou.edu>:
> On Wed, Sep 20, 2006 at 05:59:54PM +0300, Peter Collins Wasenda
> enlightened us:
>> i would like to use an ldap backend in place of my existing smbpasswd
>> backend because i just can't get unix password synchronization to work.
>> Any suggestions on how i can make this smooth migration ?
> I wrote a script to do it, attached. You'll have to fill in the blanks, of
> course, and you might modify it a bit if you're comfortable with python. It
> currently outputs individual LDIF files for each user. For me that was ok
> because I only had about 20 users to migrate, but if you have more, you
> might want to change the output to a single LDIF file.
> Matt Hyclak
> Department of Mathematics
> Department of Social Work
> Ohio University
> (740) 593-1263
Real Computer Solutions LTD
Johnstone Street, suite G001
More information about the samba