[Samba] [samba4] How to use my ldap users in sam.ldb?
Andrew Bartlett
abartlet at samba.org
Tue Sep 4 03:10:04 MDT 2012
On Tue, 2012-09-04 at 10:17 +0200, Ced T wrote:
> Hi
> I successfully compiled samba4 on my ubuntu.
> Actually, most our Linux servers are using en openldap base to authenticate.
> All the samba 3 servers use this openldap base
>
> /passdb backend = ldapsam:ldaps://ldap.intra.labo.fr// (in the smb.conf)
>
> I tried to migrate the users account of my openldap database to internal
> samba4 ldap database.
> For this I used the myldap-pub.py script with this command line :
>
> /./myldap-pub.py --ldap_uri=ldap://ldap-server.labo.fr \//
> //--ldap_binddn="cn=admin,ou=administrateur,dc=labo,dc=fr" \//
> //--ldap_bindpwd="password" \//
> //--output_basedn="dc=labo,dc=fr" \//
> //--input_domain_name="DOMAIN" \//
> //--input_basedn="dc=labo,dc=fr" \//
> //--import_accounts=Users \//
> //--output_users_ou="ou=People" \//
> //--remove_input_attributes="a lot of useless attributes"//
Use 'samba-tool domain classicupgrade' instead.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba
mailing list