[Pkg-openldap-devel] uid counts

Joerg Henner j.henner at web.de
Fri Apr 25 09:49:17 UTC 2014


Hello,

i run a Debian/Wheezy system and tried following:

---[autoinc.ldif]---
dn: cn=uidNext,dc=my,dc=example,dc=com
changetype: modify
delete:uidNumber
uidNumber: 10001
-
add: uidNumber
uidNumber: 10002
---[cut here]---

and

---[uidNext.schema]---
objectclass ( 1.3.6.1.4.1.19173.2.2.2.8
  NAME 'uidNext'
  DESC 'Where we get the next uidNumber from'
  MUST ( cn $ uidNumber ) )
---[cut here]---

on my standard-installation everythink runs and works as it should ....

BUT for the ldap-config i run in troubles...

---[cut here]---
root at server:~/lsbttiq-ldap# ldapadd -x -D cn=admin,dc=my,dc=example,dc=com -W -f autoinc.ldif
Enter LDAP Password:
modifying entry "cn=uidNext,dc=my,dc=example,dc=com"
ldap_modify: No such object (32)
        matched DN: dc=my,dc=example,dc=com
---[cut here]---

Questions:
1) where (to place) and how (to name) the *.scheme file for my own "objectClass"
2) within "ApacheDirectoryStudio" i cant find the CLASS, even when i place them
   unter /etc/ldap/schema/uidNext.schema


Would be very nice, if you can help me - just in case i didnt find any solutions around...

Greetings, and thanx for any advice/help in advance...., Jörg Henner.
-- 
www: http://www.jh-networks.de
phone/fax: +49-32121-435020
mobile: +49-152-53704927



More information about the Pkg-openldap-devel mailing list