Yuri Venkov wrote: > > I start by downloading and building the latest stable version of > Berkley DB for ldap > I then download and build latest stable version of Openldap > I install OpenSSL from RPM
What platform are you using? There was almost certainly a suitable package of openldap available... > Next I want to configure LDAP. > I configure slapd with base DN > I configure slapd with root DN > I configure root DN with password using slappasswd In OpenLDAP, the admin's DN doesn't normally exist in the directory. The DN and password are stored in slapd.conf. > I then create an LDIF file to create users, the template I worked from > I got from google: Google helps you find things, but doesn't usually provide anything directly. Where, specifically did you get it? > dn: uid=csahut,ou=people,dc=domain,dc=ch > structuralObjectClass: inetOrgPerson Don't specify structuralObjectClass. > I resolved that the problem was with inetOrgPerson not being a "known" > object class, so I include inetorgperson.schema into slapd.conf > > Now I get error : > ldap_add: Constraint violation (19) > additional info: structuralObjectClass: no user modification allowed Yes, that is an indication that openldap does not allow you to specify structuralObjectClass. > If I remove the structural object from the ldif file I get error > ldap_add: No such object (32) Then you haven't created the base DN, or the OU objects it normally contains, like "ou=people". ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users