Cyrus 2.5: ACLs won't recognize some groups

2017-08-31 Thread Sven Schwedas
We have a cyrus server that's joined to an AD domain via winbind. Group enumeration and expansion is enabled inside winbind, so getgrent(3) delivers correct membership data for all groups. (Tested via getent group as well as a small C program just to make sure.) User A is in groups B and C;

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: https://bugzilla.andrew.cmu.edu/show_bu

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 s

Re: ldap groups and ptloader

2010-05-27 Thread Duncan Gibb
ptdump each user is listed with the correct number JDG> of groups he is member of, but the group name is wrong. Instead JDG> of the group name (cn attribute) it shows some random attribute JDG> such as another group member (a value of the memberUid attribute), JDG> or "top"

ldap groups and ptloader

2010-05-27 Thread Jos De Graeve
ee my directory server sending the correct group information to ptloader, but ptloader seems to interpret this information wrong. If I look with ptdump each user is listed with the correct number of groups he is member of, but the group name is wrong. Instead of the group name (cn attribute) it shows

Re: ldap groups in acl

2009-02-03 Thread Dmitriy Kirhlarov
Marc Patermann wrote: > Hi, > > IMAPd 2.2.12 is connected with sasl ldapdb (ptloader) to an OpenLDAP > (2.3.x) server. > > I can set acls with existing groups. I cannot set acls with non existing > groups. So far: IMAPd is checking for groups in LDAP just right. Afair

ldap groups in acl

2009-02-03 Thread Marc Patermann
Hi, IMAPd 2.2.12 is connected with sasl ldapdb (ptloader) to an OpenLDAP (2.3.x) server. I can set acls with existing groups. I cannot set acls with non existing groups. So far: IMAPd is checking for groups in LDAP just right. localhost.ofd-h.de> sam user.foo.Junk group:bar r

Re: Cyrus ACLs and groups from LDAP

2008-11-28 Thread Dmitriy Kirhlarov
Stefan Pampel wrote: > Dmitriy Kirhlarov <[EMAIL PROTECTED]> schrieb: >> Christopher DeMarco wrote: >>> I want to put a group: into an ACL, but I want to expand the group >>> using LDAP rather than /etc/groups. >>> >>> A thread from this list cir

Re: Cyrus ACLs and groups from LDAP

2008-11-27 Thread Stefan Pampel
Dmitriy Kirhlarov <[EMAIL PROTECTED]> schrieb: > Christopher DeMarco wrote: >> I want to put a group: into an ACL, but I want to expand the group >> using LDAP rather than /etc/groups. >> >> A thread from this list circa 2006 seems to indicate that if PAM use

Re: Cyrus ACLs and groups from LDAP

2008-11-27 Thread Dmitriy Kirhlarov
Christopher DeMarco wrote: > I want to put a group: into an ACL, but I want to expand the group > using LDAP rather than /etc/groups. > > A thread from this list circa 2006 seems to indicate that if PAM uses > LDAP (or NIS for that matter), that Cyrus will use LDAP without ev

Re: Cyrus ACLs and groups from LDAP

2008-11-26 Thread Dan White
Christopher DeMarco wrote: > I want to put a group: into an ACL, but I want to expand the group > using LDAP rather than /etc/groups. > > A thread from this list circa 2006 seems to indicate that if PAM uses > LDAP (or NIS for that matter), that Cyrus will use LDAP without ev

Cyrus ACLs and groups from LDAP

2008-11-26 Thread Christopher DeMarco
I want to put a group: into an ACL, but I want to expand the group using LDAP rather than /etc/groups. A thread from this list circa 2006 seems to indicate that if PAM uses LDAP (or NIS for that matter), that Cyrus will use LDAP without even knowing it. I'd actually prefer that Cyrus do

user groups

2008-10-13 Thread Gabriele Bulfon
Hello, don't know if this is a stupid question or if it's something I can achieve with Virtual Domains on Cyrus. I'd like to know if there is a simple solution to my standard installation of Cyrus. Using ACLs I can have IMAP users see a "user" folder containing shared mailboxes. Now, I have to c

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 h

R: groups, members, LDAP and ptloader

2007-05-31 Thread Toschi Pietro
Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di > Milen Dimov > Inviato: mercoledì 30 maggio 2007 22.31 > A: info-cyrus@lists.andrew.cmu.edu > Oggetto: Re: groups, members, LDAP and ptloader > > > Warren Turkal wrote: > > On W

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 sa

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 s

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.

Re: groups, members, LDAP and ptloader

2007-05-30 Thread Milen Dimov
ControlPanel ldap_group_filter: cn=%U ldap_member_method: attribute ldap_member_attribute: bizBlueboardMemberOf unix_group_enable: no auth_mech: pts pts_module: ldap ... The attribute bizBlueboardMemberOf is defined in BlueBoard propriety LDAP objectClass. It is multi value attribute that contains the names of

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

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 differ

Re: ptloader segfaulting while looking up LDAP groups

2006-08-10 Thread Igor Brezac
c:304 Ben The last commit has an issue. Please try this patch and report back: --- ldap.c.orig 2006-08-09 14:42:05.023665000 -0400 +++ ldap.c 2006-08-09 14:42:41.274455000 -0400 @@ -1065,11 +1065,11 @@ continue; strcpy((*newstate)->groups[i].id, "

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Ben Poliakoff
in main (argc=6099056, argv=0x7fff9e959258, > > envp=0x7fff9e959268) at service-thread.c:304 > > > >Ben > > > > The last commit has an issue. > > Please try this patch and report back: > > --- ldap.c.orig 2006-08-09 14:42:05.023665000 -0400 > +++ ldap

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Patrick Radtke
2006-08-09 14:42:05.023665000 -0400 +++ ldap.c 2006-08-09 14:42:41.274455000 -0400 @@ -1065,11 +1065,11 @@ continue; strcpy((*newstate)->groups[i].id, "group:"); + int j; - strcpy((*newstate)->groups[i].id, "group:&

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Igor Brezac
c.orig 2006-08-09 14:42:05.023665000 -0400 +++ ldap.c 2006-08-09 14:42:41.274455000 -0400 @@ -1065,11 +1065,11 @@ continue; strcpy((*newstate)->groups[i].id, "group:"); + int j; - strcpy((*newstate)->groups[i].id, &qu

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 f

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 do

Re: ptloader segfaulting while looking up LDAP groups

2006-08-09 Thread Igor Brezac
imapd.conf: auth_mech: pts pts_module: ldap ldap_filter: (uid=%U) ldap_start_tls: 0 ldap_base: dc=example,dc=com ldap_sasl: 0 ldap_uri: ldap://ldap.example.com # max number of records to return ldap_size_limit: 100 # begin LDAP group configs # find groups ldap_

ptloader segfaulting while looking up LDAP groups

2006-08-08 Thread Ben Poliakoff
r: (uid=%U) ldap_start_tls: 0 ldap_base: dc=example,dc=com ldap_sasl: 0 ldap_uri: ldap://ldap.example.com # max number of records to return ldap_size_limit: 100 # begin LDAP group configs # find groups ldap_group_base: ou=group,dc=example,dc=com ldap_group_filt

ACL and groups

2006-07-13 Thread Jaume Sabater
Hello everyone. This is my first post in this list. I am running Debian Sid with Cyrus IMAP 2.2.13. Previously I was using Debian Sarge with Cyrus IMAP 2.1 and I was using UNIX groups to set up ACL in the form of: cyradm> sam user.customers group:reservations lrs Time ago I was told that it

ACL and groups

2006-07-10 Thread Jaume Sabater
Hello everyone. This is my first post in this list. I am running Debian Sid with Cyrus IMAP 2.2.13. Previously I was using Debian Sarge with Cyrus IMAP 2.1 and I was using UNIX groups to set up ACL in the form of: cyradm> sam user.customers group:reservations lrs Time ago I was told that it

Re: cyrus ACL and groups ...

2006-06-05 Thread Patrick Radtke
IL PROTECTED] Envoyé : vendredi 2 juin 2006 16:54 À : Brasseur Valéry Cc : info-cyrus@lists.andrew.cmu.edu Objet : Re: cyrus ACL and groups ... Are your users stored in a LDAP server as well? If so, then you can have Cyrus speak LDAP and get the info. Plus it can do caching (ptscache_timeout) In Cyrus

RE: cyrus ACL and groups ...

2006-06-05 Thread Brasseur Valéry
That nearly what i am looking for !!! Where is the doc for pts ? and the LDAP part ? Thanks -Message d'origine- De : Patrick Radtke [mailto:[EMAIL PROTECTED] Envoyé : vendredi 2 juin 2006 16:54 À : Brasseur Valéry Cc : info-cyrus@lists.andrew.cmu.edu Objet : Re: cyrus ACL and g

Re: cyrus ACL and groups ...

2006-06-02 Thread Patrick Radtke
_sock: /var/cyrus/socket/ptsock look for ldap_* options in `man imapd.conf` -Patrick On Jun 2, 2006, at 4:31 AM, Brasseur Valéry wrote: I have seen in the code that when you want to use groups in ACL for cyrus, the group is a UNIX one ... (calling setgrent, getpwnam ... ) Is there a a way to use

Re: cyrus ACL and groups ...

2006-06-02 Thread Andreas Hasenack
On Fri, Jun 02, 2006 at 03:42:14PM +0200, Simon Matter wrote: > > On Fri, Jun 02, 2006 at 10:31:46AM +0200, Brasseur Valéry wrote: > >> I have seen in the code that when you want to use groups in ACL for > >> cyrus, > >> the group is a UNIX one ... (calling setgren

Re: cyrus ACL and groups ...

2006-06-02 Thread Simon Matter
> On Fri, Jun 02, 2006 at 10:31:46AM +0200, Brasseur Valéry wrote: >> I have seen in the code that when you want to use groups in ACL for >> cyrus, >> the group is a UNIX one ... (calling setgrent, getpwnam ... ) >> Is there a a way to use LDAP groups instead ... &g

Re: cyrus ACL and groups ...

2006-06-02 Thread Andreas Hasenack
On Fri, Jun 02, 2006 at 10:31:46AM +0200, Brasseur Valéry wrote: > I have seen in the code that when you want to use groups in ACL for cyrus, > the group is a UNIX one ... (calling setgrent, getpwnam ... ) > Is there a a way to use LDAP groups instead ... If you use nss_ldap, then cyru

cyrus ACL and groups ...

2006-06-02 Thread Brasseur Valéry
I have seen in the code that when you want to use groups in ACL for cyrus, the group is a UNIX one ... (calling setgrent, getpwnam ... ) Is there a a way to use LDAP groups instead ... Thanks Valery Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http

Groups in LDAP [auf Viren überprüft]

2005-09-08 Thread Hans Moser
Hi! My Cyrus users are in LDAP - via sasl ldapdb. Does this work with LDAP-groups too? Do I have to configure something else? Hans Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing

Solution for using alot or large groups with slow nss backends like nss_ldap

2004-12-17 Thread Simon Matter
ated files are here: http://www.invoca.ch/pub/packages/cyrus-imapd/scripts/groupcache/ The source rpm is here as usual: http://www.invoca.ch/pub/packages/cyrus-imapd/ Below is a cut'n'paste from the README file. Feedback as always welcome. Regards, Simon >From the README: If you hav

ACL groups

2004-10-21 Thread Rob Tanner
I have several mailboxes which are read-only accessible to a sizable but finite group. One such mailbox is a repository for faculty news and I need to maintain over 300 individual ACLs with "lrs" permissions. If this were a static situation, it wouldn't be an issue, but membership is dynamic (ad

Re: Manage groups with ldap und ptloader

2004-05-25 Thread Igor Brezac
On Tue, 25 May 2004, Sven Schiwek wrote: > Hi, > > I installed cyrus-imapd 2.2.3 and imported my old mails. The Shared- > folder have group ACLs like group:sysop. I changed my authentification > from PAM to SASL with saslauthd. > The system is working fine, but if I want to change a group ACL cyr

Re: Manage groups with ldap und ptloader

2004-05-25 Thread Sven Schiwek
Sorry for the certificate... :( Sven Schiwek --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Manage groups with ldap und ptloader

2004-05-25 Thread Sven Schiwek
Hi, I installed cyrus-imapd 2.2.3 and imported my old mails. The Shared- folder have group ACLs like group:sysop. I changed my authentification from PAM to SASL with saslauthd. The system is working fine, but if I want to change a group ACL cyradm says: 8< > dam admins group:sysop deleteacl

Groups

2003-07-29 Thread dimon
Hi, When I create groups in my /etc/group file to use with cyrus, I'd like to have them there in format [EMAIL PROTECTED]:*:gid:users which I think make sense. It works just fine except fot the default domain. With the default domain groups work only in format groupname:*:gid:users When I

Re: Setting ACLs to winbind groups

2003-07-13 Thread Rob Siemborski
On Sun, 13 Jul 2003, Marcelino Vallejo wrote: > I've found that installing libnss-mysql I could gave ACLs to non UNIX > groups. Those groups are declared in MySql tables. > One step forward. Doing this can be really expensive on your MySQL server, since every call to auth_newst

Re: Setting ACLs to winbind groups

2003-07-13 Thread Marcelino Vallejo
I've found that installing libnss-mysql I could gave ACLs to non UNIX groups. Those groups are declared in MySql tables. One step forward. Marcelino Vallejo wrote: Hi. We are trying to not to use UNIX users at all, authenticating through pam and taking all groups members from NT Domain th

Re: Setting ACLs to winbind groups

2003-07-11 Thread Marcelino Vallejo
tried just using pam_smb? Then saslauthd -a pam? James. On Friday 11 July 2003 12:48 pm, Marcelino Vallejo wrote: Hi. We are trying to not to use UNIX users at all, authenticating through pam and taking all groups members from NT Domain through winbind daemon, in order to set ACLs. Have

Re: Setting ACLs to winbind groups

2003-07-11 Thread James Satterfield
Have you tried just using pam_smb? Then saslauthd -a pam? James. On Friday 11 July 2003 12:48 pm, Marcelino Vallejo wrote: > Hi. > We are trying to not to use UNIX users at all, authenticating through pam > and taking all groups members from NT Domain through winbind daemon, in >

Setting ACLs to winbind groups

2003-07-11 Thread Marcelino Vallejo
Hi. We are trying to not to use UNIX users at all, authenticating through pam and taking all groups members from NT Domain through winbind daemon, in order to set ACLs. Have anyone experimented with this? We have gave ACL to an NT group in the form of: group: NTDOMAIN+ntuser. Imapd has

Re: Groups

2003-04-03 Thread dimon
Of course, if I understood well how it works! :) > I mean not the group the cyrus master server is running under, but groups which I want to use to set ACL permissions on mailboxes, like "sam user/[EMAIL PROTECTED] group:mygroup read" So my question is: where I should define th

Re: Groups

2003-04-02 Thread Sebastian Konstanty Zdrojewski
asked that question but still didn't get an answer: I'm using 'saslauthd -a pam' for IMAP authentication (pam_pgsql actually) and compiled cyrus-imapd22 --with-auth=unix Should I still use /etc/groups for users group membership (to set access mailbox permissions) or maybe ther

Groups

2003-04-02 Thread dimon
I asked that question but still didn't get an answer: I'm using 'saslauthd -a pam' for IMAP authentication (pam_pgsql actually) and compiled cyrus-imapd22 --with-auth=unix Should I still use /etc/groups for users group membership (to set access mailbox permissions) or may

Groups

2003-03-31 Thread dimon
I'm using 'saslauthd -a pam' for IMAP authentication (pam_pgsql actually) and compiled cyrus-imapd22 --with-auth=unix Should I still use /etc/groups for group membership? Best regards, Dmitry

Re: Please, what are the groups? Re: mech=login, auth=sasldb, groups=???

2002-11-22 Thread Ian McDonald
- Original Message - From: "Mika Iisakkila" <[EMAIL PROTECTED]> To: "Ian McDonald" <[EMAIL PROTECTED]> Cc: "Simon Matter" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 4:24 PM Subject: Re: Please, wh

Re: Please, what are the groups? Re: mech=login, auth=sasldb,groups=???

2002-11-21 Thread Rob Siemborski
On Thu, 21 Nov 2002, Mika Iisakkila wrote: > Theoretically this could use nss_ldap to get groups from LDAP, > but more probably you'll get the infamous death by signal 11 > due to SASL library version clashes... > > It wouldn't probably be very hard to write a patc

Re: Please, what are the groups? Re: mech=login, auth=sasldb, groups=???

2002-11-21 Thread Mika Iisakkila
Ian McDonald wrote: Please, what are the groups, if not using Unix auth? AFAIK you'd have to use Kerberos. If you have --with-auth=unix, the group lookups go to the normal getpwnam()/getgrnam() functions, which finally consult anything your name service switch is configured

Please, what are the groups? Re: mech=login, auth=sasldb, groups=???

2002-11-20 Thread Ian McDonald
Please, what are the groups, if not using Unix auth? Thanks, Ian - Original Message - From: "Simon Matter" <[EMAIL PROTECTED]> To: "Ian McDonald" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 7:21 AM Subject: Re: mech=

Re: mech=login, auth=sasldb, groups=???

2002-11-11 Thread Simon Matter
-> LDAP. Now, IIRC one can grant permissions based on groups through ACLs, what are the group used in this situation. Well, in my case I could have been using posix groups in the LDAP tree but I'm curious whether this would work? Simon > > My imapd.conf file is: > > configdirect

mech=login, auth=sasldb, groups=???

2002-11-11 Thread Ian McDonald
Hi, If I store my passwords (and hence list of users) in sasldb2, what stores my list of group names, and which users are in each group? My imapd.conf file is: configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no defaultacl: anyone lrs autocrea

LDAP groups patch (was: OT? (was re: [POLL] Cyrus v2.1 and SASL v2))

2001-11-21 Thread Todd Nemanich
Ok, I'm attaching the patch. This is for 1.6.24, and there are some things that could use some work. Right now, all the LDAP stuff is set with defines (this was done for a specific case, so that was fine at the time). This was pretty much directly taken from the auth_unix.c groups setup

Re: Groups in LDAP

2000-12-10 Thread Lawrence Greenfield
If you want groups that the imap server will use for authorization purposes, there's no support on this from the Cyrus IMAP side. (See my previous message about authorization backends.) You'd have to look at writing a new auth_ldap.c in the lib directory. (See auth_unix, for

Re: Groups in LDAP

2000-12-05 Thread Seva Adari
ntication. > Authentication is made via PAM and the pam_ldap-module. > Now I want to store the groups in LDAP too. What do I have to > do for this? > I have read that nss_ldap is used for this, but I don't know > how to configure it. > > Thanks > > Martin Stockhammer > > -

Re: Groups in LDAP

2000-12-05 Thread Joe Frost
Hi, > I use cyrus imap 1.6.24 with OpenLDAP for authentication. > Authentication is made via PAM and the pam_ldap-module. > Now I want to store the groups in LDAP too. What do I have to > do for this? Go to www.padl.com and get the migration tools. These will help you generate grou

Groups in LDAP

2000-12-05 Thread Martin Stockhammer
Hello, I use cyrus imap 1.6.24 with OpenLDAP for authentication. Authentication is made via PAM and the pam_ldap-module. Now I want to store the groups in LDAP too. What do I have to do for this? I have read that nss_ldap is used for this, but I don't know how to configure it. Thanks M