diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-04-21 15:04:05 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-04-21 15:04:05 +0000 |
commit | 35359943920231630054a5a0896bf3de13803ddf (patch) | |
tree | 14c8b35ca2d82d5ff33ca7ae724ea89f47e5e0c6 /source/passdb | |
parent | 1a88560c45c2a3cd7faab6505af85b5a607585de (diff) | |
download | samba-35359943920231630054a5a0896bf3de13803ddf.tar.gz samba-35359943920231630054a5a0896bf3de13803ddf.tar.xz samba-35359943920231630054a5a0896bf3de13803ddf.zip |
r316: Fix split_domain_name. This defaulted to get_myname() instead of
get_global_sam_name().
Error case: Adding a domain user to a XP local group did a lsalookupname on
the user without domain prefix, and this then failed.
Jerry: This is a must-fix before 3.0.3.
Volker
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/passdb.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c index 04e41b79707..7ccb35c3f4b 100644 --- a/source/passdb/passdb.c +++ b/source/passdb/passdb.c @@ -46,19 +46,6 @@ const char *get_default_sam_name(void) return lp_workgroup(); } -/****************************************************************** - get the default domain/netbios name to be used when dealing - with our passdb list of accounts -******************************************************************/ - -const char *get_global_sam_name(void) -{ - if ((lp_server_role() == ROLE_DOMAIN_PDC) || (lp_server_role() == ROLE_DOMAIN_BDC)) { - return lp_workgroup(); - } - return global_myname(); -} - /************************************************************ Fill the SAM_ACCOUNT with default values. ***********************************************************/ |