Bug #1981

nethserver-directory: libnss test FAILED

Added by Davide Principi about 8 years ago. Updated about 8 years ago.

Status:CLOSEDStart date:05/28/2013
Priority:NormalDue date:05/28/2013
Assignee:-% Done:

100%

Category:nethserver-directory
Target version:v6.4-beta2
Security class: Resolution:
Affected version:v6.4-beta1 NEEDINFO:No

Description

Symptoms

In /var/log/messages

[ERROR] nethserver-directory: libnss test FAILED

Reproducibility

After ISO installation, install nethserver-mail group.


Related issues

Related to NethServer 6 - Enhancement #1722: Directory: wait for slapd and nslcd complete restart CLOSED 03/05/2013 03/05/2013

Associated revisions

Revision 4cc2677a
Added by Davide Principi about 8 years ago

nethserver-directory-dit-setup action: create nsstest user and group in LDAP. Refs #1981

Revision e3d7dc81
Added by Davide Principi about 8 years ago

nethserver-directory-restart action: test nss with nsstest user. Refs #1981

Revision fbcd529b
Added by Giacomo Sanchietti about 8 years ago

nethserver-directory-dit-setup action: fix ldap attributes syntax for nsstest user. Refs #1981

History

#1 Updated by Davide Principi about 8 years ago

The test is run by nethserver-directory-restart action. It checks for shared user existence to see if nslcd and slapd are fully functional.

The test is executed after a slapd+nslcd restart. This is a critical operation: see #1722.

The purpose of the test is emphasize if daemons restarted successfully or not.

#2 Updated by Davide Principi about 8 years ago

The missing shared user/group is created by nethserver-ibays package. Thus the test fails when only nethserver-mail packages group is installed.

#3 Updated by Davide Principi about 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 100

#4 Updated by Davide Principi about 8 years ago

In testing repo: nethserver-directory-1.2.1-1.ns6.noarch.rpm

#5 Updated by Davide Principi about 8 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 70 to 80

In nethserver-testing nethserver-directory-1.2.1-1.ns6.noarch.rpm

#6 Updated by Davide Principi about 8 years ago

  • Assignee deleted (Davide Principi)

Test case 1

  • On a clean NethServer 6.4 beta1 install nethserver-directory RPM
  • Execute
       # /etc/e-smith/events/actions/nethserver-directory-restart
    [INFO] nethserver-directory: libnss test OK.
    

Test case 2

  • Upgrade nethserver-directory from nethserver-testing repo,
  • nsstest user must be available:
       #  id nsstest
    <nsstest account infos>
    

#7 Updated by Davide Principi about 8 years ago

In nethserver-testing repository:
nethserver-directory-1.2.2-1.ns6.noarch.rpm

#8 Updated by Giacomo Sanchietti about 8 years ago

  • Assignee set to Giacomo Sanchietti

#9 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 80 to 100

Test case 1

System reports some warnings, but libss test it's ok. Output:

nslcd: /etc/nslcd.conf:24: option use_sasl is currently not fully supported (please report any successes)
nslcd: /etc/nslcd.conf:25: option sasl_mech is currently not fully supported (please report any successes)
[INFO] nethserver-directory: libnss test OK.

Test case 2

Before update:

[root@test ~]# id nsstest
id: nsstest: No such user

After update:

[root@test ~]#  id nsstest
uid=501(nsstest) gid=501(nsstest) groups=501(nsstest)

Marking VERIFIED.

#10 Updated by Davide Principi about 8 years ago

Giacomo Sanchietti wrote:

System reports some warnings

nslcd daemon support for SASL EXTERNAL authentication is experimental: I hope that message will be removed on next upstream releases

#11 Updated by Davide Principi about 8 years ago

  • Status changed from VERIFIED to CLOSED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 90 to 100

Moved to nethserver-updates repository

Also available in: Atom PDF