session exec [ was: Re: smbwall ]
Andrew Bartlett
abartlet at pcug.org.au
Fri Feb 1 15:36:21 GMT 2002
David Lee wrote:
>
> On Sat, 2 Feb 2002, Andrew Bartlett wrote:
>
> > I think that adding a 'session exec' and 'session exec close' hook to
> > samba would be something that many of our users/administrators would
> > find useful.
>
> A semantic comment on those names: The name pairing:
> XXX
> XXX close
>
> is already in use for "preexec" and "preexec close", (likewise their "root
> ..." counterparts). The relationship within the pair has semantics:
> XXX as we attempt to open connection
> if XXX fails then _close_ connection (fail the open attempt)
>
> Is that the set of semantics you intended?
>
> The complete family there is:
> preexec (as connection attempt starts)
> preexec close (boolean to abort if 'preexec' fails)
> and:
> postexec (as (implicitly successful) connection later terminates)
>
> Perhaps better, and following the preexec/postexec model, would be
> something like:
> presession
> presession close
> and:
> postsession
>
> (Just to avoid confusion of nomenclature!)
Thanks. As you can see, this isn't somthing I actually use! Those
names make much more sense.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list