diff options
author | David Boreham <dboreham@redhat.com> | 2005-05-09 20:34:31 +0000 |
---|---|---|
committer | David Boreham <dboreham@redhat.com> | 2005-05-09 20:34:31 +0000 |
commit | d723996cfb2af9ec04d92e471c996b0e0cc59893 (patch) | |
tree | 35266b8439b6994c09cc1d714850f72fcc49cac2 /ldap/servers/plugins/replication/windows_protocol_util.c | |
parent | c341fc3237c61f222650176ec1316b124b1c98a6 (diff) | |
download | ds-d723996cfb2af9ec04d92e471c996b0e0cc59893.tar.gz ds-d723996cfb2af9ec04d92e471c996b0e0cc59893.tar.xz ds-d723996cfb2af9ec04d92e471c996b0e0cc59893.zip |
Fix for #156449 : mangle 'street' attribute to defeat our schema aliasing it with 'streetaddress'
Diffstat (limited to 'ldap/servers/plugins/replication/windows_protocol_util.c')
-rw-r--r-- | ldap/servers/plugins/replication/windows_protocol_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/plugins/replication/windows_protocol_util.c b/ldap/servers/plugins/replication/windows_protocol_util.c index 562a7c65..e57bf903 100644 --- a/ldap/servers/plugins/replication/windows_protocol_util.c +++ b/ldap/servers/plugins/replication/windows_protocol_util.c @@ -193,8 +193,8 @@ static windows_attribute_map user_attribute_map[] = { "maxStorage", "ntUserMaxStorage", bidirectional, always, normal}, { "profilePath", "ntUserProfile", bidirectional, always, normal}, /* IETF schema has 'street' and 'streetaddress' as aliases, but Microsoft does not */ - { "street", "street", fromwindowsonly, always, normal}, { "streetAddress", "street", towindowsonly, always, normal}, + { FAKE_STREET_ATTR_NAME, "street", fromwindowsonly, always, normal}, { "userParameters", "ntUserParms", bidirectional, always, normal}, { "userWorkstations", "ntUserWorkstations", bidirectional, always, normal}, { "sAMAccountName", "ntUserDomainId", bidirectional, always, normal}, @@ -212,8 +212,8 @@ static windows_attribute_map group_attribute_map[] = { "groupType", "ntGroupType", bidirectional, createonly, normal}, { "sAMAccountName", "ntUserDomainId", bidirectional, always, normal}, /* IETF schema has 'street' and 'streetaddress' as aliases, but Microsoft does not */ - { "street", "street", fromwindowsonly, always, normal}, { "streetAddress", "street", towindowsonly, always, normal}, + { FAKE_STREET_ATTR_NAME, "street", fromwindowsonly, always, normal}, { "member", "uniquemember", bidirectional, always, dnmap}, {NULL, NULL, -1} }; |