Re: User account in Active directory using Jndi
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 http://swjscmail1.java.sun.com/cgi-bin/wa?S1=jndi-interest . 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 http://forum.java.sun.com/forum.jsp?forum=51 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.