summaryrefslogtreecommitdiff
path: root/source3/lib/util_sid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_sid.c')
-rw-r--r--source3/lib/util_sid.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 4cc7bb401c..2a77be77dd 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -155,19 +155,6 @@ NT_USER_TOKEN *get_system_token(void)
return &system_token;
}
-/******************************************************************
- 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 (IS_DC) {
- return lp_workgroup();
- }
- return global_myname();
-}
-
/*****************************************************************
Convert a SID to an ascii string.
*****************************************************************/