Displaying 1 result from an estimated 1 matches for "id8dbqfaokkvrjk6ugdsbkcragegaj4".
2004 May 12
2
preexec script problem
hi all
i'm running into a little problem when using preexec scripts for the creation
of dir's on my samba server....
script
---
#! /bin/sh
name=`getent passwd | grep %U | awk -F: '{print $5}'`
mkdir /samba/test/"$name"
---
snip of smb.conf
---
[test]
path = /samba/test
preexec = /root/script
browseable = Yes
writeable = Yes