[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem adding ldif.
Hello,
I have added the following ldif with no problems:
dn: ou=isp,dc=domain,dc=net
objectClass: organizationalUnit
ou: isp
description: hosting root
I am trying to add the following:
dn: domainName=testme.net,ou=isp,dc=domain,dc=net
objectClass: top
objectClass: ispDomain
domainName: testme.net
mailboxLimit: 10
mailQuota: 100MB
accountStatus: enabled
I am adding with the following command:
ldapadd -x -v -w mypassword -D "cn=Manager,ou=isp,dc=domain,dc=net" -f
/root/second.ldif
And I get the following error:
ldap_initialize( <DEFAULT> )
add objectClass:
top
ispDomain
add domainName:
testme.net
add mailboxLimit:
10
add mailQuota:
100MB
add accountStatus:
enabled
adding new entry "domainName=testme.net,ou=isp,dc=domain,dc=net"
ldapadd: update failed: domainName=testme.net,ou=isp,dc=domain,dc=net
ldap_add: Invalid DN syntax (34)
additional info: invalid DN
Any clues as th why I am getting this error, and how I go about fixing it.
Thanks in advance.
Jim G