Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307875 - samba-3.0.37: ldap passwd sync fails with openldap-2.4
Summary: samba-3.0.37: ldap passwd sync fails with openldap-2.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL: https://bugzilla.samba.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 11:01 UTC by Victor Mataré
Modified: 2010-12-22 15:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix BER for change password EXOP (samba,628 bytes, patch)
2010-03-05 11:04 UTC, Victor Mataré
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2010-03-05 11:01:50 UTC
Please see the attached upstream bug.
Effect:
Samba cannot set the password on unix accounts. That means that with "ldap passwd sync = Yes" users get an error message when changing their password. The NTLM password hashes are updated correctly, which also makes the error message confusing (user thinks she didn't change password, tries to login with old password, which fails, user gets locked out).

I do agree with calling 3.0.37 the latest stable release, but I think it'd be a good idea to use that patch as proposed by Ralph Rößner in the upstream bug.

Reproducible: Always

Steps to Reproduce:
1. set up samba 3.0.37 with openldap-2.4 as passdb backend, with ldapsam:editposix = yes (no smbldap-tools!)
2. # net rpc user add wurst
3. smbpasswd wurst
Comment 1 Victor Mataré 2010-03-05 11:04:37 UTC
Created attachment 222155 [details, diff]
fix BER for change password EXOP

this is the patch that fixes samba 3.0.37 so that it can change unix passwords in openldap-2.4.
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2010-12-22 15:48:44 UTC
Samba 3.0.37 is no longer in tree