Re: [vserver] Samba (nmbd) Problem

About this list Date view Thread view Subject view Author view Attachment view

From: Joaquin Urrutia (joaco_at_j0aco.com)
Date: Thu Mar 14 2002 - 20:01:48 EST


El jue, 14-03-2002 a las 12:24, Daniel Menzel escribió:
> Hi,
>
> I've got some problems intergrating nmbd (smbd) into the vserver using
> 2.4.18-ctx8 and vserver 0.13.
>
> smbd works fine, but nmbd tells me:
>
> [2002/03/14 12:02:20, 0] nmbd/nmbd_subnetdb.c:create_subnets(240)
> create_subnets: No local interfaces !
> [2002/03/14 12:02:20, 0] nmbd/nmbd.c:main(861)
> ERROR: Failed when creating subnet lists. Exiting.
>
> which is related to the 255.255.255.255 netmask (according to:
> http://www.turbolinux.com/products/s390/howto/ctc_samba.html / same problem,
> other env. )
>
> How can I change the given netmask vserver brings up ? Is it possible at all,
> or is there another solution ?

We do it changing the "ifconfig" lines in "vserver" script and adding
two new parameters to the configuration file like:

IPMASK=255.255.255.0
IPBROAD=XXX.XXX.XXX.255

In vserver script, you can change:

/sbin/ifconfig $IPROOTDEV:$1 $IPROOT netmask 255.255.255.255

to:

/sbin/ifconfig $IPROOTDEV:$1 $IPROOT netmask $IPMASK broadcast $IPBROAD

Doing this, you have to add the new parameters to all the configuration
files of all the vservers.

One more time, sorry for my english ;)

>
>
> regards,
>
> Daniel
>

-- 
===============================================================
Joaquin Urrutia      Powered by GNU/LiNUX Debian Unstable "SID"
Kernel 2.4.17-k7                 Linux user registered # 175074
PGP publickey -> http://www.j0aco.com/download/joacopublica.gpg
joaquin.urrutia_at_acens.net  jooaco_at_wanadoo.es    joaco_at_j0aco.com
===============================================================



About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT