First of all, authdaemond needs a command, for it runs as a daemon - 
this is one of "start|stop|restart".  You don't start authldap, as it's 
a compiled-in module to authdaemon.
The authdaemon receives authentication requests from Courier programs 
(such as Courier-IMAP).

To test the authentication out, run "authtest <username> <password>" 
(password is optional to check the basic user details, put password in 
to check it's authentication via username/password pair.)
You also need to check authdaemonrc and (I'm guessing, authldaprc) and 
configure to your environment.

# /usr/local/sbin/authdaemond start
# /usr/local/bin/authtest [EMAIL PROTECTED] userspassword

--- user info or failure message --

If you get a failure, check /var/log/maillog and turn up debugging in 
authdaemonrc if necessary.  Note when changing the config, it's best to 
do "authdaemond stop" followed by "authdaemond start" to check it's 
picking up the new config.

That's as much help as I can give you as I've never used LDAP.
I'd say read through the comments in authdaemonrc and authldaprc if you 
get stuck.

Andy.

Mário Gamito wrote:
> Hi,
>
> I'm trying to integrate courier-imap with qmail-ldap, but so far with no 
> success :(
>
> I've been googling, but found no answer tho this questions.
>
> Let's see if i can make this compreensible.
>
> 1) i configured courier-imap with ldap support
>
> 2) When i run /usr/local/sbin/authdaemond, i get:
> [EMAIL PROTECTED] ~]# /usr/local/sbin/authdaemond
> Unknown option '-'
> [EMAIL PROTECTED] ~]#
>
> I looked through the config files, saw no "-" in the wild;
>
>
> 3) How is it supposed to integrate auth_imap in the puzzle ?
>
> 4) Should i also run authdaemond along with auth_imap ?
>
> 5) You canfind my authldaprc and authdaemonrc at:
> http://www.gamito.org/authldaprc.html
> http://www.gamito.org/authdaemonrc.html
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
>
> !DSPAM:37,45d97aa818519521341894!
>
>
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to