> From: [EMAIL PROTECTED]

> John Benedetto wrote:
> >
> > --On Wednesday, October 30, 2002 8:46 PM +0100 Walter Mautner
> > <[EMAIL PROTECTED]> wrote:
> >
> <snip>
> > >> [netlogon]
> > >>    comment = Network Logon Service
> > >>    path = /home/netlogon
> > >>    guest ok = yes
> > >>    read only = yes
> > >>    browseable = no
> > >>    printable = no
> > >>    write list = @adm
> > >>    share modes = no
> > >> #   root preexec = perl /home/netlogon/netlogon.pl %U
> > >>    preexec = echo \"%u connected to %S from %m (%I)\" >> /tmp/log
> > >>
> > > Probably it's too simple: you have to supply absolute
> paths to your
> > > commands :)
> > >
You didn't try out with absolute paths (/bin/echo ...) ... or at
least did the command execute before bailing you out?
> >
......
> I obviously can't see it but I was hoping someone else might
> see something wrong somewhere else in the smb.conf file -
> maybe the profiles set up or something(?).
>
You can try to add a "preexec close = no" statement also.
This will (or at least it _should_) make the success of your
domain logons independent of the errorlevel returned by the
preexec command.
I am using preexec statements in my smb.conf at workplace,
but I placed them into the section of common shares.

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

Reply via email to