I am about to enter people into ldap directory, but get this error:
# ldapadd -x -W -a -D "cn=admin,dc=test,dc=example,dc=net" -f joe.ldif
Enter LDAP Password:
ldapadd: no DN specified
Can someone please try to identify what I manage to .... or where the dn
is missing.
---
error from phpldapadmin
Error
Could not bind to the LDAP server.
LDAP said: No such attribute
Error number: 0x10 (LDAP_NO_SUCH_ATTRIBUTE)
Description: That entry does not contain the attribute specified.
---
# slapcat
dn: dc=test,dc=example,dc=net
objectClass: top
objectClass: dcObject
objectClass: organization
o:: U2FuZHNlbmdlbiAdc: test
structuralObjectClass: organization
entryUUID: 7e30d0ea-1e5c-102a-8a41-fe12d5744b3f
creatorsName: cn=admin,dc=test,dc=example,dc=net
modifiersName: cn=admin,dc=test,dc=example,dc=net
createTimestamp: 20060120235909Z
modifyTimestamp: 20060120235909Z
entryCSN: 20060120235909Z#000001#00#000000
dn: cn=admin,dc=test,dc=example,dc=net
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: e1NTSEF9bEZuVVQyZ1I0bi9jWTd1Q3U2em9qZkkwb1YveVp5STYg
structuralObjectClass: organizationalRole
entryUUID: 7e441dbc-1e5c-102a-8a42-fe12d5744b3f
creatorsName: cn=admin,dc=test,dc=example,dc=net
modifiersName: cn=admin,dc=test,dc=example,dc=net
createTimestamp: 20060120235910Z
modifyTimestamp: 20060120235910Z
entryCSN: 20060120235910Z#000001#00#000000
dn: cn=nss,dc=test,dc=example,dc=net
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: nss
description: LDAP NSS user for user-lookups
userPassword:: 0NSWVBUfXh4eHh4eHh4eHg=structuralObjectClass: organizationalRole
entryUUID: 92594c00-238e-102a-893e-b098b051ae18
creatorsName: cn=admin,dc=test,dc=example,dc=net
createTimestamp: 20060127144014Z
entryCSN: 20060127144014Z#000001#00#000000
modifiersName: cn=admin,dc=test,dc=example,dc=net
modifyTimestamp: 20060127144014Z
dn: ou=People,dc=test,dc=example,dc=net
objectClass: organizationalUnit
objectClass: top
ou: People
structuralObjectClass: organizationalUnit
entryUUID: 925a7184-238e-102a-893f-b098b051ae18
creatorsName: cn=admin,dc=test,dc=example,dc=net
createTimestamp: 20060127144014Z
entryCSN: 20060127144014Z#000002#00#000000
modifiersName: cn=admin,dc=test,dc=example,dc=net
modifyTimestamp: 20060127144014Z
dn: ou=Group,dc=test,dc=example,dc=net
objectClass: top
objectClass: organizationalUnit
ou: Group
structuralObjectClass: organizationalUnit
entryUUID: 925f42cc-238e-102a-8940-b098b051ae18
creatorsName: cn=admin,dc=test,dc=example,dc=net
createTimestamp: 20060127144014Z
entryCSN: 20060127144014Z#000003#00#000000
modifiersName: cn=admin,dc=test,dc=example,dc=net
modifyTimestamp: 20060127144014Z