[Samba] Dos Client Samba. Log level 7

2006-03-16 Thread Maurizio Faccio
The smb.conf
oplocks = No
level2 oplocks = No
include = /etc/samba/smb.conf.%U


here is the include for the user desc1, the DOS machine.

  dos filetime resolution = yes
  use sendfile = no
  log level = 7
  log file = /var/log/samba.log.%U
  max log size = 50
  debug timestamp = yes

I guess that the only information that i obtain is that the client reset the 
connection but i cannot find why
The only that can I try is that with a PIII 700Mhz with an onboard Intel 
ethernet card  (E100B driver), and it works fine.The same machine with a 
Realtek 8139 PCI card fails (RTSND driver)
But i need to use some old Pentium machines, with  only ISA BUS.
Downgrade to Samba 2.x will help?


Here is the log.


  change_to_user: Skipping user change - already user
[2006/03/16 09:50:13, 3] smbd/reply.c:reply_read(2496)
  read fnum=13413 num=89 nread=89
[2006/03/16 09:50:13, 5] lib/util.c:show_msg(454)
[2006/03/16 09:50:13, 5] lib/util.c:show_msg(464)
  size=137
  smb_com=0xa
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=128
  smb_flg2=1
  smb_tid=1
  smb_pid=16791
  smb_uid=100
  smb_mid=0
  smt_wct=5
  smb_vwv[ 0]=   89 (0x59)
  smb_vwv[ 1]=0 (0x0)
  smb_vwv[ 2]=0 (0x0)
  smb_vwv[ 3]=0 (0x0)
  smb_vwv[ 4]=0 (0x0)
  smb_bcc=92

[2006/03/16 09:50:58, 3] smbd/process.c:timeout_processing(1447)
  timeout_processing: End of file from client (client has disconnected).
[2006/03/16 09:50:58, 5] lib/gencache.c:gencache_shutdown(89)
  Closing cache file
[2006/03/16 09:50:58, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2006/03/16 09:50:58, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/03/16 09:50:58, 5] auth/auth_util.c:debug_nt_user_token(433)
  NT user token: (NULL)
[2006/03/16 09:50:58, 5] auth/auth_util.c:debug_unix_user_token(454)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups



Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Dos client samba

2006-03-14 Thread Maurizio Faccio
The last I've tried was the bart network disk BFD v1.0.7. I boot with
EMM386.
The driver i have been using is the NE2000 compatible driver, with a NIC
CNet CN650EPLUS.
I've also tried with MS-Client 3.0, and LANMAN 2.2c, running over CALDERA
DR-DOS, and IBM DOS 5
I run Clipper programs on that share and when the program use hard the
connection, the connection is closed silently.

Thank you

.Maurizio Faccio


- Original Message - 
From: Michael Lueck [EMAIL PROTECTED]
To: samba@lists.samba.org
Sent: Sunday, March 12, 2006 5:44 PM
Subject: [Samba] Re: Dos client samba


 Maurizio Faccio wrote:

  I've upgrade my samba version to the 3.0.21c, and i got the same.
   Suddenly when the DOS program heavily write to the shared disk, the
   connection goes silently down
 
   I've try use sendfile=no, and the same
   [2006/03/11 18:21:59, 1] smbd/service.c:close_cnum(885)
 desc2 (192.168.0.18) closed connection to service datos
 
  Thank you in advance

 All right, I just noticed this thread. We still use the DOS client here.
MS had two, ya know. Of the two, not sure how to tell apart which one we
have, but it is the same one that Bart was using for
 the Bart network boot disk (I'm quite sure). There were some fixes to put
on it from MS beyond what the installer would put on disk.

 I've been using with with Samba at least as long as 3.0.6 range I think.
Yes run latest code, which I see you are there now, but never the issue you
are seeing.

 What NIC do you have, driver version for it, is it the latest?

 If you have a way to either CRC32 or MD5SUM files I would be happy to do
so for the files we have to see you have proper file integrity.

 As well, what does your DOS startup files look like. What DOS version.
Memory management, etc... We run on MS DOS 7 ala Win98 SE DOS files.

 -- 
 Michael Lueck
 Lueck Data Systems
 http://www.lueckdatasystems.com/

 Remove the upper case letters NOSPAM to contact me directly.

 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Trouble cups+samba 3.0.21c

2006-03-13 Thread Maurizio Faccio
I am getting this error in the log.smbd


[2006/03/13 09:46:57, 0] printing/print_cups.c:cups_queue_get(956)
  Unable to get printer status for  - client-error-not-found

TIA

Maurizio




Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Dos client samba

2006-03-11 Thread Maurizio Faccio


I've upgrade my samba version to the 3.0.21c, and i got the same.
 Suddenly when the DOS program heavily write to the shared disk, the
 connection goes silently down

 I've try use sendfile=no, and the same
 [2006/03/11 18:21:59, 1] smbd/service.c:close_cnum(885)
   desc2 (192.168.0.18) closed connection to service datos

Thank you in advance

Maurizio Faccio


 - Original Message - 
 From: Jeremy Allison [EMAIL PROTECTED]
 To: Maurizio Faccio [EMAIL PROTECTED]
 Cc: Jeremy Allison [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, March 08, 2006 12:50 PM
 Subject: Re: [Samba] Dos client samba


  On Wed, Mar 08, 2006 at 09:35:05AM -0300, Maurizio Faccio wrote:
   I try the same application in the DOS box against a WIN9x share and It
 runs
   ok. So I discard that the trouble is related to something in the DOS
 Client
   software and the application that i am running.
   As I see, other people is having trouble with DOS clients.
   And changing sendfile to no, I start to have trouble on a DOS Clipper
   application that runs over a winnt machine
  
   I am running Samba version 3.0.10
 
  That's a very old version. There have been several changes w.r.t.
  handling DOS clients between that version and the current 3.0.21c.
  I'd suggest an upgrade.
 
  Jeremy
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Trouble making Samba-3.0.21c on Ubuntu

2006-03-10 Thread Maurizio Faccio


When I make, I obtain the following errors 

Using FLAGS =  -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/usr/local/src/samba-3.0.
21c/source/include -I/usr/local/src/samba-3.0.21c/source/ubiqx -I/usr/local/src/
samba-3.0.21c/source/tdb  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GN
U_SOURCE -I/usr/local/src/samba-3.0.21c/source -D_SAMBA_BUILD_
  LIBS = -lcrypt -lresolv -lnsl -ldl
  LDSHFLAGS = -shared -Wl,-Bsymbolic  -Wl,-rpath,/usr/lib
  LDFLAGS = -Wl,-rpath,/usr/lib
  PIE_CFLAGS =
  PIE_LDFLAGS =
Linking bin/smbd
printing/print_cups.o(.text+0x20b): In function `cups_cache_reload':
: undefined reference to `cupsLangDefault'
printing/print_cups.o(.text+0x75d): In function `cups_job_delete':
: undefined reference to `cupsLangDefault'
printing/print_cups.o(.text+0xa9d): In function `cups_job_pause':
: undefined reference to `cupsLangDefault'
printing/print_cups.o(.text+0xddd): In function `cups_job_resume':
: undefined reference to `cupsLangDefault'
printing/print_cups.o(.text+0x113a): In function `cups_job_submit':
: undefined reference to `cupsLangDefault'
printing/print_cups.o(.text+0x16c8): more undefined references to `cupsLangDefau
lt' follow
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1


Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591

Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dos client samba

2006-03-08 Thread Maurizio Faccio
I try the same application in the DOS box against a WIN9x share and It runs
ok. So I discard that the trouble is related to something in the DOS Client
software and the application that i am running.
As I see, other people is having trouble with DOS clients.
And changing sendfile to no, I start to have trouble on a DOS Clipper
application that runs over a winnt machine

I am running Samba version 3.0.10


Thanks


- Original Message - 
From: Maurizio Faccio [EMAIL PROTECTED]
To: Jeremy Allison [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 2:52 PM
Subject: Re: [Samba] Dos client samba


 I change the use sendfile=no, but I still obtain the same error
 And the log.smbd only says. As I tell in a previous mail, sometimes the
 connection was reset by the client, but more often it is only disconnect.
I
 guess that there is a trouble in the client but I cannot guess what.

 [2006/03/07 13:45:44, 1] smbd/service.c:close_cnum(836)
   desc2 (192.168.0.18) closed connection to service datos


 I will try the same process to run in the DOS box  over a win98 share, to
 see if it is a trouble with the client soft.

 Thank you

 Maurizio

 - Original Message - 
 From: Jeremy Allison [EMAIL PROTECTED]
 To: Maurizio Faccio [EMAIL PROTECTED]
 Cc: Jeremy Allison [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, March 06, 2006 6:51 PM
 Subject: Re: [Samba] Dos client samba


  On Mon, Mar 06, 2006 at 07:06:55PM -0300, Maurizio Faccio wrote:
   I run an application made in Clipper. The program says Write error, or
   things like that.
   In the logs
   Here I post some of the log errors . Desc2 is the DOS client.
   [2006/03/06 15:52:10, 0] lib/util_sock.c:read_socket_data(384)
 read_socket_data: recv failure for 4. Error = Connection reset by
peer
   [2006/03/06 15:52:10, 1] smbd/service.c:close_cnum(836)
 desc2 (192.168.0.18) closed connection to service datos
 
  That's the server noticing the client has closed the connection
  on us (Error = Connection reset by peer - peer == client).
 
  We need to know why the client is doing this. Try setting sendfile
  to no, as DOS clients might not be able to cope with the data
  rate from a modern kernel.
 
  Jeremy.
 

 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dos client samba

2006-03-07 Thread Maurizio Faccio
I change the use sendfile=no, but I still obtain the same error
And the log.smbd only says. As I tell in a previous mail, sometimes the
connection was reset by the client, but more often it is only disconnect. I
guess that there is a trouble in the client but I cannot guess what.

[2006/03/07 13:45:44, 1] smbd/service.c:close_cnum(836)
  desc2 (192.168.0.18) closed connection to service datos


I will try the same process to run in the DOS box  over a win98 share, to
see if it is a trouble with the client soft.

Thank you

Maurizio

- Original Message - 
From: Jeremy Allison [EMAIL PROTECTED]
To: Maurizio Faccio [EMAIL PROTECTED]
Cc: Jeremy Allison [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 06, 2006 6:51 PM
Subject: Re: [Samba] Dos client samba


 On Mon, Mar 06, 2006 at 07:06:55PM -0300, Maurizio Faccio wrote:
  I run an application made in Clipper. The program says Write error, or
  things like that.
  In the logs
  Here I post some of the log errors . Desc2 is the DOS client.
  [2006/03/06 15:52:10, 0] lib/util_sock.c:read_socket_data(384)
read_socket_data: recv failure for 4. Error = Connection reset by peer
  [2006/03/06 15:52:10, 1] smbd/service.c:close_cnum(836)
desc2 (192.168.0.18) closed connection to service datos

 That's the server noticing the client has closed the connection
 on us (Error = Connection reset by peer - peer == client).

 We need to know why the client is doing this. Try setting sendfile
 to no, as DOS clients might not be able to cope with the data
 rate from a modern kernel.

 Jeremy.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Dos client samba

2006-03-06 Thread Maurizio Faccio
I am trying to put some DOS clients to access a samba server.
I try to use the Microsoft Network Client 3.0 and the Microsoft Lan Manager. 
With them I can log into the samba server, and use the conection as normal.
But when i use it with a high data transfer, somebody, the client or the samba 
server disconnect. 
Somebody have any experience with dos clients?

Thank you in advance

Maurizio Faccio




Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dos client samba

2006-03-06 Thread Maurizio Faccio
I run an application made in Clipper. The program says Write error, or
things like that.
In the logs
Here I post some of the log errors . Desc2 is the DOS client.
[2006/03/06 15:52:10, 0] lib/util_sock.c:read_socket_data(384)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2006/03/06 15:52:10, 1] smbd/service.c:close_cnum(836)
  desc2 (192.168.0.18) closed connection to service datos

Sometimes it close silently

[2006/03/06 18:18:36, 1] smbd/service.c:close_cnum(836)
  desc2 (192.168.0.18) closed connection to service datos

Thanks

- Original Message - 
From: Jeremy Allison [EMAIL PROTECTED]
To: Maurizio Faccio [EMAIL PROTECTED]
Cc: samba@lists.samba.org
Sent: Monday, March 06, 2006 5:54 PM
Subject: Re: [Samba] Dos client samba


 On Mon, Mar 06, 2006 at 06:18:29PM -0300, Maurizio Faccio wrote:
  I am trying to put some DOS clients to access a samba server.
  I try to use the Microsoft Network Client 3.0 and the Microsoft Lan
Manager.
  With them I can log into the samba server, and use the conection as
normal.
  But when i use it with a high data transfer, somebody, the client or the
samba server disconnect.
  Somebody have any experience with dos clients?

 What exact problems are you seeing ? What do the logs say ?

 Jeremy.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Blocked...!!!

2006-02-25 Thread Maurizio Faccio
Hello everyone, I have a really big trouble with mi samba server...
I have some programs that works under DOS (they are made by clipper) and they 
are all on the share, but I can only acces with one user at a time to the 
program... and when i quit the program it pass a while until i can connect 
again...
I'm becoming mad... please help me...

At first i think that was a problem in the permisions so i give rwx to all !!! 
but it didn't work... the same happen...
then i tried something whith oplocks... but nothing happen...

Thankz

Ing. Maurizio Faccio
Merbe Ltda.
Av. Italia 2348. 
Paysandú, Uruguay
Tel : 598-72-29043 Int. 130
Fax: 598-72-22591
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How to see files in use in samba, not swat, not smbstatus

2006-02-06 Thread Maurizio Faccio
Which tool can I use to see the files in use in samba
The information that shows me smbstatus, or the swat, do no renew.
Can I see wich files are locked by one user, and which user is locking it?

Maurizio
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How to remotely disconect user from samba

2006-02-06 Thread Maurizio Faccio
I need to disconnect from the server a user that is using files from the
samba server to upgrade that files. How can i remotely disconnect that
conection to the server

Thank you in advance

Maurizio

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Trouble with smbstatus

2006-02-02 Thread Maurizio Faccio
I am migrating a Novell 3.12 server to linux, I use samba to share the server 
disk to Win machines
I am searching for a tool like the smbstatus that show me which files are in 
use and who is using it. I saw smbstatus, but the information that it tells me 
do not renew so often, I close the files that i am using but the smbstatus 
still tell me that the files are open. I am looking a tool like the 3.12 
monitor.
Another tool that i am searching is one to restore files that the win machines 
(DOS programs) delete on the server. I Novell I had the Salvage. 

Thank you in advance

Maurizio 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba