Can not import users
Can not import users
Hi. I have deployed the Nagios Log Server virtual machine and can not import more than three LDAP users. When I import a fourth user or one that I deleted earlier, it does not appear and no errors are displayed.
Has anyone experienced this problem?
Thanks.
Version 1.4.3
Has anyone experienced this problem?
Thanks.
Version 1.4.3
Re: Can not import users
I just tried to recreate this with local accounts, with no success. Let's take a look at the database that holds the account information.
Please run teh following -
Do you see the users that you are not seeing on the GUI, outputted from this command?
Please run teh following -
Code: Select all
curl -XGET 'http://localhost:9200/nagioslogserver/_search?type=user&pretty'
Former Nagios Employee
Re: Can not import users
I have executed the command and I only see three users, the same ones I see in the GUI.
Code: Select all
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 3,
"max_score" : 1.0,
"hits" : [ {
"_index" : "nagioslogserver",
"_type" : "user",
"_id" : "AViGf9jYm-49zJRhezbJ",
"_score" : 1.0,
"_source":{"username":"ext-mherarv","password":"24f2fda76f28ba6427085431082b16dc6f76cd7901dd8628c8bf03efe582f3d7","email":"[email protected]","auth_type":"admin","lang":"en_US","apikey":"f71aca496cc4ccc3b5da025024c217bcea1f2b04","name":"Máximo Hernández Arvelo","apiaccess":"1","auth_settings":{"auth_server_id":"5832b98f8428f","type":"ad","dn":"","ad_username":"ext-mherarv"},"language":"default","created":"2016-11-21 10:47:55","created_by":"1","default_dashboard":"/dashboard/elasticsearch/AViGf9imm-49zJRhezbI"}
}, {
"_index" : "nagioslogserver",
"_type" : "user",
"_id" : "1",
"_score" : 1.0,
"_source":{"username":"adminatc","password":"24c90ed39a49019299c72ffa8e0488d0d1845af80770a032e5cf5678a9d48414","auth_type":"admin","email":"[email protected]","language":"default","apiaccess":"1","apikey":"bbb273646825cecac368f4c0357769a2d9a0163a","created":"2016-11-14 14:42:09","created_by":0,"default_dashboard":"/dashboard/elasticsearch/AVhkXJ1CvFo1IU9XsEob"}
}, {
"_index" : "nagioslogserver",
"_type" : "user",
"_id" : "AViGcK06m-49zJRhezWW",
"_score" : 1.0,
"_source":{"username":"mmelfaln","password":"c41064fc3964eb5741eef409921661c2af71fe67bc6e1403d0246b005c7986d4","email":"[email protected]","auth_type":"admin","lang":"en_US","apikey":"84458e4cdb688fd49f4963371b61402d08b5e25e","name":"Manuel Meli\u00e1n Falc\u00f3n","apiaccess":"1","auth_settings":{"auth_server_id":"5832b98f8428f","type":"ad","dn":null,"ad_username":"mmelfaln"},"language":"default","created":"2016-11-21 10:31:21","created_by":"1","default_dashboard":"\/dashboard\/elasticsearch\/AViGcKz_m-49zJRhezWV"}
} ]
}
}
Re: Can not import users
Got it - looks like they are not being created at all. Could you provide information about what type of LDAP server, and version that is running on the backend so we can attempt to recreate this?
Former Nagios Employee
Re: Can not import users
Active Directory in Windows Server 2012 R2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Can not import users
Do the usernames have any special characters? If so, you can escape them. Additional information on escaping char at http://www.rlmueller.net/CharactersEscaped.htm
Please let us know if this resolves your issue.
Please be aware that we are closing early today for US Thanksgiving. We will also be closed tomorrow (Thursday) and Friday.
Please let us know if this resolves your issue.
Please be aware that we are closing early today for US Thanksgiving. We will also be closed tomorrow (Thursday) and Friday.
Re: Can not import users
To add to what @dwhitfield mentioned - any special characters in the password?
I have a Windows 2012 R2 machine spinning up right now to do some testing and see if I can reproduce the error.
I have a Windows 2012 R2 machine spinning up right now to do some testing and see if I can reproduce the error.
Former Nagios Employee
Re: Can not import users
The usernames haven't any special character.
The problem is that it does not allow to import more than three users and if I delete one of the users and I add it again, it does not leave me.
And I do not get errors.
The problem is that it does not allow to import more than three users and if I delete one of the users and I add it again, it does not leave me.
And I do not get errors.
Re: Can not import users
I filed two bug reports based off of my testing, 10233 & 10234. However, with my testing, I am getting an error message stating 'Must be a unique username, the username(s) already exist. '.
From the LDAP / AD page, when you click 'Create Users' are you simply returned to the Manage Users page without anything stopping you?
From the LDAP / AD page, when you click 'Create Users' are you simply returned to the Manage Users page without anything stopping you?
Former Nagios Employee
Re: Can not import users
When I add again a user that previously deleted I do not get error.
When I add a totally new user does not allow to add more than three and I do not get error.
All done in the web interface, in the section "User Managament" -> "Add USers from LDAP / AD".
Where can I read the bug reports?
Thanks.
When I add a totally new user does not allow to add more than three and I do not get error.
All done in the web interface, in the section "User Managament" -> "Add USers from LDAP / AD".
Where can I read the bug reports?
Thanks.