« Return to Thread: Create user patch

Create user patch

by Колесников Михаил-2 :: Rate this Message:

Reply to Author | View in Thread

See patch here: https://sourceforge.net/tracker/?func=detail&aid=2791649&group_id=162983&atid=825943

For creating new users in LDAP I used a bit of "street magic" ;)
I hope that at least one user already exists in LDAP - admin. I takes admin's attributes and copy it to newly created user. Change userPassword, cn, mail and uid attributes. Bind my changes.
Keep this in mind if your admin-user contains some secret data.

Two additional properties need to be added to jtrac.properties:
>> ldap.superUserDN=cn=admin,dc=my,dc=domain,dc=com
>> ldap.superUserPassword=secret

If there is no such properties - create feature will be disabled. And more, users will can change only their's own password (and admin too!).

Tested only against OpenLDAP (Debian 5 and 4)

I'm also accept some other LDAP-related feature requests.

Good Luck! Please, inform me about bugs!
--
Mikhail Kolesnikov
mailto:mixa_@...

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
j-trac-users mailing list
j-trac-users@...
https://lists.sourceforge.net/lists/listinfo/j-trac-users

 « Return to Thread: Create user patch