apache2.2 + mod_authnz_ldap + openldap (all win32 native binaries)

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

 



hello all,
for two days i've tried to google solution for my problem.

i'm using apache2.2 win32 binaries from apache.org
and openldap win32 binaries from
http://download.bergmans.us/openldap/openldap-2.2.29/

i have running openldap service, when searching directory, i'll get, at
least, two entries.
i tested all (ldap filter, etc) in java, perl, and softerra ldap browser.
but when i enter, e.g. userid jkjr (see log bellow) i'll get error 500.
when i went through logs, i think that no ldap query is passed to ldap
server by apache...
i don't know, what is going wrong :(
thanks for any 'working' advice :)





httpd.conf part with ldap:

<Location /svn>
    Options FollowSymLinks Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthType Basic
    AuthName "Subversion repositories"
    AuthBasicProvider ldap
    AuthzLDAPAuthoritative OFF
    AuthLDAPURL
ldap://localhost/dc=endys,dc=dominium?uid?sub?(&(cn=*)(uid=*)(userPassword=*))
    Require valid-user
</Location>




error.log with ldap output:
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(870): [3392]
auth_ldap url parse:
`ldap://localhost/dc=endys,dc=dominium?uid?sub?(&(cn=*)(uid=*)(userPassword=*))'
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(879): [3392]
auth_ldap url parse: Host: localhost
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(881): [3392]
auth_ldap url parse: Port: 389
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(883): [3392]
auth_ldap url parse: DN: dc=endys,dc=dominium
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(885): [3392]
auth_ldap url parse: attrib: uid
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(887): [3392]
auth_ldap url parse: scope: subtree
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(892): [3392]
auth_ldap url parse: filter: (&(cn=*)(uid=*)(userPassword=*))
[Sun Jun 24 23:10:38 2007] [debug] mod_authnz_ldap.c(972): LDAP:
auth_ldap not using SSL connections
[Sun Jun 24 23:10:38 2007] [info] APR LDAP: Built with Microsoft
Corporation. LDAP SDK
[Sun Jun 24 23:10:38 2007] [info] LDAP: SSL support unavailable: LDAP:
CA certificates cannot be set using this method, as they are stored in
the registry instead.
.
.
.
.
.
[Sun Jun 24 23:11:18 2007] [debug] mod_authnz_ldap.c(376): [client
127.0.0.1] [3392] auth_ldap authenticate: using URL
ldap://localhost/dc=endys,dc=dominium?uid?sub?(&(cn=*)(uid=*)(userPassword=*))
[Sun Jun 24 23:11:18 2007] [warn] [client 127.0.0.1] [3392] auth_ldap
authenticate: user jkjr authentication failed; URI /svn
[ldap_search_ext_s() for user failed][Protocol Error]






output of db_printlog:
[1][118663]__txn_regop: rec: 10 txnid 8000007a prevlsn [1][118571]
	opcode: 1
	timestamp: 1182717791 (Sun Jun 24 22:43:11 2007, 200706242243.11)
	locks:

[1][118703]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0]
	opcode: 2
	name: objectClass.bdb0
	uid: |0 0x1 0 0 0 0x2 0 0x9 0x5 0 0 0xb2 H/n0xe0 0x14 0x3 0
	fileid: 2
	ftype: 0x1
	meta_pgno: 0
	id: 0x0

[1][118795]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0]
	opcode: 2
	name: dn2id.bdb0
	uid: z0 0x1 0 0 0 0x2 0 0x9 0x5 0 0 0x7 0x1b 0x1c n@0x8e 0x1 0
	fileid: 1
	ftype: 0x1
	meta_pgno: 0
	id: 0x0

[1][118881]__dbreg_register: rec: 2 txnid 0 prevlsn [0][0]
	opcode: 2
	name: id2entry.bdb0
	uid: y0 0x1 0 0 0 0x2 0 0x9 0x5 0 0 0xe8 0x1a 0x1c n0xa0 0x7 0 0
	fileid: 0
	ftype: 0x1
	meta_pgno: 0
	id: 0x0

[1][118970]__txn_ckp: rec: 11 txnid 0 prevlsn [0][0]
	ckp_lsn: [1][118881]
	last_ckp: [1][118260]
	timestamp: 1182720500 (Sun Jun 24 23:28:20 2007, 200706242328.20)
	envid: 1186806730
	rep_gen: 0

---------------------------------------------------------------------
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