Questions tagged [mod-auth-ldap]

41 questions
2
votes
3 answers

Apache LDAP Authentication: Can I bind the user without searching for the DN first?

When doing AuthType Basic authentication against an LDAP server, Apache first binds to search for the DN of the user, then binds with that DN to test the user's password. The challenge is that with AD, you typically can not perform an anonymous…
1
vote
1 answer

mod_authnz_ldap: Using userPrincipalName and sAMAccountName with AuthzSVNAccessFile

this is my first post here, so please be kind with me ... We have apache managing access for our subversion server. Currently users can only log in with their sAMAccountName, but since userPrincipalName (email address) is gradually becoming the main…
1
vote
3 answers

LDAPTrustedClientCert not allowed here

I am trying to configure ldaps authentication on a CentOS 6.x server running Apache 2.2. I have successfully been using ldap authentication for a couple years, but need to get it to work over SSL. I do have ldap_module and authnz_ldap_module loaded.…
verdonv
  • 11
  • 3
1
vote
2 answers

LDAP Authentication with Apache

I am trying to setup LDAP authentication with apache. Group Information: ldapsearch -x -h ldap-corporate -b "o=example.com,c=us" "cn=Security " dn: cn=Security , ou=lm8100, o=example.com, c=US businessCategory: secadm cn: Security objectClass:…
user374374
  • 111
  • 1
  • 3
1
vote
1 answer

LDAP does not timeout when server is down

I am currently trying to add LDAP support to supplement a file auth system. Unfortunately, I can't just phase out the file system in it's entirety because of when the LDAP server goes down. The current status is that I have a system that works for…
1
vote
1 answer

LDAP authentication apache 2.2

I am trying to install basic ldap authentication on a website on an apache 2.2 server. I put this in my /etc/apache2/apache2.conf file LoadModule ldap_module /usr/lib/apache2/modules/mod_ldap.so LoadModule authnz_ldap_module…
DenBelg
  • 21
  • 1
  • 3
1
vote
0 answers

Configuring Cert Based and LDAP Authorization in Apache Virtual Host

We have a scenario where we have an application that only accept client certs for authentication and that setup works well (configured in Apache VHost). However as part new requirement we would like to also check whether that user is part of a…
Phoenix
  • 11
  • 1
0
votes
1 answer

Apache LDAP group authentication

I am running Apache 2.4.18 on Ubuntu 16.04. I am trying to run a WebDAV site in Apache and authenticate users who are a member of a specific LDAP group. The LDAP server is FreeIPA although I do not believe that is important. The following (with real…
0
votes
1 answer

DB_NOTFOUND: No matching key/data pair found (-30988)

Could anyone please explain why I get this error. I got this error(on server) while trying to bind any user in ldap server. Also I get "Insufficient access rights" output when I run the program. And I dont get it while trying to bind admin. I…
Praneetha
  • 1
  • 1
  • 4
0
votes
0 answers

hHow to authorize Apache's users similar to Microsoft IIS?

I want to enable directory browsing in Apache and ask users to authenticate using openLDAP backend, and I want to set different groups for the folders inside Apache's web server. My goal is not to let all users have access to all the folders and…
0
votes
1 answer

Intermittent issue - ldap_start_tls_s() failed, Connect error

We're getting intermittent errors of this nature: [Mon Mar 20 08:38:37 2017] [info] [client client_ip_here] [27056] auth_ldap authenticate: user first.last@server.com authentication failed; URI /path/to/project/trunk [LDAP: ldap_start_tls_s()…
TechFanDan
  • 297
  • 1
  • 6
  • 20
0
votes
2 answers

Authenticate only group users in LDAP

I am trying to setup LDAP authentication. Group Informatin: ldapsearch -x -h ldap-corporate -b "o=example.com,c=us" "cn=Security " # extended LDIF # # LDAPv3 # base with scope subtree # filter: cn=Security # requesting:…
user374374
  • 111
  • 1
  • 3
0
votes
1 answer

Getting error when Integrating LDAP with Wordpress

I have installed Ldap on Ubuntu 14.04 and wordpress on amazon linux ami. I'm able to login in ldap console. I have created a user in it. On wordpress i have installed simpleLDAP plugin. I don't know where i'm going wrong on the configuration…
teamcloud
  • 1
  • 6
0
votes
5 answers

Active Directory Multi Site. Choose nearest DCs into Linux/Not-Microsoft applications

i'm having a problem using ldap based on Active Directory in a multi-site environment. Basically I have several different environments(sites) and each of them have its own dedicated couple of domain controller servers. Each couple of domain…
0
votes
1 answer

Apache LDAP authorization

I am attempting to use mod_auth_cas for AuthN and LDAP for AuthZ. mod_cas_auth is actually irrelevant, because I have the same issue with BasicAuth for AuthN. Everything works fine if I specify , but as soon as I specify a sublocation…
Mark
  • 165
  • 1
  • 5