[courier-users] LDAP Authentication

2002-04-11 Thread James Stevens

I believe I have everything configured correctly. I modified the
authldaprc file and the authdaemond files. I changed a few thing in
authldap so it searches for uid rather than mail. I am logging my ldap
and it seems to be doing what it is supposed to. By this I mean it found
my complete dn from the uid and password I supplied, but does not bring
up my inbox. 

The last few lines of my ldap log show:
= send_search_entry
entry_rdwr_runlock: ID: 3
 cache_return_entry_r( 3 ): created (0)
send_ldap_search_result 0::
send_ldap_response: msgid=2 tag=101 err=0
conn=0 op=1 SEARCH RESULT tag-101 err=0 txt=

The last few lines of millog show:
Connection, ip=[:::192.168.0.136]
LOGIN FAILED, ip=[:::192.168.0.136]

What else can I do to see what is happening? Does anyone have any
insight or suggestions?

TIA
James Stevens


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] IMAP authentication issues

2002-04-04 Thread James Stevens

I am unable to get an IMAP client to authenticate. I use LDAP to store
user info and passwords. I use Qmail as my MTA and have been able to
test successfully with it using LDAP. AUTHDAEMOND.LDAP is running. I had
Pasted below is some info I hope will be useful.

The only thing I can think of is the passwords are not matching due to
plain and crypt, maybe? I have verified the correct password is in use.
Bumping up my logging for LDAP helped through some issues. How/where do
I bump up logging on courier?

TIA
James Stevens


**
Output from LDAP search:
**
version: 2

#
# filter: ([EMAIL PROTECTED])
# requesting: ALL
#

# jstevens, accounts, endtech, com
dn: uid=jstevens,ou=accounts,dc=endtech,dc=com
cn: James Stevens
sn: Stevens
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailHost: mail.endtech.com
mailMessageStore: /var/qmail/maildirs/jstevens/Maildir
uid: jstevens
userPassword:: e1NTSEF9bHV3WkRlaHhsanRiUUNtK015aEdmNjA3NWduNmNTNVY=

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

**
Logging of my LDAP server while attempting to authenticate with IMAP
client:
**
Apr  4 11:39:02 mail slapd[2344]:  cache_find_entry_id( 3 )
uid=jstevens,ou=accounts,dc=endtech,dc=com (found) (1 tries) 
Apr  4 11:39:02 mail slapd[2344]: = id2entry_r( 3 ) 0x8148d50 (cache) 
Apr  4 11:39:02 mail slapd[2344]: = test_filter 
Apr  4 11:39:02 mail slapd[2344]: EQUALITY 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: search access to
uid=jstevens,ou=accounts,dc=endtech,dc=com mail requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = test_filter 6 
Apr  4 11:39:02 mail slapd[2344]: = send_search_entry:
uid=jstevens,ou=accounts,dc=endtech,dc=com 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com entry requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com cn requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com cn requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com mail requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com mail requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com mailMessageStore
requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com mailMessageStore
requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com userPassword requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: = access_allowed: read access to
uid=jstevens,ou=accounts,dc=endtech,dc=com userPassword requested 
Apr  4 11:39:02 mail slapd[2344]: = root access granted 
Apr  4 11:39:02 mail slapd[2344]: conn=7 op=1 ENTRY
dn=uid=jstevens,ou=accounts,dc=endtech,dc=com 
Apr  4 11:39:02 mail slapd[2344]: = send_search_entry 
Apr  4 11:39:02 mail slapd[2344]: entry_rdwr_runlock: ID: 3 
Apr  4 11:39:02 mail slapd[2344]:  cache_return_entry_r( 3 ):
returned (0) 
Apr  4 11:39:02 mail slapd[2344]: send_ldap_search_result 0:: 
Apr  4 11:39:02 mail slapd[2344]: send_ldap_response: msgid=2 tag=101
err=0 
Apr  4 11:39:02 mail slapd[2344]: conn=7 op=1 SEARCH RESULT tag=101
err=0 text= 

**
My maillog file:
**
Apr  4 11:38:59 mail imapd: Connection, ip=[:::192.168.0.136]
Apr  4 11:39:07 mail imapd: LOGIN FAILED, ip=[:::192.168.0.136]
Apr  4 11:39:19 mail imapd: DISCONNECTED, ip=[:::192.168.0.136],
headers=0, body=0



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] compile error - authvchkpw

2002-03-26 Thread James Stevens

I had a similar thing with LDAP. It turns out that cinfigure did find an
ldap.h file, but it was not the right on. It was left over from
somewhere so I deleted it and created links in /usr/include to my
OpenLDAP include files. The same for /usr/lib to my OpenLDAP lib files.
This cleared up my problem. Don't know if this helps, but...

James

On Sun, 2002-03-24 at 10:42, Daniel Bichara wrote:
 
 This is the third time I write this message. Please help me.
 
 Error while make:
 
 make[1]: Entering directory `/usr/src/courier-imap-1.4.3/authlib'
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2 =
 -Wall -I.. -
 I./.. -c authvchkpw.c
 authvchkpw.c: In function `auth_vchkpw_changepass':
 authvchkpw.c:142: warning: assignment from incompatible pointer type
 authvchkpw.c:151: dereferencing pointer to incomplete type
 authvchkpw.c:151: dereferencing pointer to incomplete type
 make[1]: *** [authvchkpw.o] Error 1
 make[1]: Leaving directory `/usr/src/courier-imap-1.4.3/authlib'
 make: *** [all-recursive] Error 1   
 
 Thanks
 
 Daniel 
 
 
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] LDAP Authenication

2002-03-26 Thread James Stevens

I'm trying to authenticate against an LDAP server. I think I have
everything configured correctly, but I'm not sure. Courier does not
allow me to access a mail account. Where can I find detailed logs of
what is happening or how do I turn on verbose logs?

TIA
JAmes


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Compilation Error

2002-03-22 Thread James Stevens

Hi folx,
During the make process I get the following error. Can anyone help me
out and point me in the right direction? Heck any direction :)

*** Please forgive any typos, my terminal crashes on a copy ***
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -02 -Wall -I.. -I./.. -c authldap.c
authldaplib.c: In function `copy_value':
authldaplib.c:422: dereferencing pointer to incomplete type
authldaplib.c: At top level:
authldaplib.c:484: warning: 1enable_tl_on' defined but not used
make[1]: *** [authldaplib.o] Error 1
make[1]: Leaving directory `/home/sysuser/courier-imap-1.4.3/authlib'
make: *** [all-recursive] Error 1
*** Please forgive any typos, my terminal crashes on a copy ***

TIA
James Stevens


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users