[Samba] $SMBDOPTIONS in xinetd.conf

Jelmer Vernooij jelmer at nl.linux.org
Thu May 23 05:00:02 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> now the new RH 7.1 version :
> start()	{
> 	KIND="SMB"
> 	echo -n $"Starting $KIND services: "
> 	daemon smbd $SMBDOPTIONS
> 	RETVAL=$?
> 	echo 
> 	KIND="NMB"
> 	echo -n $"Starting $KIND services: "
> 	daemon nmbd $NMBDOPTIONS
> 	RETVAL2=$?

> and so on ....

> now : whre is optionsfiled or whre can I declare "my options like 
> "-D -d 2 \
> -G musik -n winlux"

> havn't found anything in the docs, so I would be very happy to get some help 
> from this list.
This is actually more a distribution-specific problem and belongs on
the redhat and not on the samba lists. But I'll give it a try anyway:

You could set SMBDOPTIONS and NMBDOPTIONS on top of the init script, like:
SMBDOPTIONS="-D -d 2 -G musik -n winlux"
NMBDOPTIONS="-D -d 2 -G musik -n winlux"

You might also want to check the names of files the init script tries
to include. There might be some SMBDOPTIONS variable defined there
already.

Jelmer

- -- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
Development And Underdevelopment: http://library.thinkquest.org/C0110231/
 13:51:20 up 5 days, 13:05, 12 users,  load average: 4.66, 4.29, 3.99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE87NiZPa9Uoh7vUnYRAn23AKCOYhBjaEwBtCrm6CMM3q/FkiehZwCgjbTM
KzOsSXyHAP49lkiSK61R5Ng=
=nZ2b
-----END PGP SIGNATURE-----




More information about the samba mailing list