Re: [spam] Re: [Samba] exec scripts question

2003-06-30 Thread ipguy
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 [EMAIL PROTECTED]
To: ipguy [EMAIL PROTECTED]; [EMAIL PROTECTED]
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



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


Re: [spam] Re: [Samba] exec scripts question

2003-06-30 Thread ipguy
I'd rather not mess with pam if I can avoid it
the preexec script should work.
It's to simple !!


Le sam 28/06/2003 à 15:59, ipguy a écrit :
 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

I read several reports of failure about that. Haven't tried it myself,
but I remember an answer was that pam_mkhomedir was meant to do
precisely that.

David

-- 
***
[EMAIL PROTECTED]
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536


- Original Message - 
From: David Morel [EMAIL PROTECTED]
To: ipguy [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 29, 2003 12:32 AM
Subject: [spam] Re: [Samba] exec scripts question



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


[Samba] exec scripts question

2003-06-28 Thread ipguy
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


Re: [Samba] exec scripts question

2003-06-28 Thread David Morel
Le sam 28/06/2003 à 15:59, ipguy a écrit :
 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

I read several reports of failure about that. Haven't tried it myself,
but I remember an answer was that pam_mkhomedir was meant to do
precisely that.

David

-- 
***
[EMAIL PROTECTED]
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536



signature.asc
Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] exec scripts question

2003-06-28 Thread Joel Hammer
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] exec scripts question

2003-06-28 Thread Joel Hammer
Anything in the samba logs?
Joel

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