John H.
2004-Jan-07 04:50 UTC
[Samba] different win machines on PDC not accessible at different times
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
John H.
2004-Jan-07 06:01 UTC
[Samba] different win machines on PDC not accessible at different times
downgrading to 3.0.0 seems to fix it!(at least from linux, will try from win machines tomorrow) I will report a bug to bugzilla if it's still there when i try 3.0.2pre1 sometime. I would have never thought to downgrade had I not seen someone else had a similar problem on this list. _______________________________________________ No banners. No pop-ups. No kidding. Introducing My Way - http://www.myway.com
Markus Greil
2004-Jan-07 09:37 UTC
[Samba] different win machines on PDC not accessible at different times
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
Gerald (Jerry) Carter
2004-Jan-07 19:00 UTC
[Samba] different win machines on PDC not accessible at different times
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 6 Jan 2004, 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.Please test 3.0.2pre1. If the problem remains, please file a report at https://bugzilla.samba.org/. Someone will lok into it more. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE//Fc3IR7qMdg1EfYRAg2qAKDUfufMNCkLMgkL2HI5k+Frg5jP9ACgw7EU Vi/KwpTsN1/n1UuS6oFHltA=+3XI -----END PGP SIGNATURE-----