summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-02 20:43:17 +0000
committerJeremy Allison <jra@samba.org>2003-01-02 20:43:17 +0000
commit95ce704fe6aab58ac68940ee3a25fb8e0796caba (patch)
tree83b4e39ec84ef99fcac5be729ba567fa6c7380c1
parentf1bebee9554fe0d1616d60a3a4461317ce36189b (diff)
downloadsamba-95ce704fe6aab58ac68940ee3a25fb8e0796caba.tar.gz
samba-95ce704fe6aab58ac68940ee3a25fb8e0796caba.tar.bz2
samba-95ce704fe6aab58ac68940ee3a25fb8e0796caba.zip
pstring/fstring missmatches found by Andrew Bartlett.
Jeremy. (This used to be commit 666861b1e263370f6ba8fa4108842f52a81d8b83)
-rw-r--r--source3/smbd/sesssetup.c10
1 files changed, 5 insertions, 5 deletions
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);