git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9696bba
)
s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 24 May 2010 20:00:54 +0000
(22:00 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Mon, 24 May 2010 20:01:20 +0000
(22:01 +0200)
source4/dsdb/common/util_samr.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util_samr.c
b/source4/dsdb/common/util_samr.c
index ab84bbcf10b7a4112bf8238fe22cb512c28f422a..94d29647eeb9f3592574fa2870907716c652d050 100644
(file)
--- a/
source4/dsdb/common/util_samr.c
+++ b/
source4/dsdb/common/util_samr.c
@@
-476,13
+476,13
@@
NTSTATUS dsdb_enum_group_mem(struct ldb_context *ldb,
NTSTATUS dsdb_lookup_rids(struct ldb_context *ldb,
TALLOC_CTX *mem_ctx,
const struct dom_sid *domain_sid,
- int num_rids,
+
unsigned
int num_rids,
uint32_t *rids,
const char **names,
enum lsa_SidType *lsa_attrs)
{
const char *attrs[] = { "sAMAccountType", "sAMAccountName", NULL };
- int i, num_mapped;
+
unsigned
int i, num_mapped;
TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
NT_STATUS_HAVE_NO_MEMORY(tmp_ctx);