The Samba-Bugzilla – Attachment 3076 Details for
Bug 4901
"ldap passwd sync = only" broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't skip password change when other attributes are not modified
ldap-passwd-change-4901.patch (text/plain), 614 bytes, created by
Laurent Pinchart
on 2007-12-27 11:44:15 UTC
(
hide
)
Description:
Don't skip password change when other attributes are not modified
Filename:
MIME Type:
Creator:
Laurent Pinchart
Created:
2007-12-27 11:44:15 UTC
Size:
614 bytes
patch
obsolete
>--- samba-3.0.26a/source/passdb/pdb_ldap.c 2007-08-20 15:04:50.000000000 +0200 >+++ samba-3.0.26a/source/passdb/pdb_ldap.c 2007-12-27 17:16:52.000000000 +0100 >@@ -1792,15 +1792,9 @@ > return NT_STATUS_UNSUCCESSFUL; > } > >- if (mods == NULL) { >- DEBUG(4,("ldapsam_update_sam_account: mods is empty: nothing to update for user: %s\n", >- pdb_get_username(newpwd))); >- SAFE_FREE(dn); >- return NT_STATUS_OK; >- } >- > ret = ldapsam_modify_entry(my_methods,newpwd,dn,mods,LDAP_MOD_REPLACE, element_is_changed); >- ldap_mods_free(mods,True); >+ if (mods != NULL) >+ ldap_mods_free(mods,True); > SAFE_FREE(dn); > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4901
:
2874
| 3076