1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

Remove dead code now vuser can no longer be NULL.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Jeremy Allison
2012-12-20 11:54:07 -08:00
committed by Andrew Bartlett
parent 0a09ffd188
commit 2e2f46433c

View File

@ -299,14 +299,6 @@ bool change_to_user(connection_struct *conn, uint64_t vuid)
}
session_info = vuser->session_info;
if (!conn->force_user && vuser == NULL) {
DEBUG(2,("Invalid vuid used %llu in accessing share %s.\n",
(unsigned long long)vuid,
lp_servicename(talloc_tos(), snum)));
return False;
}
return change_to_user_internal(conn, session_info, vuid);
}