1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATION

are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>.
Jeremy.
This commit is contained in:
Jeremy Allison -
parent 4fe84f6173
commit a635b6406a

View File

@ -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