Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2009-05-09 Thread Simon Walter
package mailscanner
tags 418619 etch
thanks

Hello,

apparently nothing happen ...

I close this bugreport because its not a bug in mailscanner but in 
libnss-ldap.

--
Regards 
Simon


signature.asc
Description: PGP signature


Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-29 Thread Daniel Estévez Sánchez
El Jueves, 28 de Febrero de 2008, Simon Walter escribió:

 Yeah, I think the best would be if you report a new bug against
 libnss-ldap with reportbug from your stable system. Link the
 bugreport with the patch #375533 and the bugreports for mailscanner
 #418619 and #418615 in it, attach the patch itself and point out that
 you want this problem resolved for the stable release.

I have submitted the bug report: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468575

I think I have included all the relevant information. I you think I've missed 
something important, feel free to add it.

-- 
Linux registered user #327978 since summer 2003
http://greendragon.homelinux.org/~daniel/


signature.asc
Description: This is a digitally signed message part.


Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-28 Thread Simon Walter
Daniel Estévez Sánchez [EMAIL PROTECTED] writes:

 El Miércoles, 27 de Febrero de 2008, Simon Walter escribió:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375533

 seems like your problem is/was a bug in ldap itself.

 Thanks for your help! It's surprisingly grateful to discover that someone 
 takes a look at bug reports which were submitted a year ago.

 The problem was indeed, as stated in that bug report, that /etc/nsswitch.conf 
 had mode 600. Changing permissions to 644 solved the problem.

 I wonder why a permissions problem would result in an assertion failure. But, 
 anyway, it's fixed now.

 However, the ldap-nss.c assertion failure, doesn't seem to be fixed yet. I 
 run 
 a fully updated debian stable, and the problem persits 
 when /etc/nsswitch.conf has mode 600 and shadow is set to compat ldap.


 greendragon:/home/daniel# LANG=C MailScanner --debug
 In Debugging mode, not forking...
 perl: ldap-nss.c:1376: do_init: Assertion 
 `cfg-ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.

Ldap version in stable is 251 with some security fixes.
The bug was fixed by upstream in 255 and testing runs 258.

So there never was a specific debian-stable patch for this issue.

Can I close this bug?

-- 
Regards
Simon Walter




Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-28 Thread Daniel Estévez Sánchez
El Jueves, 28 de Febrero de 2008, Simon Walter escribió:
 Ldap version in stable is 251 with some security fixes.
 The bug was fixed by upstream in 255 and testing runs 258.

 So there never was a specific debian-stable patch for this issue.

 Can I close this bug?

Ok, it's good to know that. Feel free to close the bug, but perhaps a backport 
of the patch to debian-stable would help, because it seems that bug #418615 
is caused by the same problem.

-- 
Linux registered user #327978 since summer 2003
http://greendragon.homelinux.org/~daniel/


signature.asc
Description: This is a digitally signed message part.


Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-28 Thread Simon Walter

package mailscanner
close #418619
thanks

Daniel Estévez Sánchez [EMAIL PROTECTED] writes:
 El Jueves, 28 de Febrero de 2008, Simon Walter escribió:
 Ldap version in stable is 251 with some security fixes.
 The bug was fixed by upstream in 255 and testing runs 258.

 So there never was a specific debian-stable patch for this issue.

 Can I close this bug?

 Ok, it's good to know that. Feel free to close the bug, but perhaps a 
 backport 
 of the patch to debian-stable would help, because it seems that bug #418615 
 is caused by the same problem.

Yes, i agree with you. There are probably other bugreports on different
packages related to this bug, but I don't know howto propose a patch for stable.

Probably we should first contact the maintainer of libnss-ldap and
talk to him. The bug should be reopend for the stable version or a new
bugreport should be create and tagged as etch related.

Yeah, I think the best would be if you report a new bug against
libnss-ldap with reportbug from your stable system. Link the
bugreport with the patch #375533 and the bugreports for mailscanner
#418619 and #418615 in it, attach the patch itself and point out that
you want this problem resolved for the stable release.

Then lets see what happens. :)

-- 
Regards
Simon Walter




Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-27 Thread Simon Walter

Hi Daniel,

i have something for you ;)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375533

seems like your problem is/was a bug in ldap itself.

-- 
Regards
Simon Walter



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2008-02-27 Thread Daniel Estévez Sánchez
El Miércoles, 27 de Febrero de 2008, Simon Walter escribió:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375533

 seems like your problem is/was a bug in ldap itself.

Thanks for your help! It's surprisingly grateful to discover that someone 
takes a look at bug reports which were submitted a year ago.

The problem was indeed, as stated in that bug report, that /etc/nsswitch.conf 
had mode 600. Changing permissions to 644 solved the problem.

I wonder why a permissions problem would result in an assertion failure. But, 
anyway, it's fixed now.

However, the ldap-nss.c assertion failure, doesn't seem to be fixed yet. I run 
a fully updated debian stable, and the problem persits 
when /etc/nsswitch.conf has mode 600 and shadow is set to compat ldap.


greendragon:/home/daniel# LANG=C MailScanner --debug
In Debugging mode, not forking...
perl: ldap-nss.c:1376: do_init: Assertion 
`cfg-ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.

-- 
Linux registered user #327978 since summer 2003
http://greendragon.homelinux.org/~daniel/


signature.asc
Description: This is a digitally signed message part.


Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2007-07-12 Thread Daniel Estévez Sánchez
El Miércoles, 11 de Julio de 2007, escribió:

 Sorry, i don't have time to investigate this sort of setup.

 Are you currently able to reproduce the problem, run mailscanner in
 debug-mode and send me the output?

Sure, this is the output when 
shadow: compat ldap

*
greendragon:/home/daniel# LANG=C MailScanner --debug
In Debugging mode, not forking...
perl: ldap-nss.c:1374: do_init: Assertion 
`cfg-ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
Abortado
**

This seems to point to a bug in the code.

-- 
Linux registered user #327978 since summer 2003
http://greendragon.homelinux.org/~daniel/


pgplhVvO7JiH4.pgp
Description: PGP signature


Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2007-07-11 Thread Simon Walter

package mailscanner
tag 418619 help moreinfo
thanks

Hello

Sorry, i don't have time to investigate this sort of setup.

Are you currently able to reproduce the problem, run mailscanner in
debug-mode and send me the output?

If anyone want to invest some work in this or provide a simple
solution, i would be glad.

Daniel Estévez Sánchez [EMAIL PROTECTED] writes:

 Package: mailscanner
 Version: 4.55.10-3

 I have recently done the dist-upgrade to etch and I have found that using 
 libnss-ldap when in /etc/nsswitch.conf shadow: is set to compat ldap, 
 mailscanner dies with the following on syslog when it's started 
 via /etc/init.d/mailscanner start

 Apr 10 22:15:19 greendragon MailScanner: MailScanner setting GID to 
 Debian-exim (109)
 Apr 10 22:15:19 greendragon MailScanner: MailScanner setting UID to 
 Debian-exim (109)
 Apr 10 22:15:20 greendragon MailScanner[4776]: MailScanner E-Mail Virus 
 Scanner version 4.55.10 starting...
 Apr 10 22:15:20 greendragon MailScanner[4776]: Read 748 hostnames from the 
 phishing whitelist
 Apr 10 22:15:21 greendragon MailScanner[4776]: Using SpamAssassin results 
 cache
 Apr 10 22:15:21 greendragon MailScanner[4776]: Connected to SpamAssassin 
 cache 
 database
 Apr 10 22:15:21 greendragon MailScanner[4776]: Enabling SpamAssassin 
 auto-whitelist functionality...
 Apr 10 22:15:31 greendragon MailScanner: Process did not exit cleanly, 
 returned 0 with signal 6
 Apr 10 22:15:31 greendragon MailScanner[4779]: MailScanner E-Mail Virus 
 Scanner version 4.55.10 starting...

 To solve this problem i have had to set in /etc/nsswitch.conf shadow: to 
 compat only.

 I am using a default (only minor changes) new mailscanner configuration.

 -- 
 Linux registered user #327978 since summer 2003
 http://greendragon.homelinux.org/~daniel/

-- 
Regards
Simon Walter



Bug#418619: Mailscanner dies when shadow: set to ldap on /etc/nsswitch.conf

2007-04-10 Thread Daniel Estévez Sánchez
Package: mailscanner
Version: 4.55.10-3

I have recently done the dist-upgrade to etch and I have found that using 
libnss-ldap when in /etc/nsswitch.conf shadow: is set to compat ldap, 
mailscanner dies with the following on syslog when it's started 
via /etc/init.d/mailscanner start

Apr 10 22:15:19 greendragon MailScanner: MailScanner setting GID to 
Debian-exim (109)
Apr 10 22:15:19 greendragon MailScanner: MailScanner setting UID to 
Debian-exim (109)
Apr 10 22:15:20 greendragon MailScanner[4776]: MailScanner E-Mail Virus 
Scanner version 4.55.10 starting...
Apr 10 22:15:20 greendragon MailScanner[4776]: Read 748 hostnames from the 
phishing whitelist
Apr 10 22:15:21 greendragon MailScanner[4776]: Using SpamAssassin results 
cache
Apr 10 22:15:21 greendragon MailScanner[4776]: Connected to SpamAssassin cache 
database
Apr 10 22:15:21 greendragon MailScanner[4776]: Enabling SpamAssassin 
auto-whitelist functionality...
Apr 10 22:15:31 greendragon MailScanner: Process did not exit cleanly, 
returned 0 with signal 6
Apr 10 22:15:31 greendragon MailScanner[4779]: MailScanner E-Mail Virus 
Scanner version 4.55.10 starting...

To solve this problem i have had to set in /etc/nsswitch.conf shadow: to 
compat only.

I am using a default (only minor changes) new mailscanner configuration.

-- 
Linux registered user #327978 since summer 2003
http://greendragon.homelinux.org/~daniel/


pgp3GvoqEud0U.pgp
Description: PGP signature