summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 11:26:46 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 11:26:46 +0000
commit0f1dcf9839676aa6ae2d6121ed5233f8f4101384 (patch)
tree496dd6247995c87bd7a73c069df13589c927e934 /source3/smbd/uid.c
parent46975eb92feb34ea64fb31448672b81bd2febea0 (diff)
downloadsamba-0f1dcf9839676aa6ae2d6121ed5233f8f4101384.tar.gz
samba-0f1dcf9839676aa6ae2d6121ed5233f8f4101384.tar.bz2
samba-0f1dcf9839676aa6ae2d6121ed5233f8f4101384.zip
nsswitch/winbindd_util.c:
add static smbd/uid.c: remove unused function Andrew Bartlett (This used to be commit ab25af0e18d883757775a85f005775a79a86dcc8)
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 09cf899522..f3d9004dd9 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -310,17 +310,6 @@ static void pop_conn_ctx(void)
ctx_p->vuid = UID_FIELD_INVALID;
}
-void init_conn_ctx(void)
-{
- int i;
-
- /* Initialise connection context stack */
- for (i = 0; i < MAX_SEC_CTX_DEPTH; i++) {
- conn_ctx_stack[i].conn = NULL;
- conn_ctx_stack[i].vuid = UID_FIELD_INVALID;
- }
-}
-
/****************************************************************************
Temporarily become a root user. Must match with unbecome_root(). Saves and
restores the connection context.