-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 5 Apr 2003, Khanh Tran wrote:
> Does anyone have a script to migrate from the smbpasswd file to Samba with
> LDAP as the authentication source?
>
try to use 'pdbedit' that comes with the samba package.
there is an option to import an 'old' smbpasswd-file into the new
auth-source.
try this (it works perfectly for me) but you MUST have configured the LDAP
stuff in the smb.conf file and set the bind-pw for the LDAP server with
smbpasswd (please see the manpage for the correct switch to make it).
pdbedit -i /path/to/old/smbpasswd
thats all. for every imported or ignored entry you get an output from
pdbedit.
joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+jx+YSPOsGF+KA+MRArCTAJsE9ZbxnknwNvCkP4uHoCX3d0VUhQCgqkkE
hCZlxnhtPHUcW3DlPq7ECWM=CudO
-----END PGP SIGNATURE-----