summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-21 03:34:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-21 03:34:02 +0000
commit6e47dc89a336af2ed779c81e8a18948a2aa71b6c (patch)
tree0d580a759a0cbb0891b34cde4947334db1462bf9 /source3/smbd/password.c
parentafb7d1dc48fa3eab69212c3ffbd51d636c897ec0 (diff)
downloadsamba-6e47dc89a336af2ed779c81e8a18948a2aa71b6c.tar.gz
samba-6e47dc89a336af2ed779c81e8a18948a2aa71b6c.tar.bz2
samba-6e47dc89a336af2ed779c81e8a18948a2aa71b6c.zip
Add some const & static, remove unused functions.
(This used to be commit 993ee671cc11a95d0d0aa6d60883e03bb473290d)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 82c0cef77d..9c67edd255 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -90,29 +90,6 @@ void invalidate_all_vuids(void)
}
/****************************************************************************
-return a validated username
-****************************************************************************/
-char *validated_username(uint16 vuid)
-{
- user_struct *vuser = get_valid_user_struct(vuid);
- if (vuser == NULL)
- return 0;
- return(vuser->user.unix_name);
-}
-
-/****************************************************************************
-return a validated domain
-****************************************************************************/
-char *validated_domain(uint16 vuid)
-{
- user_struct *vuser = get_valid_user_struct(vuid);
- if (vuser == NULL)
- return 0;
- return(vuser->user.domain);
-}
-
-
-/****************************************************************************
Create the SID list for this user.
****************************************************************************/