Hello! I'm using samba 3.0.14 on a debian sarge. How can i extract the samba users in a ldif file? Is it possible? Many thanks Boukari
Hello! How to get samba users in a file in ldif format? samba 3.0.14 Many thanks for all Boukari
I currently have a working setup and I'm trying to move to an LDAP backend and need an LDIF for import. I used a samba server for authentication on the network. Im currently using an other samba server with LDAP backend. But the samba server i previously used contain about 500 samba users account. I would like to import those account into my LDAP server. I dont know how to get the previous samba account users in a LDIF file and store them in the LDAP server for a LDAP backend. Many thanks for all Boukari Ou?draogo
I currently have a working setup and I'm trying to move to an LDAP backend and need an LDIF for import. I used a samba server for authentication on the network. Im currently using an other samba server with LDAP backend. But the samba server i previously used contain about 500 samba users account. I would like to import those account into my LDAP server. I dont know how to get the previous samba account users in a LDIF file and store them in the LDAP server for a LDAP backend. Have you looked into the pdbedit command at all? You can specify "from" and "to" backends to work with, and if you copy your smbpasswd file over you can point it at the file and tell it to export to the LDAP directly assuming you have smb.conf set up properly. I am going entirely off memory of when we did our migration here since I'm not sure of the exact syntax. Hope that little bit helps nudge you where you need to go. Paul Gienger a ?crit : Hello! How to get samba users in a file in ldif format? samba 3.0.14 A little more information would be good. Do you currently have a working setup you are trying to move to an LDAP backend and need an LDIF for import? Do you currently have an LDAP backend and you don't know how to get the export? Flesh out your issue a little more please.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boukari Ou?draogo schrieb:> Hello! > How to get samba users in a file in ldif format? samba 3.0.14 > > Many thanks for all > > Boukarihi do it like this slapcat -l ldap.ldif - -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer_dot_org Munich / Bavaria / Germany https://www.schetterer.org https://www.schetterer.com/public-gpg-robert-schetterer.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) iD4DBQFEheWANxddAhXBw7QRAla2AJIC8aJ86kno7FHZXZEEHxQCAJ1oAJwKE0JR GH1foXq4WIVzE/NDeHeD0A==Sz5G -----END PGP SIGNATURE----- -- Diese Nachricht wurde auf Viren und andere gef?hrliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber.