git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41791c
)
r5572: fix another breakage on gcc 2.96
release-3-0-12pre1
author
Gerald Carter
<jerry@samba.org>
Fri, 25 Feb 2005 19:26:40 +0000
(19:26 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 25 Feb 2005 19:26:40 +0000
(19:26 +0000)
source/sam/idmap_rid.c
patch
|
blob
|
history
diff --git
a/source/sam/idmap_rid.c
b/source/sam/idmap_rid.c
index ef4b8ef56922bbe98209175e3abe30c3bb432a32..6315c6ab2e6f9b692f28fbbb01e066c41476d13b 100644
(file)
--- a/
source/sam/idmap_rid.c
+++ b/
source/sam/idmap_rid.c
@@
-159,6
+159,7
@@
static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
DOM_SID *trusted_domain_sids;
uint32 enum_ctx = 0;
DOM_SID builtin_sid;
+ int own_domains = 2;
/* put the results together */
*num_domains = 1;
@@
-270,7
+271,6
@@
static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
i, trusted_domain_names[i], sid_str));
}
- int own_domains = 2;
if (!sid_equal(domain_sid, get_global_sam_sid()))
++own_domains;