CVS update: samba/source/passdb
idra at samba.org
Sat Sep 29 15:10:32 GMT 2001
On Sat, Sep 29, 2001 at 10:27:15AM -0700, Jeremy Allison wrote:
> On Sat, Sep 29, 2001 at 07:05:40AM -0700, abartlet at samba.org wrote:
> > The real fix for all of this is in HEAD, but this will allow adding users again
> > and settle the farm back down.
> This is ok, thanks. I'll be checking it with insure as
> part of the regression testing.
> The passdb interface is rather broken (as I was discussing
> with Gerry yesterday). Once 2.2.2 is out and I have some
> free time I'm going to fix this up correctly.
> The pdb_init_sam() call really needs to be removed, and
> so that it can naturally be used as : pdb_getsampwnam()
> pdb_getsampwent(), all of which return a malloced struct
> which needs to be pdb_free_sam()'ed afterwards.
yeah, this is the way to go!
> What I'd like is a malloc'ed style interface which looks
> similar to getpwent()/setpwent()/endpwent() with the
> addition of a freepwent() (the standard calls don't
> return malloced memory).
> That would make the sam password database very natural
> to use for POSIX programmers.
sure, that is what I would like too.
Simo Sorce idra at samba.org
Samba Team http://www.samba.org
More information about the samba-technical