Our LAN IDs are in the format FIRSTNAME.LASTNAME. I tried to create similar IDs in Cacti and was given error information (MySQL).
It'd be nice to have other acceptable UserID characters allowed.
Thanks
Other characters in the User ID
Moderators: Developers, Moderators
Other characters in the User ID
-----
Its not a penalty unless the ref sees it!
Its not a penalty unless the ref sees it!
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
I would also like to be able to use other characters in the username field.
I have successfully got Cacti to LDAP authenticate to my AD LDAP and the username that appears in Cacti after first logon is firstname.surname
If I try and edit this user, and save. It rejects the save due to the . in the username.
Regards,
Anthony
I have successfully got Cacti to LDAP authenticate to my AD LDAP and the username that appears in Cacti after first logon is firstname.surname
If I try and edit this user, and save. It rejects the save due to the . in the username.
Regards,
Anthony
Find the following line in user_admin.php (it is in form_save function):
and change it to:
- Piotr
Code: Select all
$save["username"] = form_input_validate($_POST["username"], "username", "^[A-Za-z_0-9]+$", false, 3);
Code: Select all
$save["username"] = form_input_validate($_POST["username"], "username", "^[A-Za-z_0-9\.]+$", false, 3);
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
Thanks
Thanks Bulek.
That has done the job.
Anthony
That has done the job.
Anthony
Who is online
Users browsing this forum: No registered users and 0 guests