Fwd: [Dovecot] Upgraded and authentication fails with LDAP
Note: forwarded message attached.
In addition to what I've already posted, the output from gdb when I try to use mutt is: Program received signal SIGABRT, Aborted. 0x18234dcf in kill () from /lib/libc.so.5 And then it dies.
Do you Yahoo!? All your favorites on one personal page � Try My Yahoo! http://my.yahoo.com
Ren Galskap wrote:
Note: forwarded message attached.
In addition to what I've already posted, the output from gdb when I try to use mutt is: Program received signal SIGABRT, Aborted. 0x18234dcf in kill () from /lib/libc.so.5 And then it dies.
iirc, there were issues with 0.99.12 and LDAP that were fixed in the latest ( 0.99.13 ) version. Any reason why you're not using it?
-- Curtis Maloney
--- Curtis Maloney cmaloney@cardgate.net wrote:
Ren Galskap wrote:
Note: forwarded message attached.
In addition to what I've already posted, the output from gdb when I try to use mutt is: Program received signal SIGABRT, Aborted. 0x18234dcf in kill () from /lib/libc.so.5 And then it dies.
iirc, there were issues with 0.99.12 and LDAP that were fixed in the latest ( 0.99.13 ) version. Any reason why you're not using it?
Yeah. 0.99.13 isn't in the ports yet, and I'm not smart enough to know how to install without the ports. :)
Thanks for the tip. I've been Googling and digging in the mail archives, but I hadn't seen that.
Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com
Ren Galskap wrote:
Yeah. 0.99.13 isn't in the ports yet, and I'm not smart enough to know how to install without the ports. :)
Honestly, I can't see the ports needing to do that much. I've managed to build Dovecot from source with trivial effort many times. "./configure ; make" is not hard. But then, I've never delved into just what changes BSD ports generally make...
Anyone know who's the kind person donating their time in updating the ports entries for Dovecot?
-- Curtis Maloney
--- Curtis Maloney cmaloney@cardgate.net wrote:
Yeah. 0.99.13 isn't in the ports yet, and I'm not smart enough to know how to install without the
Ren Galskap wrote: ports.
:)
Honestly, I can't see the ports needing to do that much. I've managed to build Dovecot from source with trivial effort many times. "./configure ; make" is not hard. But then, I've never delved into just what changes BSD ports generally make...
Anyone know who's the kind person donating their time in updating the ports entries for Dovecot?
Actually, I'd be happy if someone knew where there was an older version of the port I could download, pre-0.99.12. I could get an older package, but I need to compile with LDAP support.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Ren Galskap wrote:
Actually, I'd be happy if someone knew where there was an older version of the port I could download, pre-0.99.12. I could get an older package, but I need to compile with LDAP support.
If you keep a local CVS repository (or are set up for anon CVS) this is easy - just check out the port with an appropriate -D option. "cvs get -d <date-of-working-version> ports/mail/dovecot"
Curtis Maloney wrote:
Anyone know who's the kind person donating their time in updating the ports entries for Dovecot?
That's in the port Makefile:
hellcat$ grep MAINT /usr/ports/mail/dovecot/Makefile MAINTAINER= robin@isometry.net
I've jury-rigged a passwd file. Now I'm getting
Jan 14 00:59:37 kongemord dovecot: chdir(0) failed
with uid 1003: Permission denied
So I'm able to authenticate off the fake passwd file, but I can't figure out why I can't chdir. /var/mail and the relevant directories and files under it are owned by 1003.
I'm getting no output from gbd applied to dovecot, dovecot-aut, or imap-login.
Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
On 14.1.2005, at 08:14, Ren Galskap wrote:
I've jury-rigged a passwd file. Now I'm getting
Jan 14 00:59:37 kongemord dovecot: chdir(0) failed with uid 1003: Permission denied
That means your home directory is set to "0" in passwd-file.
--- Timo Sirainen tss@iki.fi wrote:
On 14.1.2005, at 08:14, Ren Galskap wrote:
I've jury-rigged a passwd file. Now I'm getting
Jan 14 00:59:37 kongemord dovecot: chdir(0)
failed
with uid 1003: Permission denied
That means your home directory is set to "0" in passwd-file.
Oh, man, Timo. You're a life saver.
I have a small number of virtual users, so I added them to the system users and then copied their records out of master.passwd into the imap password file. When I get LDAP working again I'll just delete the insecure imap file and remove the virtural users from the system. But I failed to notice that master.passwd has some extra fields, two of which are occupied by zeros.
Timo, I started using dovecot about a year and a half ago, and I've been reading the mail list during that whole time. You've been consistently knowledgeable, helpfull, and extremely nice to everyone during that period. I'm strongly inclined to recommend dovecot to anyone who needs an IMAP server, not only because of the high quality of the software, but also because of the high quality of help on the mail list.
Thanks to everyone who responded. I'll be watching the ports for dovecot-0.99.13 so I can switch back to LDAP.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
<trim/>
Dovecot 0.99.13 port, and package for i386/5.3
http://www.helenmarks.co.uk/~dom/dovecot/
I'll test them some more and then submit a PR if the maintainer doesn't get around to it soon. To use the port, or just look, at it download the .shar.gz, unextract it, execute it 'sh <foo>.shar' and cd dovecot if your unfamiliar with shars.
-- Dominic
On Fri, Jan 14, 2005 at 04:46:48PM +0000, Dominic Marks wrote:
<trim/>
Dovecot 0.99.13 port, and package for i386/5.3
http://www.helenmarks.co.uk/~dom/dovecot/
I'll test them some more and then submit a PR if the maintainer doesn't get around to it soon. To use the port, or just look, at it download the .shar.gz, unextract it, execute it 'sh <foo>.shar' and cd dovecot if your unfamiliar with shars.
Looking over the Makefile, what would I add to pkgtools.conf to tell portupgrade to compile with with ldap support? 'WITH_LDAP=YES'?
Bob
On Fri, Jan 14, 2005 at 12:39:48PM -0500, Bob Hall wrote:
On Fri, Jan 14, 2005 at 04:46:48PM +0000, Dominic Marks wrote:
<trim/>
Dovecot 0.99.13 port, and package for i386/5.3
http://www.helenmarks.co.uk/~dom/dovecot/
I'll test them some more and then submit a PR if the maintainer doesn't get around to it soon. To use the port, or just look, at it download the .shar.gz, unextract it, execute it 'sh <foo>.shar' and cd dovecot if your unfamiliar with shars.
Looking over the Makefile, what would I add to pkgtools.conf to tell portupgrade to compile with with ldap support? 'WITH_LDAP=YES'?
Thanks, Dominic. Ran without a hitch. Still courious about what to add to pkgtools.conf to ensure ldap support.
Bob Hall wrote:
On Fri, Jan 14, 2005 at 04:46:48PM +0000, Dominic Marks wrote:
<trim/>
Dovecot 0.99.13 port, and package for i386/5.3
http://www.helenmarks.co.uk/~dom/dovecot/
I'll test them some more and then submit a PR if the maintainer doesn't get around to it soon. To use the port, or just look, at it download the .shar.gz, unextract it, execute it 'sh <foo>.shar' and cd dovecot if your unfamiliar with shars.
Looking over the Makefile, what would I add to pkgtools.conf to tell portupgrade to compile with with ldap support? 'WITH_LDAP=YES'?
MAKE_ARGS = { 'mail/dovecot' => 'WITH_LDAP=1', ... }
This is what I've got in my pkgtools.conf:
MAKE_ARGS = { 'mail/postfix' => [ 'BATCH=yes', 'POSTFIX_OPTIONS="SASL2 TLS"' ], 'mail/dovecot' => 'WITH_SASL2=1', 'www/apache2' => 'WITHOUT_DAV=1', 'net/mpd' => 'WITH_OPENSSL_PORT=1' }
Bob
-- Dominic Marks
participants (6)
-
Bob Hall
-
Curtis Maloney
-
Dominic Marks
-
Gregory Bond
-
Ren Galskap
-
Timo Sirainen