I cranked up LDAP logging and found that the user query on the LDAP server
was all wrong. Once I modified my authldap config to search on the right
thing, I was able to get it working.

Thanks again for your help.


On Sun, 2 Mar 2003, Keith Matthews wrote:

> On Sat, 01 Mar 2003 08:25:46 -0700
> Dave Peters <[EMAIL PROTECTED]> wrote:
> 
> > Keith,
> > 
> > In the authldap I added LDAP_FILTER (&(objectclass=qmailuser)) This 
> > didn't seem to change my results at all. Is this the proper way of 
> > specifying the search?
> 
> (objectclass=qmailuser) would be better, assuming that the objectclass
> is correct (since the client has insisted on using exim for the MTA side
> I'm using courier's own 'CourierMailAccount' objectclass).
> 
> > 
> > Should my home dir be set to /home/vmail/davep ??? This is where the 
> > qmail dirmaker setup the Maildir for the users.
> > 
> 
> It needs to be set to the same place as qmail puts the stuff (the full
> path). That may need to have 'Maildir' appended , you'll have to suck it
> and see.
> 
> > I did modify the success.c to as mentioned below. I believe that It 
> > should be logging the directory that it is trying to chdir to.
> > 
> 
> The problem here is that (in my case at least) the directory name is
> null. One then has to work out how the null value got there.
> 
> In most cases the surest way is to edit authlib/authldaplib.c setting
> LDAP_DEBUG to 1, then insert calls to syslog at appropriate steps
> (plenty of examples in that file).
> > Thanks for your help. BTW I have attached the original thread at the 
> > bottom of this email.
> > 
> > ttyl
> 
> 
> -------------------------------------------------------
> 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
> 



-------------------------------------------------------
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

Reply via email to