Re: 'require' keyword

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

 



Hi

To note also that httpd.conf has these 2 directives:

<Location /svn/ABC/XYZ>
DAV svn
SVNParentPath /jupiter/export/ABC/XYZ/
AuthBasicProvider ldap
AuthLDAPUrl ldap://....
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
AuthType Basic
AuthName "Please enter your credentials"
.....
</Location>

<Location /svn/ABC/XYZ/123>
DAV svn
SVNParentPath /jupiter/export/ABC/XYZ/123
AuthBasicProvider ldap
AuthLDAPUrl ldap://....
Require user XXX
Require user YYY
AuthType Basic
AuthName "Please enter your credentials"
.....
</Location>


Could it be because these 2 directives exist and cause a conflict?
I tried to reverse them but with this setting no authentication was required.

thank you.

--- On Wed, 19/8/09, Melanie Pfefer <melanie_pfefer@xxxxxxxxxxx> wrote:

> From: Melanie Pfefer <melanie_pfefer@xxxxxxxxxxx>
> Subject: Re:  'require' keyword
> To: users@xxxxxxxxxxxxxxxx, aw@xxxxxxxxxx
> Date: Wednesday, 19 August, 2009, 3:50 PM
> any idea why I am getting this error
> (although xxx is in Require list):
> 
> access to /svn/ABC/XYZ/ failed, reason: user 'xxx' does not
> meet 'require'ments for user/valid-user to be allowed
> access
> 
> thanks
> 
> --- On Wed, 19/8/09, André Warnier <aw@xxxxxxxxxx>
> wrote:
> 
> > From: André Warnier <aw@xxxxxxxxxx>
> > Subject: Re:  'require' keyword
> > To: users@xxxxxxxxxxxxxxxx
> > Date: Wednesday, 19 August, 2009, 1:11 PM
> > Melanie Pfefer wrote:
> > > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > > Require valid-user  <--- change here to
> > Require followed by the ldap username. Repeat this for
> all
> > users
> > 
> > The syntax is "Require user <userid>" where the
> first
> > two words are "as is", and the <userid> part
> stands
> > for the authenticated user's id.
> > Example :
> > Require user melhabanero
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache
> HTTP
> > Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more
> > info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> > 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more
> info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux