But when I go to add the ojectclass pwmUser to an account in ldap from a ldif file, I get the following error:
[root@testldap sample_ldifs]# ldapmodify -x -D "cn=Manager,dc=beloit,dc=edu" -W -f ./pwm.ldif
Enter LDAP Password:
adding new entry "uid=johnson,ou=People,dc=beloit,dc=edu"
ldap_add: Object class violation (65)
additional info: no structural object class provided
Below is the ldif content:
[root@testldap sample_ldifs]# more pwm.ldif
dn: uid=tyler,ou=People,dc=beloit,dc=edu
changetype: add
objectClass: pwmUser
So the question is do I need some structrual schema as a prerequisite?
How do I add the pwm object class to an openldap account given I already have the schema loaded? I am running 2.4 version of openldap.
Tim
I am confused. I successfully added the pwm.schema to my ldap which was basciallly an auxiliary schema definiing the pwmUser attributes for openldap.
But when I go to add the ojectclass pwmUser to an account in ldap from a ldif file, I get the following error:
[root@testldap sample_ldifs]# ldapmodify -x -D "cn=Manager,dc=beloit,dc=edu" -W -f ./pwm.ldif
Enter LDAP Password:
adding new entry "uid=johnson,ou=People,dc=beloit,dc=edu"
ldap_add: Object class violation (65)
additional info: no structural object class provided
Below is the ldif content:
[root@testldap sample_ldifs]# more pwm.ldif
dn: uid=tyler,ou=People,dc=beloit,dc=edu
changetype: add
objectClass: pwmUser
So the question is do I need some structrual schema as a prerequisite?
How do I add the pwm object class to an openldap account given I already have the schema loaded? I am running 2.4 version of openldap.
Menno,
Thanks for the reminder. It has been a while since I have added an object class via ldif. That worked perfect. Thanks!
Tim
--
You received this message because you are subscribed to a topic in the Google Groups "pwm-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pwm-general/rtLC2Hq-uG4/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to pwm-general...@googlegroups.com.
To post to this group, send email to pwm-g...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.