Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: yolgezer on December 25, 2006, 09:45:06 AM

Title: adding userPassword attribute to ldap users automaticly
Post by: yolgezer on December 25, 2006, 09:45:06 AM
i install ejabbard to my smeserver. i configured it to work with ldap. the users i created from server-manager doesn't have the userPassword attribute in ldap. so i have to add userPassword to ldap users to login from ejabberd. is it possible to automate it and have the ldap users with userPassword attribute when i create them from server-manager?
Title: adding userPassword attribute to ldap users automaticly
Post by: mmccarn on December 31, 2006, 04:38:50 PM
(Wild guess)

You might be able to automate it by customizing:

/etc/e-smith/events/actions/ldap-update

to add userPassword in the user account section.

It looks to me as though this script is called from signal-event user-add and signal-event user-update
Title: adding userPassword attribute to ldap users automaticly
Post by: billym on May 25, 2007, 06:01:35 PM
Does anyone know if this works or not/ I need this to bridge a gap beween sme server and other applications.
Title: adding userPassword attribute to ldap users automaticly
Post by: ronaldson40 on July 10, 2007, 10:35:13 AM
Has anyone tried adding userPassword to LDAP directory?

If someone has done it already, please update this post with a how-to

Regards
Ronaldson
Title: adding userPassword attribute to ldap users automaticly
Post by: bpivk on July 10, 2007, 11:27:42 AM
Ronaldson be patient. The developers are working on it but they're still far from finished. You're welcome to help or fund them if you're in such a hurry.

http://bugs.contribs.org/show_bug.cgi?id=1543
Title: Re: adding userPassword attribute to ldap users automaticly
Post by: mrjhb3 on July 11, 2007, 02:35:35 AM
Quote from: "yolgezer"
i install ejabbard to my smeserver. i configured it to work with ldap. the users i created from server-manager doesn't have the userPassword attribute in ldap. so i have to add userPassword to ldap users to login from ejabberd. is it possible to automate it and have the ldap users with userPassword attribute when i create them from server-manager?


How are you getting this added to the ldap server?  Are you just adding the userPassword attribute to each user and storing the password in plain text?  If a user then wants to change the password, I assume you then have to manually update the ldap info since by default its RO.

Thanks,

John