Page 1 of 4

[RESOLVED] Self-Service Malfunction

Published: Dec 13, 2024 - 2:34 PM
by TomTom
Hello everyone,

Since update 2.6 (it's certainly getting a lot of flak!), it's no longer possible to display packages in the self-service portal. When we launch it, it displays the message "No results found."
No packages appear, and no categories are visible. There have been no changes to our permissions.

Thank you.
Thomas

Re: Self Service Malfunction

Published: Dec 16, 2024 - 10:17
by blemoigne
Hello,
I believe this bug is fixed in the latest version: 2.6.0.16613.
Have a good day,
Bertrand

Re: Self Service Malfunction

Published: Dec 17, 2024 - 1:58 PM
by TomTom
Hello Bertrand,

No, I have the latest version installed and the Self still doesn't display anything.

Re: Self Service Malfunction

Published: Dec 17, 2024 - 2:02 PM
by sfonteneau
Hello,

could you provide more information about the authentication type of the self-service? (waptserver-ldap, system, kerberos)

Simon

Re: Self Service Malfunction

Published: Dec 17, 2024 - 2:07 PM
by TomTom
Hi Simon,

Yes, of course. We're using LDAP authentication (service_auth_type=waptserver-ldap).

Re: Self Service Malfunction

Published: Dec 17, 2024 - 2:34 PM
by sfonteneau
You would need to run this script on the server to see what it says:

/opt/wapt/waptserver/scripts/testing-ldap-connectivity.sh

Re: Self Service Malfunction

Published: Dec 17, 2024 - 3:33 PM
by TomTom

Code: Select all

/opt/wapt/waptserver/scripts/testing-ldap-connectivity.sh
----------------------------------------------------------------
WARNING: No ldap_account_service_login not found in /opt/wapt/conf/waptserver.ini
SSO self service authentication will not work
----------------------------------------------------------------
----------------------------------------------------------------
Test ldap with direct Login
----------------------------------------------------------------
Username ldap: user
Password ldap:
Traceback (most recent call last):
  File "<string>", line 114, in <module>
  File "<string>", line 111, in main
  File "<string>", line 77, in test_ldap
  File "/opt/wapt/auth_module_ad.py", line 33, in check_credentials_ad
    domain_name = dc_base_dn.lower().split('dc=', 1)[-1].replace('dc=', '.').replace(',', '')
AttributeError: 'NoneType' object has no attribute 'lower'
AttributeError: 'NoneType' object has no attribute 'lower'

Re: Self Service Malfunction

Published: Dec 17, 2024 - 5:12 PM
by sfonteneau
In waptserver.ini you should put:

ad_domain_name = mydomain.lan

That should be better.

Don't you have Kerberos? (I see you don't have ldap_account_service_login)

Re: Self Service Malfunction

Published: Dec 17, 2024 - 5:28 PM
by TomTom
Yes, we have Kerberos authentication and the ldap_account_service_login is correctly configured.

Re: Self Service Malfunction

Published: Dec 17, 2024 - 5:34 PM
by sfonteneau
Is the script being run as root?