I've installed Courier 0.39.0 on redhat 7.3. I'm wanting to use OpenLDAP
2.0.23 to authenticate against.

Looking in the OpenLDAP log, authldap is never connecting to OpenLDAP. 
OpenLDAP is running, I can access it using an LDAP client.

my authmodule file:

authdaemon

my authdaemonrc file (minus comments and spaces):

authmodulelist="authldap"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql 
authpam"
daemons=1
version=""
authdaemonvar=/var/spool/courier/authdaemon


my authldaprc file (minus comments):

LDAP_SERVER             127.0.0.1
LDAP_PORT               389
LDAP_BASEDN             dc=calico-consulting,dc=com
LDAP_BINDDN             cn=Administrator,dc=calico-consulting,dc=com
LDAP_BINDPW             pwpwpw
LDAP_TIMEOUT            5
LDAP_MAIL               mail
LDAP_HOMEDIR            homeDirectory
LDAP_MAILDIR            mailDir
LDAP_FULLNAME           cn
LDAP_CLEARPW            clearPassword
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0

I reduced the number of auth daemons to 1 and did an strace while I ran
authtest and I see that the daemon is sigsegv'ing reading the authldaprc
file. I am not sure what to do next to figure out what is wrong.

[root@sabertooth courier]# strace -p26071
select(9, [5 8], NULL, NULL, NULL)      = 1 (in [8])
accept(8, {sin_family=AF_UNIX, path=@}, [2]) = 4
fcntl64(4, F_SETFL, O_RDONLY)           = 0
select(5, [4], NULL, NULL, {10, 0})     = 1 (in [4], left {10, 0})
read(4, "AUTH 49\nlogin\nlogin\ndennis@calic"..., 8192) = 58
open("/etc/courier/authldaprc", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0400, st_size=6356, ...}) = 0
fstat64(6, {st_mode=S_IFREG|0400, st_size=6356, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x40014000
read(6, "##VERSION: $Id: authldaprc,v 1.1"..., 4096) = 4096
read(6, "\n# LDAP_UID\t\tuidNumber\n# LDAP_GI"..., 4096) = 2260
--- SIGSEGV (Segmentation fault) ---

-- 
---
Dennis Sacks
[EMAIL PROTECTED]
If builders built buildings the way programmers write programs, then 
the first woodpecker that came along would destroy civilization.
Weinberg's Second Law




-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to