Cyrus IMAP and LDAP

Igor Brezac igor at ipass.net
Fri Jul 18 09:23:53 EDT 2003


On Fri, 18 Jul 2003, Ana Ribas/Upcnet wrote:

> Hi list,
>
> Finally, saslauthd works fine with ldap authentication against my Lotus
> Domino eDirectory.
> My Cyrus IMAP server and my LDAP server aren't in the same machine.
> Now, I don't know how to relate the user, that is in the ldap server, with
> a mailbox that I've created for him with cyradm in the IMAP server.
>
> Can anyone tell me what I must to do now?
>
> My configuration:
>
> saslauthd.conf:
>       ldap_servers: ldap://albinoni.upc.es/
>       ldap_port: 389
>       ldap_uidattr: uid
        ^^^^^^^^^^^^
This option does not exist.

>
> > saslauthd -a ldap
> > > testsaslauthd -u juanito -p juanito
> 0: OK "Success."
>
> imapd.conf:
>       configdirectory: /var/imap
>       defaultpartition: default
>       partition-default: /var/spool/imap
>       admins: cyrus
>       sendmail: /usr/lib/sendmail
>       sasl_pwcheck_method: saslauthd
>       postmaster: cyrus
>       allowanonymouslogin: no
>       allowplaintext: yes
>       servername: delius.upc.es
>       autocreatequota: 10240
>       reject8bit: no
>       quotawarn: 90
>       timeout: 30
>       poptimeout: 10
>       altnamespace: yes
>       lmtp_overquota_perm_failure: yes
>       duplicatesuppression: yes
>       hashimapspool: true
>       unixhierarchysep: no
>       maxmessagesize: 5012
>
> > ./cyradm delius.upc.es --auth plain
> Password:
> IMAP Password:
>
> delius.upc.es> lm
> user.juanito (\HasNoChildren)
>

You connected as 'cyrus' (admin)...

If you want to test 'juanito' try
cyradm --user juanito --auth login <imap_server_ip_or_name>

or use your favorite imap client.

-- 
Igor




More information about the Info-cyrus mailing list