[Samba] LDAP (Schemas,Users) to Samba4 migration

alxgrb alexander.grober at nowcast.de
Thu Apr 11 02:00:21 MDT 2013


please look at this:=>

alxgrb at ubsrv:~ sudo /usr/local/samba/bin/smbclient -L localhost -U%
Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5]

	Sharename       Type      Comment
	---------       ----      -------
	netlogon        Disk      
	sysvol          Disk      
	home            Disk      Home drive
	data            Disk      Data disk
	IPC$            IPC       IPC Service (Samba 4.0.5)
Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5]

	Server               Comment
	---------            -------

	Workgroup            Master
	---------            -------

The testuser.ldif file:=>
cat testuser.ldif
dn: uid=bmontag,ou=Users,dc=demo,dc=lan
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: top
cn: Brigitte Montag
gidNumber: 10001
homeDirectory: /home/bmontag
sambaSID: -59220
sn: Montag
uid: bmontag
uidNumber: 29110
displayName: Brigitte Montag
givenName: Brigitte
loginShell: /bin/bash
mail: brigitte.montag at mailserver.com

I have tried add the testuser.ldif file to sam.ldb:=>
sudo /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
ERR: No such object : "objectclass: Cannot add
uid=bmontag,ou=Users,dc=demo,dc=lan, parent does not exist!" on DN
uid=bmontag,ou=Users,dc=demo,dc=lan at block before line 18
Add failed after processing 0 records

What do I have to do to make my ldbadd work??


View this message in context: http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646559.html
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list