Hi, I'd like to set up a minimal ldap server just for authentication (bind) purposes. No attributes need to be stored apart from uid and userPassword. I'd like to insert entries like
dn: uid=john.smith@myorg.com,ou=people,dc=myorg,dc=com objectClass: ????? uid: john.smith@myorg.com userPassword: secret
(If I use objectClass: inetOrgPerson I need to enter cn and sn as well, which I don't wont)
Can I achieve this? Thanks a lot, Stefano
Stefano Zanmarchi ha scritto:
Hi, I'd like to set up a minimal ldap server just for authentication (bind) purposes. No attributes need to be stored apart from uid and userPassword. I'd like to insert entries like
dn: uid=john.smith@myorg.com,ou=people,dc=myorg,dc=com objectClass: ????? uid: john.smith@myorg.com userPassword: secret
(If I use objectClass: inetOrgPerson I need to enter cn and sn as well, which I don't wont)
Can I achieve this? Thanks a lot, Stefano
you could define your own objectclass...
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 0382 573859 (137) Mobile: +39 347 1014425 Email: luca.scamoni@sys-net.it -----------------------------------
Stefano Zanmarchi writes:
I'd like to set up a minimal ldap server just for authentication (bind) purposes. No attributes need to be stored apart from uid and userPassword.
dn: uid=john.smith@myorg.com,ou=people,dc=myorg,dc=com # from cosine.schema, requires uid (and allows a few other attrs) objectClass: account # from core.schema, requires userPassword objectClass: simpleSecurityObject uid: john.smith@myorg.com userPassword: secret
openldap-technical@openldap.org