[spam] Re: [Samba] exec scripts question

ipguy ipguy at optushome.com.au
Mon Jun 30 09:54:22 GMT 2003


I'm sure %U is defined since I can see my share.... my share being my
username.
No, nothing in the logs.....



----- Original Message ----- 
From: "Joel Hammer" <Joel at HammersHome.com>
To: "ipguy" <ipguy at optushome.com.au>; <samba at lists.samba.org>
Sent: Sunday, June 29, 2003 12:41 AM
Subject: [spam] Re: [Samba] exec scripts question


> exec works in global and share definitions.
> I haven't tried what you are doing, but simply thinking out loud:
> Could this be a permissions problem?
> Is %U defined when you try to call it?
> Can samba find the mkdir command?
> Is this a special problem for the [homes] share?
> Joel
>
> On Sat, Jun 28, 2003 at 11:59:26PM +1000, ipguy wrote:
> > i'm having problems with preexec scripts... see example below
> >
> > [homes]
> > preexec = mkdir /samba/users/%U
> >
> > do exec scripts only work in a Samba PDC setup or are we able to use
exec
> > scripts in any setup ?
> > if you look at the preexec script above, all i'm trying to do is make a
dir
> > for the connecting user (i don't need to make an account as the samba
server
> > is seup as a domain member server to a NT4 PDC, i'm using winbind for
> > accounts)
> > why wouldn't the script work ?
> > it's to simple for it not to....
> >
> >
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list