On Wed, 26 Jun 2002, Sam Varshavchik wrote:
> Sam Varshavchik writes:
> ... uncomment LDAP_MAILROOT, and set it to "/.", without the quotes. Looks
> like there's a problem if LDAP_MAILROOT is left undefined, so set it to
> point to the root directory, for now.
Thanks. That fixed the sigsegv.
Authentication is failing:
[root@sabertooth courier]# echo "To: dennis" | /usr/lib/courier/bin/sendmail
450-Service temporarily unavailable.
450 Headers specify no receipients.
sendmail: Unable to submit message.
*** here is an strace from authdaemon now:
[root@sabertooth courier]# strace -p14999
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, "PRE . courier dennis@calico-cons"..., 8192) = 43
time(NULL) = 1025500469
write(9, "0\201\276\2\1\tc\201\270\4\33dc=calico-consulting,"..., 193) =
193
time(NULL) = 1025500469
select(1024, [9], [], NULL, {5, 0}) = 1 (in [9], left {5, 0})
read(9, "0\201\353\2\1\td\201\345\4Luid=dennis, o=calico-"..., 16384) =
238
time(NULL) = 1025500469
select(1024, [9], [], NULL, {5, 0}) = 1 (in [9], left {5, 0})
read(9, "0\f\2\1\te\7\n\1\0\4\0\4\0", 16384) = 14
time(NULL) = 1025500469
time([1025500469]) = 1025500469
rt_sigaction(SIGPIPE, {0x420e4680, [], 0x4000000}, {SIG_IGN}, 8) = 0
send(7, "<26>Jun 30 22:14:29 authdaemond."..., 113, 0) = 113
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
close(4) = 0
select(9, [5 8], NULL, NULL, NULL <unfinished ...>
*** here is logging from OpenLDAP:
Jun 30 22:14:29 sabertooth slapd[13082]: connection_get(15)
Jun 30 22:14:29 sabertooth slapd[14459]: SRCH
"dc=calico-consulting,dc=com" 2 0
Jun 30 22:14:29 sabertooth slapd[14459]: 0 0 0
Jun 30 22:14:29 sabertooth slapd[14459]: filter:
(&(objectClass=CourierMailAccount)([EMAIL PROTECTED]))
Jun 30 22:14:29 sabertooth slapd[14459]: attrs:
Jun 30 22:14:29 sabertooth slapd[14459]: homeDirectory
Jun 30 22:14:29 sabertooth slapd[14459]: mailDir
Jun 30 22:14:29 sabertooth slapd[14459]: cn
Jun 30 22:14:29 sabertooth slapd[14459]: clearPassword
Jun 30 22:14:29 sabertooth slapd[14459]: userPassword
Jun 30 22:14:29 sabertooth slapd[14459]: mail
Jun 30 22:14:29 sabertooth slapd[14459]:
Jun 30 22:14:29 sabertooth authdaemond.ldap: authlib: refuse to
authenticate [EMAIL PROTECTED]: uid=0, gid=0
*** Here is noncomment lines from authldaprc:
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 XXXXXX
LDAP_TIMEOUT 5
LDAP_MAIL mail
LDAP_FILTER (objectClass=CourierMailAccount)
LDAP_HOMEDIR homeDirectory
LDAP_MAILROOT /.
LDAP_MAILDIR mailDir
LDAP_FULLNAME cn
LDAP_CRYPTPW userPassword
LDAP_DEREF never
LDAP_TLS 0
--
---
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users