15 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Courier & LDAP
FromSent OnAttachments
Graham LeggettAug 13, 2001 8:59 am 
Waldemar BrodkorbAug 13, 2001 9:38 am 
J. Patrick NarkinskyAug 13, 2001 11:46 am 
Sam VarshavchikAug 13, 2001 3:36 pm 
Griffiths, JonAug 14, 2001 4:21 am 
Mike JacksonAug 14, 2001 5:31 am 
Waldemar BrodkorbAug 14, 2001 7:34 am 
Graham LeggettAug 14, 2001 3:07 pm 
Sam VarshavchikAug 14, 2001 3:13 pm 
Sam VarshavchikAug 14, 2001 3:13 pm 
Sam VarshavchikAug 14, 2001 5:33 pm 
Graham LeggettAug 15, 2001 12:25 am 
Waldemar BrodkorbAug 16, 2001 1:19 pm 
Waldemar BrodkorbAug 16, 2001 1:41 pm 
Sam VarshavchikAug 16, 2001 3:21 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: Courier & LDAPActions...
From:Waldemar Brodkorb (wald@web.de)
Date:Aug 16, 2001 1:41:09 pm
List:net.sourceforge.lists.courier-users

Hello *,

I still have the same problem, after I realized the new version of courier-imap (btw: very fast feature implementation, thank you Sam) and downloaded, compiled and installed it. ./configure --prefix=/usr --mandir=/usr/share/man --with-piddir=/var/run/courier --sysconfdir=/etc/courier --libexecdir=/usr/lib/courier --datadir=/usr/lib/courier --localstatedir=/var/lib/courier --sbindir=/usr/sbin --with-mailuser=daemon --with-mailgroup=daemon --without-socks --enable-workarounds-for-imap-client-bugs --with-authpam --without-authpwd --without-authmysql --without-authshadow --without-authvchkpw --without-authcram --with-db=gdbm --with-ispell=/usr/bin/ispell --disable-root-check --with-authdaemon --with-authdaemonvar=/var/run/courier/authdaemon --with-authldap --with-authldaprc=/etc/courier/authldaprc make && make install

no errors. I've included courier.schema to my LDAP-server and added new values for the relevant attributes.

My relevant configs: /etc/courier/authldaprc LDAP_SERVER ldap.bier.wg LDAP_PORT 389 LDAP_BASEDN o=thinknow,c=de LDAP_TIMEOUT 15 LDAP_AUTHBIND 0 LDAP_MAIL mail LDAP_HOMEDIR homeDirectory LDAP_MAILDIR mailbox LDAP_FULLNAME cn LDAP_CRYPTPW userPassword LDAP_UID uidNumber LDAP_GID gidNumber

/etc/courier/authdaemonrc authmodulelist="authldap" daemons=3 version="authdaemond.ldap" authdaemonvar=/var/run/courier/authdaemon

an empty /etc/pam.d/imap

Prozesses started: root 6769 0.0 2.0 3312 1284 ? S 21:47 0:00 /usr/lib/courier/authlib/authdaemond.ldap start root 6849 0.0 0.8 1356 544 ? S 21:52 0:00 /usr/sbin/couriertcpd -address=0 -stderr=/var/log/imapd.log -maxprocs=40 -maxperip=4 -pid=/var/run/courier/imapd-ssl.pid -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin /usr/lib/courier/authlib/authdaemon /usr/bin/imapd

$ ldapsearch -x '(uid=waldemar)' mail mailbox userPassword homeDirectory
uidNumber gidNumber clearPassword cn version: 2

# # filter: (uid=waldemar) # requesting: mail mailbox userPassword homeDirectory uidNumber gidNumber
clearPassword cn #

# waldemar,People,thinknow,de dn: uid=waldemar,ou=People,o=thinknow,c=de cn: Waldemar Brodkorb uidNumber: 1001 gidNumber: 1001 homeDirectory: /home/waldemar mail: wald@web.de mailbox: /var/mail/waldemar clearPassword: linux

# ls -lan /var/mail| grep waldemar drwx--S--- 79 1001 8 2048 Aug 16 22:25 waldemar

Whats wrong? Still getting: "Login failed", when I try to login with mutt.

And: authdaemond.ldap: Hostname: ldap.bier.wg:389 authdaemond.ldap: UID: 0 authdaemond.ldap: GID: 0 authdaemond.ldap: ldapconnect end

Why authdaemond.ldap didn't get the right UID and GID?

Thanks for any response, I think I'll getting crazy ;)

Waldemar