🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #22585

Re: ISDN<->SAMBA

#22585
From: Dominik Fretz
Date: Wed, 05 May 1999 00:00
96 lines
4316 bytes
"Christian B. Westermann" wrote:
> 
> Ich hab das Problem, dass meine ISDN Karte im 2 Minuten Takt beim
> Provider einwaehlt. Das ganze liegt mit Sicherheit am Samba Server,
> dass erkennt man daran, dass einerseits in /var/log/messages der Port
> 138 fuer das Waehlen verantwortlich ist, und anderseits beim Abstellen
> von Samba die ISDN Karte nicht mehr automatisch waehlt. Nun heisst es
> ja in den verschiedenen Dokumentationen, dass man in /etc/smb.conf die
> Zeile
> 
> interface <ipadresse>/<NetzMaske>
> 
> eingeben soll. Dies habe ich gemacht, allerdings hat es nix gebracht.
> 
> Frage: Weiss jemand, warum das der Samba Server immer noch macht und
> wie man da Abhilfe findet?
> 
> Merci
> Chrigu

hi

ich kann dir nicht sagen ob das stimmt. aber im SWAT von samba 2.1 gibts
unter advenced view die m�glichkeit: bind interfaces only.
wenn man das auf yes setzt steht in der smb.conf follgendes:

        interfaces = 192.168.0.1          # das ist die ip meines
servers
        bind interfaces only = Yes


ich weis nicht obs das ist. aber versuchs mal.

ne andere m�glichkeit w�re es vieleicht mit ipfwadm oder ipchains (je
nach kernelversion) eine rule f�r nicht weiterleitung auf das isdn
device zu erstellen.

ich hab dir unten noch die help message von SWAT eingepastet

gruss DOminik

-
bind interfaces only (G) 


      This global parameter allows the Samba admin to limit what
interfaces on a machine will serve smb requests. If affects file service
smbd and name service
      nmbd in slightly different ways. 


      For name service it causes nmbd to bind to ports 137 and 138 on
the interfaces listed in the 'interfaces' parameter. nmbd also binds to
the 'all addresses'
      interface (0.0.0.0) on ports 137 and 138 for the purposes of
reading broadcast messages. If this option is not set then nmbd will
service name requests on all of
      these sockets. If "bind interfaces only" is set then nmbd will
check the source address of any packets coming in on the broadcast
sockets and discard any
      that don't match the broadcast addresses of the interfaces in the
'interfaces' parameter list. As unicast packets are received on the
other sockets it allows
      nmbd to refuse to serve names to machines that send packets that
arrive through any interfaces not listed in the "interfaces" list. IP
Source address spoofing
      does defeat this simple check, however so it must not be used
seriously as a security feature for nmbd. 


      For file service it causes smbd to bind only to the interface list
given in the 'interfaces' parameter. This restricts the networks that
smbd will serve to packets
      coming in those interfaces. Note that you should not use this
parameter for machines that are serving PPP or other intermittent or
non-broadcast network
      interfaces as it will not cope with non-permanent interfaces. 


      In addition, to change a users SMB password, the smbpasswd by
default connects to the "localhost" - 127.0.0.1 address as an SMB client
to issue the
      password change request. If "bind interfaces only" is set then
unless the network address 127.0.0.1 is added to the 'interfaces'
parameter list then
      smbpasswd will fail to connect in it's default mode. smbpasswd can
be forced to use the primary IP interface of the local host by using its
"-r remote
      machine" parameter, with "remote machine" set to the IP name of
the primary interface of the local host. 


      Default: bind interfaces only = False 


      Example: bind interfaces only = True
Technical Details
Message-ID: <373088CD.E77C456D@linuxfreak.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <372FE1DE.2CEC756F@phim.unibe.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,ce103e96117bc3aa
X-Google-Attributes: gidf4b73,public
From: Dominik Fretz <roboto@linuxfreak.com>
Subject: Re: ISDN<->SAMBA
Date: 1999/05/05
Message-ID: <373088CD.E77C456D@linuxfreak.com>
X-Deja-AN: 474406717
Content-Transfer-Encoding: 8bit
References: <372FE1DE.2CEC756F@phim.unibe.ch>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: usenet@sunrise.ch
X-Trace: sibyl.sunrise.ch 925927644 3568 194.230.8.106 (5 May 1999 18:07:24 GMT)
Organization: sunrise communications ag
Mime-Version: 1.0
NNTP-Posting-Date: 5 May 1999 18:07:24 GMT
Newsgroups: ch.comp.os.linux