[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: CLI utility to check authentication



Hi,

richard lucassen <mailinglists@lucassen.org> writes:

> Is there a simple way to check LDAP-authentication with a commandline
> utility? (like "radauth" for RADIUS):
>
> $ ldapauth -u user -s localhost -p [password]
> $ ldapauth: "access granted"
>
> $ ldapauth -u user -s localhost -p [wrongpassword]
> $ ldapauth: "access denied"

What about ldapcompare, ldapwhoami or ldap_bind?

man ldapcompare(1)
man ldapwhoami(1)
man ldap_compare(3)
man ldap_bind(3)

-Dieter

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de