Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: gert on May 01, 2003, 04:34:09 PM

Title: hide the primary dir
Post by: gert on May 01, 2003, 04:34:09 PM
is it possible to hide the primary dir, that everybody on the lokal network can see?
Title: Re: hide the primary dir
Post by: Doug M. on May 06, 2003, 12:14:45 PM
Must be in the console as root or superuser.

To remove/de-activate Primary from the smb.conf;

1. mkdir -p /etc/e-smith/templates-custom/etc/smb.conf
2. touch /etc/e-smith/templates-custom/etc/smb.conf/60primary
3. /sbin/e-smith/expand-template /etc/smb.conf

To put Primary back/re-activate in smb.conf;

1. rm -f /etc/e-smith/templates-custom/etc/smb.conf/60primary
2. /sbin/e-smith/expand-template /etc/smb.conf

My suggestion anyway.