On Sat, 2003-03-15 at 04:12, [EMAIL PROTECTED] 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                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to