The Samba-Bugzilla – Attachment 1972 Details for
Bug 3848
Join by Windows XP clients fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for pdb_ldap
3848.diff (text/plain), 757 bytes, created by
Volker Lendecke
on 2006-06-20 14:10:26 UTC
(
hide
)
Description:
fix for pdb_ldap
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2006-06-20 14:10:26 UTC
Size:
757 bytes
patch
obsolete
>Index: passdb/pdb_ldap.c >=================================================================== >--- passdb/pdb_ldap.c (Revision 16410) >+++ passdb/pdb_ldap.c (Arbeitskopie) >@@ -1796,6 +1796,17 @@ > ldap_mods_free(mods,True); > SAFE_FREE(dn); > >+ /* >+ * We need to set the backend private data to NULL here. For example >+ * setuserinfo level 25 does a pdb_update_sam_account twice on the >+ * same one, and with the explicit delete / add logic for attribute >+ * values the second time we would use the wrong "old" value which >+ * does not exist in LDAP anymore. Thus the LDAP server would refuse >+ * the update. >+ */ >+ pdb_set_backend_private_data(newpwd, NULL, NULL, my_methods, >+ PDB_CHANGED); >+ > if (!NT_STATUS_IS_OK(ret)) { > return ret; > }
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 3848
:
1970
|
1971
| 1972