summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-07 22:19:43 +0000
committerJeremy Allison <jra@samba.org>2003-05-07 22:19:43 +0000
commit2746a909b229a6c889ed510defcc53e1b22750c8 (patch)
tree1fd96980230cd67595f6e52cea2003544747c68e /source3/smbd
parent075695ee7f99c70ec9c65aa91579a808939f58ba (diff)
downloadsamba-2746a909b229a6c889ed510defcc53e1b22750c8.tar.gz
samba-2746a909b229a6c889ed510defcc53e1b22750c8.tar.bz2
samba-2746a909b229a6c889ed510defcc53e1b22750c8.zip
SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATION
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit f6d7c279bc8354202f2a9b39fec4a4c8ace368a3)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 0bfb145c10..de598d6713 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1799,6 +1799,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
/* Get the 8.3 name - used if NT SMB was negotiated. */
case SMB_QUERY_FILE_ALT_NAME_INFO:
+ case SMB_FILE_ALTERNATE_NAME_INFORMATION:
{
pstring short_name;
@@ -1935,15 +1936,6 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
}
#endif
- case SMB_FILE_ALTERNATE_NAME_INFORMATION:
- /* Last component of pathname. */
- {
- size_t byte_len = dos_PutUniCode(pdata+4,fname,max_data_bytes,False);
- SIVAL(pdata,0,byte_len);
- data_size = 4 + byte_len;
- break;
- }
-
#if 0
/*
* NT4 server just returns "invalid query" to this - if we try to answer