CVS update: samba/source/passdb

Andrew Bartlett abartlet at samba.org
Sat Mar 15 09:28:24 EST 2003


On Sat, 2003-03-15 at 04:12, mimir at samba.org wrote:
> 
> Date:	Fri Mar 14 17:12:40 2003
> Author:	mimir
> 
> Update of /home/cvs/samba/source/passdb
> In directory dp.samba.org:/tmp/cvs-serv14137/passdb
> 
> Modified Files:
> 	secrets.c 
> Log Message:
> Fresh meat in trusted domains code:
>  - packing/unpacking utility functions for trusted domain 
>    password struct; can be used to prepare buffer to store
>    in secrets.tdb or (soon) passdb backend
>  - similiar functions for DOM_SID
>  - respectively modified secrets_(fetch|store) routines
>  - new auth mapping code utilising introduced is_trusted_domain
>    function
>  - added tdb (un)packing of single bytes

We need to extend that struct, to have the account name, old password
and the account type.  (If we have a interdomain trust account, or a
workstation account, we have to specify the right type to NT).

Now it *should* always be interdomain trust, but... ;-)

The old password is needed in case the PDC/BDC we contact isn't up to
speed yet, and the account name helps generalize the case and avoids
problems when we rename ourselves.

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/20030315/7d80df7e/attachment.bin


More information about the samba-cvs mailing list