summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-30 19:35:43 +0000
committerJeremy Allison <jra@samba.org>2000-10-30 19:35:43 +0000
commitff6f0c1a3bd50463228cb6bdcf0018cf6ab4270f (patch)
tree0f3d7844956c03bc106eacda1af81d00379b1e97 /source3
parent80dcdd1cf4a75fd8709c8fb8a36fc01ffaa86f9c (diff)
downloadsamba-ff6f0c1a3bd50463228cb6bdcf0018cf6ab4270f.tar.gz
samba-ff6f0c1a3bd50463228cb6bdcf0018cf6ab4270f.tar.bz2
samba-ff6f0c1a3bd50463228cb6bdcf0018cf6ab4270f.zip
Call standard_sub_advanced() after lp_logon_XX() calls.
Jeremy. (This used to be commit d5be2334d4fb007e39565b771cbe68e338a7fe68)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index fa6224b596..3b50960468 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -2474,6 +2474,7 @@ static BOOL api_RNetUserGetInfo(connection_struct *conn,uint16 vuid, char *param
SIVALS(p,usri11_password_age,-1); /* password age */
SIVAL(p,usri11_homedir,PTR_DIFF(p2,p)); /* home dir */
pstrcpy(p2, lp_logon_home());
+ standard_sub_conn(conn, p2);
p2 = skip_string(p2,1);
SIVAL(p,usri11_parms,PTR_DIFF(p2,p)); /* parms */
pstrcpy(p2,"");
@@ -2510,6 +2511,7 @@ static BOOL api_RNetUserGetInfo(connection_struct *conn,uint16 vuid, char *param
conn->admin_user?USER_PRIV_ADMIN:USER_PRIV_USER);
SIVAL(p,44,PTR_DIFF(p2,*rdata)); /* home dir */
pstrcpy(p2,lp_logon_home());
+ standard_sub_conn(conn, p2);
p2 = skip_string(p2,1);
SIVAL(p,48,PTR_DIFF(p2,*rdata)); /* comment */
*p2++ = 0;