Koozali.org: home of the SME Server

adding userPassword attribute to ldap users automaticly

yolgezer

adding userPassword attribute to ldap users automaticly
« 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?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
adding userPassword attribute to ldap users automaticly
« Reply #1 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

billym

adding userPassword attribute to ldap users automaticly
« Reply #2 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.

Offline ronaldson40

  • ***
  • 96
  • +0/-0
adding userPassword attribute to ldap users automaticly
« Reply #3 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

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
adding userPassword attribute to ldap users automaticly
« Reply #4 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
"It should just work" if it doesn't report it. Thanks!

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: adding userPassword attribute to ldap users automaticly
« Reply #5 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
......