[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: LDAP auth and ptloader
From:       "ellie timoney" <ellie () fastmail ! com>
Date:       2019-04-26 8:03:25
Message-ID: 0c0acdee-a654-4b67-a23a-f58aa58d6672 () www ! fastmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Sven,

I don't know much about running it in a production capacity, but our test suite sets \
up the following for LDAP pts:

imapd.conf:
 ...
 ptloader_sock: /path/to/some/socket
 auth_mech: pts
 pts_module: ldap
 ...

cyrus.conf:
 SERVICES {
 ...
 ptloader cmd="ptloader" listen="/path/to/some/socket"
 ... 
 }

Does this get you going?

Cheers,

ellie


On Tue, Apr 23, 2019, at 7:52 PM, Sven Schwedas wrote:
> I'm trying to set up direct LDAP auth via auth_meth=pts, but on start I
> always get "ptload(): can't connect to ptloader server: No such file or
> directory" as error. The directory for ptloader_sock exists and is the
> same as for all other sockets, so there shouldn't be any permission
> problems with the socket.
> 
> I suppose I need to somehow manually start up ptloader via cyrus.conf,
> but there's no documentation and nothing I can find in the mailing list
> archives as to *how*? What am I missing?
> 
> -- 
> Mit freundlichen Grüßen, / Best Regards,
> Sven Schwedas, Systemadministrator
> ✉ sven.schwedas@tao.at | ☎ +43 680 301 7167
> TAO Digital | Teil der TAO Beratungs- & Management GmbH
> Lendplatz 45 | FN 213999f/Klagenfurt, FB-Gericht Villach
> A8020 Graz | https://www.tao-digital.at
> 
> 
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> 
> *Attachments:*
> * signature.asc


[Attachment #5 (text/html)]

<!DOCTYPE html><html><head><title></title><style \
type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi \
Sven,<br></div><div><br></div><div>I don't know much about running it in a production \
capacity, but our test suite sets up the following for LDAP \
pts:<br></div><div><br></div><div>imapd.conf:<br></div><div>&nbsp; \
&nbsp;...</div><div>&nbsp; &nbsp;ptloader_sock: \
/path/to/some/socket<br></div><div>&nbsp; &nbsp;auth_mech: pts<br></div><div>&nbsp; \
&nbsp;pts_module: ldap<br></div><div>&nbsp; \
&nbsp;...<br></div><div><br></div><div>cyrus.conf:</div><div>&nbsp; &nbsp;SERVICES \
{<br></div><div>&nbsp; &nbsp; &nbsp; ...</div><div>&nbsp; &nbsp; &nbsp; ptloader \
cmd="ptloader" listen="/path/to/some/socket"<br></div><div>&nbsp; &nbsp; &nbsp; ... \
&nbsp;&nbsp;<br></div><div>&nbsp; &nbsp;}<br></div><div><br></div><div>Does this get \
you going?<br></div><div><br></div><div>Cheers,<br></div><div><br></div><div>ellie</div><div><br></div><div><br></div><div>On \
Tue, Apr 23, 2019, at 7:52 PM, Sven Schwedas wrote:<br></div><blockquote type="cite" \
id="qt"><div>I'm trying to set up direct LDAP auth via auth_meth=pts, but on start \
I<br></div><div>always get "ptload(): can't connect to ptloader server: No such file \
or<br></div><div>directory" as error. The directory for ptloader_sock exists and is \
the<br></div><div>same as for all other sockets, so there shouldn't be any \
permission<br></div><div>problems with the socket.<br></div><div><br></div><div>I \
suppose I need to somehow manually start up ptloader via \
cyrus.conf,<br></div><div>but there's no documentation and nothing I can find in the \
mailing list<br></div><div>archives as to *how*? What am I \
missing?<br></div><div><br></div><div>--&nbsp;<br></div><div>Mit freundlichen \
Grüßen, / Best Regards,<br></div><div>Sven Schwedas, \
Systemadministrator<br></div><div>✉ sven.schwedas@tao.at | ☎ +43 680 301 \
7167<br></div><div>TAO Digital&nbsp;&nbsp; | Teil der TAO Beratungs- &amp; Management \
GmbH<br></div><div>Lendplatz 45&nbsp; | FN 213999f/Klagenfurt, FB-Gericht \
Villach<br></div><div>A8020 Graz&nbsp;&nbsp;&nbsp; | \
https://www.tao-digital.at<br></div><div><br></div><div><br></div><div>----<br></div><div>Cyrus \
Home Page: http://www.cyrusimap.org/<br></div><div>List Archives/Info: \
http://lists.andrew.cmu.edu/pipermail/info-cyrus/<br></div><div>To \
Unsubscribe:<br></div><div>https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus<br \
></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>signature.asc<br></li></ul></blockquote><div><br></div></body></html>
> 



----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic