Bug#425808: additionnal investigations

2008-03-10 Thread Pierre Colombier
Hi, I tried to figure out what is lber. It seems to be a function set which translates the ldap messages to objects which are (mostly) utf8 strings. I'm not sure but it seems lber decodes directly a whole ldap message (containing multiple values) to a big data structure (not each value one b

Bug#425808: very dirty solution

2008-03-10 Thread Pierre Colombier
I'm currently working on a very dirty hack to solve this problem. since this nss-ldap bug is old and unsolved. I pushed nss-ldap out of the way and i made a programm which gets everything from AD and writes directly user and groups infos in /etc/passwd and /etc/groups in etc/passwd, password

Bug#425808: tips to resolve the bug

2007-06-09 Thread pierre colombier
I've read part of the source code of liblber and the problem seems related to an invalid socket buffer (please don't take it for granted). int ber_sockbuf_ctrl( Sockbuf *sb, int opt, void *arg ) { Sockbuf_IO_Desc *p; int ret = 0; assert( sb != NULL ); assert

Bug#425808: Same problem.

2007-06-08 Thread Pierre Colombier
I'm using nss-ldap to authenticate on a win2k3 R2 server. getent passwd gets everything well. But authentication fails very often without any justification. Here is an exemple Palantir:~# LANG=C Palantir:~# date -R ; su frederic Fri, 08 Jun 2007 08:59:41 +0200 su: /tmp/buildd/openldap2-2.1.30/li