diff options
author | Volker Lendecke <vl@samba.org> | 2008-05-08 16:06:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-10 11:17:01 +0200 |
commit | 5bda9a8af02c7889e15e580a5620689aa312a16a (patch) | |
tree | 598d0b811b48bedca3140ac43fad2ec5aa999dcc /source3/modules | |
parent | 66835ba2b70935be226e9049cf82182719ffa4bf (diff) | |
download | samba-5bda9a8af02c7889e15e580a5620689aa312a16a.tar.gz samba-5bda9a8af02c7889e15e580a5620689aa312a16a.tar.bz2 samba-5bda9a8af02c7889e15e580a5620689aa312a16a.zip |
Remove "user" from connection_struct
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_expand_msdfs.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_full_audit.c | 3 | ||||
-rw-r--r-- | source3/modules/vfs_recycle.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c index 62222c48ff..133c5eb28b 100644 --- a/source3/modules/vfs_expand_msdfs.c +++ b/source3/modules/vfs_expand_msdfs.c @@ -145,7 +145,7 @@ static char *expand_msdfs_target(TALLOC_CTX *ctx, targethost = talloc_sub_advanced(ctx, lp_servicename(SNUM(conn)), - conn->user, + conn->server_info->unix_name, conn->connectpath, conn->server_info->gid, get_current_username(), diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 1b44e02375..31069c1669 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -693,7 +693,8 @@ static char *audit_prefix(TALLOC_CTX *ctx, connection_struct *conn) return NULL; } return talloc_sub_advanced(ctx, - lp_servicename(SNUM(conn)), conn->user, + lp_servicename(SNUM(conn)), + conn->server_info->unix_name, conn->connectpath, conn->server_info->gid, get_current_username(), diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c index 27700367e6..abfae78b72 100644 --- a/source3/modules/vfs_recycle.c +++ b/source3/modules/vfs_recycle.c @@ -432,7 +432,7 @@ static int recycle_unlink(vfs_handle_struct *handle, const char *file_name) int rc = -1; repository = talloc_sub_advanced(NULL, lp_servicename(SNUM(conn)), - conn->user, + conn->server_info->unix_name, conn->connectpath, conn->server_info->gid, get_current_username(), |