Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

PerlCGI + Apache ldap authentication configuration

by vinoth.ree (Monsignor)
on Apr 12, 2020 at 17:33 UTC ( [id://11115401]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <Directory "/home/xxxxx/apache2/cgi-bin">
        AllowOverride None
    ...
        AuthLDAPBindPassword "XXXXXXXXXXXXXXXXXX"
        Require valid-user
    </Directory>
    
  2. or download this
    [Sun Apr 12 17:06:25.112467 2020] [authnz_ldap:debug] [pid 26287:tid 2
    +7] mod_authnz_ldap.c(522): [client xx.xx.xx.xx:53875] AH01691: auth_l
    +dap authenticate: using URL ldap://xx.xx.xx.xx:389/DC=DOMAIN,dc=com?s
    +AMAccountName?sub?(objectClass=Person)
    [Sun Apr 12 17:06:25.593392 2020] [authnz_ldap:info] [pid 26287:tid 27
    +] [client xx.xx.xx.xx:53875] AH01695: auth_ldap authenticate: user us
    +er_id authentication failed; URI / [LDAP: ldap_simple_bind() failed][
    +Invalid credentials]
    [Sun Apr 12 17:06:25.593410 2020] [auth_basic:error] [pid 26287:tid 27
    +] [client xx.xx.xx.xx:53875] AH01617: user user_id: authentication fa
    +ilure for "/": Password Mismatch
    
  3. or download this
    ldapsearch -H ldap://xx.xx.xx.xx:389 -x -D "DOMAIN\user_id" -W -b "dc=
    +DOMAIN,dc=com" -s sub "(&(sAMAccountName=user_id)(objectClass=Person)
    +)"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11115401]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found