Should UTMP be compiled by default now?

Andrew Bartlett abartlet at
Fri May 30 00:48:40 GMT 2003

On Fri, 2003-05-30 at 02:30, David Lee wrote:
> On Sat, 24 May 2003 jra at wrote:
> > On Sat, May 24, 2003 at 08:30:53PM +1000, Andrew Bartlett wrote:
> > > I was wondering - should we enable the use of utmp as a 'stable' feature
> > > for Samba 3.0, given it has been in Samba 2.2 with very few complaints
> > > for quite some time now.
> > >
> > > When compiled in, the utmp code must still be activated with a global
> > > 'utmp = yes' parameter.
> > >
> > > What do people think?
> >
> > Yes I don't see any harm in this. We should monitor the compile
> > problems people have during the betas though.
> For info to list folk: Andrew Bartlett has just (offlist) asked me (as
> original author and coordinator of the utmp code) to look at this.
> I have just sketched a possible patch to implement this, and am about to
> email it to Andrew to discuss (there are a couple of interactions with his
> "session" code).
> But I would re-iterate Jeremy's point about monitoring compile problems.
> In its early days the utmp code exposed an interesting array of
> dependencies on utmp-offering OSes.  So while the utmp code seems to be
> well tested on most of the major OSes represented here, it is possible
> that there are a few OSes (that offer utmp) where buglets will emerge.
> I'll try to keep an eye on the change once it enters SAMBA_3_0, and, it it
> would help, am happy to try to coordinate any required subsequent fixes.
> P.S. Could "--with-pam" also now be considered for "compile by default"?

We looked at the PAM case, and it's a bit tricky, due to SWAT
interactions.  Otherwise, I would do the same and make it controlled by
'obey pam restrictions' (which would become an alias for 'use pam').

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list