Götz Reinicke - IT Koordinator
2010-May-02 08:39 UTC
[Samba] How ot migrate from /etc/samba/smbpasswd -> LDAP ldapsam:trusted
Hi, has anyone done a migration from an "old" smb passwd file /etc/samba/smbpasswd setup to a "up to date" LDAP ldapsam:trusted setting? (Centos 5.4, samba-3.0.33-3.28, openldap-2.3.43) If so, is there some how to? Or may somewone share his/her experience with me. Thanks a lot and best regards, G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt
Gaiseric Vandal
2010-May-02 17:34 UTC
[Samba] How ot migrate from /etc/samba/smbpasswd -> LDAP ldapsam:trusted
Pdbedit should have some import /export commands. I don't remember if you want to change the smb.conf entry for backend before or after you do the import. I actually had the tdb backend for samba but already had the "unix" users in ldap. I was trying to update the accounts with the samba passwords, SIDs and other "windows" specific stuff. None-the-less, it didn't import properly for me. About 1/2 users did not get a password imported. Smbpasswd (smbpasswd -w?) should also let you dump out info into a text file. You could write a script to run thru each line, split the fields up and the use the ldap commands to create/modify the users accounts. Perl works pretty well for this with the "split" command. -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of G?tz Reinicke - IT Koordinator Sent: Sunday, May 02, 2010 4:39 AM To: samba at lists.samba.org Subject: [Samba] How ot migrate from /etc/samba/smbpasswd -> LDAP ldapsam:trusted Hi, has anyone done a migration from an "old" smb passwd file /etc/samba/smbpasswd setup to a "up to date" LDAP ldapsam:trusted setting? (Centos 5.4, samba-3.0.33-3.28, openldap-2.3.43) If so, is there some how to? Or may somewone share his/her experience with me. Thanks a lot and best regards, G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Reasonably Related Threads
- samba 3.3 with LDAP - How To change passwor from WIndows
- Samba, LDAP, Windows XP - force passwordchange on first login
- Mysql 5.6, Centos 7 and errno: 24 - Too many open files
- openldap-2.3.43 and db4-utils - DB_VERSION_MISMATCH
- Pittfals Windows 7 and samba 3.3.8 (centos 5.5), LDAP BE - joining domain