[Samba] root preexec problem

Guido Lorenzutti guido at lorenzutti.com.ar
Mon Feb 11 00:00:40 GMT 2008


Same here. I change the root preexec = script.sh
And in the script.sh I put everything that you do...
I don't know why this stop working when I upgrade too.

Robert wrote:
> Hi,
>
> I'm doing an upgrade to the latest samba 3.0.28, and something's bugging me: on the old server I had this working OK:
>
> root preexec = /usr/local/bin/ntlogon.py --user=%U --os=%m --dir=/home/samba/netlogon/ && /usr/local/bin/pdc-log.sh %U %m %a %d
>
> On 3.0.28, I can only get the first script to run, everything after && is ignored. I have tried to put just the second script in the parameter, and it works. I have checked all the changelogs since my current version, and nothing seems to be changed for this parameter - what I'm I doing wrong?
>
> Thanx,
> Robert
>
>
>
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>
>   



More information about the samba mailing list