You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am encountering an issue where users are not visible in daloRADIUS. The users are correctly created in the MySQL database and appear in the radcheck table, but they do not show up on the daloRADIUS web page.
Open daloRADIUS and check if the user "Testuser" appears in the user list.
Expected Result:
The user "Testuser" should be visible in the user list on the daloRADIUS web page.
Actual Result:
The user "Testuser" does not appear in the user list on the daloRADIUS web page, even though the user is present in the database.
Logs and Screenshots:
FreeRADIUS Logs: No errors found in the FreeRADIUS logs.
Web Server Logs: No errors found in the web server logs (e.g., /var/log/httpd/error.log).
daloRADIUS Logs: No specific errors found in the daloRADIUS logs.
Screenshots:
The radcheck table in the MySQL database with the "Testuser".
The daloRADIUS web page without the "Testuser".
Possible Causes:
Synchronization issues between FreeRADIUS and daloRADIUS.
Database configuration problems.
Bug in the version of daloRADIUS being used.
Steps Already Taken to Resolve the Issue:
Verified the FreeRADIUS configuration.
Verified daloRADIUS’s database connection.
Updated the daloRADIUS database schema.
Checked the web server and FreeRADIUS logs for errors.
Additional Information:
I am available to provide more details and logs if needed. I would appreciate any assistance or guidance on how to resolve this issue.
The text was updated successfully, but these errors were encountered:
Cause of the Issue
When users are added directly to the radcheck table (or other FreeRADIUS tables), daloRADIUS doesn't update its own internal records or interface. This is not necessarily a bug but rather a limitation of daloRADIUS's design—it primarily operates as a front-end tool and expects operations to go through its interface.
Solution
Ensure All Required Tables Are Updated
When adding users directly to the database, make sure to populate all related tables that daloRADIUS relies on, such as:
radcheck: Contains the authentication credentials.
radusergroup: Maps the user to a specific group.
userinfo: Stores user details for daloRADIUS.
2. Example SQL Inserts
For a user named testuser:
Add the user to the radcheck table:
INSERT INTO radcheck (username, attribute, op, value)
VALUES ('testuser', 'Cleartext-Password', ':=', 'password123');
Add the user to the radusergroup table:
INSERT INTO radusergroup (username, groupname, priority)
VALUES ('testuser', 'default', 1);
Add the user to the userinfo table (used by daloRADIUS for its interface):
INSERT INTO userinfo (username, firstname, lastname, email, department, company)
VALUES ('testuser', 'Test', 'User', '[email protected]', 'IT', 'CompanyName');
3. Sync Database Schema in daloRADIUS
After adding the users manually, force daloRADIUS to recognize the new entries:
Log in to the daloRADIUS web interface.
Navigate to Administrator -> Database Maintenance.
Click Check Schema Integrity or similar options (depending on your version) to ensure the database structure matches daloRADIUS expectations.
basically, you can get the user to show if you add this. INSERT INTO userinfo (username) VALUES ('testuser');
Description:
I am encountering an issue where users are not visible in daloRADIUS. The users are correctly created in the MySQL database and appear in the
radcheck
table, but they do not show up on the daloRADIUS web page.Problem Details:
Steps to Reproduce the Issue:
Expected Result:
The user "Testuser" should be visible in the user list on the daloRADIUS web page.
Actual Result:
The user "Testuser" does not appear in the user list on the daloRADIUS web page, even though the user is present in the database.
Logs and Screenshots:
/var/log/httpd/error.log
).radcheck
table in the MySQL database with the "Testuser".Possible Causes:
Steps Already Taken to Resolve the Issue:
Additional Information:
I am available to provide more details and logs if needed. I would appreciate any assistance or guidance on how to resolve this issue.
The text was updated successfully, but these errors were encountered: