ptloader doesn't work anymore (SEGFAULT)

2020-09-11 Thread Rainer Ruprechtsberger
Hi, I used ptlaoder quite successfully up to version 2.4 of cyrus. Since the upgrade to 2.5 I get SEGFAULTs. After the upgrade to 3.2.2 I tested it again, but still: process type:SERVICE name:ptloader path:/usr/lib/cyrus/bin/ptloader age:0.665s pid:19082 signaled to death by signal 11

Re: LDAP auth and ptloader

2019-06-13 Thread ellie timoney
Hi Sven, On Thu, Jun 13, 2019, at 12:27 AM, Sven Schwedas wrote: > Is there another way to get ptloader to spit out debug information and > pinpoint what's not set up correctly? > I remember this thing as being very noisy, let me see... Okay, in your cyrus.conf SERVICES entry, if you

Re: LDAP auth and ptloader

2019-06-12 Thread Sven Schwedas
ck: /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? It starts

Re: LDAP auth and ptloader

2019-04-26 Thread ellie timoney
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=&quo

Re: LDAP auth and ptloader

2019-04-23 Thread Sven Schwedas
This has nothing to do with my problem. Please stop spamming. On 23.04.19 13:56, Willem Offermans wrote: > Dear Cyrus friends and Sven, > > A reason to look for authentication by radius. > But maybe this should go to feature request. > > > Wiel Offermans > wil...@offermans.rompen.nl

Re: LDAP auth and ptloader

2019-04-23 Thread Willem Offermans
Dear Cyrus friends and Sven, A reason to look for authentication by radius. But maybe this should go to feature request. Wiel Offermans wil...@offermans.rompen.nl > On 23 Apr 2019, at 13:50, Sven Schwedas wrote: > > On 23.04.19 13:43, Willem Offermans wrote: >> Dear Cyrus Friends and

Re: LDAP auth and ptloader

2019-04-23 Thread Sven Schwedas
On 23.04.19 13:43, Willem Offermans wrote: > Dear Cyrus Friends and Sven, > > I don’t know if this is of any help. > > I have setup saslauthd to do LDAP authentication of Cyrus. That's what I want to get away from, because saslauthd cannot handle groups, and I need to maintain PAM LDAP auth in

Re: LDAP auth and ptloader

2019-04-23 Thread Willem Offermans
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 permissio

LDAP auth and ptloader

2019-04-23 Thread Sven Schwedas
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 permissio

ptloader crashes with allocate memory failure

2016-05-04 Thread Jan Kowalsky via Info-cyrus
Hi all, suddenly, I got the following errors in my mail.log: May 2 21:18:05 mail ptloader[3980]: IOERROR: mapping /srv/imap/config/ptclient/ptscache.db file: Cannot allocate memory May 2 21:18:05 mail ptloader[3980]: failed to mmap /srv/imap/config/ptclient/ptscache.db file May 2 21:18:06

Re: Some question about murder and ptloader

2016-04-21 Thread Carlos R Laguna via Info-cyrus
ldap_bind_dn: uid=cyrus-admin,ou=services,dc=example,dc=org Case 2 ldap_bind_s: uid=cyrus-admin,ou=special users,dc=example,dc=org In case 1 both testsaslauthd and mupdatetest can authenticate just fine, but in case 2 only testsaslauthd will. 2 In a murder deployment like this, should ptloader

Some question about murder and ptloader

2016-04-19 Thread Carlos R Laguna via Info-cyrus
ldap_bind_s: uid=cyrus-admin,ou=special users,dc=example,dc=org In case 1 both testsaslauthd and mupdatetest can authenticate just fine, but in case 2 only testsaslauthd will. 2 In a murder deployment like this, should ptloader be running on all server or just a part of it, backend? frontend? (M

ptloader, virtualdomain and amin config problem

2011-01-14 Thread Marco
Hi, I have cyrus-imapd-2.3.16 with virtualdomain and a total administrator in default domain (username without '@%d'). I use saslauthd for authentication and ptloader for authorization, all with LDAP. My problem stays on ptloader conf. To optimize query I would like to restrict searches using

Re: Anyone using ptloader with AFS?

2010-10-25 Thread Dave McMurtrie
On 10/20/2010 10:51 AM, Dave McMurtrie wrote: Hi, I'm curious to learn whether anyone is using ptloader with AFS. We're using it here, but our build environment is somewhat... interesting. I'd be mildly surprised if anyone is actually able to compile and link ptclient/afskrb.c from

Anyone using ptloader with AFS?

2010-10-20 Thread Dave McMurtrie
Hi, I'm curious to learn whether anyone is using ptloader with AFS. We're using it here, but our build environment is somewhat... interesting. I'd be mildly surprised if anyone is actually able to compile and link ptclient/afskrb.c from the provided Cyrus source tarballs. In the not-so

ldap groups and ptloader

2010-05-27 Thread Jos De Graeve
Dear list, I use saslauthd to auth against ldap (bind auth) and I am trying to use ptloader to fetch group information from LDAP so that group based ACL's can be used for shared folders. The ldap auth works fine, but the group information gets screwed up somewhere. With tcpdump I see my

Re: ldap groups and ptloader

2010-05-27 Thread Duncan Gibb
Jos De Graeve wrote: JDG I use saslauthd to auth against ldap (bind auth) and I am trying JDG to use ptloader to fetch group information from LDAP so that group JDG based ACL's can be used for shared folders. We have several similar systems in production. JDG If I look with ptdump each user

Re: ldap groups and ptloader

2010-05-27 Thread Jos De Graeve
Hi Duncan, JDG My groups are posixGroup with the uid's of the members listed JDG in the memberUid attribute, the group name is listed in the cn JDG attribute: If you add ldap_member_attribute: cn to your config, it should work. Certainly something very similar works on our

Re: ldap groups and ptloader

2010-05-27 Thread Wesley Craig
On 27 May 2010, at 06:38, Duncan Gibb wrote: Yes. It would be nice when someone has time to make the configuration of pts_ldap more similar to other things likely to be using the same data (eg pam/nss/samba as well as saslauthd). Comments on:

Authorization with ptloader: Linux and LDAP backend combined

2010-01-13 Thread Evgeniy Arbatov
Hello, I have got one more problem with Cyrus IMAP and SASL/ptloader, that does not allow me to be entirely happy with my setup. The issue is that I want to be able to store the Cyrus IMAP admin credentials locally on the Linux server, while all other users are using LDAP backend for login. I

Re: Authorization with ptloader: Linux and LDAP backend combined

2010-01-13 Thread Adam Tauno Williams
On Wed, 2010-01-13 at 13:39 +0200, Evgeniy Arbatov wrote: Hello, I have got one more problem with Cyrus IMAP and SASL/ptloader, that does not allow me to be entirely happy with my setup. The issue is that I want to be able to store the Cyrus IMAP admin credentials locally on the Linux server

Re: Authorization with ptloader: Linux and LDAP backend combined

2010-01-13 Thread nodens2099
ptloader on the Cyrus IMAP server and hence all the authentication is working well, but the authorization fails (because ptloader always tries to query LDAP). Does this fail because ptloader finds no object in LDAP representing the admin account? Is there a way to specify two different auth

Re: Authorization with ptloader: Linux and LDAP backend combined

2010-01-13 Thread Duncan Gibb
nodens2099 wrote: EA I want to be able to store the Cyrus IMAP admin credentials EA locally on the Linux server, while all other users are EA using LDAP backend for login. [..] EA this does not work, because I also use ptloader on the Cyrus IMAP EA server and hence all the authentication

Re: Authorization with ptloader: Linux and LDAP backend combined

2010-01-13 Thread Wesley Craig
I have a similar patch which assumes proxy and admin lines are authoritative, so if they are not found in whatever authorization system (including LDAP) but they are found in imapd.conf, then they are considered valid canonicalized. I don't see this issue in BZ, but I suspect it's there...

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

Re: Ptloader configuration in Cyrus IMAP

2009-08-23 Thread Duncan Gibb
On 8 20, 2009 8:10 PM, Wil Cooley wcoo...@nakedape.cc 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

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

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_sock

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 module

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread nodens
understand correctly from this discussion and the sparse mention of this in the documentation that the LDAP ptloader module can be used to manage group ACLs with auth_mech=pts/pts_module=ldap, instead of auth_mech=unix/unix_group_enable=1? Does this solve the slowness caused by UNIX groups in LDAP

Re: Ptloader configuration in Cyrus IMAP

2009-08-20 Thread nodens
: Dear list, I want to ask your advic... Do I understand correctly from this discussion and the sparse mention of this in the documentation that the LDAP ptloader module can be used to manage group ACLs with auth_mech=pts/pts_module=ldap, instead of auth_mech=unix/unix_group_enable=1? Does

Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Evgeniy Arbatov
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: ldap_uri: ldaps://ldap.example.com:636 ldap_sasl: 0 pts_module: ldap ldap_filter: (uid=%U) ldap_base: dc=example,dc=com ldap_group_filter: (cn

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Reinaldo de Carvalho
On Wed, Aug 19, 2009 at 9:33 AM, Evgeniy Arbatovarbatovevge...@gmail.com 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

Re: Ptloader configuration in Cyrus IMAP

2009-08-19 Thread Reinaldo de Carvalho
note: if I configure shared access locally via cyradm interface, without using the ptloader and LDAP - everything works as expected. Evgeniy auth_mech: pts -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net Don't try to adapt the software to the way you work, but rather

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:

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_sock

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 names of the

Re: ptloader problem

2008-08-11 Thread Dmitriy Kirhlarov
Jul 2008, at 05:57, Dmitriy Kirhlarov wrote: We find a problem -- when ptloader build with ldap support by gcc4 on amd64 platform it's doesn't work. After investigation ptloader core with gdb we find a problem. (I'm sorry, for possible unpropper problem description) 1. ldap.h have hints

ptloader problem

2008-08-02 Thread Dmitriy Kirhlarov
Hi, list We find a problem -- when ptloader build with ldap support by gcc4 on amd64 platform it's doesn't work. After investigation ptloader core with gdb we find a problem. (I'm sorry, for possible unpropper problem description) 1. ldap.h have hints: #if LDAP_DEPRECATED LDAP_F( char

ptloader problem

2008-07-30 Thread Dmitriy Kirhlarov
Hi, list We find a problem -- when ptloader build with ldap support by gcc4 on amd64 platform it's doesn't work. After investigation ptloader core with gdb we find a problem. (I'm sorry, for possible unpropper problem description) 1. ldap.h have hints: #if LDAP_DEPRECATED LDAP_F( char

Re: ptloader problem

2008-07-30 Thread Wesley Craig
You can add it to the bugzilla here: https://bugzilla.andrew.cmu.edu/ Thanks! :wes On 30 Jul 2008, at 05:57, Dmitriy Kirhlarov wrote: We find a problem -- when ptloader build with ldap support by gcc4 on amd64 platform it's doesn't work. After investigation ptloader core with gdb

Re: Problem with ptloader and Novell Edirectory

2008-05-07 Thread Klaus Steinberger
Hi Wes. On 06 May 2008, at 15:51, Klaus Steinberger wrote: I'm using cyrus-imapd-2.3.7-1.1.el5 (Scientific Linux). That's pretty old, there have been a lot of fixes to the pt ldap code in the intervening 5 or so releases. Thanks! That solved my problem, i built the SRPM from Fedora 8 now

Problem with ptloader and Novell Edirectory

2008-05-06 Thread Klaus Steinberger
Hello, I try to setup ptloader, but run into trouble with the way Novell handles groups. Novell edirectory does the following: the groupMembership Attribute inside the person object is multivalued, and contains the full DN's of the groups. Vice versa, the group Object contains a multivalued

Re: Problem with ptloader and Novell Edirectory

2008-05-06 Thread Wesley Craig
On 06 May 2008, at 08:35, Klaus Steinberger wrote: ldap_group_base: ou=Gruppen,o=physik ldap_group_filter: (member=%D) The above is fine. ldap_member_method: attribute ldap_member_attribute: groupMemberShip ldap_member_base: ou=Gruppen,o=physik The above should be: ldap_member_method:

Re: Problem with ptloader and Novell Edirectory

2008-05-06 Thread Klaus Steinberger
, then ptloader get's back the correct answer from the server (as i can see with wireshark), but then ptloader seems to crash: May 6 22:39:08 test-imap imap[9568]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication May 6 22:39:18 test-imap imap[9568]: ptload(): pinging ptloader

ptloader binary

2008-01-03 Thread Lluis Faja
Hi, I'm setting up a cyrus mail server. I would like connect Cyrus with my LDAP groups and members, in order to provide group access rights to shared folders After Internet surfing, I've read that I must start ptloader as Cyrus service ... but, in Debian etch distribution, there isn't

Re: ptloader binary

2008-01-03 Thread Ingo Steuwer
Hi, Am Donnerstag, 3. Januar 2008 schrieb Lluis Faja: Hi, I'm setting up a cyrus mail server. I would like connect Cyrus with my LDAP groups and members, in order to provide group access rights to shared folders After Internet surfing, I've read that I must start ptloader as Cyrus service

Re: ptloader binary

2008-01-03 Thread Ingo Steuwer
There is a patch 140-kolab-ldap.dpatch mentioned in the annotations of the debian-package. I don't know if this ist somehow related with ptloader, I don't think so. Cheers Ingo -- ** Besuchen Sie uns auf der CeBIT vom 04.-09. März 2008 in Hannover ** ** Halle 5 - Stand C45

sync_client and ptloader

2007-12-13 Thread cyrus
Hi, I get a connection refused when i try to enable sync_client with ptloader. I use cyrus-imapd-2.3.9 sync_client[13982]: ptload(): pinging ptloader sync_client[13982]: ptload(): can't connect to ptloader server: Connection refused kernel: Dec 13 17:32:11 sacco sync_client[13982]: ptload

ptloader or the not so LDAPing easy

2007-08-15 Thread Egil Möller
Hi! I'm trying to get LDAP groups to work with cyrus. I have ptloader running, and have configured it to use LDAP (see below). I can * log in using users in LDAP * set ACLs for groups in ldap: sam some/mailbox group:someGroup lrswp I can not * use the access rights from a group I am a member

Re: ptloader or the not so LDAPing easy

2007-08-15 Thread Chaskiel M Grundman
--On Wednesday, August 15, 2007 12:34:39 PM +0200 Egil Möller [EMAIL PROTECTED] wrote: Why does ptloader show the sambaSid of two of the groups superadmin is a member of, instead of the group name? Disclaimer: I don't actually use the ldap code (nor am I a cyrus developer). From looking

ptloader with ldap and unixhirachyseperator enabled are NOT WORKING properly together

2007-08-08 Thread Michael Karrer
Hello List, I tryed to use ptloader with ldap - wich basically works fine but since i use unixhirachysep: 1 my . get replaced by ^ sometimes in the ptloader chain?!? So no problem with authentication because the server simply asks salsauthd to authenticate m.karrer (uid=%u) via salsauthd

Re: groups, members, LDAP and ptloader

2007-06-07 Thread Dmitriy Kirhlarov
Hi, list. 1. I'm also using ldap-based groups ACL in cyrus. When I add any user to more them 1 group, cyrus can't autorize them. I can't find any documentation about this behavior. Is it normal? 2. How to configure default ldap_realm for connecting to saslauthd? I have two domains --

Re: groups, members, LDAP and ptloader

2007-05-31 Thread Milen Dimov
Warren Turkal wrote: On Wednesday 30 May 2007 14:30, Milen Dimov wrote: We successfully run cyrus 2.2.12 and 2.3.8 both with LDAP users authentication and authorization utilizing respectively saslauthd and ptloader with LDAP support. I was under the impression that you could avoid saslauthd

Re: groups, members, LDAP and ptloader

2007-05-31 Thread Luca Olivetti
En/na Warren Turkal ha escrit: On Wednesday 30 May 2007 14:30, Milen Dimov wrote: We successfully run cyrus 2.2.12 and 2.3.8 both with LDAP users authentication and authorization utilizing respectively saslauthd and ptloader with LDAP support. I was under the impression that you could avoid

R: groups, members, LDAP and ptloader

2007-05-31 Thread Toschi Pietro
Thanks Milen, your answer is VERY useful to me and hopefully to many others! I just added some comments to yours, describing my current vision on those arguments. I'm asking to check if it's correct or not. Last question: what ptloader stands for? What is pts? -Messaggio originale

groups, members, LDAP and ptloader

2007-05-30 Thread Toschi Pietro
Hi all I find very difficult to understand relationships between groups, members, LDAP and ptloader. I have a cyrus 2.2.12 successfully authenticating users with saslauthd and my user DB is openLDAP I would like to upgrade to 2.3.8. It's now some days that I try to investigate the differences

Re: groups, members, LDAP and ptloader

2007-05-30 Thread Warren Turkal
On Wednesday 30 May 2007 09:04, Toschi Pietro wrote: Is there somebody on this list so kind and please try to explain me what I'm missing? You're not the only one lost with all of this. I hope someone can at least post a working configuration that shows using LDAP without saslauthd so that I

Re: groups, members, LDAP and ptloader

2007-05-30 Thread Milen Dimov
without saslauthd so that I would at least know what a working config looks like. Hi, We successfully run cyrus 2.2.12 and 2.3.8 both with LDAP users authentication and authorization utilizing respectively saslauthd and ptloader with LDAP support. The documentation that comes with Cyrus IMAP

Re: groups, members, LDAP and ptloader

2007-05-30 Thread Warren Turkal
On Wednesday 30 May 2007 14:30, Milen Dimov wrote: We successfully run cyrus 2.2.12 and 2.3.8 both with LDAP users authentication and authorization utilizing respectively saslauthd and ptloader with LDAP support. I was under the impression that you could avoid saslauthd for authentication

sync_client ptloader problem

2007-04-16 Thread Dmitriy Kirhlarov
Some time ago I was report about problem with sync_client (sync_client can't be run from cyrus.conf, when ptloader used) For details: http://lists.andrew.cmu.edu/pipermail/info-cyrus/2006-October/024121.html 2.3.8 have same issue. How I can inform developers about it? Some other list? bug

Re: ptloader

2007-04-04 Thread Dmitriy Kirhlarov
On Wed, Apr 04, 2007 at 05:56:12PM +0100, Bernhard D Rohrer wrote: Hi folks I am trying to authorise ldap groups with cyrus for use in public folders. now looking though the mailing list has led me to finding that ptloader is responsible for this. I have not been able to find any

LDAP ptloader examples?

2006-08-21 Thread Phil Pennock
is running 2.3.7. I'm happier storing cleartext passwords to allow secure wire authentication protocols, so saslauthd is not feasible (as I understand matters). As near as I can figure, ptloader can handle the canonicalisation but not the authentication, for which I can just use the built-in LDAP support

Re: ptloader segfaulting while looking up LDAP groups

2006-08-10 Thread Igor Brezac
On Wed, 9 Aug 2006, Ben Poliakoff wrote: * Igor Brezac [EMAIL PROTECTED] [20060809 11:50]: On Wed, 9 Aug 2006, Ben Poliakoff wrote: * Igor Brezac [EMAIL PROTECTED] [20060809 07:39]: On Tue, 8 Aug 2006, Ben Poliakoff wrote: ptloader is segfaulting on multiple servers in my test

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Ben Poliakoff
* Igor Brezac [EMAIL PROTECTED] [20060809 07:39]: On Tue, 8 Aug 2006, Ben Poliakoff wrote: ptloader is segfaulting on multiple servers in my test environment when the user that is connecting for IMAP service is found in more than one group. I have a core file, but it doesn't seem

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Ben Poliakoff
* Ben Poliakoff [EMAIL PROTECTED] [20060809 09:53]: * Igor Brezac [EMAIL PROTECTED] [20060809 07:39]: On Tue, 8 Aug 2006, Ben Poliakoff wrote: ptloader is segfaulting on multiple servers in my test environment when the user that is connecting for IMAP service is found in more than

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Igor Brezac
On Wed, 9 Aug 2006, Ben Poliakoff wrote: * Igor Brezac [EMAIL PROTECTED] [20060809 07:39]: On Tue, 8 Aug 2006, Ben Poliakoff wrote: ptloader is segfaulting on multiple servers in my test environment when the user that is connecting for IMAP service is found in more than one group. I

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Patrick Radtke
Sorry, I must have butchered the original patch when I was pulling it out of a larger patch (that does some Columbia specific stuff). Igor's patch makes it look like the correct version. -Patrick The last commit has an issue. Please try this patch and report back: --- ldap.c.orig

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Ben Poliakoff
* Igor Brezac [EMAIL PROTECTED] [20060809 11:50]: On Wed, 9 Aug 2006, Ben Poliakoff wrote: * Igor Brezac [EMAIL PROTECTED] [20060809 07:39]: On Tue, 8 Aug 2006, Ben Poliakoff wrote: ptloader is segfaulting on multiple servers in my test environment when the user that is connecting

Re: Problem with ptloader and SASL authenticated LDAP

2006-07-11 Thread Igor Brezac
On Wed, 5 Jul 2006, Ben Poliakoff wrote: Hi All, I've been trying to use the LDAP pts module with Cyrus imapd 2.3.6. I've had reasonably good success with ptloader configured to do *anonymous* binds, but when I set 'ldap_sasl: 1' in imapd.conf ptloader fails to bind to my LDAP server

Problem with ptloader and SASL authenticated LDAP

2006-07-05 Thread Ben Poliakoff
Hi All, I've been trying to use the LDAP pts module with Cyrus imapd 2.3.6. I've had reasonably good success with ptloader configured to do *anonymous* binds, but when I set 'ldap_sasl: 1' in imapd.conf ptloader fails to bind to my LDAP server with the following error: Unable to set

Re: PTLOADER and LDAP for authorization and ptloader dies

2006-06-21 Thread Sebas PRE
Am Thursday 15 June 2006 18:36 schrieb Sebas PRE: Please do not Top-Post. Yes, ptloader dies in both. In 2.2.12 I run ptloader with this compile options: --with-auth=pts --with-pts=ldap --with-ldap=/usr But I obtain the same results with ptloader diyng and in cyrus.log appears the same

PTLOADER and LDAP

2006-06-17 Thread Pedro Algarvio
Can the cyrus ldap ptloader tell cyrus which mailbox belongs to a user(retrieving it from ldap)? Or will cyrus simply get the mailbox name from the username used to login? Thanks! -- Pedro Algarvio __ ___ ___ ______ __ | Y

Re: PTLOADER and LDAP for authorization and ptloader dies

2006-06-16 Thread Andreas Winkelmann
Am Thursday 15 June 2006 18:36 schrieb Sebas PRE: Please do not Top-Post. Yes, ptloader dies in both. In 2.2.12 I run ptloader with this compile options: --with-auth=pts --with-pts=ldap --with-ldap=/usr But I obtain the same results with ptloader diyng and in cyrus.log appears

PTLOADER and LDAP for authorization and ptloader dies

2006-06-15 Thread Sebas PRE
This is my intallation: - Red Hat Enterprise 3 - imapd-2.2.12 or imapd-2.3.3 (I tested both) - cyrus-sasl-2.1.15 I have in 'cyrus.conf': ptloader cmd=ptloader listen=/u01/config/ptclient/ptsock prefork=1 in the file 'imapd.conf': # LDAP PTLOADER auth_mech: pts pts_module: ldap

Re: PTLOADER and LDAP for authorization and ptloader dies

2006-06-15 Thread Patrick Radtke
Does ptloader die in both 2.2.12 and 2.3.3 or only 2.3.3?I've seen it die like that in 2.3 (don't recall the minor version), but never had a chance to investigate it.-PatrickOn Jun 15, 2006, at 5:30 AM, Sebas PRE wrote:This is my intallation:- Red Hat Enterprise 3- imapd-2.2.12 or imapd-2.3.3 (I

Re: PTLOADER and LDAP for authorization and ptloader dies

2006-06-15 Thread Sebas PRE
Yes, ptloader dies in both. In 2.2.12 I run ptloader with this compile options: --with-auth=pts --with-pts=ldap --with-ldap=/usr But I obtain the same results with ptloader diyng and in cyrus.log appears the same lines. Thanks... Sebastian Calero. Citado por Patrick Radtke [EMAIL

Re: ptloader versus sasl

2006-04-14 Thread Igor Brezac
Please keep the replies on the list. On Fri, 14 Apr 2006, barsalou wrote: Thanks for the reply. So just to clarify my thinking I would use the ptloader configuration to create a process for authentication, then use sasl or whatever for authorization. Other way around. ptloader

ptloader versus sasl

2006-04-13 Thread barsalou
What is the role of the ptloader stuff? Would you use it in place of sasl? I'm fairly new at this, so please be gentle. :) I've gone over the overview doc a few times as well as the options and through the mailing lists... My goal is to use LDAP to provide the mailboxes_db, but from what I

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Simon Matter
On Tue, 3 Jan 2006, Simon Matter wrote: On Mon, 26 Dec 2005, Milen Dimov wrote: Hi, Does Cyrus IMAPd 2.3.1 supports ldap authorization trought ptloader? The configuration parameters --with-auth=pts --with-pts=ldap used in the 2.2.x versions are not displayed in 2.3.1 with ./configure

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Simon Matter
On Tue, 03 Jan 2006, Simon Matter wrote: could not build postfix with SASLv2 _and_ LDAP support if the installed openldap has been built for SASLv1. This has just resulted in segfaults. You are experienced what I call the missing versioned symbols hell. We have that fixed in Debian by

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Simon Matter
-imapd with such old version of openldap anyway. It builds fine but then an ldd ptloader shows that it's linked against both sasl1 and sasl2, which I'm sure won't work. Simon Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Igor Brezac
On Wed, 4 Jan 2006, Simon Matter wrote: BTW: I know that openldap built against SASLv1 is old, but I still want the rpm to be suitable for older platforms. If it's a problem I simply disable ldap pts support for those using openldap/SASLv1. cyrus imapd configure checks for openldap version

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Igor Brezac
should not be able to compile cyrus-imapd with such old version of openldap anyway. It builds fine but then an ldd ptloader shows that it's linked against both sasl1 and sasl2, which I'm sure won't work. Just curious, what version of openldap do you use? -- Igor Cyrus Home Page: http

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-04 Thread Simon Matter
not. You should not be able to compile cyrus-imapd with such old version of openldap anyway. It builds fine but then an ldd ptloader shows that it's linked against both sasl1 and sasl2, which I'm sure won't work. Just curious, what version of openldap do you use? It's openldap 2.0.27. Simon

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-03 Thread Simon Matter
On Mon, 26 Dec 2005, Milen Dimov wrote: Hi, Does Cyrus IMAPd 2.3.1 supports ldap authorization trought ptloader? The configuration parameters --with-auth=pts --with-pts=ldap used in the 2.2.x versions are not displayed in 2.3.1 with ./configure --help. We use Cyrus IMAPd with ldap

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-03 Thread Igor Brezac
On Tue, 3 Jan 2006, Simon Matter wrote: On Mon, 26 Dec 2005, Milen Dimov wrote: Hi, Does Cyrus IMAPd 2.3.1 supports ldap authorization trought ptloader? The configuration parameters --with-auth=pts --with-pts=ldap used in the 2.2.x versions are not displayed in 2.3.1 with ./configure

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2006-01-03 Thread Henrique de Moraes Holschuh
On Tue, 03 Jan 2006, Simon Matter wrote: could not build postfix with SASLv2 _and_ LDAP support if the installed openldap has been built for SASLv1. This has just resulted in segfaults. You are experienced what I call the missing versioned symbols hell. We have that fixed in Debian by force.

ldap ptloader support in Cyrus IMAPd 2.3.1

2005-12-26 Thread Milen Dimov
Hi, Does Cyrus IMAPd 2.3.1 supports ldap authorization trought ptloader? The configuration parameters --with-auth=pts --with-pts=ldap used in the 2.2.x versions are not displayed in 2.3.1 with ./configure --help. We use Cyrus IMAPd with ldap authorization for about 2 years and it works just great

Re: ldap ptloader support in Cyrus IMAPd 2.3.1

2005-12-26 Thread Igor Brezac
On Mon, 26 Dec 2005, Milen Dimov wrote: Hi, Does Cyrus IMAPd 2.3.1 supports ldap authorization trought ptloader? The configuration parameters --with-auth=pts --with-pts=ldap used in the 2.2.x versions are not displayed in 2.3.1 with ./configure --help. We use Cyrus IMAPd with ldap

Re: ptloader and ldap_member_method: filter problem

2005-07-28 Thread Sava Chankov
Igor Brezac wrote: On Wed, 27 Jul 2005, Sava Chankov wrote: Hi, I'm using cyrus-imapd-2.2.12 with ptloader patch from Igor Brezac that fixes the SASL authz bug. Groups are read from LDAP by ptloader properly, but group authorization doesn't work with this configuration: virtdomains

ptloader and ldap_member_method: filter problem

2005-07-27 Thread Sava Chankov
Hi, I'm using cyrus-imapd-2.2.12 with ptloader patch from Igor Brezac that fixes the SASL authz bug. Groups are read from LDAP by ptloader properly, but group authorization doesn't work with this configuration: virtdomains: yes ldap_version: 3 ldap_sasl: 0 ldap_size_limit: 500 ldap_bind_dn: uid

Re: ptloader and ldap_member_method: filter problem

2005-07-27 Thread Igor Brezac
On Wed, 27 Jul 2005, Sava Chankov wrote: Hi, I'm using cyrus-imapd-2.2.12 with ptloader patch from Igor Brezac that fixes the SASL authz bug. Groups are read from LDAP by ptloader properly, but group authorization doesn't work with this configuration: virtdomains: yes ldap_version: 3

does the ldap ptloader have to use authz?

2005-07-10 Thread Tarjei Huse
Hi, I'm trying to use the ldap ptloader with the following : ldap_base: dc=naturvern,dc=no ldap_member_base: dc=naturvern,dc=no ldap_group_base: ou=groups,dc=naturvern,dc=no #ldap_member_method: attribute #ldap_member_filter: (memberUid: %u) #ldap_member_scope: sub #ldap_mech: plain login # I've

Re: does the ldap ptloader have to use authz?

2005-07-10 Thread Igor Brezac
On Sun, 10 Jul 2005, Tarjei Huse wrote: Hi, I'm trying to use the ldap ptloader with the following : ldap_base: dc=naturvern,dc=no ldap_member_base: dc=naturvern,dc=no ldap_group_base: ou=groups,dc=naturvern,dc=no #ldap_member_method: attribute #ldap_member_filter: (memberUid: %u

Re: authorization with ptloader and authentication by sasl

2005-06-09 Thread Thomas Vogt
[127.0.0.1] smail04 plaintext User logged in Jun 9 06:27:37 mail04 pop3[5180]: Unable to locate maildrop for smail04: Mailbox does not exist But as you can see in the ldap entry my maildrop exists. If I understand it correctly, then ptloader checks if the mailbox is available with an ldap search when

Re: authorization with ptloader and authentication by sasl

2005-06-09 Thread Igor Brezac
not exist which is true. The server is looking for the 'smail04' mailbox. If I understand it correctly, then ptloader checks if the mailbox is available with an ldap search when I enter the login name. Thats why I get an OK after that. Ptloader can find the alias value in the ldap database

authorization with ptloader and authentication by sasl

2005-06-08 Thread Thomas Vogt
Hi all With ptload we've a nice tool to connect to an ldap backend. And with ldap_filter in imapd.conf the user has the ability to do nice things.This works very well. But as I understand this is only the authorization mechanism. I always have problems with the authentication (sasl).

Re: ptloader setup

2005-01-06 Thread Mike O'Rourke
/bin/imapd Jan 5 14:48:46 server12 imap[21600]: executed Jan 5 14:48:46 server12 imap[21600]: accepted connection Jan 5 14:48:46 server12 imap[21600]: ptload(): pinging ptloader Jan 5 14:48:46 server12 ptloader[6849]: accepted connection Jan 5 14:48:46 server12 ptloader[6849]: mystore

Re: ptloader setup

2005-01-06 Thread Igor Brezac
]: about to exec /usr/cyrus/bin/imapd Jan 5 14:48:46 server12 imap[21600]: executed Jan 5 14:48:46 server12 imap[21600]: accepted connection Jan 5 14:48:46 server12 imap[21600]: ptload(): pinging ptloader Jan 5 14:48:46 server12 ptloader[6849]: accepted connection Jan 5 14:48:46 server12

  1   2   >