summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-16 06:17:45 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-16 06:17:45 +0000
commit096550d86cfa7e73bd819417c5721c88c35999c5 (patch)
tree42d2ca361c1927cb752312813a917e7626ca9ecc /source3/smbd
parent853b5c87ec5ac499a8320edb7b3bc2672a5a49e4 (diff)
downloadsamba-096550d86cfa7e73bd819417c5721c88c35999c5.tar.gz
samba-096550d86cfa7e73bd819417c5721c88c35999c5.tar.bz2
samba-096550d86cfa7e73bd819417c5721c88c35999c5.zip
don't need to force unicode strings in flg2 anymore
(This used to be commit 899ca6e832c72ea68b0ac76205d18a80c87b34d9)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 2f2c225183..0489e23040 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1217,8 +1217,8 @@ static int call_trans2qfsinfo(connection_struct *conn,
len = srvstr_push(outbuf, pdata+18, vname, -1, STR_TERMINATE|STR_CONVERT);
SIVAL(pdata,12,len);
data_len = 18+len;
- DEBUG(5,("call_trans2qfsinfo : SMB_QUERY_FS_VOLUME_INFO namelen = %d, vol = %s\n",
- (int)strlen(vname),vname));
+ DEBUG(5,("call_trans2qfsinfo : SMB_QUERY_FS_VOLUME_INFO namelen = %d, vol=%s serv=%s\n",
+ (int)strlen(vname),vname, lp_servicename(snum)));
break;
case SMB_QUERY_FS_SIZE_INFO:
{
@@ -2187,8 +2187,7 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf,
if((reply_size = setup_dfs_referral(pathname,max_referral_level,ppdata)) < 0)
return(ERROR(ERRDOS,ERRbadfile));
- SSVAL(outbuf,smb_flg2,SVAL(outbuf,smb_flg2) | FLAGS2_UNICODE_STRINGS |
- FLAGS2_DFS_PATHNAMES);
+ SSVAL(outbuf,smb_flg2,SVAL(outbuf,smb_flg2) | FLAGS2_DFS_PATHNAMES);
send_trans2_replies(outbuf,bufsize,0,0,*ppdata,reply_size);
return(-1);