Ldap

How do I set up LDAP database for jive?

I tried adding a user with this ldif but it doesn’'t work.

dn: cn=John Doe,ou=people,dc=nodomain

cn: John Doe

sn: Doe

mail: hey@hey.aa

userPassword: mysecret

objectClass: inetOrgPerson

How is the base ldif supposed to look? I tried with

dn: dc=nodomain

dc: nodomain

o: nodomain

objectClass: top

objectClass: dcObject

objectClass: organization

dn: ou=people,dc=nodomain

ou: people

objectClass: top

objectClass: organizationalUnit

Message was edited by:

bobob

I think I have it figured out now and I have been able to add some users, but I am not sure if I use the correct format. Is this the correct user format for jive and can I put an MD5 hash instead of the passwor?

dn: cn=Bobob,ou=Users,dc=example,dc=com

cn: Bobob

mail: bobob@hello.aa

sn: sn

userPassword: hello

objectClass: inetOrgPerson

bobob,

You should be able to use just about whatever format you’'d like for the LDAP data. The LDAP module lets you choose the field names for doing mappings. As for the password – it can be stored in whatever format your LDAP server supports.

Regards,

Matt