I've attached a tar file with two Wireshark dumps, as I couldn't work out how to attach two files to a comment here directly.
If more information is required, please let me know.
Server: DNS-323, samba 3.0.24 Client: Ubuntu 8.10, kernel 2.6.27-7-generic
with standard settings: -----------------------
Wireshark dump file: cifs.no-options.filtered.dump
mgjv# cat /proc/fs/cifs/LinuxExtensionsEnabled 1 mgjv# mount -t cifs -o rw,user=dummy,password=testme //dns-323/Shared /mnt/dummy mgjv# ls -l /mnt/dummy/Temp/testfile ls: cannot access /mnt/dummy/Temp/testfile: No such file or directory mgjv# touch /mnt/dummy/Temp/testfile touch: setting times of `/mnt/dummy/Temp/testfile': Not a directory mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwxrwx 1 507 502 0 2008-11-20 10:15 /mnt/dummy/Temp/testfile mgjv# echo "" > /mnt/dummy/Temp/testfile zsh: not a directory: /mnt/dummy/Temp/testfile mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwxrwx 1 507 502 0 2008-11-20 10:15 /mnt/dummy/Temp/testfile mgjv# rm /mnt/dummy/Temp/testfile mgjv# echo "" > /mnt/dummy/Temp/testfile mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwxrwx 1 507 502 1 2008-11-20 10:16 /mnt/dummy/Temp/testfile mgjv# rm /mnt/dummy/Temp/testfile mgjv# umount /mnt/dummy
with nounix mount option ------------------------
Wireshark dump file: cifs.nounix.filtered.dump
The mode when the file has been created doesn't look right. The behaviour is the same when /proc/fs/cifs/LinuxExtensionsEnabled is set to 0.
mgjv# cat /proc/fs/cifs/LinuxExtensionsEnabled 1 mgjv# mount -t cifs -o rw,user=dummy,password=testme,nounix //dns-323/Shared /mnt/dummy mgjv# ls -l /mnt/dummy/Temp/testfile ls: cannot access /mnt/dummy/Temp/testfile: No such file or directory mgjv# touch /mnt/dummy/Temp/testfile mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwSrwx 1 root root 0 2008-11-20 10:22 /mnt/dummy/Temp/testfile mgjv# echo "" > /mnt/dummy/Temp/testfile zsh: not a directory: /mnt/dummy/Temp/testfile mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwSrwx 1 root root 0 2008-11-20 10:22 /mnt/dummy/Temp/testfile mgjv# rm /mnt/dummy/Temp/testfile mgjv# echo "" > /mnt/dummy/Temp/testfile mgjv# ls -l /mnt/dummy/Temp/testfile -rwxrwSrwx 1 root root 1 2008-11-20 10:18 /mnt/dummy/Temp/testfile mgjv# rm /mnt/dummy/Temp/testfile mgjv# umount /mnt/dummy
I've attached a tar file with two Wireshark dumps, as I couldn't work out how to
attach two files to a comment here directly.
If more information is required, please let me know.
Server: DNS-323, samba 3.0.24
Client: Ubuntu 8.10, kernel 2.6.27-7-generic
with standard settings: ------- ------- --
-------
Wireshark dump file: cifs.no- options. filtered. dump
mgjv# cat /proc/fs/ cifs/LinuxExten sionsEnabled dummy,password= testme //dns-323/Shared /mnt/dummy Temp/testfile Temp/testfile: No such file or directory Temp/testfile Temp/testfile' : Not a directory Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile
1
mgjv# mount -t cifs -o rw,user=
mgjv# ls -l /mnt/dummy/
ls: cannot access /mnt/dummy/
mgjv# touch /mnt/dummy/
touch: setting times of `/mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwxrwx 1 507 502 0 2008-11-20 10:15 /mnt/dummy/
mgjv# echo "" > /mnt/dummy/
zsh: not a directory: /mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwxrwx 1 507 502 0 2008-11-20 10:15 /mnt/dummy/
mgjv# rm /mnt/dummy/
mgjv# echo "" > /mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwxrwx 1 507 502 1 2008-11-20 10:16 /mnt/dummy/
mgjv# rm /mnt/dummy/
mgjv# umount /mnt/dummy
with nounix mount option ------- ------- ---
-------
Wireshark dump file: cifs.nounix. filtered. dump
The mode when the file has been created doesn't look right. cifs/LinuxExten sionsEnabled is set to 0.
The behaviour is the same when /proc/fs/
mgjv# cat /proc/fs/ cifs/LinuxExten sionsEnabled dummy,password= testme, nounix //dns-323/Shared /mnt/dummy Temp/testfile Temp/testfile: No such file or directory Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile Temp/testfile
1
mgjv# mount -t cifs -o rw,user=
mgjv# ls -l /mnt/dummy/
ls: cannot access /mnt/dummy/
mgjv# touch /mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwSrwx 1 root root 0 2008-11-20 10:22 /mnt/dummy/
mgjv# echo "" > /mnt/dummy/
zsh: not a directory: /mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwSrwx 1 root root 0 2008-11-20 10:22 /mnt/dummy/
mgjv# rm /mnt/dummy/
mgjv# echo "" > /mnt/dummy/
mgjv# ls -l /mnt/dummy/
-rwxrwSrwx 1 root root 1 2008-11-20 10:18 /mnt/dummy/
mgjv# rm /mnt/dummy/
mgjv# umount /mnt/dummy