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
        valid users = @mygroup
        force group = @mygroup
        create mask = 0770
        force create mode = 770
---

anyone have any idea why the dir is not created under "/samba/test" ?

-ipuy
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to