[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache2 + LDAP (autentication and Group)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi people,
I am trying to authenticate the apache2 with members of a certain group that's in my base ldap, but I am not able to operate, below my configuration:


<Directory "/var/www/html/investimentos">
~                Options Indexes FollowSymlinks Multiviews
~                AuthType Basic
~ AuthName "Essa area e de acesso restrito, tudo o que for feito esta sendo monitorado!"
~                AuthBasicProvider ldap
~                AuthzLDAPAuthoritative off
~ AuthLDAPURL ldap://pdc-srv.auroraalimentos.com.br/cn=INVESTIMENTOS,ou=Grupos,dc=auroraalimentos,dc=com,dc=br
~                AllowOverride AuthConfig
~                require ldap &(uid=*)
~                #require valid-user
~                allow from all
</Directory>

# cat /var/log/apache2/error.log
[Tue Jan 15 17:56:04 2008] [warn] [client 121.1.16.22] [6395] auth_ldap authenticate: user mdonada authentication failed; URI /investimentos/ [User not found][No such object] [Tue Jan 15 17:56:04 2008] [error] [client 121.1.16.22] user mdonada not found: /investimentos/ [Tue Jan 15 17:56:06 2008] [warn] [client 121.1.16.22] [6395] auth_ldap authenticate: user mdonada authentication failed; URI /investimentos/ [User not found][No such object] [Tue Jan 15 17:56:06 2008] [error] [client 121.1.16.22] user mdonada not found: /investimentos/ [Tue Jan 15 17:56:08 2008] [warn] [client 121.1.16.22] [6395] auth_ldap authenticate: user mdonada authentication failed; URI /investimentos/ [User not found][No such object] [Tue Jan 15 17:56:08 2008] [error] [client 121.1.16.22] user mdonada not found: /investimentos/ [Tue Jan 15 17:56:18 2008] [warn] [client 121.1.16.22] [6395] auth_ldap authenticate: user mdonada authentication failed; URI /investimentos/ [User not found][No such object] [Tue Jan 15 17:56:18 2008] [error] [client 121.1.16.22] user mdonada not found: /investimentos/


# id mdonada
uid=1023(mdonada) gid=513(Usuarios Dominio) grupos=513(Usuarios Dominio),106(downloads),114(cpedidos),119(dba),1000(CPD),1060(Internet),1061(mdonada),1062(controladoria),1066(ADMSITE),1067(pcv),1069(INVESTIMENTOS)

Some ideias?

- --
Márcio Luciano Donada <mdonada at auroraalimentos dot com dot br>
Aurora Alimentos - Cooperativa Central Oeste Catarinense
Departamento de T.I.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFHjQPYbjyCr4Ixg0wRAjHmAJ4v9zY9TfjTNMb1q0ndBv885gd6sgCeKUiu
dFNX+USiZN86CECQreUhveM=
=CRXf
-----END PGP SIGNATURE-----


Reply to: