[Samba] strange browsing problem w/ Samba 3.0 - I am lost
Klaus K.
k067zaaf at unet.univie.ac.at
Sat Jul 10 21:56:57 GMT 2004
"John H Terpstra" <jht at samba.org> schrieb im Newsbeitrag news:2gwXi-7gE-1 at gated-at.bofh.it...
> On Saturday 10 July 2004 10:34, Klaus A. Kreil wrote:
> > Hi Collen,
> > thanks for your answer.
> >
> > On Sat, 10 Jul 2004, Collen Blijenberg <MLHJ> wrote:
> > > try this:
> > >
> > > name resolve order = wins bcast host
> >
> > tried - but did not change anything. Still all machines except server are
> > available/visible for browsing. Also included W2K system into the domain
> > to figure out whether clients might be the problem - to no avail: same
> > result (i.e. server not visible), W2K client is. BTW XP is german version,
> > W2K is English version - so I assume I can also safely rule out a language
> > issue on the client's side.
> >
> > > also did you make sure, that you filled in the wins server adress on
> > > your win boxes ??
> >
> > clients get their IP settings via DHCP and DHCP distributes the WINS
> > address 192.168.xx.1 correctly. Output from ipconfig /all:
> > primary WINS server points to samba server with a numerical IP
> > I have not attached this output as I use German versions for clients and
> > that would probably not help you (at least I assume so - sorry if I
> > underestimated your language skills).
>
> What entries do you have in your dhcpd.conf file for WINS support?
> Do you have "option netbios-node-type 8;"?
>
> - John T.
John,
many thanks for your reply.
I have tried your suggestion of adding "option netbios-node-type 8;" (which was not in originally) but that did not change anything. Yes, I have restarted dhcpd after changing the option.
I have also added "option netbios-dd-server 192.168.xx.1" as suggested somewhere else when trying to figure out what your option would do - still no change.
My dhcpd.conf (now) looks like the one below. Over and above this there are specific host entries for some machines assigning fixed IP addresses based upon MAC addresses. Those addresses are in the range 16 to 63; 64 to 95 is reserved for other IP devices like printers; 1 to 15 are for servers, routers, gateways, etc. No, the network is not that big, but I want to have things in order and allow room for extension if required.
==============
option domain-name "workgroup.home";
option domain-name-servers 192.168.xx.1;
default-lease-time 86400;
max-lease-time 604800;
ddns-update-style none;
ddns-updates off;
authoritative;
subnet 192.168.xx.0 netmask 255.255.255.0 {
option broadcast-address 192.168.xx.255;
option routers 192.168.xx.1;
option netbios-name-servers 192.168.xx.1;
option netbios-dd-server 192.168.xx.1;
option netbios-node-type 8;
option time-servers 192.168.xx.1;
option pop-server 192.168.xx.1;
option smtp-server 192.168.xx.1;
range 192.168.xx.96 192.168.xx.127;
}
===============
Your suggested netbios-node-type 8 seems to arrive at an H-Type WINS server/client and according to M$ this would be the default for NT, W2K and XP anyway.
Nevertheless many thanks for your try - I am currently hopeing that any suggestion might lead to a working configuration. If you have any other ideas, please post those as well.
I assume there must be a (hopefully minor) issue somewhere which I am not able to figure out.
Regards,
Klaus
P.S. Your "Official Samba-3 Howto and Reference Guide" is an excellent source for reading.
>
> >
> > > it's something with the master browser, look at the log files, there
> > > might be some info there (if not try a higher log level)
> >
> > nothing to strange for me - although admittedly I am not the big Samba
> > expert. What exactly would I need to look out for? If the log level is
> > very high (i.e. 9) it generates thoiusands of lines within seconds.
> >
> > > Have Fun
> >
> > Not much fun at the moment, but thanks nevertheless and I will keep
> > trying to hav fun anyway.
> >
> > Regards,
> >
> > Klaus
> >
> > > Collen Blijenberg (MLHJ)
> > >
> > > Klaus K. wrote:
> > > >Hallo Samba experts out there,
> > > >I do have a very strange problem with Samba 3.0.4-1.12 on SuSE 9.1
> > > > (kernel 2.6.5-7.75-smp)
> > > >
> > > >Samba is configured as a PDC and WINS server. DNS (bind 9) also works
> > > >correctly on the linux box (acting as a forwarder to the ISP's DNS
> > > >servers) -
> > > >foward and reverse lookups work flawlessly from the box and from XP
> > > > clients.
> > > >
> > > >When browsing the network neigbourhood from XP clients (XP Pro, SP 1,
> > > >all security patches) all available XP clients of the domain show up,
> > > > only the Samba Server (which - as indicated above - acts as the WINS
> > > > Server) is missing and it does also not appear after some time.
> > > >
> > > >The file browser.dat (on linux) however includes the samba server as
> > > > well as all other (XP) computers belonging to the domain.
> > > >
> > > >Strangely enough it IS POSSIBLE to mount shares on the samba box if the
> > > >syntax
> > > >net use \\server\share is used from XP. Even a search for the server
> > > > with XP's
> > > >"find computers" dialogue box works flawlessly and quick. The results
> > > > even indicates
> > > >that the server should be located within the domain - even though it is
> > > >still not there
> > > >(i.e. not visible) after the search.
> > > >
> > > >At the moment I am clueless and would appreciate any hints / ideas.
> > > >Searching with
> > > >google and within the groups did not reveal any results.
> > > >
> > > >I am sure there's some expert out there who is able to help.
> > > >
> > > >Thanks in advance,
> > > >
> > > >Klaus
> > > >
> > > >Below please do find my smb.conf file for your reference:
> > > >
> > > >[global]
> > > > workgroup = WORKGROUP
> > > >netbios name = XEON
> > > >browseable = Yes
> > > >passdb backend = tdbsam
> > > >add user script = /usr/sbin/useradd -m %u
> > > >delete user script = /usr/sbin/userdel -r %u
> > > >add group script = /usr/sbin/groupdel %g
> > > >add user to group script = /usr/sbin/usermod -G %g %u
> > > >add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s
> > > >/bin/false %m$
> > > >logon script = scripts/logon.bat
> > > >
> > > >logon path = \\%L\profiles\%U
> > > >logon drive = Z:
> > > >logon home = \\%L\%U
> > > >domain logons = Yes
> > > >os level = 65
> > > >preferred master = Yes
> > > >local master = Yes
> > > >domain master = Yes
> > > >idmap uid = 15000-20000
> > > >idmap gid = 15000-20000
> > > >
> > > >server string = Samba server
> > > >interfaces = eth1 lo
> > > >bind interfaces only = Yes
> > > >socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192
> > > > SO_SNDBUF=8192 SO_KEEPALIVE
> > > >security = user
> > > >encrypt passwords = Yes
> > > >username map = /etc/samba/smbusers
> > > >hosts allow = 192.168.xx.
> > > >
> > > >map to guest = Bad User
> > > >guest account = nobody
> > > >wins support = Yes
> > > >time server = Yes
> > > >log level = 0
> > > >syslog = 0
> > > >name resolve order = wins host
> > > >utmp = Yes
> > > >store dos attributes = Yes
> > > >
> > > >[netlogon]
> > > >comment = Samba network logon share
> > > >path = /var/lib/samba/netlogon
> > > >guest ok = yes
> > > >read only = Yes
> > > >write list = ntadmin
> > > >share modes = no
> > > >
> > > >[homes]
> > > >preexec = sh -c '/etc/samba/login.msg %u %m' &
> > > >comment = Home Directories
> > > >path = /home/%S/Documents
> > > >valid users = %S
> > > >browseable = No
> > > >read only = No
> > > >inherit permissions = Yes
> > > >guest ok = No
> > > >printable = No
> > > >create mask = 0600
> > > >directory mask = 0700
> > > >
> > > >[profiles]
> > > >comment = Roaming Profiles share
> > > >path = /var/lib/samba/profiles
> > > >read only = No
> > > >store dos attributes = Yes
> > > >create mask = 0600
> > > >directory mask = 0700
> > > >browseable = Yes
> > > >guest ok = No
> > > >printable = No
> > > >profile acls = Yes
> > > >
> > > >[further shares]
> > > >....
>
> --
> John H Terpstra
> Samba-Team Member
> Phone: +1 (650) 580-8668
>
> Author:
> The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
> Samba-3 by Example, ISBN: 0131472216
> Hardening Linux, ISBN: 0072254971
> OpenLDAP by Example, ISBN: 0131488732
> Other books in production.
> --
> 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