User account in Active directory using Jndi
1 posts in topic
Flat View  Flat View

Posted By:   Ambica_Jain
Posted On:   Monday, November 12, 2001 05:36 AM

How to store and retrieve password for a user in Active directory using Jndi. And also, when i am creating a user using Jndi, it is disbale, which property needs to be set to enable the user.

Re: User account in Active directory using Jndi

Posted By:   Falko_Braun  
Posted On:   Tuesday, November 13, 2001 10:01 AM

1) Simply adding a user works very similar as described in the JNDI-Tutorial. You can find some helpful code in . Search for author's name: Boyd
the attribute userAccountControl must have a value, for example: 512

2) But when you want to write/change the password, you need to have 128SSL-Connection and must convert the password into the required UnicodePwd format. Search for "Howto change a Windows 2000 User's Password" to find code.

Concerning 1) and 2) I might be able to find some answers, if you get in trouble running the examples.

Falko (
About | Sitemap | Contact