SF Bug #3448530 - Treat krbExtraData and krbPrincipalKey as binary
This commit is contained in:
parent
74434e5ca3
commit
c4b6695beb
@ -2277,6 +2277,8 @@ class ldap extends DS {
|
|||||||
strcasecmp($attr_name,'objectSID') == 0 ||
|
strcasecmp($attr_name,'objectSID') == 0 ||
|
||||||
strcasecmp($attr_name,'auditingPolicy') == 0 ||
|
strcasecmp($attr_name,'auditingPolicy') == 0 ||
|
||||||
strcasecmp($attr_name,'jpegPhoto') == 0 ||
|
strcasecmp($attr_name,'jpegPhoto') == 0 ||
|
||||||
|
strcasecmp($attr_name,'krbExtraData') == 0 ||
|
||||||
|
strcasecmp($attr_name,'krbPrincipalKey') == 0 ||
|
||||||
$syntax == '1.3.6.1.4.1.1466.115.121.1.10' ||
|
$syntax == '1.3.6.1.4.1.1466.115.121.1.10' ||
|
||||||
$syntax == '1.3.6.1.4.1.1466.115.121.1.28' ||
|
$syntax == '1.3.6.1.4.1.1466.115.121.1.28' ||
|
||||||
$syntax == '1.3.6.1.4.1.1466.115.121.1.5' ||
|
$syntax == '1.3.6.1.4.1.1466.115.121.1.5' ||
|
||||||
|
@ -589,7 +589,7 @@ class ImportLDIF extends Import {
|
|||||||
$attrs['newsuperior'] = $attrvalue[1];
|
$attrs['newsuperior'] = $attrvalue[1];
|
||||||
|
|
||||||
} else
|
} else
|
||||||
return $this->error(_('A valid newsuperier attribute should be specified'),$lines);
|
return $this->error(_('A valid newsuperior attribute should be specified'),$lines);
|
||||||
|
|
||||||
} else
|
} else
|
||||||
$attrs['newsuperior'] = $server->getContainer($this->template->getDN());
|
$attrs['newsuperior'] = $server->getContainer($this->template->getDN());
|
||||||
|
Loading…
Reference in New Issue
Block a user