[Samba] strange browsing problem w/ Samba 3.0 - I am lost

John H Terpstra jht at samba.org
Sat Jul 10 20:41:06 GMT 2004


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.

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


More information about the samba mailing list