Re: Ptloader configuration in Cyrus IMAP

2009-08-31 Thread Evgeniy Arbatov
Hello, Finally I am able to get the ptloader working. In my case the major issue was that I used Cyrus IMAP 2.3.7, that has a segmentation fault when reading from LDAP. This issue was previously discussed in http://www.irbs.net/internet/info-cyrus/0608/0129.html I solved the problem by updating to

Re: Ptloader configuration in Cyrus IMAP

2009-08-23 Thread Duncan Gibb
> On 8 20, 2009 8:10 PM, "Wil Cooley" wrote: WC> Do I understand correctly [..] that the LDAP ptloader WC> module can be used to manage group ACLs with WC> "auth_mech=pts/pts_module=ldap", instead of WC> "auth_mech=unix/unix_group_enable=1"? Yes. WC> Does this solve the slowness caused by UNIX

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread nodens
Oops, about the slowness : it is really fast. The pts information is cached. Actually, you will likely use ptexpire a lot when setting your groups at first, to reset the cache. On 8 20, 2009 8:10 PM, "Wil Cooley" wrote: On Wed, 2009-08-19 at 15:33 +0300, Evgeniy Arbatov wrote: > Dear list, > > I

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread nodens
Hi, I stumbled onto this before. What is not clearly stated in the doc is that if you use auth_mech: pts , every user need to exist in the pts database (ldap in your case). Well, maybe it is clearly stated, but I overlooked it ;-) That said, you do not need AFS to use pts, though it seems to be v

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread Wil Cooley
On Wed, 2009-08-19 at 15:33 +0300, Evgeniy Arbatov wrote: > Dear list, > > I want to ask your advice on the use of ptloader for LDAP-based > authorization in Cyrus IMAP. Do I understand correctly from this discussion and the sparse mention of this in the documentation that the LDAP ptloader modul

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread Marc Patermann
Hi, Evgeniy Arbatov schrieb: > Thank you for your suggestions! They helped me a great deal. > The situation is better now, in a sense that ptloader connects to LDAP > and finds something. OK. :) > After corrections my imapd.conf: This ist what I have. auth_mech: pts pts_module: ldap ptloader_soc

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread Evgeniy Arbatov
Thank you for your suggestions! They helped me a great deal. The situation is better now, in a sense that ptloader connects to LDAP and finds something. After corrections my imapd.conf: auth_mech: pts pts_module: ldap ptloader_sock: /var/lib/imap/socket/ptsock ldap_uri: ldaps://ldap.example.com:6

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Marc Patermann
Duncan, Duncan Gibb schrieb: > EA> pts_module: ldap > > This module is currently very difficult to configure, IMHO. That's true. :) But it's doable. > EA> ldap_member_method: attribute > > This method doesn't work they way you might expect. It finds the user > object and wants to see the name

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Marc Patermann
Evgeniy, Evgeniy Arbatov schrieb: > Dear list, > > I want to ask your advice on the use of ptloader for LDAP-based > authorization in Cyrus IMAP. > > I configured my Cyrus IMAP to use ptloader: > [...] > Can you tell where I am wrong? auth_mech: pts was mentioned before. Did you set ptloader_so

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Duncan Gibb
Evgeniy Arbatov wrote: EA> pts_module: ldap This module is currently very difficult to configure, IMHO. I've posted previously that there's scope for a mini-project to make it behave more similarly to other LDAP-group-orientated things such as nss_ldap or saslauthd. EA> ldap_member_method: att

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Reinaldo de Carvalho
On Wed, Aug 19, 2009 at 10:02 AM, Evgeniy Arbatov wrote: > On Wed, Aug 19, 2009 at 3:45 PM, Reinaldo de > Carvalho wrote: >> On Wed, Aug 19, 2009 at 9:33 AM, Evgeniy >> Arbatov wrote: >> >>> Via cyradm I add needed permissions for admins group: >>> sam user/postmaster admins lrswipkxte >>> >>>

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Reinaldo de Carvalho
On Wed, Aug 19, 2009 at 9:33 AM, Evgeniy Arbatov wrote: > Via cyradm I add needed permissions for admins group: > >> sam user/postmaster admins lrswipkxte > > Then I successfully authenticate using earbatov UID, but shared > folders are not visible in the Thunderbird. > Do you subscribe mailbox?