diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-12 16:00:46 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-12 16:00:46 +0100 |
commit | 082ba6a1ad3a68aff118d96f855a2aa65eaeb359 (patch) | |
tree | d70b7e8012e787a11ea1c12224318643cdd552c3 /source3/passdb | |
parent | 762fdc8c5c2db304f3dc4536c19d69366d1399df (diff) | |
parent | 4f6d1728254c8503e71c6fdd008fb7264dec26c5 (diff) | |
download | samba-082ba6a1ad3a68aff118d96f855a2aa65eaeb359.tar.gz samba-082ba6a1ad3a68aff118d96f855a2aa65eaeb359.tar.bz2 samba-082ba6a1ad3a68aff118d96f855a2aa65eaeb359.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index d26a667f44..c526a175f2 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -27,25 +27,6 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB -/****************************************************************** - get the default domain/netbios name to be used when - testing authentication. For example, if you connect - to a Windows member server using a bogus domain name, the - Windows box will map the BOGUS\user to DOMAIN\user. A - standalone box will map to WKS\user. -******************************************************************/ - -const char *my_sam_name(void) -{ - /* standalone servers can only use the local netbios name */ - if ( lp_server_role() == ROLE_STANDALONE ) - return global_myname(); - - /* Windows domain members default to the DOMAIN - name when not specified */ - return lp_workgroup(); -} - /********************************************************************** ***********************************************************************/ |