[Samba] different win machines on PDC not accessible at different times

Markus Greil m.greil at pl.gcd-erlangen.de
Wed Jan 7 09:36:38 GMT 2004


We have the same problem:

And we can find that in our logfiles:
------------------
log.smbd-[2004/01/07 07:38:52, 0] lib/util_sock.c:get_peer_addr(948)
log.smbd:  getpeername failed. Error was Transport endpoint is not connected
------------------





John H. wrote:
> I am having nearly the EXACT same problem as
> http://lists.samba.org/archive/samba-technical/2003-December/033315.html
> 
> I have samba 3.0.1-1 rpms and fedora core 1.
> 
> Samba is set as a WINS server, which the win2k machines, who use DHCP from router, are pointed to by the WINS server address specified in router(each of the win2k machines, via ipconfig /all reveal they do in fact use the wins server).
> 
> At different times, and different machines, the win2k clients get one of the two errors...
> "\\computer not accessible.  the system cannot find message text for message number 0x%1 in the message file for %2" 
> 
> or
> 
> "\\computer is not accessible 
> an internal windows 2000 error occurred"
> 
> while these unaccessible computers generate this message, if i try from the linux machine for the same \\machine, i get
> session setup failed: NT code 0xf90a8141
> via smbclient -L \\machine -U user
> 
> later, it is accessible.  it keeps going on and off.  I was told this may be fixed if I install netbeui protocol on all win2k machines?  This is a pretty annoying problem, and I've checked and checked my config, but have found no solution in it or on the internet.  My smb.conf is attached.      Any help would be appreciated.
> 
> 
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2004/01/06 19:02:42
> 
> # Global parameters
> [global]
> 	workgroup = LAMP
> 	netbios name = LROL-SERVER
> 	netbios aliases = INTRANET
> 	passwd program = /usr/bin/passwd %u
> 	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> 	add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
> 	logon script = logon.cmd
> 	logon home = \\homeserver\%u\winprofile
> 	domain logons = Yes
> 	os level = 64
> 	preferred master = Yes
> 	domain master = Yes
> 	wins support = Yes
> 	ldap ssl = no
> 	create mask = 0777
> 	directory mask = 0777
> 	oplocks = No
> 	level2 oplocks = No
> 
> [netlogon]
> 	path = /var/lib/samba/netlogon
> 	write list = ntadmin
> 
> [homes]
> 	comment = Home Directories
> 	path = /home/%u
> 	read only = No
> 	browseable = No
> 
> [printers]
> 	comment = All Printers
> 	path = /var/spool/samba
> 	printable = Yes
> 	browseable = No
> 
> [Databases]
> 	comment = Access
> 	path = /share/Databases
> 	valid users = @users, @ntadmin
> 	write list = @users, @ntadmin
> 	veto oplock files = /*.*/
> 
> [ACT]
> 	comment = ACT
> 	path = /share/ACT
> 	valid users = @users, @ntadmin
> 	write list = @users, @ntadmin
> 	veto oplock files = /*.*/
> 
> [CDM]
> 	comment = Controlled Doc Master
> 	path = /share/CDM
> 	read list = @users
> 	write list = @ntadmin
> 	veto oplock files = /*.*/
> 
> [Public]
> 	comment = Active LROL Documents
> 	path = /share/Public
> 	valid users = @users, @ntadmin
> 	write list = @users, @ntadmin
> 	veto oplock files = /*.*/
> 
> [Logs]
> 	comment = to logs on server
> 	path = /share/Logs
> 	valid users = @users, @ntadmin
> 	write list = @users, @ntadmin
> 	veto oplock files = /*.*/
> 
> 
> 
> 
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com



More information about the samba mailing list