[Bug 576957] Re: passwd crashed when the password is changed through pam_ldap

2010-06-11 Thread Nikita Borzykh
** Changed in: openldap (Ubuntu)
   Status: Incomplete => Fix Committed

-- 
passwd crashed when the password is changed through pam_ldap
https://bugs.launchpad.net/bugs/576957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 576957] Re: passwd crashed when the password is changed through pam_ldap

2010-06-11 Thread Nikita Borzykh
Workaround from debian libldap

** Patch added: "result.c.patch"
   http://launchpadlibrarian.net/50128010/result.c.patch

-- 
passwd crashed when the password is changed through pam_ldap
https://bugs.launchpad.net/bugs/576957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 576957] Re: passwd crashed when the password is changed through pam_ldap

2010-06-11 Thread Nikita Borzykh
bug in /usr/lib/libldap_r-2.4.so.2.0.5

-- 
passwd crashed when the password is changed through pam_ldap
https://bugs.launchpad.net/bugs/576957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 576957] Re: passwd crashed when the password is changed through pam_ldap

2010-05-13 Thread Nikita Borzykh
Ok.
I configured authentication and password changing in LDAP via pam. 
Authentication is working properly. When I change the password in LDAP through 
utility passwd it is changing, but passwd crashed.

Do you need some additional information?

-- 
passwd crashed when the password is changed through pam_ldap
https://bugs.launchpad.net/bugs/576957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 576957] [NEW] passwd crashed when the password is changed through pam_ldap

2010-05-07 Thread Nikita Borzykh
Public bug reported:

I have ubuntu 8.04 LTS, login and change password via LDAP .

When I trying change password via passwd utility, passwd craches.

Code:

# passwd
Enter login(LDAP) password: 
New password: 
Re-enter new password: 
*** glibc detected *** passwd: free(): invalid pointer: 0x7f1c056ee600 ***
=== Backtrace: =
/lib/libc.so.6[0x7f1c05d9408a]
/lib/libc.so.6(cfree+0x8c)[0x7f1c05d97c1c]
/usr/lib/libldap_r-2.4.so.2(ldap_return_request+0x51)[0x7f1c054ccbb1]
/usr/lib/libldap_r-2.4.so.2[0x7f1c054bc5d5]
/usr/lib/libldap_r-2.4.so.2(ldap_result+0x741)[0x7f1c054bd801]
/usr/lib/libldap_r-2.4.so.2(ldap_extended_operation_s+0xfc)[0x7f1c054c09cc]
/lib/security/pam_ldap.so(pam_sm_chauthtok+0xc47)[0x7f1c02e42b87]
/lib/libpam.so.0[0x7f1c064a3961]
/lib/libpam.so.0(pam_chauthtok+0x60)[0x7f1c064a6b60]
passwd[0x403bff]
passwd[0x4035ac]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f1c05d3e1c4]
passwd(misc_conv+0x219)[0x4024c9]
=== Memory map: 
0040-00408000 r-xp  08:01 90694  
/usr/bin/passwd
00607000-00609000 rw-p 7000 08:01 90694  
/usr/bin/passwd
00609000-0068f000 rw-p 00609000 00:00 0  [heap]
7f1bfc00-7f1bfc021000 rw-p 7f1bfc00 00:00 0 
7f1bfc021000-7f1c ---p 7f1bfc021000 00:00 0 
7f1c02007000-7f1c02014000 r-xp  08:01 437378 
/lib/libgcc_s.so.1
7f1c02014000-7f1c02214000 ---p d000 08:01 437378 
/lib/libgcc_s.so.1
7f1c02214000-7f1c02215000 rw-p d000 08:01 437378 
/lib/libgcc_s.so.1
7f1c02215000-7f1c02217000 r-xp  08:01 437427 
/lib/security/pam_umask.so
7f1c02217000-7f1c02416000 ---p 2000 08:01 437427 
/lib/security/pam_umask.so
7f1c02416000-7f1c02417000 rw-p 1000 08:01 437427 
/lib/security/pam_umask.so
7f1c02417000-7f1c0241a000 r-xp  08:01 437407 
/lib/security/pam_limits.so
7f1c0241a000-7f1c02619000 ---p 3000 08:01 437407 
/lib/security/pam_limits.so
7f1c02619000-7f1c0261a000 rw-p 2000 08:01 437407 
/lib/security/pam_limits.so
7f1c0261a000-7f1c0261c000 r-xp  08:01 437412 
/lib/security/pam_mkhomedir.so
7f1c0261c000-7f1c0281b000 ---p 2000 08:01 437412 
/lib/security/pam_mkhomedir.so
7f1c0281b000-7f1c0281e000 rw-p 1000 08:01 437412 
/lib/security/pam_mkhomedir.so
7f1c0281e000-7f1c02821000 r-xp  08:01 434435 
/lib/security/pam_env.so
7f1c02821000-7f1c02a2 ---p 3000 08:01 434435 
/lib/security/pam_env.so
7f1c02a2-7f1c02a21000 rw-p 2000 08:01 434435 
/lib/security/pam_env.so
7f1c02a21000-7f1c02a23000 r-xp  08:01 437408 
/lib/security/pam_listfile.so
7f1c02a23000-7f1c02c23000 ---p 2000 08:01 437408 
/lib/security/pam_listfile.so
7f1c02c23000-7f1c02c24000 rw-p 2000 08:01 437408 
/lib/security/pam_listfile.so
7f1c02c24000-7f1c02c3 r-xp  08:01 437428 
/lib/security/pam_unix.so
7f1c02c3-7f1c02e2f000 ---p c000 08:01 437428 
/lib/security/pam_unix.so
7f1c02e2f000-7f1c02e3 rw-p b000 08:01 437428 
/lib/security/pam_unix.so
7f1c02e3-7f1c02e3c000 rw-p 7f1c02e3 00:00 0 
7f1c02e3c000-7f1c02e46000 r-xp  08:01 434460 
/lib/security/pam_ldap.so
7f1c02e46000-7f1c03045000 ---p a000 08:01 434460 
/lib/security/pam_ldap.so
7f1c03045000-7f1c03046000 rw-p 9000 08:01 434460 
/lib/security/pam_ldap.so
7f1c03046000-7f1c0304a000 r-xp  08:01 437390 
/lib/libnss_dns-2.7.so
7f1c0304a000-7f1c0324a000 ---p 4000 08:01 437390 
/lib/libnss_dns-2.7.so
7f1c0324a000-7f1c0324c000 rw-p 4000 08:01 437390 
/lib/libnss_dns-2.7.so
7f1c0324c000-7f1c0324f000 r-xp  08:01 434421 
/lib/libgpg-error.so.0.3.0
7f1c0324f000-7f1c0344e000 ---p 3000 08:01 434421 
/lib/libgpg-error.so.0.3.0
7f1c0344e000-7f1c0344f000 rw-p 2000 08:01 434421 
/lib/libgpg-error.so.0.3.0
7f1c0344f000-7f1c0349b000 r-xp  08:01 434420 
/lib/libgcrypt.so.11.2.3
7f1c0349b000-7f1c0369a000 ---p 0004c000 08:01 434420 
/lib/libgcrypt.so.11.2.3
7f1c0369a000-7f1c0369d000 rw-p 0004b000 08:01 434420 
/lib/libgcrypt.so.11.2.3
7f1c0369d000-7f1c036b3000 r-xp  08:01 90992  
/usr/lib/libz.so.1.2.3.3
7f1c036b3000-7f1c038b3000 ---p 00016000 08:01 90992  
/usr/lib/libz.so.1.2.3.3
7f1c038b3000-7f1c038b4000 rw-p 00016000 08:01 90992  
/usr/lib/libz.so.1.2.3.3
7f1c03