Brian Candler wrote:
[...]
Hmm. The patch is good, but I don't think you applied it, or else you didn't
stop and restart authdaemond. The C code should generate an fread message
which includes the filename (macro AUTHLDAPRC expands to this name), but the
above debug output doesn't.
The spec
Brian Candler wrote:
[...]
It should log the size, inode number and mode bits of the authldaprc file.
Please can you post the logs again, and compare with the output of
# ls -li /etc/authlib/authldaprc
1059 [root:tru] /etc/authlib # ls -li /etc/authlib/authldaprc
871080 -rw-rw 1
Alle 14:15, martedì 07 novembre 2006, Brian Candler ha scritto:
OK, what does ls -li /etc/authlib/authldaprc show as the inode number?
sure you tried to
* mv /etc/authlib/authldaprc /etc/authlib/authldaprc_ori
* cutpaste the configuration in a brand new file
;)
Peace, R.
--
Roberto Polli
On Tue, Nov 07, 2006 at 05:09:19PM +0100, Tony Earnshaw wrote:
he has root access to my machine and whatever he says/does goes.
I'm sure that caused a collective sigh of relief from all those people who
have been putting up with this torrent of postings!
Anyway, the problem is now solved. For
Brian Candler wrote:
On Tue, Nov 07, 2006 at 08:22:28PM +, Brian Candler wrote:
On Tue, Nov 07, 2006 at 07:47:01PM +, Brian Candler wrote:
I found something suspicious here:
# cat /u/home/tonni/.rpmrc
optflags: CFLAGS=-O9 -funroll-loops -ffast-math -malign-double
-mcpu=pentiumpro
Brian Candler wrote:
As soon as I upgraded both test rigs to RHAS4, Courier authlib compiled
but would not work with LDAP any more. I'd tried for at least 6 months
to get it working. Debug level 2 output to /var/log/maillog indicated
that my authldaprc was incorrectly configured.
I
Tony Earnshaw wrote:
As soon as I upgraded both test rigs to RHAS4, Courier authlib compiled
but would not work with LDAP any more. I'd tried for at least 6 months
to get it working. Debug level 2 output to /var/log/maillog indicated
that my authldaprc was incorrectly configured.
I think
On Mon, Nov 06, 2006 at 10:12:57AM +0100, Tony Earnshaw wrote:
Nov 6 10:02:31 tru authdaemond: received userid lookup request: tonni
Nov 6 10:02:31 tru authdaemond: authldap: trying this module
Nov 6 10:02:31 tru authdaemond: authldaplib: error in LDAP
configuration file, aborting
Ah, now
Brian Candler wrote:
Ah, now that's very useful, and we can investigate this before messing
around with strace.
...although having said that, if my hunch is right and fopen() or fstat() or
fread() is failing, strace will show you that without you having to modify
the source or recompile.
Brian Candler wrote:
Nov 6 10:02:31 tru authdaemond: received userid lookup request: tonni
Nov 6 10:02:31 tru authdaemond: authldap: trying this module
Nov 6 10:02:31 tru authdaemond: authldaplib: error in LDAP
configuration file, aborting
Ah, now that's very useful, and we can
On Mon, Nov 06, 2006 at 01:42:19PM +, Brian Candler wrote:
On Mon, Nov 06, 2006 at 01:23:17PM +0100, Tony Earnshaw wrote:
Nov 6 13:11:40 tru authdaemond: authldap: trying this module
Nov 6 13:11:40 tru authdaemond: fread: No such file or directory
Nov 6 13:11:40 tru authdaemond:
On Mon, Nov 06, 2006 at 12:11:10PM +0100, Tony Earnshaw wrote:
...although having said that, if my hunch is right and fopen() or fstat()
or
fread() is failing, strace will show you that without you having to modify
the source or recompile.
On both machines I get what seems to be the same
Brian Candler wrote:
Nov 6 13:11:40 tru authdaemond: authldap: trying this module
Nov 6 13:11:40 tru authdaemond: fread: No such file or directory
Nov 6 13:11:40 tru authdaemond: authldaplib: error in LDAP
configuration file, aborting
Bizarre - fopen() and fstat() succeed, but fread()
On Mon, Nov 06, 2006 at 03:51:11PM +0100, Tony Earnshaw wrote:
Try changing this line:
perror(fread);
to:
perror(fread AUTHLDAPRC);
err(Error trying to read %ld bytes\n, (long)buf.st_size);
Done. Patch is attached.
authtest tonni:
Authentication FAILED:
On Mon, Nov 06, 2006 at 03:59:31PM +0100, Tony Earnshaw wrote:
I think you've attached to the wrong process.
Try attaching strace to *all* the authdaemond processes before doing the
authtest. The one where accept() succeeds should be the one where
interesting things happen.
They all give
On Mon, Nov 06, 2006 at 09:44:42PM +, Brian Candler wrote:
No, these are from Sam's code, and they are important. On your machine this
code is only compiling because of 1980's backwards-compatibility rules,
where the original C language allowed you to call functions without
declaring them.
Brian Candler writes:
MrSam: any idea why #include lber.h and #include ldap.h are wrapped in
HAVE_LBER_H and HAVE_LDAP_H conditionals in authldaplib.c? Surely there
aren't any ancient LDAP implementations which let you link the libraries
without using the header files?
I dimly recall that
Tony Earnshaw wrote:
I've (we've) never had any problems with
SquirrelMail (or Thunderbird, or Evolution, or Outlook Express or
Postfix for that matter) but we *have* had problems with Courier IMAP
and authlib on Red Hat RHAS4. To the extent that not only my head, but
my balls, ears and
Alle 12:30, domenica 05 novembre 2006, Tony Earnshaw ha scritto:
Debug level 2 output to /var/log/maillog indicated
that my authldaprc was incorrectly configured.
did you fix it?
can you quote the error, pls?
R.
--
Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax
On Sun, Nov 05, 2006 at 12:30:24PM +0100, Tony Earnshaw wrote:
As soon as I upgraded both test rigs to RHAS4, Courier authlib compiled
but would not work with LDAP any more. I'd tried for at least 6 months
to get it working. Debug level 2 output to /var/log/maillog indicated
that my
Roberto Polli wrote:
Debug level 2 output to /var/log/maillog indicated
that my authldaprc was incorrectly configured.
did you fix it?
can you quote the error, pls?
Thanks for bothering! I'll quote the strace output and other details in
my reply to Brian; could you please look there
Hey
I know your message is geared towards Sam but fyi
I'm just saying what happened. I also said that I NEVER had ANY problems
with Courier-IMAP and SquirrelMail before.
I also said in a later post that I reinstalled PHP AND SquirrelMail and
everything was fine. Same ports on BSD
[EMAIL PROTECTED] wrote:
I know your message is geared towards Sam but fyi
I'm just saying what happened. I also said that I NEVER had ANY problems
with Courier-IMAP and SquirrelMail before.
I also said in a later post that I reinstalled PHP AND SquirrelMail and
everything was fine.
Hi there,
I've been using courier-imap without an issues until we upgraded...
I've been reading bug posts and google posts on
this error. I was running 4.0.x without problems. Recently, I
installed
4.1.1 on a new system and the only problem I'm
running into is that IMAP will not save the
Martin Laflamme writes:
Hi there,
I've been using courier-imap without an issues until we upgraded...
I've been reading bug posts and google posts on this error. I was running
4.0.x without problems. Recently, I installed
4.1.1 on a new system and the only problem I'm running into is
25 matches
Mail list logo