From 95ce704fe6aab58ac68940ee3a25fb8e0796caba Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 2 Jan 2003 20:43:17 +0000 Subject: pstring/fstring missmatches found by Andrew Bartlett. Jeremy. (This used to be commit 666861b1e263370f6ba8fa4108842f52a81d8b83) --- source3/smbd/sesssetup.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/smbd/sesssetup.c') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 9d708bd5a0..f8e8e017e0 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -609,8 +609,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, DATA_BLOB lm_resp; DATA_BLOB nt_resp; DATA_BLOB plaintext_password; - pstring user; - pstring sub_user; /* Sainitised username for substituion */ + fstring user; + fstring sub_user; /* Sainitised username for substituion */ fstring domain; fstring native_os; fstring native_lanman; @@ -756,15 +756,15 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, DEBUG(0,("reply_sesssetup_and_X: Rejecting attempt at 'normal' session setup after negotiating spnego.\n")); return ERROR_NT(NT_STATUS_UNSUCCESSFUL); } - pstrcpy(sub_user, user); + fstrcpy(sub_user, user); /* setup the string used by %U */ sub_set_smb_name(user); } else { - pstrcpy(sub_user, lp_guestaccount()); + fstrcpy(sub_user, lp_guestaccount()); } - pstrcpy(current_user_info.smb_name,sub_user); + fstrcpy(current_user_info.smb_name,sub_user); reload_services(True); -- cgit