SuSE GmbH

SuSE Support Database

Title: ISDN and Samba

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

ISDN and Samba

Applies to

Kernel: Versions since 2.0.25
Samba

Symptom:

You have installed the package Samba. Furthermore you have configured your ISDN subsystem in a way that it can automatically establish connections.

Ever since Samba was installed, an ISDN connection is established from time to time without any obvious reason

Cause:

The Samba server was activated automatically through the variable
SMB=yes
in the file /etc/rc.config .

The Samba server nmbd tries to build its netbios name table. It therefore sends broadcast messages to all available networks.

Solution:

Define interfaces and netmasks in /etc/smb.conf.

In the [global] section:

interfaces = 192.168.2.0/24 192.168.3.0/24
The /24 sets the number of 1-bits for the netmask. In our case the broadcasts will be sent to these two networks: 192.168.2.0 and 192.168.3.0 . The .1 indicates the particular interface adress in the particular network (please see man smb.conf).

Of course one can also specify the netmask as usual, e.g.

interfaces = 192.168.2.1/255.255.255.0 192.168.3.1/255.255.255.0

Note: with the older Samba version 1.9.15, use the options -I and -B when starting nmbd instead of the above.

Samba and Nameserver

Even if Samba won't initiate connections all by itself, unwanted connections can occur at start-up, since Samba tries to resolve the working group via DNS.

Solution : Specify in the nameserver or in /etc/hosts a dummy-IP adress for the used working group.

Credits:

Eddy Cremer (ECremer-Home@omikron.de) provided this solution. The DNS hint was provided by Stephan Lange (stephan@sml.in-berlin.de).

----------

See also:

----------

Keywords: ISDN, SAMBA, NMBD, ESTABLISHING_CONNECTION, DIAL-ON-DEMAND, PPPD, IPPPD

----------

Categories: Configuration

----------

Feedback welcome: Send Mail to skfr@suse.de (Please give the following subject: SDB-isdn_samba)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-isdn_samba, Copyright SuSE GmbH, Nuremberg, Germany - Version: 13. Jun 1997
SuSE GmbH - Last generated: 07. Oct 1999 16:43:04 by maddin with sdb_gen 1.00.0