summaryrefslogtreecommitdiffstats
path: root/source3/lib/substitute.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-08 16:06:42 +0200
committerVolker Lendecke <vl@samba.org>2008-05-10 11:17:01 +0200
commit5bda9a8af02c7889e15e580a5620689aa312a16a (patch)
tree598d0b811b48bedca3140ac43fad2ec5aa999dcc /source3/lib/substitute.c
parent66835ba2b70935be226e9049cf82182719ffa4bf (diff)
downloadsamba-5bda9a8af02c7889e15e580a5620689aa312a16a.tar.gz
samba-5bda9a8af02c7889e15e580a5620689aa312a16a.tar.xz
samba-5bda9a8af02c7889e15e580a5620689aa312a16a.zip
Remove "user" from connection_struct
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r--source3/lib/substitute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 5be5af66376..17bcbcac9d8 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -905,7 +905,7 @@ char *standard_sub_conn(TALLOC_CTX *ctx, connection_struct *conn, const char *st
{
return talloc_sub_advanced(ctx,
lp_servicename(SNUM(conn)),
- conn->user,
+ conn->server_info->unix_name,
conn->connectpath,
conn->server_info->gid,
get_smb_user_name(),