#47849 Leading/trailing spaces in password ignored
Closed: wontfix 4 years ago by mreynolds. Opened 9 years ago by dkupka.

Setting up directory server using INF file with password that contains space (' ', ASCII 32) and ends with space.
The setup is done successfully but authentication with specified password fails. When the trailing space is omitted authentication is successful.

$ sudo /usr/sbin/setup-ds.pl --silent -f setup_err.inf
Your new DS instance 'vm-112' was successfully created.
Exiting . . .
Log file is '/tmp/setupIFDg_q.log'

$ ldapsearch -D "cn=Directory Manager" -w "0123 456 "
ldap_bind: Invalid credentials (49)

$ ldapsearch -D "cn=Directory Manager" -w "0123 456"

extended LDIF

LDAPv3

base <> (default) with scope subtree

filter: (objectclass=*)

requesting: ALL

search result

search: 2
result: 32 No such object

numResponses: 1

Additionaly, in interactive setup any password containing space is rejected as invalid. So there is at least some inconsistency in the setup script behavior.


Setting to FUTURE.

Comment by Ludwig:
corner case, low priority, maybe only doc known issue

Metadata Update from @nhosoi:
- Issue set to the milestone: FUTURE

7 years ago

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to None
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1180

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata