summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-08 02:49:30 +0000
committerJeremy Allison <jra@samba.org>2001-06-08 02:49:30 +0000
commit79ca1f75bb98bd54feee7f2ad0fcfa36d017b92e (patch)
tree7803aee11be921d13a6b6869e9cf52b55625dbe1 /source3
parent87b5c377073c1ee4071aee02ef5f598ad850a92b (diff)
downloadsamba-79ca1f75bb98bd54feee7f2ad0fcfa36d017b92e.tar.gz
samba-79ca1f75bb98bd54feee7f2ad0fcfa36d017b92e.tar.bz2
samba-79ca1f75bb98bd54feee7f2ad0fcfa36d017b92e.zip
Correctly make max pathlength 255.
Jeremy. (This used to be commit 30cffea8fa813a7448648b496a19e751441e436e)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index be130247c0..7b2167b6ca 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1196,7 +1196,7 @@ static int call_trans2qfsinfo(connection_struct *conn,
SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
FILE_DEVICE_IS_MOUNTED|
(lp_nt_acl_support() ? FILE_PERSISTENT_ACLS : 0)); /* FS ATTRIBUTES */
- SIVAL(pdata,4,128); /* Max filename component length */
+ SIVAL(pdata,4,255); /* Max filename component length */
len = srvstr_push(outbuf, pdata+12, fstype, -1, STR_TERMINATE|STR_CONVERT);
SIVAL(pdata,8,len);
data_len = 12 + len;