Koozali.org: home of the SME Server

hide the primary dir

gert

hide the primary dir
« on: May 01, 2003, 04:34:09 PM »
is it possible to hide the primary dir, that everybody on the lokal network can see?

Doug M.

Re: hide the primary dir
« Reply #1 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.