2.2.2 Merging required: [Re: CVS update: samba/source/rpc_server]

Jeremy Allison jra at samba.org
Fri Sep 28 07:55:15 EST 2001


On Thu, Sep 27, 2001 at 10:20:44PM +1000, Andrew Bartlett wrote:

> > Fix memory leak in get_sampwd_entries(), reindent for clarity.
> >  - call pdb_reset_sam() after each getent call.
> 
> Needs merge for 2.2.2

Merged.

> > Fix bug in get_group_alias_entries(), were if num_entries was zero this caused
> > talloc() to return NULL, failing a test below with NT_STATUS_NO_MEMORY.
> > 
> > Fix pdb_reset_sam() to correctly initalise the sam structure.

Different code in 2.2.2, doesn't use talloc.

> > Move default value code into a single place, likewise for sam freeing code.
> >  - should make things easier if we decide to malloc other strings, or get more
> >  non-zero default values.
> > 
> > Finally, add a function in init a sam struct from a getpwnam() return.
> 
> Only if your merging the rest

Merged.

Jeremy.




More information about the samba-cvs mailing list