summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-03 17:02:16 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-25 20:55:06 +0200
commit9854ed6d0115d4a4ef562ccf87b879082eb480bb (patch)
tree25e387067d810ee70e36b64bd34c4aac33063d4b
parent77d1173aa2a74644ced83cd37ceb3481530670e6 (diff)
downloadsamba-9854ed6d0115d4a4ef562ccf87b879082eb480bb.tar.gz
samba-9854ed6d0115d4a4ef562ccf87b879082eb480bb.tar.bz2
samba-9854ed6d0115d4a4ef562ccf87b879082eb480bb.zip
s3:smbd: remove now unused invalidate_all_vuids()
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
-rw-r--r--source3/smbd/password.c9
-rw-r--r--source3/smbd/proto.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 103403aaa9..c87f15805e 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -118,15 +118,6 @@ void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid)
TALLOC_FREE(vuser);
}
-/****************************************************************************
- Invalidate all vuid entries for this process.
-****************************************************************************/
-
-void invalidate_all_vuids(struct smbd_server_connection *sconn)
-{
- smbXsrv_session_logoff_all(sconn->conn);
-}
-
int register_homes_share(const char *username)
{
int result;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index ea862713ae..3efbe8f447 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -693,7 +693,6 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
struct user_struct *get_valid_user_struct(struct smbd_server_connection *sconn,
uint64_t vuid);
void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid);
-void invalidate_all_vuids(struct smbd_server_connection *sconn);
int register_homes_share(const char *username);
/* The following definitions come from smbd/pipes.c */