Hello to all,
I use SAMBA 1.9.18p10 on a DEC UNIX 4.0d Server.
My clients are Windows NT 3.51 and 4.0 Workstations.
Everytime when a Client tries to open a *.xls file on a share it gots an
error message
that the file cannot be opened.
An thats what happening in the logfile:
The user (pokorny) tries to connect to a share called "wwwdaten" which
is physically located on "/www/data/out":
> 1998/10/21 12:04:28 tconX service=wwwdaten user=pokorny cnum=5
> ......
this seems to be allright, than the user tries to open a file called
"etoto_93.xls"
> chdir to /www/data/out
> unix_clean_name [./etoto_93.xls]
> is_in_path: etoto_93.xls
> is_in_path: no name list.
> unix_clean_name [etoto_93.xls]
> dos_mode: 5 etoto_93.xls
> is_in_path: etoto_93.xls
> is_in_path: no name list.
> dos_mode returning a
> .....
does anyone know why dos_mode is returning "a" ?
> checking etoto_93.xls for 8.3
> 1998/10/21 12:04:28 getatr name=etoto_93.xls mode=32 size=15360
> ........
> get_share_modes Read share mode 0x42 pid=18560
> get_share_modes: file with dev 442747123 inode 4206 -> 1 entries
> calling open_file with flags=0x2 flags2=0x0 mode=0777
> Re-used file_fd_struct 4, dev = 1a63c8f3, inode = 106e, ref_count = 2
> 1998/10/21 12:04:28 pokorny opened file etoto_93.xls read=Yes
write=Yes (numopen=1 fnum=91)> ...
fine ! So the file seems to be opend now
> shm_alloc : allocated 24 bytes at offset 688
> set_share_mode: Created share entry for etoto_93.xls with mode 0x42
pid=18560> dos_mode: 5 etoto_93.xls
> is_in_path: etoto_93.xls
> is_in_path: no name list.
> dos_mode returning a
> ......
> [000] 00 65 74 16 00 03 00 05 00 04 01 00 00 00 00 5C .et.....
.......\> [010] 45 54 4F 54 4F 5F 39 33 2E 58 4C 53 2E 69 6E 32 ETOTO_93
.XLS.in2> [020] 00 .
> switch message SMBtrans2 (pid 18560)
> chdir to /usr/local/samba
> unbecome_user now uid=(0,0) gid=(0,0)
> 1998/10/21 12:04:28 error packet at line 5076 cmd=50 (SMBtrans2)
eclass=2 ecode=5
Whats happening now ? Why is the directory changed to
"/usr/local/samba"
?
Why is the uid changed to root ?
a few lines later:
> [000] 00 5C 5C 57 57 57 49 4E 54 5C 57 57 57 44 41 54 .\\WWWIN
T\WWWDAT> [010] 45 4E 00 41 3A 00 EN.A:.
> switch message SMBtconX (pid 18560)
> Got device type A:
Has this something to do with the dos_mode ? I am shure it a harddisk
not a floppy !
> Trying username wwwdateN
> 1998/10/21 12:04:28 invalid username/password for wwwdaten
> 1998/10/21 12:04:28 error packet at line 171 cmd=117 (SMBtconX)
eclass=2 ecode=2> error string = Invalid argument
Why is SAMBA now trying "wwwdateN" as username ? Its the name of the
share !
Can anyone help me with that problem ?
Thanks
Martin
--
Martin Pokorny, Managerr Internet-Technologies
Austrian Lotteries Inc.
A-1038 Wien, Rennweg 44
Tel.: +43-1-79070 /5470 Fax: +43-1-79070 /5010