mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Remove current_user_info - not needed.
Jeremy.
This commit is contained in:
parent
321191d5e2
commit
4e6445a072
@ -147,7 +147,7 @@ static char *expand_msdfs_target(TALLOC_CTX *ctx,
|
|||||||
conn->connectpath,
|
conn->connectpath,
|
||||||
conn->server_info->utok.gid,
|
conn->server_info->utok.gid,
|
||||||
conn->server_info->sanitized_username,
|
conn->server_info->sanitized_username,
|
||||||
pdb_get_domain(conn->server_info->sam_account),
|
pdb_get_domain(handle->conn->server_info->sam_account),
|
||||||
targethost);
|
targethost);
|
||||||
|
|
||||||
DEBUG(10, ("Expanded targethost to %s\n", targethost));
|
DEBUG(10, ("Expanded targethost to %s\n", targethost));
|
||||||
|
@ -27,8 +27,6 @@
|
|||||||
|
|
||||||
/* Prototypes */
|
/* Prototypes */
|
||||||
|
|
||||||
extern userdom_struct current_user_info;
|
|
||||||
|
|
||||||
static int vfs_smb_traffic_analyzer_debug_level = DBGC_VFS;
|
static int vfs_smb_traffic_analyzer_debug_level = DBGC_VFS;
|
||||||
|
|
||||||
/* create the timestamp in sqlite compatible format */
|
/* create the timestamp in sqlite compatible format */
|
||||||
@ -187,9 +185,9 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle,
|
|||||||
|
|
||||||
strlcpy(Sender, str, sizeof(Sender));
|
strlcpy(Sender, str, sizeof(Sender));
|
||||||
strlcat(Sender, ",\"", sizeof(Sender));
|
strlcat(Sender, ",\"", sizeof(Sender));
|
||||||
strlcat(Sender, get_current_username(), sizeof(Sender));
|
strlcat(Sender, handle->conn->server_info->sanitized_username, sizeof(Sender));
|
||||||
strlcat(Sender, "\",\"", sizeof(Sender));
|
strlcat(Sender, "\",\"", sizeof(Sender));
|
||||||
strlcat(Sender, current_user_info.domain, sizeof(Sender));
|
strlcat(Sender, pdb_get_domain(handle->conn->server_info->sam_account), sizeof(Sender));
|
||||||
strlcat(Sender, "\",\"", sizeof(Sender));
|
strlcat(Sender, "\",\"", sizeof(Sender));
|
||||||
if (Write)
|
if (Write)
|
||||||
strlcat(Sender, "W", sizeof(Sender));
|
strlcat(Sender, "W", sizeof(Sender));
|
||||||
|
Loading…
Reference in New Issue
Block a user