<quote who="Dave Kempe">

> how do I make samba connect as somebody?

By not specifying "public = yes" (which means "guest ok = yes"). That's very
likely going to be a security issue, given what you're sharing.

> does that make a difference to the scripts not running?

It doesn't specify explicitly in man smb.conf, but there is a second set of
preexec parameters for running stuff as root, so I would assume the standard
preexec stuff is being run without the required privileges.

> (actually, watching the process list - the scripts do run, but fail to
> mount the drive)

How about:

  root preexec = /bin/mount /bigdisk

If that doesn't work, make a handy logfile to see what the problem is:

  root preexec = /bin/mount /bigdisk 2>&1 >> /tmp/bigdisk-mount.log

- Jeff

-- 
GU4DEC: June 16th-18th in Dublin, Ireland             http://www.guadec.org/
 
                   No match for "LINUSWEARSTHEPANTS.ORG".
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to