Hi, Is there a way i could hide "netlogon", "profiles", "homes", etc., from my windows 2000 users ? Will "hide files" solves the issue, or is there another way ? Any help would be appreciated. Warm Regards, M?rio Gamito
Depends on what you mean by "hide". Not get there period? Not show up in Network Neighborhood? (browsable = in smb.conf) Or...??? -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.
M?rio Gamito wrote:>Hi, > >Is there a way i could hide "netlogon", "profiles", "homes", etc., from my >windows 2000 users ? >Will "hide files" solves the issue, or is there another way ? > >Any help would be appreciated. > >Warm Regards, >M?rio Gamito > > > >I know how to hide the netlogon and profiles directories. Put them somewhere on the server that isn't shared. I think there is also a setting within the smb.conf to not share/create the users 'home' directory. -Rob
Hi , i need to know if SQUID can authenticate with samba. I read some howto but all talk about domain controllers , and i think that smbpasswd must be authenticate via smb_auth .... im rigth? Thanx in advance.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M?rio Gamito wrote: | Hi, | | Is there a way i could hide "netlogon", "profiles", "homes", etc., from my | windows 2000 users ? | Will "hide files" solves the issue, or is there another way ? | | Any help would be appreciated. | | Warm Regards, | M?rio Gamito | | This is what we did to keep users from mucking up our profiles dir: 1. Hide it. 2. Make it inaccessible even when they do find it. I got a tip from the Mandrake Expert list from Fajar Priyanto on how this can be achieved: First, In the profiles share set "browseable = no" as discussed earlier in this thread. Second we take away writeability to /var/lib/samba/profiles from the domain like this: chmod 755 /var/lib/samba/profiles chown root.root /var/lib/samba/profiles Third, we give Samba an alternate means for dynamicly createing user profile directories by adding a script that executes just prior to the user gaining access to the profile service. In the profiles share add this line: root preexec = PROFILE=/var/lib/samba3/profiles/%u; if [ ! -e $PROFILE ]; \ ~ then mkdir -pm700 $PROFILE; chown "%u"."%g" $PROFILE;fi The quotes around %u and %g are what allow user and group names with spaces in them to be used. The "\" at the end of the first line is legal smb.conf syntax for a line break so this can be copied as is. :-) - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA7Y6557L0B7uXm9oRAg/jAJ9ZQHs5/FUvefjz9gWOOxiz9ME1IACfUgFj DNPq2aUcgSD/f3vXNYdkXAs=mN+S -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 root preexec = PROFILE=/var/lib/samba3/profiles/%u; if [ ! -e $PROFILE ]; \ ~ then mkdir -pm700 $PROFILE; chown "%u"."%g" $PROFILE;fi Oops. I mean with the exception of the stupid "~" marks above my mailer keeps inserting, it is copyable. | The quotes around %u and %g are what allow user and group names with | spaces in them to be used. The "\" at the end of the first line is legal | smb.conf syntax for a line break so this can be copied as is. :-) - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA7ZvM57L0B7uXm9oRAtUtAJ0bmWUpJY5AMPCnkvcPLiUc/Gy7YACgh0Ao I78qQniGB1AJfgoADeRtWAE=igiu -----END PGP SIGNATURE-----