basic question on permissions for [profiles]
cartegw at Eng.Auburn.EDU
Wed Jan 13 06:30:29 GMT 1999
> Just curious where i might find documentation
> on the alternate(presexec that is).
Check the smb.conf man page on "root preexec"
Then create a share like this
comment = NT user profiles
path = /export/profiles/%U
root preexec = /usr/samba/bin/buildprofile %U %G
public = no
The buildhome script is something like
if [ ! -d /export/profiles/$user ]; then
chown $user /export/profiles/$user
chgrp $group /export/profiles/$user
That way each user will have a directory in /export/profiles
with the correct permissions and oewnership when they
Hope this helps,
Gerald ( Jerry ) Carter
Engineering Network Services Auburn University
jerry at eng.auburn.edu http://www.eng.auburn.edu/users/cartegw
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-ntdom