[spam] Re: [Samba] exec scripts question

ipguy ipguy at optushome.com.au
Mon Jun 30 09:55:58 GMT 2003


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

-- 
***********************************
david.morel at amakuru.net
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536


----- Original Message ----- 
From: "David Morel" <david.morel at amakuru.net>
To: "ipguy" <ipguy at optushome.com.au>
Cc: <samba at lists.samba.org>
Sent: Sunday, June 29, 2003 12:32 AM
Subject: [spam] Re: [Samba] exec scripts question






More information about the samba mailing list