]> git.ipfire.org Git - thirdparty/samba.git/commit
libcli/auth: split out netlogon_creds_CredentialState_extra_info
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Oct 2024 16:54:05 +0000 (18:54 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 30 Oct 2024 23:08:36 +0000 (23:08 +0000)
commit518f57b93bdb84900d3b58cd94bdf1046f82a5a6
treecb67f2f9b902a1e7711c9aff25619a2243d682d4
parentc2ef866fca296c8f3eb1620fdd2bb9bf289d96fc
libcli/auth: split out netlogon_creds_CredentialState_extra_info

As server we are free to change the netlogon_creds_CredentialState
database record format at will as it uses CLEAR_IF_FIRST.

For now that format doesn't really changes, because we
only move dom_sid into a wrapper structure.

In order to avoid changing all callers in this commit,
we maintain creds->sid as in memory pointer.

In the following patches we'll also use it in order
to store client related information...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
libcli/auth/credentials.c
libcli/auth/schannel_state_tdb.c
librpc/idl/schannel.idl