# cyrus cyradm can not authenticate

**URL:** <https://forums.suse.com/t/cyrus-cyradm-can-not-authenticate/22996>\
**Category:** SLES Configure-Administer\
**Created:** [August 21, 2012, 10:24am UTC](https://forums.suse.com/t/cyrus-cyradm-can-not-authenticate/22996 "2012-08-21T10:24:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibmtigb](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@ibmtigb](https://forums.suse.com/u/ibmtigb)\
**Post date:** [August 21, 2012, 10:24am UTC](https://forums.suse.com/t/cyrus-cyradm-can-not-authenticate/22996/1 "2012-08-21T10:24:32Z")

</div>

Hi,  
I am using cyrus which an external email-user database (ldap) with sasl-ldap.  
My cyrus user is local and must be authenticated against passwd/shadow.  
How can i use sasl for email-users and local for cyrus.

Thanks for help

---

<div class="post-metadata">

**Author:** ![ibmtigb](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@ibmtigb](https://forums.suse.com/u/ibmtigb)\
**Post date:** [August 21, 2012, 4:30pm UTC](https://forums.suse.com/t/cyrus-cyradm-can-not-authenticate/22996/2 "2012-08-21T16:30:49Z")

</div>

as extension of above.  
If i set SASLAUTHD\_AUTHMECH=shadow it work for this time. But then no user can access mail…

---

<div class="post-metadata">

**Author:** ![MoserHans](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@MoserHans](https://forums.suse.com/u/MoserHans)\
**Post date:** [August 23, 2012, 3:14pm UTC](https://forums.suse.com/t/cyrus-cyradm-can-not-authenticate/22996/3 "2012-08-23T15:14:54Z")

</div>

Hi,

why don’t you put the cyrus user in ldap as well? This will be by far the most easiest way.

cyradm is an IMAP client. Authentication happens on the server side, so it does not depand on cyradm.

Authentication settings are in imapd.conf. They can be defined by service. Services are defined in cyrus.conf.

So you could define another imap service like imap-adm in cyrus.conf on another port like 99143.  
Then you set your authentication settings for this service with the service prefix like “imap-adm\_”  
imap-adm\_SASLAUTHD\_AUTHMECH=shadow
