summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2012-02-28 13:22:49 +0200
committerMartin Kosek <mkosek@redhat.com>2012-06-07 09:39:09 +0200
commitb32204fccc280714a32d56c15f70f770df82dfbd (patch)
treed02fde1860a7374e7485ee72513e9c8829b437eb /ipaserver
parent52a9eb7a9c4673c6ce927a209833f2c35ffb70ed (diff)
downloadfreeipa-b32204fccc280714a32d56c15f70f770df82dfbd.tar.gz
freeipa-b32204fccc280714a32d56c15f70f770df82dfbd.tar.xz
freeipa-b32204fccc280714a32d56c15f70f770df82dfbd.zip
Add separate attribute to store trusted domain SID
We need two attributes in the ipaNTTrustedDomain objectclass to store different kind of SID. Currently ipaNTSecurityIdentifier is used to store the Domain-SID of the trusted domain. A second attribute is needed to store the SID for the trusted domain user. Since it cannot be derived safely from other values and since it does not make sense to create a separate object for the user a new attribute is needed. https://fedorahosted.org/freeipa/ticket/2191
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/replication.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
index e052acf5e..03758dfcb 100644
--- a/ipaserver/install/replication.py
+++ b/ipaserver/install/replication.py
@@ -992,8 +992,12 @@ class ReplicationManager(object):
dn2 = DN(u'cn=ipa-ldap-delegation-targets', api.env.container_s4u2proxy, self.suffix)
member_principal2 = "ldap/%(fqdn)s@%(realm)s" % dict(fqdn=replica, realm=realm)
+ dn3 = DN(u'cn=ipa-cifs-delegation-targets', api.env.container_s4u2proxy, self.suffix)
+ member_principal3 = "cifs/%(fqdn)s@%(realm)s" % dict(fqdn=replica, realm=realm)
+
for (dn, member_principal) in ((str(dn1), member_principal1),
- (str(dn2), member_principal2)):
+ (str(dn2), member_principal2),
+ (str(dn3), member_principal3)):
try:
mod = [(ldap.MOD_DELETE, 'memberPrincipal', member_principal)]
self.conn.modify_s(dn, mod)