can anyone please guide me for changing objectclass
Current objectclass
Code:
objectClasses: ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
Wanted like this
Code:
objectClasses: ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST cn MAY ( sn $ userPassword $ telephoneNumber $ seeAlso $ description ) )
tried to change by using below command
Code:
$ldapmodify -d -1 -D "cn=admin,dc=example,dc=com" -w secret -f modify.ldif
$cat modify.ldif
dn: cn=schema
changetype: modify
add: objectclasses
objectClasses: ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top AUXILIARY MUST cn MAY ( sn $ userPassword $ telephoneNumber $ seeAlso $ description ))
getting error
Code:
ldap_modify: Invalid syntax (21)
additional info: objectclasses: value #0 invalid per syntax
Thanks in advance
Last edited by pludi; 05-11-2010 at 01:52 AM..
Reason: code tags, please...
please use code tags, thanks
Initially olcDatabase={2}config.ldif file was in non-prod and it does not have any entries of database and password as well that is why I was getting error as “ldap_bind: Invalid credentials (49)”¯ , I was comparing with my production olcDatabase={2}config.ldif file ... (1 Reply)
Hello everybody
At the beginning i would like to apologize for my english and im not sure if this thread is in the right place so if it isn't please move it to other one.
Ok let's start.
I have to admit that i am totally beginner with ldap but i really would like to learn how to configure it.... (0 Replies)