The Samba-Bugzilla – Attachment 2148 Details for
Bug 4075
uid_to_sid issues since 2.0.23 with servers under Samba NT domain
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch which fixes this issue
samba-2.0.23-trusted_domains_only.patch (text/plain), 963 bytes, created by
Dmitry Butskoy
on 2006-09-22 07:01:10 UTC
(
hide
)
Description:
Patch which fixes this issue
Filename:
MIME Type:
Creator:
Dmitry Butskoy
Created:
2006-09-22 07:01:10 UTC
Size:
963 bytes
patch
obsolete
>diff -Nrbu samba-3.0.23a/source/passdb/lookup_sid.c samba-3.0.23a-OK/source/passdb/lookup_sid.c >--- samba-3.0.23a/source/passdb/lookup_sid.c 2006-07-10 20:27:52.000000000 +0400 >+++ samba-3.0.23a-OK/source/passdb/lookup_sid.c 2006-09-22 15:36:49.000000000 +0400 >@@ -1054,7 +1054,8 @@ > if (fetch_sid_from_uid_cache(psid, uid)) > return; > >- if (lp_idmap_uid(&low, &high) && (uid >= low) && (uid <= high) && >+ if ((lp_winbind_trusted_domains_only() || >+ (lp_idmap_uid(&low, &high) && (uid >= low) && (uid <= high))) && > winbind_uid_to_sid(psid, uid)) { > > DEBUG(10,("uid_to_sid: winbindd %u -> %s\n", >@@ -1099,7 +1100,8 @@ > if (fetch_sid_from_gid_cache(psid, gid)) > return; > >- if (lp_idmap_gid(&low, &high) && (gid >= low) && (gid <= high) && >+ if ((lp_winbind_trusted_domains_only() || >+ (lp_idmap_gid(&low, &high) && (gid >= low) && (gid <= high))) && > winbind_gid_to_sid(psid, gid)) { > > DEBUG(10,("gid_to_sid: winbindd %u -> %s\n",
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 4075
: 2148