CVS update: samba/source/passdb

Andrew Bartlett abartlet at pcug.org.au
Wed Jan 30 19:11:54 EST 2002


herb at samba.org wrote:
> 
> Date:   Tue Jan 29 20:07:42 2002
> Author: herb
> 
> Update of /data/cvs/samba/source/passdb
> In directory va:/tmp/cvs-serv25880/passdb
> 
> Modified Files:
>         passdb.c
> Log Message:
> merge change from @_2 to allow smbpasswd -x to delete user even if no
> entry in /etc/passwd.

Did you test that?  It won't work...

If you re-read the code you will see that it will attempt to delete the
"" user...

> There are still differences in the local_password_change function. I'm
> not sure which was the latest so I didn't change any thing else. Someone
> needs to take a look and sync these up.

The one in HEAD is probably 'newer', but that's becouse I made changes
both to the passdb interface and to slightly clean up this code.

I think (but I havn't checked) that this already worked in HEAD.

The idea with supplying a 'SAM_ACCOUNT' to the pdb_delete_sam_account()
function was both so as to have a consistant interface, and to allow a
passdb backend to index on somthing more useful to it - which might not
actually be the user's name.

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-cvs mailing list