diff options
Diffstat (limited to 'source3/lib/util_pwdb.c')
-rw-r--r-- | source3/lib/util_pwdb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/util_pwdb.c b/source3/lib/util_pwdb.c index 8008e9de71..7e7eb0da8b 100644 --- a/source3/lib/util_pwdb.c +++ b/source3/lib/util_pwdb.c @@ -31,6 +31,9 @@ extern DOM_SID global_member_sid; extern fstring global_myworkgroup; extern DOM_SID global_sid_S_1_5_20; + +extern pstring global_myname; + /* * A list of the rids of well known BUILTIN and Domain users * and groups. @@ -443,7 +446,7 @@ BOOL pwdb_initialise(BOOL is_server) } else { - if (!get_domain_sids(&global_member_sid, &global_sam_sid)) + if (!get_domain_sids(&global_member_sid, &global_sam_sid, global_myname)) { return False; } |