CVS update: samba/source/passdb
Andrew Bartlett
abartlet at samba.org
Thu Nov 7 18:18:22 EST 2002
On Thu, 2002-11-07 at 15:52, tridge at samba.org wrote:
>
> Date: Thu Nov 7 04:52:04 2002
> Author: tridge
>
> Update of /home/cvs/samba/source/passdb
> In directory dp.samba.org:/tmp/cvs-serv12371
>
> Modified Files:
> passdb.c
> Log Message:
> when doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
> sam account object, then pdb_update_sam_account() can be used to
> update an account. This code path could lead to the methods element of
> the account being used when uninitialised (leading to a segv)
>
> Easiest fix is to always make that that when creating a sam_account
> object we initialise the methods to null, so that the passdb code
> knows that it needs to be filled in.
Nice (and correct) fix.
Thanks,
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
-------------- 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 : http://lists.samba.org/archive/samba-cvs/attachments/20021107/79f3f8a9/attachment.bin
More information about the samba-cvs
mailing list