Hello, On Thu, Mar 22, 2007 at 09:05:57PM +0100, Szalai Ferenc wrote: > >> AuthType Basic > >> AuthName "Szerver" > >> AuthBasicProvider ldap > >> AuthLDAPUrl "ldap://localhost:389/dc=domain,dc=hu?cn?sub?objectClass=*" > >> AuthLDAPBindDN cn=httpd,dc=domain,dc=hu > >> AuthLDAPBindPassword **** > >> Require ldap-user [...] > > Require ldap-user airween > > > > igy megy. > > > > De mi a megoldas, ha nem akarom explicit felsorolni a usereket, [...] > 1. Probaltad mar Require nelkul? > 2. Csinalhatsz Require group izebiz-t is. Ekkor kell egy GroupOfDNs > jellegu class amiben felsorold azoknak a usereknek a DN-jet akik a > csoportban vannak.
Nekem "Require valid-user" van LDAP auth-tal, remekul mukodik. Illetve meg "require group ..."-ot hasznalok, es akkor az is LDAP-ban van tarolva ugye, hogy "ervenyes" userek kozul egy csoport ferhet csak valamihez hozza. Nade visszaterve a valid-user-re, nekem ez megy: AuthType basic AuthName "bla" AuthLDAPEnabled on AuthLDAPURL ldap://localhost/ou=users,dc=example,dc=net?uid?sub AuthLDAPAuthoritative on require valid-user Illetve a grouposdival felturbozott verziohoz a require sor: require group cn=allowed here,ou=groups,dc=example,dc=net -- - Gábor _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
