1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

passdb: Fix the O3 developer build

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Mar 17 11:29:38 CET 2015 on sn-devel-104
This commit is contained in:
Volker Lendecke 2015-03-16 07:45:28 +01:00 committed by Stefan Metzmacher
parent 143e7d3627
commit 908b1f9634

View File

@ -1505,8 +1505,8 @@ static bool pdb_default_sid_to_id(struct pdb_methods *methods,
if (sid_peek_check_rid(get_global_sam_sid(), sid, &rid)) {
const char *name;
enum lsa_SidType type;
uid_t uid;
gid_t gid;
uid_t uid = (uid_t)-1;
gid_t gid = (gid_t)-1;
/* Here we might have users as well as groups and aliases */
ret = lookup_global_sam_rid(mem_ctx, rid, &name, &type, &uid, &gid);
if (ret) {