What distrobution are you running? What versions of IMAP and OpenLDAP are you running? Under debian there are various separate packages to install for Cyrus, Courier, etc. to enable PAM and/or SSL authentication. Under redhat (rpm-based distros) it is most likely the same. If you are compiling from source, it's a bit different. So.. for example if you want to get Cyrus IMAP working with PAM+LDAP you modify /etc/pam.d/cyrus like so: auth required pam_ldap.so account required pam_ldap.so (there may be some extra options here, read the docs) Obviously you need pam_ldap.so which can be had from www.padl.com or various other packaged versions. * Blake -----Original Message----- From: dino bartolome [mailto:dino@pobox.com] Sent: Wednesday, June 06, 2001 5:40 PM To: pam-list@redhat.com Subject: Re: pam and openldap i know how to setup the ldap server... the only thing i'm trying to figure out is how to make pam search for that information and send it back to the imap program. ----- Original Message ----- From: "Blake Barnett" <Blake.Barnett@DevelopOnline.com> To: <pam-list@redhat.com> Sent: Wednesday, June 06, 2001 5:26 PM Subject: RE: pam and openldap > You need to make sure you have the correct schema's loaded by slapd more > than likely the ones you'll need are: core.schema, cosine.schema and > misc.schema. I'm not sure if IMAP requires something that other mail > protocols don't though.. > > NOTE: these schema's are provided with slapd on debian I don't know about > the source distrobution or RPMs. > > Try these places for more info: > > http://www.linc-dev.com/auth.html > http://www.imap.org/ > > This one's very wordy but may be valuable: > http://www.georgetown.edu/giia/internet2/ldap-recipe/ > > Hope this helps. > > * Blake > > > -----Original Message----- > From: dino bartolome [mailto:dino@pobox.com] > Sent: Tuesday, June 05, 2001 1:39 PM > To: pam-list@redhat.com > Subject: pam and openldap > > > I am trying to authenticate my courier imap server to authenticate like > this: pam -> ldap > however imap servers require more user information like location of maildir > etc.. > this user information will be stored in attributes for each entry..... > how would i retrieve this information using pam? or in other words how could > courier retrieve this information from pam and pam retrieve this information > from openldap? > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list@redhat.com https://listman.redhat.com/mailman/listinfo/pam-list