summaryrefslogtreecommitdiff
path: root/source3/lib/substitute.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-08-21 01:43:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:08 -0500
commit57e2718e097bba57c96632064956f6ce048d8f28 (patch)
tree87afa5d9f5602334409b989cf122529a58fc0b20 /source3/lib/substitute.c
parentb0b080799c542d1314870dcbfebd8e84d8002392 (diff)
downloadsamba-57e2718e097bba57c96632064956f6ce048d8f28.tar.gz
samba-57e2718e097bba57c96632064956f6ce048d8f28.tar.bz2
samba-57e2718e097bba57c96632064956f6ce048d8f28.zip
r24589: Refactor our vuid code so that we keep the same
vuid that was allocated whilst the connection is being constructed and after the connection has been set up. This is what Windows does and at least one client (and HP printer) depends on this behaviour. As it depends on the req struct not yet ported to SAMBA_3_2_0 (Volker, hint hint.... :-) I am not yet adding this to that branch, but will investigate that tomorrow. Jeremy. (This used to be commit a54f2805df92c67e74a6764568eedebe394fd500)
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 a20ea64143..64b343fabb 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -154,7 +154,7 @@ void set_current_user_info(const userdom_struct *pcui)
{
current_user_info = *pcui;
/* The following is safe as current_user_info.smb_name
- * has already been sanitised in register_vuid. */
+ * has already been sanitised in register_existing_vuid. */
fstrcpy(smb_user_name, current_user_info.smb_name);
}