ldap-auth icon indicating copy to clipboard operation
ldap-auth copied to clipboard

Just check if username exists

Open verquiel opened this issue 11 years ago • 0 comments

I want to create a simple crud for users and store them in a database, but I have to ckeck if the user exist in a LDAP server before adding it to the table. So, in case the username doesn't exists or is wrong, I can show an error message.

Obviously, I just have the username of the person I want to add. In adLdap I used to use the function "info" for bring some basic information about a user (no password needed) and this way I know if the account exists or not.

How can I achieve this with this driver?

(I have installed the driver and works well, I have made a couple of tests with username/passwords that I know)

verquiel avatar May 28 '14 23:05 verquiel