Re: [us...@httpd] 'require' keyword

2009-09-03 Thread Eric Covener
On Thu, Sep 3, 2009 at 9:20 AM, John P. Dodge wrote: > When using "valid-user" You need: > >  AuthLDAPAuthorative off Not in the last 6 releases, and the symptom there is auth failure not short-circuting authentication. -- Eric Covener cove...@gmail.com

Re: [us...@httpd] 'require' keyword

2009-09-03 Thread John P. Dodge
On Wed, 2 Sep 2009, Tom Evans wrote: On Wed, 2009-09-02 at 15:23 +, Melanie Pfefer wrote: Hi The config file looks like DAV svn SVNParentPath ... Options FollowSymLinks AuthBasicProvider ldap AuthLDAPUrl ... Require valid-user AuthType Basic AuthName "Please enter your credentials" ...

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Tom Evans
On Wed, 2009-09-02 at 15:23 +, Melanie Pfefer wrote: > Hi > > The config file looks like > > > DAV svn > SVNParentPath ... > Options FollowSymLinks > AuthBasicProvider ldap > AuthLDAPUrl ... > > Require valid-user > > AuthType Basic > AuthName "Please enter your credentials" > > > >

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Melanie Pfefer
ed, 2/9/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Wednesday, 2 September, 2009, 5:27 PM > On Wed, Sep 2, 2009 at 10:09 AM, > Melanie > Pfefer > wrote: > > thanks. > &

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Eric Covener
On Wed, Sep 2, 2009 at 10:09 AM, Melanie Pfefer wrote: > thanks. > In what cases Require valid-user does not ask for an authentication? > > This is my case here. If you configure basic authentication with Require valid-user, you will be prompted for credentials. -- Eric Covener cove...@gmail.com

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Melanie Pfefer
thanks. In what cases Require valid-user does not ask for an authentication? This is my case here. thanks again --- On Wed, 2/9/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Wednesday, 2

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Eric Covener
On Wed, Sep 2, 2009 at 9:44 AM, Melanie Pfefer wrote: > Hi > >  I have ldap integrated with apache > >  what's the difference between require valid-user and require user > >  Why when I have require valid-user, no authentication is required "user" is followed by a specific user or users, who have

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Melanie Pfefer
C/XYZ/123 HTTP/1.0" 403 221 > > thanks in advance > --- On Fri, 21/8/09, André Warnier > wrote: > > > From: André Warnier > > Subject: Re: [us...@httpd] 'require' keyword > > To: users@httpd.apache.org > > Date: Friday, 21 August, 2009, 3:17 PM

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Melanie Pfefer
Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Friday, 21 August, 2009, 3:17 PM > Melanie Pfefer wrote: > > Hi > > > > I meant Eric's suggestion. > > > > But, I sent the email too fast. In fact, I am not > pro

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread André Warnier
Melanie Pfefer wrote: Hi I meant Eric's suggestion. But, I sent the email too fast. In fact, I am not prompted for authentication when I create a new and seperate location even though the Require user was put for that new location. In fact I just noticed that I have also: with the same lda

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Eric Covener
On Fri, Aug 21, 2009 at 7:22 AM, Melanie Pfefer wrote: > Hi > > Just to note these 2 conf: > > with this config, I directly get Forbidden 403 > > > DAV svn > SVNParentPath /jupiter/svnlinks/svn/XYZ/ABC/123/ > Options FollowSymLinks > AuthBasicProvider ldap > AuthLDAPUrl ldap://. > > Require u

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Melanie Pfefer
rom: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org, a...@ice-sa.com > Date: Friday, 21 August, 2009, 2:01 PM > On Fri, Aug 21, 2009 at 6:43 AM, > André Warnier > wrote: > > Just another little point, Melanie : when you s

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Eric Covener
On Fri, Aug 21, 2009 at 6:43 AM, André Warnier wrote: > Just another little point, Melanie : when you send a reply to a message on > the list, use the "Reply" button, not the "Reply all" button. > We are all subscribed to the list, which means that we get a copy of each > message sent to the list.

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread André Warnier
Just another little point, Melanie : when you send a reply to a message on the list, use the "Reply" button, not the "Reply all" button. We are all subscribed to the list, which means that we get a copy of each message sent to the list. If in addition, you send the reply back to the original post

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Melanie Pfefer
quire valid-user) Appreciate your help. --- On Fri, 21/8/09, André Warnier wrote: > From: André Warnier > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Friday, 21 August, 2009, 1:25 PM > Melanie, > > /WHAT/ works ?  Wh

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread André Warnier
? thanks --- On Fri, 21/8/09, Igor Cicimov wrote: From: Igor Cicimov Subject: Re: [us...@httpd] 'require' keyword To: users@httpd.apache.org, a...@ice-sa.com Date: Friday, 21 August, 2009, 6:23 AM Hi, Have you tried the "Require ldap-user" and "Require ldap-group"

Re: [us...@httpd] 'require' keyword

2009-08-21 Thread Melanie Pfefer
Hi, In fact, this works but it does not suits my requriements. I have a loose restrictions on the parent folder but want to tighten the sublocation. Any hint please? thanks --- On Fri, 21/8/09, Igor Cicimov wrote: > From: Igor Cicimov > Subject: Re: [us...@httpd] 'require&#x

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Igor Cicimov
Hi, Have you tried the "Require ldap-user" and "Require ldap-group" commands since you are using ldap authentication and not passwd file? Cheers, Igor On Fri, Aug 21, 2009 at 6:12 AM, André Warnier wrote: > Melanie Pfefer wrote: > >> Hi Eric, >> >> Could you please elaborate more on what yo

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread André Warnier
Melanie Pfefer wrote: Hi Eric, Could you please elaborate more on what you want me to test? I believe Eric would like you to test with two totally independent Location's, where one is not a sub-location of the other. Like /aaa and /bbb, not like /aaa and /aaa/bbb. The point is to check if you

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Melanie Pfefer
Hi Eric, Could you please elaborate more on what you want me to test? thanks --- On Thu, 20/8/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Thursday, 20 August, 2009, 6:46 PM > On Thu,

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
On Thu, Aug 20, 2009 at 11:38 AM, Eric Covener wrote: > On Thu, Aug 20, 2009 at 11:35 AM, Melanie > Pfefer wrote: >> Do you think this is caused Location directive used for a location and a >> sublocation? It ought to be fine, but i would suggest making a small change to the actual config (so the

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
On Thu, Aug 20, 2009 at 11:35 AM, Melanie Pfefer wrote: > Do you think this is caused Location directive used for a location and a > sublocation? > > I tested on a fresh apache. The directive works as expected (i.e. > only user1, user2 and user3 can access bbb/) (But still I am prompted for > p

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
On Thu, Aug 20, 2009 at 11:36 AM, Eric Covener wrote: > Any htaccess or locationmatch possibly getting in the way? htaccess wouldn't get in the way... -- Eric Covener cove...@gmail.com - The official User-To-User support forum

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
Any htaccess or locationmatch possibly getting in the way? Can you eliminate the merging of the two sections, by creating some test directory outside of the first prefix and see if it still misbehaves? -- Eric Covener cove...@gmail.com ---

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Melanie Pfefer
Require user user1 user2 . thanks --- On Thu, 20/8/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org, a...@ice-sa.com > Date: Thursday, 20 August, 2009, 6:21 PM > On Thu, Aug 20,

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
On Thu, Aug 20, 2009 at 10:55 AM, André Warnier wrote: > Melanie Pfefer wrote: > ... > >> Require user user1 >> Require user user2 > > Melanie, > I believe you may be caught by the fact that the two lines above actually > express /two/ requirements, cumulatively, which cannot be both met at the > s

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread André Warnier
Melanie Pfefer wrote: ... Require user user1 Require user user2 Melanie, I believe you may be caught by the fact that the two lines above actually express /two/ requirements, cumulatively, which cannot be both met at the same time. Try this : Require user user1 user2 OR Require user user

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Melanie Pfefer
only one entry in the error log despite several trials. --- On Thu, 20/8/09, Eric Covener wrote: > From: Eric Covener > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Thursday, 20 August, 2009, 4:20 PM > On Thu, Aug 20, 2009 at 7:5

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Eric Covener
On Thu, Aug 20, 2009 at 7:54 AM, Melanie Pfefer wrote: > let me rephrase my question > > I have > > > Require valid-user > > > > Require user user1 user2 > > Post your verbatim configuration and your error log entry. -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Melanie Pfefer
let me rephrase my question I have Require valid-user Require user user1 user2 Do you know why I am getting Forbidden when user1 logs in to access xyz? --- On Thu, 20/8/09, Melanie Pfefer wrote: > From: Melanie Pfefer > Subject: Re: [us...@httpd] 'require' key

Re: [us...@httpd] 'require' keyword

2009-08-19 Thread Melanie Pfefer
Hi, Can you please help me out with this? To note also that the logs does not show anything now. thanks --- On Wed, 19/8/09, Melanie Pfefer wrote: > From: Melanie Pfefer > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org > Date: Wednesday, 19

Re: [us...@httpd] 'require' keyword

2009-08-19 Thread Melanie Pfefer
required. thank you. --- On Wed, 19/8/09, Melanie Pfefer wrote: > From: Melanie Pfefer > Subject: Re: [us...@httpd] 'require' keyword > To: users@httpd.apache.org, a...@ice-sa.com > Date: Wednesday, 19 August, 2009, 3:50 PM > any idea why I am getting this error > (although

Re: [us...@httpd] 'require' keyword

2009-08-19 Thread Melanie Pfefer
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 wrote: > From: André Warnier >

Re: [us...@httpd] 'require' keyword

2009-08-19 Thread André Warnier
Melanie Pfefer wrote: Require valid-user <--- change here to Require followed by the ldap username. Repeat this for all users The syntax is "Require user " where the first two words are "as is", and the part stands for the authenticated user's id. Example : Require user melhabanero ---

[us...@httpd] 'require' keyword

2009-08-19 Thread Melanie Pfefer
Hi, I want to check 2 things here regarding 'require' keyword. I have this directive: DAV svn SVNParentPath /jupiter/export/ABC/XYZ/ AuthBasicProvider ldap AuthLDAPUrl ldap:// Require valid-user AuthType Basic AuthName "Please enter your credentials" Now if I want to restrict a di