The Samba-Bugzilla – Attachment 3405 Details for
Bug 5535
Conflicting RID creation - Affects all version from 3.0.23 including 3.2.x series.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix user creation and make it consistent across all code paths
0001-samu_set_unix-does-not-use-the-rid-allocator-but.patch (text/plain), 957 bytes, created by
Simo Sorce
on 2008-07-12 21:51:49 UTC
(
hide
)
Description:
Fix user creation and make it consistent across all code paths
Filename:
MIME Type:
Creator:
Simo Sorce
Created:
2008-07-12 21:51:49 UTC
Size:
957 bytes
patch
obsolete
>From 1bcf85e73f65383c01d55802c9ab69904f0870d2 Mon Sep 17 00:00:00 2001 >From: Simo Sorce <idra@samba.org> >Date: Sat, 12 Jul 2008 22:44:15 -0400 >Subject: [PATCH] samu_set_unix() does not use the rid allocator, but forces to use the > algoritmic allocator unconditionally, this is wrong an inconsistent. > Use samu_alloc_rid_unix() instead. > (If we create a new user we should do it in a way consistent with all > other commands like pdbedit -a and net rpc user add.) > >--- > source/passdb/passdb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c >index a670b46..1606c64 100644 >--- a/source/passdb/passdb.c >+++ b/source/passdb/passdb.c >@@ -675,7 +675,7 @@ NTSTATUS local_password_change(const char *user_name, > return NT_STATUS_NO_MEMORY; > } > >- result = samu_set_unix( sam_pass, pwd ); >+ result = samu_alloc_rid_unix( sam_pass, pwd ); > > DEBUGLEVEL = tmp_debug; > >-- >1.5.4.3 >
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 5535
:
3348
| 3405