summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-28 10:16:07 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-28 10:16:07 +0000
commite11d91e20114e03107b67a266e8cda0bc5aa6335 (patch)
tree56f76b2cbae472266268921abfbabedf037fd3cc /source3/nmbd
parent0041b2c46e00b28ae044d461f57fad2263f16d99 (diff)
downloadsamba-e11d91e20114e03107b67a266e8cda0bc5aa6335.tar.gz
samba-e11d91e20114e03107b67a266e8cda0bc5aa6335.tar.bz2
samba-e11d91e20114e03107b67a266e8cda0bc5aa6335.zip
Make this an fstrcat(), as this seems to fix some weird issue with the server
name being truncated... (either way, it's the correct thing to do). Andrew Bartlett (This used to be commit a058960c15944ac5a415307f0b016553ef42e101)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_processlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index 39724921a4..a702fc3015 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -272,8 +272,8 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
pull_ucs2_fstring(asccomp, unicomp);
DEBUG(3,("process_logon_packet: SAMLOGON user %s\n", ascuser));
- fstrcpy(reply_name,"\\\\"); /* Here it wants \\LOGONSERVER. */
- fstrcpy(reply_name+2,my_name);
+ fstrcpy(reply_name, "\\\\"); /* Here it wants \\LOGONSERVER. */
+ fstrcat(reply_name, my_name);
DEBUG(3,("process_logon_packet: SAMLOGON request from %s(%s) for %s, returning logon svr %s domain %s code %x token=%x\n",
asccomp,inet_ntoa(p->ip), ascuser, reply_name, lp_workgroup(),