cyrus-sasl pam mysql connections are not getting closed

2008-12-31 Thread ram
I am using cyrus-sasl with pam mysql ( on Centos5) The mysql is on a remote server. After some time I find that there are too many connections to mysql open ( using netstat) I restart saslauthd but still these dont away How do I check what the mysql connection is being used for ? and how do I av

Re: cyrus - sasl - pam - ldap strange error with libsldap

2006-09-18 Thread Andreas Winkelmann
Am Monday 18 September 2006 19:00 schrieb Sam Smith: > The saslauthd output when run in debug mode while I login - doesn't show > any problems: > saslauthd[2194] :do_auth : auth success: [user=sam] > [service=imap] [realm=] [mech=pam] > saslauthd[2194] :do_request : response: OK Loo

Re: cyrus - sasl - pam - ldap strange error with libsldap

2006-09-18 Thread Sam Smith
Andreas Winkelmann wrote: Am Thursday 14 September 2006 18:23 schrieb Sam Smith: We've been using cyrus faithfully with pam->NIS for years, but I have to change to pam->LDAP. I'm using saslauthd -a pam, with a solaris 9 box that authenticates just fine using pam->ldap to a fedora directory s

Re: cyrus - sasl - pam - ldap strange error with libsldap

2006-09-14 Thread Andreas Winkelmann
Am Thursday 14 September 2006 18:23 schrieb Sam Smith: > We've been using cyrus faithfully with pam->NIS for years, but I have to > change to pam->LDAP. > I'm using saslauthd -a pam, with a solaris 9 box that authenticates just > fine using pam->ldap to a fedora directory server. > > I'm using cyr

cyrus - sasl - pam - ldap strange error with libsldap

2006-09-14 Thread Sam Smith
We've been using cyrus faithfully with pam->NIS for years, but I have to change to pam->LDAP. I'm using saslauthd -a pam, with a solaris 9 box that authenticates just fine using pam->ldap to a fedora directory server. I'm using cyrus 2.3.7, and sasl 2.1.22. I did not compile in ldap support fo

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Thu, Jun 29, 2006 at 03:13:13PM +0200" << > sql_select: SELECT password FROM popusers WHERE alias='%u' and > > domain='%r'; > ^^^ > I'm not sure you need this one. > > And then, from examples I found on the net I think you need the sasl_ > prefix like

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Simon Matter
sender: "Phil Pennock" date: "Wed, Jun 28, 2006 at 09:22:12PM +0200" <<>[..] >>pwcheck_method: auxprop >>mech_list: plain login cram-md5 digest-md5 >>sql_engine: mysql >>sql_database: sys >>sql_user: someuser >>sql_passwd: fubar >>sql_select: SELECT passwor

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
>>> sender: "Phil Pennock" date: "Wed, Jun 28, 2006 at 09:22:12PM +0200" <<[..] >pwcheck_method: auxprop >mech_list: plain login cram-md5 digest-md5 >sql_engine: mysql >sql_database: sys >sql_user: someuser >sql_passwd: fubar >sql_select: SELECT password FROM users W

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Phil Pennock
On 2006-06-27 at 19:25 +0300, Alexandru E. Ungur wrote: > I'm having a bit of a hard time doing a migration of cyrus from this: > anyway, on the old server it is a cyrus+saslauthd+pam+pam_mysql+mysql > On the new server I got saslauthd working pretty much ok (I think). Using PAM, you lose those

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 08:38:02PM +0200" << Hm, I may have been wrong... While it's okay to remove the auxprop lines > from the config, it has likely not been the cause for the logs. Your > config really uses pam_mysql, which then fails (I think to get rid of the > s

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" <<> Sorry, I can not help you at all with the mysql stuff because I have >> never >> used it with cyrus. However, you want to use pam_mysql but your >> cyrus-imapd tries to use the mysql auxprop plugin as you can see abo

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" << Sorry, I can not help you at all with the mysql stuff because I have never > used it with cyrus. However, you want to use pam_mysql but your > cyrus-imapd tries to use the mysql auxprop plugin as you can see above. So > you

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" <<> Make that 'cyradm -user cyrus -auth login localhost' > > Thank you! :) > I did that, here's what happened: > > FIRST, I used the old pam_mysql 0.4.5 that was on the old server, > though it might make a differenc

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" << Make that 'cyradm -user cyrus -auth login localhost' Thank you! :) I did that, here's what happened: FIRST, I used the old pam_mysql 0.4.5 that was on the old server, though it might make a difference. It didn't. ===

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Alexander Dalloz" date: "Tue, Jun 27, 2006 at 08:32:52PM +0200" <<> Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: > First of all thank you very much for your help, I really appreciate it. > >> Do you use virtdomain support with Cyrus-IMAPd? If not, then appending >>

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Alexander Dalloz" date: "Tue, Jun 27, 2006 at 08:32:52PM +0200" >>> << Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: First of all thank you very much for your help, I really appreciate it. > Do you use virtdomain support with Cyrus-IMAPd? If not, then appending > the rea

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-27 Thread Alexander Dalloz
Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: > 3. [EMAIL PROTECTED] lib]# testsaslauthd -u cyrus -p PASSWORD -s imap >0: OK "Success." > > So I think I got the sasl+pam+mysql part working (but I could be wrong, > I'm pretty new to the whole cyrus

Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-27 Thread Alexandru E. Ungur
So I think I got the sasl+pam+mysql part working (but I could be wrong, I'm pretty new to the whole cyrus world :D) Now, my problem is that I cannot for the life of me get cyradm working. Here is the imapd.conf: configdirectory: /cyrus/imap partition-default: /cyrus/spool defaultacl: lrswipc

Re: cyrus + sasl + pam + mysql problem

2006-03-22 Thread Rudy Gevaert
elp of the list I have set up cyrus + sasl + pam + mysql. The only problem I still have is that I can't log in for a user with the cyradm password. My cyradm password is set and can be found in the /etc/sasldb2 file. If you have your users in mysql, you don't need anything in /etc/

Re: cyrus + sasl + pam + mysql problem [auf V iren überprüft]

2006-03-22 Thread Hans Moser
Rudy Gevaert schrieb: My cyradm password is set and can be found in the /etc/sasldb2 file. If you have your users in mysql, you don't need anything in /etc/sasldb2. You have to set your admin accounts for cyradm in the mysql db. Ok: I removed /etc/sasldb2 and added a user cyradm in my mysql db.

Re: cyrus + sasl + pam + mysql problem

2006-03-22 Thread Rudy Gevaert
Simon Matter wrote: Hi, With the help of the list I have set up cyrus + sasl + pam + mysql. The only problem I still have is that I can't log in for a user with the cyradm password. My cyradm password is set and can be found in the /etc/sasldb2 file. If you have your users in mysql

Re: cyrus + sasl + pam + mysql problem

2006-03-22 Thread Simon Matter
> Hi, > > With the help of the list I have set up cyrus + sasl + pam + mysql. The > only problem I still have is that I can't log in for a user with the > cyradm password. > > My cyradm password is set and can be found in the /etc/sasldb2 file. If you have your user

Re: cyrus + sasl + pam + mysql problem

2006-03-22 Thread Rudy Gevaert
Hi, With the help of the list I have set up cyrus + sasl + pam + mysql. The only problem I still have is that I can't log in for a user with the cyradm password. My cyradm password is set and can be found in the /etc/sasldb2 file. How can I further debug this? Thanks in ad

Re: cyrus + sasl + pam + mysql problem

2006-03-02 Thread Muenz, Michael
> Is this true? Because: > > An imapd.conf with > > sasl_mech_list: PLAIN > sasl_pwcheck_method: auxprop > sasl_auxprop_plugin: sql > sasl_sql_engine: mysql > sasl_mech_list: PLAIN > sasl_sql_hostnames: localhost > sasl_sql_user: mail > sasl_sql_passwd: x > sasl_sql_database: mail > sasl_sql_verbo

cyrus + sasl + pam + mysql problem

2006-03-02 Thread Rudy Gevaert
Hello, I have tried to set up cyrus with passwords in mysql. I only have the password in crypt format. I'm using debian sarge, but the cyrus is compiled from source. I thought I could do this the following way: 1) configure sasl so that it uses pam for authentication 2) configure pam so tha

Re: sasl/pam/ldap authentication process

2004-08-09 Thread Simon Matter
e there's a LOT of ways > to do that (auxprop, sasl-ldap, and sasl-pam-ldap). Hi, I'm little confused. I don't know about an auxprop ldap plugin, the two ways I know are saslauthd->ldap and saslauthd->pam->ldap. IIRC you never put a file into the sasl2 lib folder, only use

sasl/pam/ldap authentication process

2004-08-06 Thread Kevin Williams
ways to do that (auxprop, sasl-ldap, and sasl-pam-ldap). All the different ways confuse me, and I want to clarify my options. Would someone please verify what I THINK is supposed to happen? 1. --imapd.conf file has NO sasl parameters. --imapd file in sasl2 folder has one paramter pwcheck_method:pam

Re: Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd says

2003-01-16 Thread Thomas Hannan
Thanks again --will work on that. If I compiled it w/o these options then why the Cyrus daemon offer: AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 Or is that normal behavior? -Tico > You need to have an SSL layer established before Cyrus will offer > PLAIN. > > -Rob > > On Thu, 16 Jan 2003, Thomas Hanna

Re: Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd says

2003-01-16 Thread Thomas Hannan
Thanks much! (for some reason I thought the only options available were sasldb or pam for that setting) However, I still get errors when trying to do PLAIN auth (haven't even tried setting up SSL yet) # imtest -u test1 -a test1 -w 1234 -v -m PLAIN 192.168.1.98 S: * OK mail.test Cyrus IMAP4 v2.1.1

Re: Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd says OK)

2003-01-16 Thread Ken Murchison
Thomas Hannan wrote: > > Hi all, > > The cliffnotes version of my problem is that even though I run > /usr/local/sbin/saslauthd -a pam& > and my /etc/imapd.conf contains "sasl_pwcheck_method: pam" This should be "sasl_pwcheck_method: saslauthd" -- Kenneth Murchison Oceana Matrix Ltd. Sof

Re: Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd says

2003-01-16 Thread Rob Siemborski
You need to have an SSL layer established before Cyrus will offer PLAIN. -Rob On Thu, 16 Jan 2003, Thomas Hannan wrote: > Thanks much! (for some reason I thought the only options available were > sasldb or pam for that setting) > > However, I still get errors when trying to do PLAIN auth (haven'

Re: Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd saysOK)

2003-01-16 Thread Rob Siemborski
You want to use: sasl_pwcheck_method: saslauthd -Rob On Thu, 16 Jan 2003, Thomas Hannan wrote: > Hi all, > > The cliffnotes version of my problem is that even though I run > /usr/local/sbin/saslauthd -a pam& > and my /etc/imapd.conf contains "sasl_pwcheck_method: pam" > I get an auth failed whe

Cyrus-IMAPd+SASL+PAM not communicating (but testsaslauthd says OK)

2003-01-16 Thread Thomas Hannan
Hi all, The cliffnotes version of my problem is that even though I run /usr/local/sbin/saslauthd -a pam& and my /etc/imapd.conf contains "sasl_pwcheck_method: pam" I get an auth failed when trying to login over IMAP or imtest: $ testsaslauthd -u tico2 -p test1234 -s imap 0: OK "Success." $ testsa

Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM (solution)

2001-11-14 Thread Gardiner Leverett
I wanted to include a solution to the problem that I submited to this list a week ago. The problem I had was having the Cyrus server respond at all after building it with the Cyrus-SASL software. I want it to work with OpenLDAP and the pam_ldap module so the users do not have to be in /etc/pa

Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM

2001-11-12 Thread Gardiner Leverett
t; > make all CFLAGS=-O > > > > Hope this helps, > > Lee > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Tarjei Huse > > Sent: Friday, November 09, 2001 5:26 PM > > To: Gardiner Lever

Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM

2001-11-09 Thread Tarjei Huse
om: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Tarjei Huse > Sent: Friday, November 09, 2001 5:26 PM > To: Gardiner Leverett > Cc: [EMAIL PROTECTED] > Subject: Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM > > This lookes like the good old SASL-LDAP problem.

RE: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM

2001-11-09 Thread Lee Hoffman
Behalf Of Tarjei Huse Sent: Friday, November 09, 2001 5:26 PM To: Gardiner Leverett Cc: [EMAIL PROTECTED] Subject: Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM This lookes like the good old SASL-LDAP problem. Have you read the FAQ? Faq: cyrus-utils.sf.net/faq have a special look at the death by 11

Re: Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM

2001-11-09 Thread Tarjei Huse
This lookes like the good old SASL-LDAP problem. Have you read the FAQ? Faq: cyrus-utils.sf.net/faq have a special look at the death by 11 section :) Hope this helps. Tarjei Gardiner Leverett wrote: > > I have a rather complicated load I'm trying to do. I've been going > through the archives

Solaris 7 and Cyrus 2.0.16/LDAP/SASL/PAM

2001-11-09 Thread Gardiner Leverett
I have a rather complicated load I'm trying to do. I've been going through the archives without any answers. I have a server running Solaris 2.7, and I'm trying to build Cyrus 2.0.16 with SASL 1.5.24, OpendLDAP 2.0.18, and pam_ldap 1.33. I can't even tell if any of this is working as the im

sasl + pam

2001-06-29 Thread Kevin J. Menard, Jr.
Hey guys, I'm not sure if this is the appropriate list for this or not. The SASL one seems to not be very lively, so I don't know if it's gone defunct or what have you. So, if it is the wrong place, I apologize for the spam. The problem is just what I said. Actually, I'm runni

Re[2]: Virtual domains, SASL, PAM, LDAP

2001-06-14 Thread Kevin J. Menard, Jr.
Hey Kevin, Thursday, April 12, 2001, 4:38:03 PM, you wrote: KMM> Both IP addresses use SASL for authenticatiom and I can use multiple LDAP KMM> servers and multiple basedns very nicely. Mail is stored in separate KMM> spools for each IP address and I can have identical uids for multipe KMM> ad

Re[2]: Virtual domains, SASL, PAM, LDAP

2001-06-14 Thread Kevin J. Menard, Jr.
Hey Kevin, Thursday, April 12, 2001, 4:38:03 PM, you wrote: KMM> Both IP addresses use SASL for authenticatiom and I can use multiple LDAP KMM> servers and multiple basedns very nicely. Mail is stored in separate KMM> spools for each IP address and I can have identical uids for multipe KMM> ad

[pamldap] Re: RFC: Virtual domains, SASL, PAM, LDAP

2001-04-25 Thread owner-pamldap-padl-com
Kevin, Here at Rutgers, we are looking to do the same thing you are, and are currently running into the same problems you are facing. Our LDAP servers run on Novell NDS, and when we initially had this problem with pam_ldap, we looked to use the pam_nds module, which we thought would handle the p

Re: [pamldap] Re: RFC: Virtual domains, SASL, PAM, LDAP

2001-04-25 Thread owner-pamldap-padl-com
Wilson, I did not mean to say that Novell designed LDAP. What I meant to say is Novell designed NDS to be highly organized. Sorry for the "incorrect" terminology and anyone I have offended... -John Wilson Yeung wrote: > > multiple contexts in an ldap tree (since Novell designed LDAP to be h

Re: imapd with sasl/pam/ldap

2001-04-16 Thread Pascal Pucci
> Hi, > > I'm looking for a good linux howto which guides thru the implementation > process of: > > IMAPD -> SASL -> PAM -> LDAP > > I tried with the READMEs / FAQs in every single package but a got an > error by imapd: > > mechanism not implem

imapd with sasl/pam/ldap

2001-04-16 Thread Dirk Datzert
Hi, I'm looking for a good linux howto which guides thru the implementation process of: IMAPD -> SASL -> PAM -> LDAP I tried with the READMEs / FAQs in every single package but a got an error by imapd: mechanism not implemented I think I have a config error in one or more confi

Re: Virtual domains, SASL, PAM, LDAP

2001-04-13 Thread John C. Amodeo
Thanks to all for your help. I finally downloaded the correct patch, and applied it to sasl. Everything is working like a charm - 8 cyrus servers running on 1 machine, all using the -C config option with 8 different config files, all configs pointing to a different basedn in the ldap tree. It d

Re: Virtual domains, SASL, PAM, LDAP

2001-04-13 Thread Scot W. Hetzel
From: "John C. Amodeo" <[EMAIL PROTECTED]> > One other question to add to my previous e-mail. Are you supposed to use the "Cyrus LDAP > auth patch" or the "Cyrus SASL 1.5.24 LDAP auth and mysql patch"? > Use the LDAP + MySQL patch. > If you have to use the "Cyrus SASL 1.5.24 LDAP auth and mysql

Re: Virtual domains, SASL, PAM, LDAP

2001-04-12 Thread John C. Amodeo
Sorry, One other question to add to my previous e-mail. Are you supposed to use the "Cyrus LDAP auth patch" or the "Cyrus SASL 1.5.24 LDAP auth and mysql patch"? If you have to use the "Cyrus SASL 1.5.24 LDAP auth and mysql patch" do you have a modified version minus the mysql stuff, or is it

Re: Virtual domains, SASL, PAM, LDAP

2001-04-12 Thread Kevin M. Myer
On Thu, 12 Apr 2001, John C. Amodeo wrote: > A quick question... > > We downloaded the patches form Openldap.org, but looking at the source, there are no > provisions to pass ldap_server or ldap_basedn. Am I missing something here? The > code in the pwcheck_ldap.c suggests that you need to hard

Re: Virtual domains, SASL, PAM, LDAP

2001-04-12 Thread John C. Amodeo
A quick question... We downloaded the patches form Openldap.org, but looking at the source, there are no provisions to pass ldap_server or ldap_basedn. Am I missing something here? The code in the pwcheck_ldap.c suggests that you need to hard-code the ldap information in, then compile. We are

Re: [pamldap] Re: RFC: Virtual domains, SASL, PAM, LDAP

2001-04-05 Thread John C. Amodeo
Wilson, I did not mean to say that Novell designed LDAP. What I meant to say is Novell designed NDS to be highly organized. Sorry for the "incorrect" terminology and anyone I have offended... -John Wilson Yeung wrote: > > multiple contexts in an ldap tree (since Novell designed LDAP to be hi

Re: RFC: Virtual domains, SASL, PAM, LDAP

2001-04-05 Thread John C. Amodeo
Kevin, Here at Rutgers, we are looking to do the same thing you are, and are currently running into the same problems you are facing. Our LDAP servers run on Novell NDS, and when we initially had this problem with pam_ldap, we looked to use the pam_nds module, which we thought would handle the p

RE: Virtual domains, SASL, PAM, LDAP

2001-04-05 Thread Michael Clark
> But with Cyrus, I need to somehow pass information up the stack pertaining > to the IP address the request came from. In turn, with a pam_ldap module > that is IP-address aware, I can switch directory trees based on IP-address > and I think my problem will be solved. > > In other words, say I

RFC: Virtual domains, SASL, PAM, LDAP

2001-04-04 Thread Kevin M. Myer
Hello, I have been working on a mail server project that will need to potentially serve many virtual domains. One of the design requirements is that any consolidation of existing mail servers to this one server be transparent to the end user (with maybe the exception of a password change). This

RE: Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Joshua Penix
ight (I'm a PAM newbie) on why you chose the PAM options as you did. Again, thanks for your help!!! --Josh > -Original Message- > From: Pascal Pucci [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 26, 2001 10:54 AM > To: Joshua Penix; [EMAIL PROTECTED] > Subject:

RE: Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Joshua Penix
Seva Adari [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 26, 2001 10:59 AM > To: Joshua Penix > Cc: [EMAIL PROTECTED] > Subject: Re: Cyrus/SASL/PAM/LDAP - what am I missing? > > > The following

Re: Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Seva Adari
d file. But as soon as I tell PAM to reference LDAP, it starts > choking... > > I understand the need for plain/cleartext passwords throughout the system, > and believe I have everything compiled and set up to talk that way as > evidenced by the working Cyrus->SASL->PAM->

Re: Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Seva Adari
AP, it starts > choking... > > I understand the need for plain/cleartext passwords throughout the system, > and believe I have everything compiled and set up to talk that way as > evidenced by the working Cyrus->SASL->PAM->/etc/passwd route. > > But as soon a

Re: Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Pascal Pucci
> - > #%PAM-1.0 > auth sufficient /lib/security/pam_ldap.so > auth required /lib/security/pam_unix_auth.so try_first_pass > accountsufficient /lib/security/pam_ldap.so > accountrequired /lib/security/pam_unix_acct.so > - try with : authsufficient

Cyrus/SASL/PAM/LDAP - what am I missing?

2001-02-26 Thread Joshua Penix
passwords throughout the system, and believe I have everything compiled and set up to talk that way as evidenced by the working Cyrus->SASL->PAM->/etc/passwd route. But as soon as I change my /etc/pam.d/imap file to look like the following: - #%PAM-1.0 auth suff