That was it! Well, close enough. I couldn't find any ldap_default_realm in the 
latest version but I was able to Google it and found someone else who has a 
similar question. 

The key in this version (downloaded a month ago) is to change "virtdomains: 1" 
to "virtdomains: userid".  This prevents Cyrus from doing a reverse DNS and 
then it just uses the servers short name for the realm - consistently (instead 
of the randomness I was getting from the reverse DNS - although now that I 
think about it it was probably the DNS server handing out r-lookups in a round 
robin order).

In any case, problem solved, thanks!
Reggie


Wednesday, August 5, 2009, 8:08:18 PM, you wrote:

> On Wed, Aug 5, 2009 at 5:27 PM,
> Nybbles2Byte<nybbles2b...@gmail.com> wrote:
>> Hello ,

>> I'm getting a little desperate here so I'm hoping someone can answer these
>> two question for me. I originally asked them as "How to use global admin. &
>> virtual domains?" but no-one responded and I have no answers myself, so
>> please, even if this seems like a stupid question because I am missing the
>> obvious, please let me know!


> With ldap beckhend the secret is sasl_ldap_default_realm (or
> ldap_default_realm in saslauthd.conf) this is the domain to no-domain
> user like "root" (login with no-domain user is the global admin).

> sasl_ldap_default_realm should be equal defaultdomain to work like a cham. ;)

> I don't know if sasl_sql_default_realm exist.




-- 
 Nybbles2Byte                            mailto:nybbles2b...@gmail.com
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to