[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLdap install twarted

OK, so I was following along in the quick start guide.

[root@valhalla root]# less manager.ldif 
dn: dc=pcpn,dc=net 
objectclass: dcObject 
objectclass: organization 
dc: pcpn 

dn: cn=Manager,dc=pcpn,dc=net 
objectclass: organizationalRole 
cn: Manager

Created my ldif file as seen above.  When I progress to the next step, inserting this data into the ldap database, I get the below error.  

[root@valhalla root]# ldapadd -x -D "cn=Manager,dc=pcpn,dc=net" -W -f manager.ldif 
Enter LDAP Password: 
adding new entry "dc=pcpn,dc=net "
ldap_add: Invalid syntax
        additional info: objectclass: value #0 invalid per syntax

ldif_record() = 21

Would someone please tell me what I have done wrong?  This is on an RH7.3 system.  Thanks.

Daniel Curry
IT Manager
625 Second Street 
Suite 201
San Francisco, CA 94107 
ph: 415-348-6516
fx: 415-348-6505 
cell: 510-579-6680

"If A equals success, then the formula is: A = X + Y + Z, 
X is work. Y is play. Z is keep your mouth shut." 
  - Albert Einstein