Hi,

Assuming that 
* you are running linux (where your Cyrus server is installed), 
* your ldap server is setup and you have user accounts in it, 
* you can make ldap lookups from the machine where cyrus is setup (your
ldap.conf is properly setup) 
* your cyrus server is setup and functioning and 
* you compiles SASL with PAM support, 

then all you have to do is set
sasl_pwcheck_method: pam
in your imap.conf

and set these two files in /etc/pam.d 
/etc/pam.d/imap
auth       sufficient   /lib/security/pam_ldap.so 
account    sufficient  
/lib/security/pam_ldap.so                               

/etc/pam.d/pop
auth       sufficient   /lib/security/pam_ldap.so 
account    sufficient  
/lib/security/pam_ldap.so                               


now create a user in LDAP directory called "testuser"
make sure that the attributes
uid and userPassword are defined.
then create an account for "testuser" in Cyrus
and try to login as user "testuser"



If you want to manage all these accounts via an interface then
<plug>
have a look at www.ispman.org
You can use the software ISPMan
to manage your isp (cyrus mailboxes and ldap accounts).
</plug>




mike begley wrote:
> 
> I'm setting up a cyrus server to authenticate against an LDAP server
> (OpenLDAP).  I have the software built and installed, but I'm having some
> basic conceptual problems getting the LDAP server set up with user accounts.
> 
> Anyway, if anyone would like to help me walk through this process and help
> me understand it, then please respond to me privately (so to not clog the
> list with basic config information).  I would have no problem compensating
> someone for this help.
> 
> thanks.
> 
> -mike begley
> [EMAIL PROTECTED]

-- 
Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
---------------------------.
          +41 21 351 53 60 ¦ voice
          +41 79 659 89 72 ¦ mobile
          +41 21 254 53 62 ¦ fax
      http://www.4unet.net ¦ www
http://www.atifghaffar.com ¦ homepage
    [EMAIL PROTECTED] ¦ email

Reply via email to