Hello
why if i want to add user to base i have
error: ldap_add: Invalid DN syntax (34) , i can't find where can be
problem :/ , somebody know which mistake i do ?
[root@HP openldap]# ldapsearch -x -b
dc=aaa,dc=ws,dc=com'
# extended LDIF # # LDAPv3 # base <dc=aaa,dc=ws,dc=com> with scope subtree # filter: (objectclass=*) # requesting: ALL # # aaa.ws.com
dn: dc=aaa,dc=ws,dc=com objectClass: organization objectClass: dcObject o: whatever dc: aaa # stud, aaa.ws.com
dn: ou=stud,dc=aaa,dc=ws,dc=com objectClass: organizationalUnit ou: stud description: stud # prac, aaa.ws.com
dn: ou=prac,dc=aaa,dc=ws,dc=com
objectClass: organizationalUnit ou: prac description: prac # search result
search: 2 result: 0 Success # numResponses: 4
# numEntries: 3 **************************** // tester.ldif //
dn: cn=test_5,ou=stud,dc=aaa,dc=ws,dc=com"
// probably, here is some set incorrenct but for me looks good
:P
objectclass: radiusprofile
radiusTunnelType: VLAN radiusTunnelPrivateGroupId: 21 radiusTunnelMediumType: 6 cn: test_5 **************************** [root@HP openldap]# ldapadd -x -D
"dc=aaa,dc=ws,dc=com" -w test -f tester.ldif
adding new entry "cn=test_5,ou=stud,dc=aaa,dc=ws,dc=com"" ldap_add: Invalid DN syntax (34) additional info: invalid DN thx for advices
|