From fb556e14f3b47d5a1f465589084e8b30d84af8ca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 24 Oct 1998 08:08:05 +0000 Subject: volker was concerned about unique inode numbers and smbsh. This set of changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95) --- source3/smbd/trans2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 44e9d499e2..f0bd458798 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1432,6 +1432,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn, CVAL(pdata,20) = 0; CVAL(pdata,21) = (mode&aDIR)?1:0; pdata += 24; + SINO_T(pdata,0,(SMB_INO_T)sbuf.st_ino); pdata += 8; /* index number */ pdata += 4; /* EA info */ if (mode & aRONLY) -- cgit