[Samba] DOS programs unable to create files on Samba 2.2.7a

sistemas sistemas at elbolson.gov.ar
Thu Jun 5 14:01:50 GMT 2003


Did you try disabling oplocks? The error messages aren't the same, but it
worked for an old DOS application I have.

Good luck!
LauZ

----- Original Message -----
From: "Arne R. van der Heyde" <vanderHeydeAR at summitinstruments.com>
To: <samba at samba.org>
Sent: Wednesday, June 04, 2003 7:12 PM
Subject: [Samba] DOS programs unable to create files on Samba 2.2.7a


> We have a few old DOS programs which, when run under Windows 2000 is a
> DOS full screen session are unable to write files on our Samba server.
> These programs (the "brief" editor, and the "tango" CAD package) are
> able to write to local files on the Windows 2000 system. I set Samba
> debug to 10 and found the following reported when Tango tried to write a
> file:
>
> ******************************
>
>    is_in_path: dwg/TANGO/950124/950124PX.INI
> [2003/06/04 16:36:17, 8] lib/util.c:is_in_path(1179)
>    is_in_path: match not found
> [2003/06/04 16:36:17, 3] lib/util.c:unix_clean_name(387)
>    unix_clean_name [dwg/TANGO/950124/950124PX.INI]
> [2003/06/04 16:36:17, 4] smbd/open.c:open_file_shared1(942)
>    calling open_file with flags=0x1 flags2=0x0 mode=0764
> [2003/06/04 16:36:17, 10] smbd/open.c:fd_open(53)
>    fd_open: name dwg/TANGO/950124/950124PX.INI, flags = 01 mode = 0764,
> fd = -1. No such file or directory
> [2003/06/04 16:36:17, 3] smbd/open.c:open_file(176)
>    Error opening file dwg/TANGO/950124/950124PX.INI (Operation not
> supported) (local_flags=1) (flags=1)
> [2003/06/04 16:36:17, 5] smbd/files.c:file_free(346)
>    freed files structure 5834 (0 used)
> [2003/06/04 16:36:17, 3] smbd/error.c:error_packet(94)
>    error string = Operation not supported
> [2003/06/04 16:36:17, 3] smbd/error.c:error_packet(113)
>    error packet at smbd/nttrans.c(889) cmd=162 (SMBntcreateX)
> NT_STATUS_ACCESS_DENIED
> [2003/06/04 16:36:17, 5] lib/util.c:show_msg(275)
>    size=35
>    smb_com=0xa2
>    smb_rcls=34
>    smb_reh=0
>    smb_err=49152
>    smb_flg=136
>    smb_flg2=16385
> [2003/06/04 16:36:17, 5] lib/util.c:show_msg(281)
>    smb_tid=12
>    smb_pid=852
>    smb_uid=102
>    smb_mid=62465
>    smt_wct=0
> [2003/06/04 16:36:17, 5] lib/util.c:show_msg(291)
>    smb_bcc=0
> [2003/06/04 16:36:17, 6] lib/util_sock.c:write_socket(518)
>    write_socket(12,39)
> [2003/06/04 16:36:17, 6] lib/util_sock.c:write_socket(521)
>    write_socket(12,39) wrote 39
>
> *************************
>
> As you can see, "Operation not supported" is returned when Samba tried
> to create the file. Unfortunately this does not give me much of a clue
> as to why the Operation is not supported. I suspect that the mode/flags
> may provide a clue but I have not been able to determine what they mean
> in this function. Hopefully someone familiar with their meaning will be
> able to tell me why this file create was rejected. Also, is there a
> Samba setting which would allow me to work around this and allow these
> old DOS programs write to the Samba server?
>
> Arne R. van der Heyde
> vanderHeydeAR at summitinstruments.com
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list