Password reset failing

just tested on a local nethserver samba AD, it works as expected, hopefully I have no microsoft AD, I cannot test here

@all could you test ?

Testing with a remote samba AD, the server bound to the remote samba AD can change the password through the user-setting page. I tested with a dot in the username : firtsName.lastName@nethserver-test.org

@stephdl

Salut Stéphane

The problem only exists against a MS-AD 2016 or higher, AFAIK…

I checked, but my clients with a MS 2016/2019 Server are all using NethServer-AD.
Those are only “Member” Servers…

Maybe @mrmarkuz has access to such a server to test.

Sorry…

Andy

1 Like

I already tested it with 2016 AD and confirmed the issue. I’m going to test with 2019 AD asap…
I test with the MS evaluation version, hopefully this is not the problem…

3 Likes

MS Server 2019 just worked tough it uses same 2016 AD, username with dot could login to user settings or roundcube without issues.
I’m going to recheck Server 2016 now…

1 Like

Are you testing with a user that’s not part of the Domain Admins group?

Yes, with a standard user.

EDIT:

Now it’s working with 2016 too, don’t know what was wrong with my old Win 2016 VM, sorry for inconveniences.

NethServer network domain: domain.local
Win 2016 Server AD domain: test2019.local

I didn’t need bind credentials for user settings to work.

image

/var/log/messages when user logs in to user settings page:

Jul  9 22:15:47 testserver dbus[654]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul  9 22:15:47 testserver systemd: Started Hostname Service.
Jul  9 22:24:47 testserver cockpit-ws: Logging out session from 127.0.0.1
Jul  9 22:24:47 testserver cockpit-ws: WebSocket from 127.0.0.1 for session closed
Jul  9 22:24:47 testserver systemd-logind: Removed session 6.
Jul  9 22:24:47 testserver systemd: Removed slice User Slice of markus.neuberger@domain.local.
Jul  9 22:24:56 testserver cockpit-session: pam_ssh_add: Failed adding some keys
Jul  9 22:24:56 testserver systemd: Created slice User Slice of markus.neuberger@domain.local.
Jul  9 22:24:56 testserver systemd: Started Session 7 of user markus.neuberger@domain.local.
Jul  9 22:24:56 testserver systemd-logind: New session 7 of user markus.neuberger@domain.local.
Jul  9 22:24:56 testserver cockpit-ws: logged in user session

/var/log/httpd/ssl_access_log:

1.2.3.4 - - [09/Jul/2020:22:31:06 +0200] "GET /cockpit/login HTTP/1.1" 200 81
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/index.html HTTP/1.1" 200 907
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/static/branding.css HTTP/1.1" 200 4170
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/applications/style.css HTTP/1.1" 200 13827
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/base1/patternfly.css HTTP/1.1" 200 62069
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/css/app.3cb889c7.css HTTP/1.1" 200 4317
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/css/chunk-vendors.ae18d841.css HTTP/1.1" 200 4269
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/base1/cockpit.min.js HTTP/1.1" 200 27917
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/libs/nethserver.js HTTP/1.1" 200 1628
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/base1/jquery.min.js HTTP/1.1" 200 103100
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/js/app.5108dead.js HTTP/1.1" 200 99473
1.2.3.4 - - [09/Jul/2020:22:31:07 +0200] "GET /cockpit/@localhost/nethserver/js/chunk-vendors.ac18ac6c.js HTTP/1.1" 200 562409
1.2.3.4 - - [09/Jul/2020:22:31:08 +0200] "GET /cockpit/@localhost/nethserver/i18n/language.json HTTP/1.1" 200 58797
1.2.3.4 - - [09/Jul/2020:22:31:08 +0200] "GET /favicon.ico HTTP/1.1" 404 209
1.2.3.4 - - [09/Jul/2020:22:31:08 +0200] "GET /cockpit/static/fonts/OpenSans-Light-webfont.woff HTTP/1.1" 200 16384
1.2.3.4 - - [09/Jul/2020:22:31:08 +0200] "GET /cockpit/static/fonts/OpenSans-Semibold-webfont.woff HTTP/1.1" 200 16384
1.2.3.4 - - [09/Jul/2020:22:31:08 +0200] "GET /cockpit/static/fonts/OpenSans-Regular-webfont.woff HTTP/1.1" 200 16384
1.2.3.4 - - [09/Jul/2020:22:31:10 +0200] "GET /cockpit/@localhost/base1/fonts/patternfly.woff HTTP/1.1" 200 38952
1.2.3.4 - - [09/Jul/2020:22:31:09 +0200] "GET /cockpit/@localhost/base1/fonts/fontawesome.woff?v=4.2.0 HTTP/1.1" 200 98024
3 Likes