No subject
Wed Oct 20 02:45:58 MDT 2010
followed by the error message.
copy fails.
This is a new installation where files are rsynched from another server
running CentOs4.8.
The other servers that receive these files are running CentOS4.8 ext3 for
the file system and smb version 3.0.28.-0.el4.9 and have no problems.
Also, my win7 system has no problems either.
This is a guest acount with no password. The guest account does have an
account and the file has appropriate guest permissions the the same group
ownership. file permissions are rw-r--r--
Samba configuration is like (I know its not secure, I'll worry about that
later):
workgroup = SOMETHING
server string = SOMETHING
netbios name = SOMETHING Else
netbios aliases = another name for something else
security = share
passdb backend = smbpasswd
os level = 65
preferred master = yes
guest account = tech
guest ok = yes
null passwords = yes
wide links = yes
wins support = yes
[xx_files]
comment = Test Files
path = /mnt/xx_files
read only = no
create mask = 0774
directory mask = 0755
locking = no
browseable = yes
I noticed in the log.smbd file when the dos client initially connects:
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] lib/privileges.c:get_privileges(63)
get_privileges: No privileges assigned to SID [S-1-22-1-500]
[2010/11/08 19:01:35, 3] lib/privileges.c:get_privileges(63)
get_privileges: No privileges assigned to SID [S-1-22-2-500]
[2010/11/08 19:01:35, 3] lib/privileges.c:get_privileges(63)
get_privileges: No privileges assigned to SID [S-1-5-2]
[2010/11/08 19:01:35, 3] lib/privileges.c:get_privileges(63)
get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/uid.c:push_conn_ctx(440)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/uid.c:push_conn_ctx(440)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/uid.c:push_conn_ctx(440)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 3] smbd/service.c:make_connection_snum(879)
Connect path is '/mnt/ae_files' for service [ae_files]
[2010/11/08 19:01:35, 3] smbd/vfs.c:vfs_init_default(96)
Initialising default vfs hooks
[2010/11/08 19:01:35, 3] smbd/vfs.c:vfs_init_custom(130)
Initialising custom vfs hooks from [/[Default VFS]/]
[2010/11/08 19:01:35, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (500, 500) - sec_ctx_stack_ndx = 0
[2010/11/08 19:01:35, 1] smbd/service.c:make_connection_snum(1119)
__ffff_10.20.4.248 (::ffff:10.20.4.248) connect to service ae_files
initially as user tech (uid=500, gid=500) (pid 18556)
And when I type the file I get:
[2010/11/08 19:02:57, 3] smbd/process.c:process_smb(1576)
Transaction 6 of length 98 (0 toread)
[2010/11/08 19:02:57, 3] smbd/process.c:switch_message(1393)
switch message SMBopen (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:02:57, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (500, 500) - sec_ctx_stack_ndx = 0
[2010/11/08 19:02:57, 3] smbd/dosmode.c:unix_mode(124)
unix_mode(utils/fits32/SCRIPTS/GEN_TEST/RELEASED/FITS/FITS.INI) returning
0764
[2010/11/08 19:02:57, 2] smbd/open.c:open_file(551)
tech opened file utils/fits32/SCRIPTS/GEN_TEST/RELEASED/FITS/FITS.INI
read=Yes write=No (numopen=1)
[2010/11/08 19:02:57, 3] smbd/process.c:process_smb(1576)
Transaction 7 of length 52 (0 toread)
[2010/11/08 19:02:57, 3] smbd/process.c:switch_message(1393)
switch message SMBread (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:02:57, 3] smbd/reply.c:reply_read(3193)
read fnum=12835 num=524 nread=524
[2010/11/08 19:02:57, 3] smbd/process.c:process_smb(1576)
Transaction 8 of length 45 (0 toread)
[2010/11/08 19:02:57, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:02:57, 3] smbd/reply.c:reply_close(4380)
close fd=27 fnum=12835 (numopen=1)
[2010/11/08 19:02:57, 3] locking/locking.c:get_share_mode_lock(825)
fill_share_mode_lock failed
[2010/11/08 19:02:57, 2] smbd/close.c:close_normal_file(606)
tech closed file utils/fits32/SCRIPTS/GEN_TEST/RELEASED/FITS/FITS.INI
(numopen=0) NT_STATUS_NOT_FOUND
[2010/11/08 19:02:57, 3] smbd/error.c:error_packet_set(80)
error packet at smbd/reply.c(4399) cmd=4 (SMBclose) eclass=3 ecode=31
I have verified that the file is DOS by using gvim -> File Settings
I would really appreciate any help before I have to rollback to CentOS 4.8
The only the that jumps out at me is:
unix_mode(utils/fits32/SCRIPTS/GEN_TEST/RELEASED/FITS/FITS.INI)
returning 0764
When I type a copied version of the file I get (no unix_mode):
[2010/11/08 19:14:45, 3] smbd/process.c:process_smb(1576)
Transaction 27 of length 77 (0 toread)
[2010/11/08 19:14:45, 3] smbd/process.c:switch_message(1393)
switch message SMBopen (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:14:45, 3] smbd/dosmode.c:unix_mode(124)
unix_mode(utils/fits32/SCRIPTS/PWCKER.INI) returning 0764
[2010/11/08 19:14:45, 3] smbd/error.c:error_packet_set(80)
error packet at smbd/error.c(137) cmd=2 (SMBopen) eclass=1 ecode=2
[2010/11/08 19:14:51, 3] smbd/process.c:process_smb(1576)
Transaction 28 of length 77 (0 toread)
[2010/11/08 19:14:51, 3] smbd/process.c:switch_message(1393)
switch message SMBopen (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:14:51, 3] smbd/dosmode.c:unix_mode(124)
unix_mode(utils/fits32/SCRIPTS/PECKER.INI) returning 0764
[2010/11/08 19:14:51, 2] smbd/open.c:open_file(551)
tech opened file utils/fits32/SCRIPTS/PECKER.INI read=Yes write=No
(numopen=1)
[2010/11/08 19:14:51, 3] smbd/process.c:process_smb(1576)
Transaction 29 of length 52 (0 toread)
[2010/11/08 19:14:51, 3] smbd/process.c:switch_message(1393)
switch message SMBread (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:14:51, 3] smbd/reply.c:reply_read(3193)
read fnum=12838 num=524 nread=524
[2010/11/08 19:14:51, 3] smbd/process.c:process_smb(1576)
Transaction 30 of length 45 (0 toread)
[2010/11/08 19:14:51, 3] smbd/process.c:switch_message(1393)
switch message SMBclose (pid 18559) conn 0x2aef08498fa0
[2010/11/08 19:14:51, 3] smbd/reply.c:reply_close(4380)
close fd=30 fnum=12838 (numopen=1)
[2010/11/08 19:14:51, 2] smbd/close.c:close_normal_file(606)
tech closed file utils/fits32/SCRIPTS/PECKER.INI (numopen=0) NT_STATUS_OK
[2010/11/08 19:14:53, 3] smbd/process.c:process_smb(1576)
Transaction 2712 of length 53 (0 toread)
[2010/11/08 19:14:53, 3] smbd/process.c:switch_message(1393)
switch message SMBecho (pid 18555) conn 0x0
[2010/11/08 19:14:53, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/11/08 19:14:53, 3] smbd/reply.c:reply_echo(4691)
od -c of the file is:
0000000 [ f i t s ] \r \n ; c o m m a n
0000020 d l i n e o p t i o n s t
0000040 r i n g . O n e o r m o
0000060 r e o f t h e f o l l o w
0000100 i n g \r \n ; - a
0000120 u s e a l t e r n a
0000140 t i v e d e t e c t i o n m
0000160 e c h a n s i m \r \n ; - b \t \t
0000200 D i s p l a y h a l f s c r
0000220 e e n r e d b o x o n e
0000240 r r o r \r \n ; - i
0000260 s k i p i n i t i
0000300 a l i z a t i o n \r \n ; - m
0000320 D o n ' t
0000340 i s s u e s e a g a t e S
0000360 M A R T O f f l i n e t o
0000400 h a l t t h e f / w \r \n ;
0000420 - p x x x S e
0000440 t s e a r c h p a t h f o
0000460 r s c r i p t f i l e s \r \n
0000500 ; - r
0000520 D e t e c t A T A P I d e v
0000540 i c e s \r \n ; - t \t \t E n a b
0000560 l e p o w e r b o a r d t
0000600 r i g g e r o n d a t a m
0000620 i s - c o m p a r e \r \n ; - u
0000640 E n a b
0000660 l e U S B s u p p o r t \r \n
0000700 o p t i o n s = - u \r \n ; s c
0000720 r i p t s e a r c h p a t h
0000740 \r \n ; s c r i p t = h : \ \r \n
0000760 ; l o g f i l e p a t h \r
0001000 \n ; l o g = c : \ \r \n
0001014
I would really appreciate any help.
Thanks
Brady Edwards
(720) 684-2984
Seagate Technology
--
Brady Edwards
(720) 684-2984
Seagate Technology
More information about the samba
mailing list