From 57e2718e097bba57c96632064956f6ce048d8f28 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 21 Aug 2007 01:43:22 +0000 Subject: 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) --- source3/lib/substitute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') 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); } -- cgit