diff options
Diffstat (limited to 'source3/lib/util_pwdb.c')
-rw-r--r-- | source3/lib/util_pwdb.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/source3/lib/util_pwdb.c b/source3/lib/util_pwdb.c index 03ccdd475f..a2e1ac010d 100644 --- a/source3/lib/util_pwdb.c +++ b/source3/lib/util_pwdb.c @@ -422,26 +422,11 @@ BOOL pwdb_gethexpwd(const char *p, char *pwd) /************************************************************* initialise password databases, domain names, domain sid. **************************************************************/ -BOOL pwdb_init_myworkgroup(void) -{ - fstrcpy(global_myworkgroup, lp_workgroup()); - - if (strequal(global_myworkgroup,"*")) - { - DEBUG(0,("ERROR: a workgroup name of * is no longer supported\n")); - return False; - } - return True; -} - -/************************************************************* - initialise password databases, domain names, domain sid. -**************************************************************/ BOOL pwdb_initialise(BOOL is_server) { get_sam_domain_name(); - if (!pwdb_init_myworkgroup()) + if (!init_myworkgroup()) { return False; } |