[Samba] Samba LDAP Primary Domain Controller
Thomas Klettke
thomas at klettke.us
Fri Jun 6 19:57:53 GMT 2003
> #[root]#ldapadd -x -D "cn=root,dc=mylan,dc=net" -W -f ComputersOU.ldif
> Enter LDAP Password:( i entered the password secret here)
> then after this it gives output like this
>
> adding new entry "ou=Computers,dc=mylan,dc=net"
> ldap_add: No such object
==>clue: additional info: parent does not exist
Yeri, you have to create the parent object first:
(add this to the top of your LDIF file:)
dn: dc=mylan,dc=net
objectclass: dcobject
dc: example
then the rest as you have it...
dn: ou=Computers,dc=mylan,dc=net
ou: Computers
objectClass: top
objectClass: organizationalUnit
objectClass: domainRelatedObject
associatedDomain: mylan.net
Cheers,
Thomas
More information about the samba
mailing list