[Date Prev][Date Next]
Schema question... userPassword doesn't work
- To: <email@example.com>
- Subject: Schema question... userPassword doesn't work
- From: John Tobin <firstname.lastname@example.org>
- Date: Tue, 20 Sep 2011 12:43:33 -0400
- Thread-index: Acx3tG8tMwSbKyUldUy0PIF9vjbshw==
- Thread-topic: Schema question... userPassword doesn't work
- User-agent: Microsoft-Entourage/184.108.40.206725
Title: Schema question... userPassword doesn't work
To the ldap forum:
I have loaded suse 12.1 m5.
I have setup an openldap server, which was the main mission of this machine, and it works.
It has ssl /tls, certificates are loaded, that works.
I used ldap client to setup the ldap browser and that works also.
This is the new 2.4.26 server, which has some rather major changes in how ldap is setup. After about 2 weeks I have that under control.
My little domain is setup on dark.net [dc=dark,dc=net].
I used ldapadd to put in the administrator, and I have used ldapsearch to list the subschema. I took the default schema. The list of the subschema includes everything I would like to use.
Now I want to go about the real business of defining users.
I have reviewed a number of pages to ensure I am doing what appears to be the correct procedure, for instance :
ldapadd -f fratbrother.ldif -cxv -D "cn=DeanWormer,o=delta" -w secret2
And other similar updates.
But on my machine I create something simple like:
File : dark.ldif
Ldapadd -x -D “cn=admin,dc=dark,dc=net” -W -f dark.ldif
Enter LDAP Password:
Adding new entry “cn=jctobin,dc=dark,dc=net”
Ldap_add: Object class violation (65)
Additional info: no objectClass attribute
Obviously my ldap server does not like the “userPassword” class.
I have not been able to use any of the other classes I would like to either [ou: (organizational Unit), uid (unix term for a number corresponding to the user id), etc.]
What have I not setup correctly?
I need to get these users up and running.
What can you do for me?