dssync keytab: store the samaccountname in the keytab for diff replication.
commit54e2dc1f4e0e2c7a6dcb171e51a608d831c8946e
authorMichael Adam <obnox@samba.org>
Tue, 29 Jul 2008 16:07:07 +0000 (29 18:07 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:04:43 +0000 (1 16:04 +0200)
tree3a260d256c8849b57e262a33160e169301e7af02
parent3c463745445f6b64017918f442bf1021be219e83
dssync keytab: store the samaccountname in the keytab for diff replication.

When retreiving a diff replication, the sAMAccountName attribute is usually
not replicated. So in order to build the principle, we need to store the
sAMAccounName in the keytab, referenced  by the DN of the object, so that
it can be retrieved if necessary.

It is stored in the form of SAMACCOUNTNAME/object_dn@dns_domain_name
with kvno=0 and ENCTYPE_NONE.

Michael
source/libnet/libnet_dssync_keytab.c