lock directory / wins

Andrew Bartlett abartlet at samba.org
Wed Sep 12 05:55:21 MDT 2012


On Wed, 2012-09-12 at 13:49 +0200, Michael Adam wrote:
> Hi Marc,
> 
> On 2012-09-12 at 13:25 +0200, Marc Muehlfeld wrote:
> > Am 12.09.2012 11:45, schrieb Michael Adam:
> > >* disable the netbios service in samba (4),
> > >   i.e.  add -nbt and -wrepl (more?) to "server services"
> > >
> > >* start nmbd
> > 
> > log.nmbd says:
> > [2012/09/12 13:22:39,  0] ../source3/nmbd/nmbd.c:896(main)
> >   server role = 'active directory domain controller' not compatible with 
> > running nmbd standalone.
> >   You should start 'samba' instead, and it will control starting the 
> >   internal nbt server
> 
> Gosh, right. I forgot about this protection mechanism which
> Andrew installed recently.
> 
> You can try to work around it by invoking nmbd with a special config
> file, which drops the "server role" parameter and sets security = user.
> I don't have a full workaround ready.

The remaining magic is 'server role check:inhibit=yes' but don't tell
anyone I told you ;-)

I guess we can (like smbd does) allow this if the nbt server is
specifically disabled. 

> > I think this was disabled because of a good reason. I'll tell the users 
> > they can't use the network neighbourhood during the next time. I think, it 
> > should be no big deal. The users only have to learn to connect via 
> > \\servername :-)
> 
> Ok. We need to finish the implementation soon.

I would really prefer it this way. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list