summaryrefslogtreecommitdiff
path: root/source3/smbd/map_username.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-31 18:33:38 +0200
committerSimo Sorce <idra@samba.org>2010-06-04 12:12:08 -0400
commitfad86ddf5531c8f5862b697e99c24a7bd526d73e (patch)
treef2dc528dd5b8753cd1a8b796a873616a1027e305 /source3/smbd/map_username.c
parent09daf63c9332d0314dee6c7a46b95aacb470940b (diff)
downloadsamba-fad86ddf5531c8f5862b697e99c24a7bd526d73e.tar.gz
samba-fad86ddf5531c8f5862b697e99c24a7bd526d73e.tar.bz2
samba-fad86ddf5531c8f5862b697e99c24a7bd526d73e.zip
s3-smbd: Remove unneeded dependency of map_username to globals.c.
Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/smbd/map_username.c')
-rw-r--r--source3/smbd/map_username.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index 9b24d8fa4e..3b3a6b13a4 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -20,7 +20,6 @@
*/
#include "includes.h"
-#include "smbd/globals.h"
/*******************************************************************
Map a username from a dos name to a unix name by looking in the username
@@ -33,6 +32,9 @@
Returns True if username was changed, false otherwise.
********************************************************************/
+static char *last_from = NULL;
+static char *last_to = NULL;
+
static const char *get_last_from(void)
{
if (!last_from) {