I would like to offer to my users...
Articles and Tips: qna
01 Nov 2002
Q.
I would like to offer to my users a changing password feature over the Internet utilizing LDAP, like what NetWare 6 offers. Would you be able to tell me what I need to do? I know that I need to create a LDIF file and possibly other items.
I am new to LDAP programming, hence I don't have much of knowledge about LDAP. Is it possible for someone to provide me with a sample LDIF file for letting users change their password if they know their old password, or let me know of a good document for setting up this.
What it comes down to is what would I have to do so that users can change their password over the Internet. Thanks for all help. Oh, by the way, I am running a mix of NDS 8.x and sample code on NetWare v5.1.
A.
You can do this through the LDAP APIs and you don't need to worry about LDIF files if you don't want to. Here is an example of how to do it in Java. Go to http://developer.novell.com/ndk/doc/samplecode/jldap_sample/index.htm, looking for ModifyPassword.java. Or take a look at the LDAP Command Beans that make it very easy to do through a web application at: http://developer.novell.com/ndk/bns_ldapcmd.htm.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.