[Samba] Win2k and Samba

Rob Savage samba1 at shaw.ca
Tue Feb 25 06:15:45 GMT 2003


Hello Al,

This works well for me with Win2K and Win98 clients with a .NET Server 2003
domain controller, Redhat 7.2, Samba 2.2.7a.

# Global parameters
[global]
	workgroup = GOLDENCHANCE
	netbios name = DEANNA
	server string = Samba Server
	interfaces = 192.168.1.30/24
	encrypt passwords = Yes
	passwd program = /usr/bin/passwd %u
	password level = 8
	username level = 8
	unix password sync = Yes
	log level = 5
	log file = /var/log/samba/%m.log
	max log size = 75
	name resolve order = wins lmhosts hosts bcast
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	os level = 30
	preferred master = No
	local master = No
	domain master = No
	dns proxy = No
	wins support = yes
	comment = Samba ver. %v
	guest ok = Yes
	printing = lprng
	map system = Yes
	map hidden = Yes
	security = server
	password server = worker

[homes]
	path = /home/%u
	writable = yes
	browseable = no
	comment = Home Directories
	valid users = %U
	guest ok = No
	create mask = 0664
	directory mask = 0775

[Public]
	comment = Public Share
	path = /home/public
	read only = No

[Seti Share]
	path = /seticmd
	comment = Access to state.sah
	guest account = guest1
	wide links = no
	force user = guest1


---
Have an excellent day,

Rob Savage




-----Original Message-----
From: samba-bounces+samba1=shaw.ca at lists.samba.org
[mailto:samba-bounces+samba1=shaw.ca at lists.samba.org]On Behalf Of Al Bean
Sent: February 24, 2003 9:34 PM
To: samba at lists.samba.org
Subject: Re: [Samba] Win2k and Samba

Hi Kurt,


I set "socket options" to the default by removing it and I set case case
sensitive = No.  But that did not help or change the log output.

I also changed the NICs in both boxes just to see if that was the problem
but that did not help.

:(

I'm wondering, can sombody tell me how long it should take to transfer a
10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share
(400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100
BaseT switch?

Also, (if possible) could sombody post thier smb.conf where they are using a
Linux box as a simple file server in a Windows environment (where the linux
box is NOT a PDC)?
That would really help to see if I'm doing something wrong.

Thanks!






>From: Kurt Weiss <input.maillists at kwnet.at>
>To: Al Bean <albean84 at hotmail.com>
>CC: samba at lists.samba.org
>Subject: Re: [Samba] Win2k and Samba
>Date: Mon, 24 Feb 2003 08:18:56 +0100
>
>hi again!
>
>Al Bean schrieb:
>
>>
>>The first few entries are on trying to copy a file from win2k to the linux
>>share.
>>The last few entries are on trying to delete a file on the linux share.
>>
>
>
>>As you can see from the conf file the path to the linux share is "/ark"
>>and I'm copying from the win2k desktop to that linux share so the path is:
>>"C:\Documents and Settings\Administrator\Desktop\"
>>I know the "/ark" path is not deep and I really don't thing the path to
>>the desktop is that deep either.
>
>ok - i believe - it's not that i thought ;-)
>
>>---------------------------
>>[2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436)
>>  read_data: read failure for 19168. Error = Connection reset by peer
>>[2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436)
>>  read_data: read failure for 29388. Error = Connection reset by peer
>>[2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436)
>>  read_data: read failure for 49828. Error = Interrupted system call
>>[2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981)
>>  request_oplock_break: no response received to oplock break request to
>>pid 968 on port 1029 for dev = 303, inode = 140233, fi
>>le_id = 2
>>[2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981)
>>  request_oplock_break: no response received to oplock break request to
>>pid 968 on port 1029 for dev = 303, inode = 140233, fi
>>le_id = 2
>>[2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981)
>>  request_oplock_break: no response received to oplock break request to
>>pid 968 on port 1029 for dev = 303, inode = 140233, fi
>>le_id = 2
>
>what's that? - seems, something is running bad in network communication!
>i'm looking for the errno. (436) -stay tuned
>
>>        encrypt passwords = Yes
>>        obey pam restrictions = Yes
> >        pam password change = Yes
>
>man smb.conf:
>"Note that samba always ignores PAM for authentication in case of "encrypt
>password = yes"
>(samba 2.2.4)
>
>
>>        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
>>SO_RCVBUF=8192
>
>only an idea: won't u play with this to see, which effect it has to your
>error log?
>
>>        local master = No
>>        dns proxy = No
>>        remote announce = 192.168.0.255
>>        remote browse sync = 192.168.0.255
>>        hosts allow = 192.168.0. 127.
>>        case sensitive = Yes
>
>i think, that's dangerous: windows mostly changes case! - try 'no'
>
>
>so i hope it helped
>gk


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus

--
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