Bug 43438 - Test case 10_ldap/31ldapi fails in UCS 4.2
Test case 10_ldap/31ldapi fails in UCS 4.2
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: LDAP
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Stefan Gohmann
Arvid Requate
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-29 18:50 CET by Stefan Gohmann
Modified: 2017-04-04 18:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2017-01-29 18:50:31 CET
root@master090:~# /usr/share/ucs-test/10_ldap/31ldapi -f
E: Object exists: cn=autotest090.local,cn=domain,cn=mail,dc=autotest090,dc=local
info 2017-01-29 12:43:07         create user zyn07p3g
Object created: uid=zyn07p3g,cn=users,dc=autotest090,dc=local
Waiting for replication...
zyn07p3g:x:2006:5001:Max Muster:/home/zyn07p3g:/bin/bash


***Try to call ldapdelete via the ldapi interface. This shouln't work.
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)


***Try to call ldapdelete via the ldapi interfaceas user nobody. This shouln't work.
This account is currently not available.
error 2017-01-29 12:43:09        **************** Test failed above this line (1) ****************
info 2017-01-29 12:43:09         remove user zyn07p3g
Object removed: uid=zyn07p3g,cn=users,dc=autotest090,dc=local
debug 2017-01-29 12:43:10        user zyn07p3g removed
info 2017-01-29 12:43:10         checking whether the user zyn07p3g is really removed
debug 2017-01-29 12:43:10        user zyn07p3g does not exist
Starting 1 ucs-test at 2017-01-29 12:43:10 to /dev/null
Try to bind to ldapi as normal user and as user nobody.................................................................................................. Test failed
root@master090:~#
Comment 1 Stefan Gohmann univentionstaff 2017-01-29 18:53:18 CET
r76164:

* 10_ldap/31ldapi: Added default shell to user nobody otherwise the
  message 'This account is currently not available' is shown
  (Bug #43438)
Comment 2 Stefan Gohmann univentionstaff 2017-02-14 06:07:26 CET
(In reply to Stefan Gohmann from comment #1)
> r76164:
> 
> * 10_ldap/31ldapi: Added default shell to user nobody otherwise the
>   message 'This account is currently not available' is shown
>   (Bug #43438)

It works now. Changelog entry for ucs-test is not required since it is an unmaintained package.
Comment 3 Arvid Requate univentionstaff 2017-03-02 15:06:44 CET
Ok.
Comment 4 Stefan Gohmann univentionstaff 2017-04-04 18:29:48 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".