[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problems on ldap:add: Invalid syntax (21)
- To: OpenLDAP-software@OpenLDAP.org
- Subject: problems on ldap:add: Invalid syntax (21)
- From: javier rojas <javier.rojasr@gmail.com>
- Date: Mon, 11 Jul 2005 11:52:17 -0400
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=q8wmpalrbMFXvaTncvb4KHrGlSNzxJzqI6YyLVKqt4eQTKtpTR1+j4GNn9l2bbNqrsQiCAKLNXAdEB7XBDWyipjV0fH5ZIOq6M5wxSFsZBl6IcSfzrrLBl656SJcR0vUfoN/tgdmfm/mielpRCy9ACaZqwdv8bvAgoIYh8wL4W0=
hello,
i'm trying to add user.ldif and i keep getting this error:
adding new entry "uid=jrojas,ou=argentina,dc=example,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectclass: value #2 invalid per syntax
this is the user.ldif content:
dn: uid=jrojas,ou=argentina,dc=example,dc=com
uid: jrojas
cn: Javier
sn: Rojas
objectclass: top
objectclass: person
objectclass: posixaccount
loginshell: /bin/bash
uidnumber: 99
gidnumber: 99
homedirectory: /home/jrojas
userpassword: argentina
dn: uid=aacosta,ou=brasil,dc=example,dc=com
uid: aacosta
cn: Alejandro
sn: Acosta
objectclass: top
objectclass: person
objectclass: posixaccount
loginshell: /bin/bash
uidnumber: 100
gidnumber: 100
homedirectory: /home/aacosta
userpassword: brasil
dn: uid=llopez,ou=venezuela,dc=example,dc=com
uid: llopez
cn: Lewis
sn: Lopez
objectclass: top
objectclass: person
objectclass: posixaccount
loginshell: /bin/bash
uidnumber: 102
gidnumber: 102
homedirectory: /home/llopez
userpassword: venezuela
i checked is there was any blank spaces at the end of each objectclass
and left a white line before each "dn" line.
can't seem to find the error...
--
Javier Rojas