Samba Version: 3.4.7
OS: Ubuntu Lucid 10.04
Setup: This samba box is a member of a win2k active directory domain and
functions as a file server. Files/directories shared out utilize file system
acls.
smb.conf portion for share in question:
[Accounting]
comment = Accounting Share
path = /netdrives/accounting
browsable = yes
read only = no
map archive = no
map system = yes
map hidden = yes
inherit acls = no
inherit permissions = no
acl check permissions = True
create mask = 0771
directory mask = 2771
invalid users = @"FOO.EDU+College-Student"
valid users = @"FOO.EDU+accounting"
Attachment: Text export of packet summary from tcpdump covering the problem
occurrence.
Problem:
All sorts of file reads/writes/etc. to any part of this share work fine for
any user with a singular exception. This exception occurs when a very
antiquated piece of DOS based software attempts to write a zip backup file
to the share. The attached tcpdump packet summary shows the error at around
number 1069. It appears that samba responds to a request for information
about the backup file with STATUS_NO_SUCH_FILE, which is, in fact, not true
based on a directory listing via a shell prompt on the samba box. A check of
perms on the file in question shows that they are correct for the operation
being attempted. Ie.
# file: MPLUSWIN.ZIP
# owner: accounting_member
# group: accounting
user::rw-
group::rw-
group:accounting:rw-
mask::rw-
other::---
The puzzling aspect is that each time the file is indeed created, but never
written to.
-rw-rw----+ 1 accounting_member accounting 0 2011-02-21 14:49
MPLUSWIN.ZIP
Note: All other file operations performed by this piece of software on files
stored on this share work absolutely fine.
Any help will be appreciated.
Kind Regards,
Chris
No. Time Source Destination Protocol Info
1033 *REF* 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011
1034 0.000066 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1035 0.000540 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011
1036 0.000600 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1037 0.001046 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, FID: 0x1dc7, Path: \Mp5data\Mp5Backups\Backup 2004-2011
1038 0.001180 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x1dc7
1039 0.001407 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dc7, Query File Internal Info
1040 0.001452 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dc7, QUERY_FILE_INFO
1041 0.001841 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dc7, Query File Standard Info
1042 0.001883 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dc7, QUERY_FILE_INFO
1043 0.002244 192.168.0.XX 192.168.0.YYY SMB Close
Request, FID: 0x1dc7
1044 0.002281 192.168.0.YYY 192.168.0.XX SMB Close
Response, FID: 0x1dc7
1045 0.002701 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011
1046 0.002758 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1047 0.003137 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, FIND_FIRST2, Pattern: \Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP
1048 0.003243 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FIND_FIRST2, Files: MPLUSWIN.ZIP
1049 0.217535 192.168.0.YYY 192.168.0.XX SMB [TCP
Retransmission] Trans2 Response<unknown>
1050 0.218001 192.168.0.XX 192.168.0.YYY TCP
scservp > netbios-ssn [ACK] Seq=53809 Ack=202855 Win=65040 Len=0
1051 2.543763 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP
1052 2.543843 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1053 2.544257 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP
1054 2.544321 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1055 2.544716 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, FID: 0x1dc8, Path: \Mp5data\Mp5Backups\Backup
2004-2011\MPLUSWIN.ZIP
1056 2.544839 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x1dc8
1057 2.545078 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dc8, Query File Internal Info
1058 2.545126 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dc8, QUERY_FILE_INFO
1059 2.545520 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, SET_FILE_INFO, FID: 0x1dc8
1060 2.545584 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dc8, SET_FILE_INFO
1061 2.545914 192.168.0.XX 192.168.0.YYY SMB Close
Request, FID: 0x1dc8
1062 2.545961 192.168.0.YYY 192.168.0.XX SMB Close
Response, FID: 0x1dc8
1063 2.546392 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, FID: 0x1dc9, Path: \Mp5data\Mp5Backups\Backup
2004-2011\MPLUSWIN.ZIP
1064 2.546524 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x1dc9
1065 2.546806 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, SET_FILE_INFO, FID: 0x1dc9
1066 2.546854 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dc9, SET_FILE_INFO
1067 2.547210 192.168.0.XX 192.168.0.YYY SMB Close
Request, FID: 0x1dc9
1068 2.547291 192.168.0.YYY 192.168.0.XX SMB Close
Response, FID: 0x1dc9
1069 2.550424 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path:
\Mp5data\Mp5Backups\Backup 2004-2011
1070 2.550484 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1071 2.550907 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, FIND_FIRST2, Pattern: \Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP
1072 2.551053 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FIND_FIRST2, Error: STATUS_NO_SUCH_FILE
1073 2.551396 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, Path: \Mp5data\Mp5Backups\Backup 2004-2011\MPLUSWIN.ZIP
1074 2.551529 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x0000, Error: STATUS_OBJECT_NAME_NOT_FOUND
1075 2.551822 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, FID: 0x1dcb, Path: \Mp5data\Mp5Backups\Backup
2004-2011\MPLUSWIN.ZIP
1076 2.551992 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x1dcb
1077 2.552516 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dcb, Query File Internal Info
1078 2.552558 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dcb, QUERY_FILE_INFO
1079 2.553025 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \Mp5data\2004-2011
Dataset
1080 2.553079 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1081 2.553530 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \Mp5data\2004-2011
Dataset
1082 2.553583 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, QUERY_PATH_INFO
1083 2.553894 192.168.0.XX 192.168.0.YYY SMB NT
Create AndX Request, FID: 0x1dcd, Path: \Mp5data\2004-2011 Dataset
1084 2.553999 192.168.0.YYY 192.168.0.XX SMB NT
Create AndX Response, FID: 0x1dcd
1085 2.554258 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dcd, Query File Internal Info
1086 2.554300 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dcd, QUERY_FILE_INFO
1087 2.554676 192.168.0.XX 192.168.0.YYY SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1dcd, Query File Standard Info
1088 2.554716 192.168.0.YYY 192.168.0.XX SMB Trans2
Response, FID: 0x1dcd, QUERY_FILE_INFO
1089 2.555086 192.168.0.XX 192.168.0.YYY SMB Close
Request, FID: 0x1dcd
1090 2.555122 192.168.0.YYY 192.168.0.XX SMB Close
Response, FID: 0x1dcd
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba