Re: [squid-users] ./squid_ldap_auth command says "bash: ./squid_ldap_auth: No such file or directory"

From: Ow Mun Heng <Ow.Mun.Heng@dont-contact.us>
Date: Mon, 06 Dec 2004 11:48:26 +0800

On Mon, 2004-12-06 at 09:29, Yong Bong Fong wrote:
> Dear all,
>
> I was trying to test my squid_ldap_auth from the terminal as shown
>
> *As seen above, it responded with "bash: ./squid_ldap_auth:no such file
> or directory"

Works for me :-)

Either you're doing something wrong or...

try an strace of it??

./squid_ldap_auth
Usage: squid_ldap_auth -b basedn [options] [ldap_server_name[:port]]...

        -b basedn (REQUIRED) base dn under which to search
        -f filter search filter to locate user DN
        -u userattr username DN attribute
        -s base|one|sub search scope
        -D binddn DN to bind as to perform searches
        -w bindpasswd password for binddn
        -W secretfile read password for binddn from file secretfile
        -H URI LDAPURI (defaults to ldap://localhost)
        -h server LDAP server (defaults to localhost)
        -p port LDAP server port
        -P persistent LDAP connection
        -c timeout connect timeout
        -t timelimit search time limit
        -R do not follow referrals
        -a never|always|search|find
                                when to dereference aliases
        -v 2|3 LDAP version
        -Z TLS encrypt the LDAP connection, requires LDAP version 3

        If no search filter is specified, then the dn <userattr>=user,basedn
        will be used (same as specifying a search filter of '<userattr>=',
        but quicker as as there is no need to search for the user DN)

        If you need to bind as a user to perform searches then use the
        -D binddn -w bindpasswd or -D binddn -W secretfile options
Received on Mon Dec 06 2004 - 02:57:58 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST