https://issues.apache.org/bugzilla/show_bug.cgi?id=45196





--- Comment #6 from Renata Rocha <[EMAIL PROTECTED]>  2008-06-13 13:48:57 PST 
---
(In reply to comment #5)
> > Exactly. 
> > 
> > Syntax error on line 233 of /opt/apache-2.2.8/conf/httpd.conf:
> > Unknown Authn provider: ldap-alias1
> > 
> 
> not the expected error --  you have to change more in the conf to stop using
> mod_authn_alias b/c you're still referecing the alias you created.
> 

I've commented out the mod_authn_alias configuration part and my Location
configuration now looks like this

<Location />
Options +Indexes
Dav On
AuthType Digest
AuthName LDAP_Protected_Place
AuthzLDAPAuthoritative on
AuthLDAPGroupAttributeIsDN on
Order deny,allow
Allow from all
  require valid-user
</Location>

My new strace follows. Obviously there's no LDAP configuration now, as I've
commented it out. Was that what you wanted? 

[pid 31877] fstat64(6, {st_mode=S_IFREG|0755, st_size=42148, ...}) = 0
[pid 31877] mmap2(NULL, 42852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
6, 0) = 0xaa157000
[pid 31877] madvise(0xaa157000, 42852, MADV_SEQUENTIAL|0x1) = 0
[pid 31877] mmap2(0xaa161000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x9) = 0xaa161000
[pid 31877] close(6)                    = 0
[pid 31877] munmap(0xb7a0a000, 45727)   = 0
[pid 31877] futex(0xaa161644, FUTEX_WAKE, 2147483647) = 0
[pid 31877] _exit(0)                    = ?
Process 31877 detached
[pid 31903] <... epoll_wait resumed> {{EPOLLIN, {u32=135855088,
u64=583492782133935088}}}, 2, -1) = 1
[pid 31903] accept(4, {sa_family=AF_INET, sin_port=htons(44545),
sin_addr=inet_addr("172.22.33.136")}, [16]) = 6
[pid 31903] semop(18874454, 0xb7e7c70e, 1) = 0
[pid 31903] futex(0x813c330, 0x5 /* FUTEX_??? */, 1 <unfinished ...>
[pid 31885] <... futex resumed> )       = 0
[pid 31903] <... futex resumed> )       = 1
[pid 31903] semop(18874454, 0xb7e7c708, 1) = 0
[pid 31903] epoll_wait(7,  <unfinished ...>
[pid 31885] futex(0x813c2fc, FUTEX_WAKE, 1) = 0
[pid 31885] gettimeofday({1213389275, 335059}, NULL) = 0
[pid 31885] fcntl64(6, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 31885] fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 31885] gettimeofday({1213389275, 335387}, NULL) = 0
[pid 31885] read(6, "GET / HTTP/1.1\r\nHost: im5:8080\r\nUser-Agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015
Firefox/3.0\r\nAccept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language:
en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nConnection:
keep-alive\r\nIf-Modified-Since: Fri, 13 Jun 2008 18:48:30 GMT\r\n\r\n", 8000)
= 400
[pid 31885] gettimeofday({1213389275, 335866}, NULL) = 0
[pid 31885] gettimeofday({1213389275, 336030}, NULL) = 0
[pid 31885] gettimeofday({1213389275, 336094}, NULL) = 0
[pid 31885] stat64("/export/htdocs/webdav2/", {st_mode=S_IFDIR|0755,
st_size=280, ...}) = 0
[pid 31885] open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
[pid 31885] open("/home/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
[pid 31885] open("/home/myhost/.htaccess", O_RDONLY|O_LARGEFILE) = 8
[pid 31885] fstat64(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 31885] read(8, "", 4096)           = 0
[pid 31885] close(8)                    = 0
[pid 31885] writev(6, [{"HTTP/1.1 401 Authorization Required\r\nDate: Fri, 13
Jun 2008 20:34:35 GMT\r\nServer: Apache/2.2.8 (Unix) DAV/2\r\nWWW-Authenticate:
Digest realm=\"LDAP_Protected_Place\",
nonce=\"ugy7NJJPBAA=89a6a4fb79ac224c68e78572ed04f3b8145d1c2f\", algorithm=MD5,
qop=\"auth\"\r\nContent-Length: 475\r\nKeep-Alive: timeout=2,
max=20\r\nConnection: Keep-Alive\r\nContent-Type: text/html;
charset=iso-8859-1\r\n\r\n", 376}, {"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>401 Authorization
Required</title>\n</head><body>\n<h1>Authorization Required</h1>\n<p>This
server could not verify that you\nare authorized to access the
document\nrequested.  Either you supplied the wrong\ncredentials (e.g., bad
password), or your\nbrowser doesn\'t understand how to supply\nthe credentials
required.</p>\n<hr>\n<address>Apache/2.2.8 (Unix) DAV/2 Server at im5 Port
8080</address>\n</body></html>\n", 475}], 2) = 851
[pid 31885] read(6, 0x8197fd8, 8000)    = -1 EAGAIN (Resource temporarily
unavailable)
[pid 31885] gettimeofday({1213389275, 337607}, NULL) = 0
[pid 31885] write(5, "x.x.x.x - - [13/Jun/2008:17:34:35 -0300] \"GET /
HTTP/1.1\" 401 475\n", 72) = 72
[pid 31885] gettimeofday({1213389275, 337814}, NULL) = 0
[pid 31885] times({tms_utime=2, tms_stime=1, tms_cutime=0, tms_cstime=0}) =
-328335869
[pid 31885] gettimeofday({1213389275, 337941}, NULL) = 0
[pid 31885] poll([{fd=6, events=POLLIN}], 1, 2000) = 0
[pid 31885] gettimeofday({1213389277, 337133}, NULL) = 0
[pid 31885] gettimeofday({1213389277, 337247}, NULL) = 0
[pid 31885] shutdown(6, 1 /* send */)   = 0
[pid 31885] poll([{fd=6, events=POLLIN}], 1, 2000) = 0
[pid 31885] close(6)                    = 0
[pid 31885] gettimeofday({1213389279, 337213}, NULL) = 0
[pid 31885] futex(0x813c330, FUTEX_WAIT, 27, NULL <unfinished ...>
[pid 31903] <... epoll_wait resumed> {{EPOLLIN, {u32=135855088,
u64=583492782133935088}}}, 2, -1) = 1
[pid 31903] accept(4, {sa_family=AF_INET, sin_port=htons(44546),
sin_addr=inet_addr("172.22.33.136")}, [16]) = 6
[pid 31903] semop(18874454, 0xb7e7c70e, 1) = 0
[pid 31903] futex(0x813c330, 0x5 /* FUTEX_??? */, 1 <unfinished ...>
[pid 31879] <... futex resumed> )       = 0
[pid 31903] <... futex resumed> )       = 1
[pid 31903] semop(18874454, 0xb7e7c708, 1) = 0
[pid 31903] epoll_wait(7,  <unfinished ...>
[pid 31879] futex(0x813c2fc, FUTEX_WAKE, 1) = 0
[pid 31879] gettimeofday({1213389285, 360183}, NULL) = 0
[pid 31879] fcntl64(6, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 31879] fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 31879] gettimeofday({1213389285, 360504}, NULL) = 0
[pid 31879] read(6, "GET / HTTP/1.1\r\nHost: im5:8080\r\nUser-Agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015
Firefox/3.0\r\nAccept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language:
en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nConnection:
keep-alive\r\nIf-Modified-Since: Fri, 13 Jun 2008 18:48:30
GMT\r\nAuthorization: Digest username=\"lalala\",
realm=\"LDAP_Protected_Place\", nonce=\"ugy7NJJPBAA=89a6a4fb79ac224c68e78"...,
8000) = 655
[pid 31879] gettimeofday({1213389285, 360900}, NULL) = 0
[pid 31879] gettimeofday({1213389285, 361010}, NULL) = 0
[pid 31879] gettimeofday({1213389285, 361067}, NULL) = 0
[pid 31879] stat64("/home/myhost/", {st_mode=S_IFDIR|0755, st_size=280, ...}) =
0
[pid 31879] open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
[pid 31879] open("/home/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
[pid 31879] open("/home/myhost/.htaccess", O_RDONLY|O_LARGEFILE) = 8
[pid 31879] brk(0x81d0000)              = 0x81d0000
[pid 31879] fstat64(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 31879] read(8, "", 4096)           = 0
[pid 31879] close(8)                    = 0
[pid 31879] gettimeofday({1213389285, 361941}, NULL) = 0
[pid 31879] write(2, "[Fri Jun 13 17:34:45 2008] [error] Internal error:
pcfg_openfile() called with NULL filename\n", 93) = 93
[pid 31879] gettimeofday({1213389285, 362138}, NULL) = 0
[pid 31879] write(2, "[Fri Jun 13 17:34:45 2008] [error] [client 172.22.33.136]
(9)Bad file descriptor: Could not open password file: (null)\n", 119) = 119
[pid 31879] writev(6, [{"HTTP/1.1 500 Internal Server Error\r\nDate: Fri, 13
Jun 2008 20:34:45 GMT\r\nServer: Apache/2.2.8 (Unix) DAV/2\r\nContent-Length:
608\r\nConnection: close\r\nContent-Type: text/html;
charset=iso-8859-1\r\n\r\n", 195}, {"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>500 Internal Server
Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server
encountered an internal error or\nmisconfiguration and was unable to
complete\nyour request.</p>\n<p>Please contact the server administrator,\n
[EMAIL PROTECTED] and inform them of the time the error occurred,\nand anything
you might have done that may have\ncaused the error.</p>\n<p>More information
about this error may be available\nin the server error lo"..., 608}], 2) = 803
[pid 31879] gettimeofday({1213389285, 362804}, NULL) = 0
[pid 31879] write(5, "x.x.x.x - lalala [13/Jun/2008:17:34:45 -0300] \"GET /
HTTP/1.1\" 500 608\n", 80) = 80
[pid 31879] gettimeofday({1213389285, 362985}, NULL) = 0
[pid 31879] times({tms_utime=2, tms_stime=1, tms_cutime=0, tms_cstime=0}) =
-328334866
[pid 31879] gettimeofday({1213389285, 363105}, NULL) = 0
[pid 31879] shutdown(6, 1 /* send */)   = 0
[pid 31879] poll([{fd=6, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
[pid 31879] read(6, "", 512)            = 0
[pid 31879] close(6)                    = 0
[pid 31879] gettimeofday({1213389285, 429749}, NULL) = 0
[pid 31879] futex(0x813c330, FUTEX_WAIT, 29, NULL


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to