Windows 2000 RCS 5.7 and Samba 2.0.7
Dilip Patel
dpatel at ati.com
Thu Sep 21 15:29:12 GMT 2000
Hi,
I'm testing Windows 2000 and RCS 5.7 software to see if everything works
properly and ran into this problem. The problem being if I try checking out
a
a rcs file vi samba share that uses NFS (automount) I get a error 'bad file
descriptor' from rcs.
However, if I check out the same file when the share is local to the machine
that samba is running
everything works fine (No NFS/automount).
My test systems are the following :
clients:
Windows NT with RCS 5.7 --- works
Windows 2000 SP1 with RCS 5.7 --- failed
Server:
Solaris 2.6 kernel patch 105181_09
Samba 2.0.7 compile with gcc version 2.8.1 using
./configure \
--prefix=/var/tmp/samba \
--with-automount \
--with-pam
I have run truss to see what was going on and I think with W2K I get and
error with the
system call fcntl.
I have include the truss logs in zip format (sorry for the size):
truss.w2k_local, file is W2K SP1 using the local drive that samba is running
on [w2ktest]
truss.w2k_nfs, file is W2K SP1 using and NFS/automount and FAILS on fcntl (I
think, not sure). [w2knfs]
here are snippets from both files, around where I think the problem happens
------ truss.w2k_nfs --------
20101: getuid() = 0 [1071]
20101: write(4, " [", 1) = 1
20101: write(4, " 2 0 0 0 / 0 9 / 1 8 1".., 19) = 19
20101: write(4, " , 4", 3) = 3
20101: write(4, " ] ", 2) = 2
20101: write(4, " s m b d / u i d . c", 10) = 10
20101: write(4, " :", 1) = 1
20101: write(4, " b e c o m e _ u s e r", 11) = 11
20101: write(4, " ( 1 8 1", 4) = 4
20101: write(4, " )\n", 2) = 2
20101: getuid() = 0 [1071]
20101: write(4, " S k i p p i n g b".., 38) = 38
20101: fcntl(8, F_FREESP64, 0xEFFFF960) Err#13 EACCES
20101: time() = 969300264
20101: getuid() = 0 [1071]
20101: write(4, " [", 1) = 1
20101: write(4, " 2 0 0 0 / 0 9 / 1 8 1".., 19) = 19
20101: write(4, " , 3", 3) = 3
20101: write(4, " ] ", 2) = 2
20101: write(4, " s m b d / e r r o r . c", 12) = 12
20101: write(4, " :", 1) = 1
20101: write(4, " e r r o r _ p a c k e t", 12) = 12
20101: write(4, " ( 1 3 8", 4) = 4
20101: write(4, " )\n", 2) = 2
20101: getuid() = 0 [1071]
20101: write(4, " e r r o r p a c k".., 63) = 63
------- end truss.w2k_nfs ---------
------- truss.w2k_local -----------
20475: getuid() = 0 [1071]
20475: write(4, " [", 1) = 1
20475: write(4, " 2 0 0 0 / 0 9 / 1 8 1".., 19) = 19
20475: write(4, " , 4", 3) = 3
20475: write(4, " ] ", 2) = 2
20475: write(4, " s m b d / u i d . c", 10) = 10
20475: write(4, " :", 1) = 1
20475: write(4, " b e c o m e _ u s e r", 11) = 11
20475: write(4, " ( 1 8 1", 4) = 4
20475: write(4, " )\n", 2) = 2
20475: getuid() = 0 [1071]
20475: write(4, " S k i p p i n g b".., 38) = 38
20475: fcntl(8, F_FREESP64, 0xEFFFF960) = 0
20475: time() = 969304662
20475: getuid() = 0 [1071]
20475: write(4, " [", 1) = 1
20475: write(4, " 2 0 0 0 / 0 9 / 1 8 1".., 19) = 19
20475: write(4, " , 3", 3) = 3
20475: write(4, " ] ", 2) = 2
20475: write(4, " s m b d / r e p l y . c", 12) = 12
20475: write(4, " :", 1) = 1
20475: write(4, " r e p l y _ w r i t e", 11) = 11
20475: write(4, " (", 1) = 1
20475: write(4, " 2 5 3 3", 4) = 4
20475: write(4, " )\n", 2) = 2
20475: getuid() = 0 [1071]
20475: write(4, " w r i t e f n u m".., 32) = 32
--------- end truss.w2k_local ---------
Here is my simple smb.conf file.
# Global parameters
workgroup = ATION01
security = SHARE
use rhosts = Yes
password server = sun0
hosts equiv = /etc/hosts.equiv
max xmit = 8192
deadtime = 10
read size = 8192
default service = reference
admin users = su
max connections = 360
sync always = Yes
mangle case = Yes
delete readonly = yes
preserve case = yes
short preserve case = yes
map archive = no
debug level = 8
dead time = 60
# wide links = no
dont descend = /proc,/dev,/devices
unix password sync = no
socket options = TCP_NODELAY,SO_KEEPALIVE
create mode = 775
directory mode = 775
domain master = no
local master = no
interfaces = 129.9.7.6/16
netbios name = stfs5
name resolve order = hosts bcast
[w2ktest]
path = /local_user/testing_new_samba
revalidate = Yes
write list = @as
read only = No
# NFS/Automount
[w2knfs]
path = /net/sunit2/local_user/testing_new_samba
revalidate = Yes
write list = @as
read only = No
--------
Could you please have look at truss logs and provide me with some feed back.
Also if you need the complete truss logs let me know.
The man page on fcntl indicates that this call only works on some
filesystems,
but what I don't understand is why do things work with Windows NT 4.
Thank you very much,
Unix Admin, Dilip Patel
PS.
I also have the samba logs file with debug level 8 if you need them but the
files are
pretty big.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba
mailing list