Re: Setting saslauthd home

"Gabriele Bulfon via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <1518010813.46042.1673947435984@www>
I also tried pointing sasl_saslauthd_path directly to the /server/var/run/saslauthd/mux socket file, but here I receive another error:
SASL size read failed
 
What's wrong with my config?
I used sasl+cyrus-imap for ages up to 3.2, is there any problem with this 3.8.0-alpa0 version? Should I try the dev 3.9.0 instead?
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 

 


Da: Gabriele Bulfon via Info <[email protected]>
A: Info <[email protected]>
Data: 16 gennaio 2023 11.07.44 CET
Oggetto: Re: Setting saslauthd home



 
Thanks, adding sasl_saslauthd_path to imapd.conf changed the situation.
But now I receive "SASL cannot connect to saslauthd server: Socket operation on non-socket".
The saslauthd daemon is started with "-a ldap -O [path-to-saslauthd.conf] -c -m [saslauthd_path] and the saslauthd_path contains:

total 2058
-rw-------   1 root     root           0 Jan 16 09:18 cache.flock
-rw-------   1 root     root      986112 Jan 16 09:18 cache.mmap
srwxrwxrwx   1 root     root           0 Jan 16 09:18 mux
-rw-------   1 root     root           0 Jan 16 09:18 mux.accept
-rw-------   1 root     root           5 Jan 16 09:18 saslauthd.pid
 
Cyrus imapd.conf has these options:
 
sasl_saslauthd_path: /server/var/run/saslauthd
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain
 
Cyrus imapd version is 3.8.0-alpha0 (we are willing to test drive multisearch).
Cyrus sasl version is 2.1.28.
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 

 


Da: Ken Murchison <[email protected]>
A: [email protected]
Data: 13 gennaio 2023 18.22.21 CET
Oggetto: Re: Setting saslauthd home



saslauthd_path
http://www.cyrusimap.org/sasl/sasl/options.html
On 1/13/23 12:18 PM, Gabriele Bulfon wrote:
Hi, I'm reworking cyrus installtion on our XStreamOS with latest cyrus.
Paths for saslauthd are changed during service start, not in default "/var/state/saslauthd".
Now cyradm complains during auhentication:

SASL cannot connect to saslauthd server: No such file or directory
 
I bet master/imapd are looking at the wrong place for saslauthd home.
Is there any option in imapd.conf for this?
Am I looking at the wrong direction?
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 

-- Kenneth MurchisonSenior Software DeveloperFastmail US LLCCyrus / Info / see discussions + participants + delivery options Permalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tfd793d7ea01dd9cb-M9ce14c9a42faca27717d9f3e
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.