On Fri, 22 Nov 2024 10:46:19 +0800 Timefly Technology <wensheng....@timeflytech.com> wrote:
Package: DebianEdu-gosa
Version: 2.8
Severity: medium
Tags: DebianEdu bookworm

Using Gosa web UI in main server (+ LTSP server + Workstation):
I've tried several times to reproduce this issue on two Debian Edu versions (two separate instances of version 12.8 and version 12.9).

1. add a new user as teacher
1. All new made users of both types (students and teachers) were created successfully

2. try to set password for the new user
2. Passwords changed successfully
(and could not set a password with extra-Unicode chars due to password symbol-set restrictions)

3. Warnings:
Deprecated: substr(): Passing null parameter #1 ($string) of type
string is deprecated in
/usr/share/gosa/plugins/admin/users/class_userManagement.inc on line
352
Deprecated: Function uft8_decode() is deprecated in
/usr/share/gosa/include/password_methods/class_password-methods.inc on
line 391
3. I see the same warnings:
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/gosa/plugins/admin/users/class_userManagement.inc on line 352 Deprecated: Function utf8 decode() is deprecated in /usr/share/gosa/include/password-methods/class_password-methods.inc on line 391
.. but it does not prevent to set and use new passwords.

4. try to login using the password
4. successfully logged:
 - on ws01 (added as a workstation to domain "intern")
additional info with required steps for workstation:
https://wiki.debian.org/DebianEdu/Documentation/Bookworm/GettingStarted#Machine_Management_with_GOsa.2BALI-
```
Workstations with disks (including separate LTSP servers) have to be added with GOsa². Behind the scenes, both a machine specific Kerberos Principal (sort of account) and a related keytab file (containing a key used as password) are generated; the keytab file needs to be present on the workstation to be able to mount users' home directories. Once the added system has been rebooted, log into it as root and run /usr/share/debian-edu-config/tools/copy-host-keytab.
```
 - on diskless think-client
 - on tjener (server)
 - on GOSa (internal website)

5. password is not correct, login fails.
5. could you please add more details regarding the issue?
Where persists the problem with logging in (web,tjener,diskless client,workstation)?
Could you add log messages with this error (root@tjener# journalctl -e)?
Have you probably set a password with some special characters?

--
Sincerely,
Serhii Horichenko

Reply via email to