Bug 1379362 - Attribute Encryption not allow to add new user
Summary: Attribute Encryption not allow to add new user
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: Directory Console
Version: 10.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-26 13:12 UTC by Kamlesh
Modified: 2016-10-23 22:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-27 14:32:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kamlesh 2016-09-26 13:12:30 UTC
Description of problem:
If we add the encryption on any attribute using console. and then after we are not able to add the user.

Version-Release number of selected component (if applicable):
389-ds-console-1.2.13-1.el7dsrv.noarch
idm-console-framework-1.1.16-2.el7dsrv.noarch
redhat-admin-console-doc-10.1.0-2.el7dsrv.noarch
389-admin-1.1.44-1.el7dsrv.x86_64
389-ds-base-1.3.5.10-11.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Set the any encryption on attribute
2. Add the user give it give error

entry in error log 

[26/Sep/2016:16:56:34.137556931 +051800] Error: attrcrypt_crypto_op_values failed in attrcrypt_encrypt_entry
[26/Sep/2016:16:56:34.258525318 +051800] attrcrypt_encrypt_entry failed in id2entry_add


Actual results:
give an error box  save error "Can not save to directory server  netscape.ldap.LDAPException error result (1)"

Comment 1 Noriko Hosoi 2016-09-26 15:48:28 UTC
Please give us more detailed steps.

How did you configured the server cert?  

# certutil -L -d /etc/dirsrv/slapd-INSTANCE

Please share the security related config entries in dse.ldif.

And is the cert successfully used, e.g., over an SSL connection?

You filed this bug against Console.  Does that mean, if you set up the attribute encryption with, e.g., command line, it works fine?

Thanks.

Comment 2 Kamlesh 2016-09-27 14:32:41 UTC
Hi Noriko,
While reproducing this issue on clean environment; it working fine 
so. might be the issue occur due to any other configuration while testing. 
so closing this bug.


Note You need to log in before you can comment on or make changes to this bug.