LDAP
-
Can we access password from LDAP Server?
-
Can we access password from LDAP Server?
What kind of password u would like to access. LDAP server password or user specific password
Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com
-
Can we access password from LDAP Server?
You want to 'retrieve' the password, or simply authenticate a user? Most directories have hash/encryption methods put in place to prevent the interrogating agents from physically gaining access to information such as password.
Nila
-
What kind of password u would like to access. LDAP server password or user specific password
Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com
actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible?
-
You want to 'retrieve' the password, or simply authenticate a user? Most directories have hash/encryption methods put in place to prevent the interrogating agents from physically gaining access to information such as password.
Nila
actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible? can i authenticate without passwords???
-
actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible? can i authenticate without passwords???
Yes it is. You should be able to incorporate that within your DirectoryEntry object: DirectoryEntry entry = new DirectoryEntry("LDAP://yourdomain.com", _userNameParam,_passwordParam,authenticationType); ... Then proceed with the rest of your code, if the DirectorySearcher is able to return any result(s) then you have authenticated, if not, then the "password" must have had been incorrect.
Nila