neilhsfc
-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
Enhancement Requests
Posts posted by neilhsfc
-
-
What role(s) do I need to give this user?
-
Makes sense, i'll give it a go. Thanks!
-
Hi Guys, hopfully you can help? It appears that the ldap_user_import tool is not creating the users or updating them. Could you take a look at the log and let me know what is going on? It looks like 2016/06/17 08:39:42 [ERROR] Unable to Create User: Unable to load the user security session is the issue.
Thanks!
2016/06/17 09:39:39 [DEBUG] ---- XMLMC LDAP Import Utility V2.0.3 ----
2016/06/17 09:39:39 [DEBUG] Flag - Config File conf.json
2016/06/17 09:39:39 [DEBUG] Flag - Zone eur
2016/06/17 09:39:39 [DEBUG] Flag - Dry Run false
2016/06/17 09:39:39 [DEBUG] Flag - Workers 1
2016/06/17 09:39:39 [DEBUG] Loading Config File: C:\ldap_user_import_win_x64_v2_0_3/conf.json
2016/06/17 09:39:39 [DEBUG] Instance Endpoint https://eurapi.hornbill.com/hsfc/xmlmc/
2016/06/17 09:39:40 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:39:40 [DEBUG] Attempting Connection to LDAP...
Server: hsfc-dcpm01
Port: 389
Type:
Skip Verify: false
Debug: false
2016/06/17 09:39:40 [DEBUG] Creating LDAP Connection
2016/06/17 09:39:40 [DEBUG] LDAP Search Query
{Server:hsfc-dcpm01 UserName:REMOVED Password:REMOVED Port:389 ConnectionType: InsecureSkipVerify:false Scope:1 DerefAliases:1 SizeLimit:0 TimeLimit:0 TypesOnly:false Filter:(objectClass=user) DSN:OU=Roaming_Users,OU=Users,OU=Roaming_Profile_Users,OU=NetFlow,DC=havering-sfc,DC=local Debug:false} ----
2016/06/17 09:39:40 [DEBUG] LDAP Results: 10
2016/06/17 09:39:40 [DEBUG] Processing Users
2016/06/17 09:39:42 2016/06/17 08:39:40 [DEBUG] Buffer For Job: 1 - Worker: 1 - User: _roaming_users
2016/06/17 08:39:41 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:41 [DEBUG] Create User: _roaming_users
2016/06/17 08:39:41 [DEBUG] password
2016/06/17 08:39:41 [DEBUG] Auto Generated Password for: _Roaming_Users - JBbpxcxBHh
2016/06/17 08:39:41 [ERROR] Unable to Load LDAP Attribute: givenName For Input Param: [givenName]
2016/06/17 08:39:41 [ERROR] Unable to Load LDAP Attribute: sn For Input Param: [sn]
2016/06/17 08:39:41 [ERROR] Unable to Load LDAP Attribute: title For Input Param: [title]
2016/06/17 08:39:41 [ERROR] Unable to Load LDAP Attribute: telephoneNumber For Input Param: [telephoneNumber]
2016/06/17 08:39:41 [ERROR] Unable to Load LDAP Attribute: mail For Input Param: [mail]
2016/06/17 08:39:42 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:44 2016/06/17 08:39:42 [DEBUG] Buffer For Job: 2 - Worker: 1 - User: aja
2016/06/17 08:39:43 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:43 [DEBUG] Create User: aja
2016/06/17 08:39:43 [DEBUG] password
2016/06/17 08:39:43 [DEBUG] Auto Generated Password for: AJA - sbDmXrifiE
2016/06/17 08:39:44 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:46 2016/06/17 08:39:44 [DEBUG] Buffer For Job: 3 - Worker: 1 - User: emg
2016/06/17 08:39:45 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:45 [DEBUG] Create User: emg
2016/06/17 08:39:45 [DEBUG] password
2016/06/17 08:39:45 [DEBUG] Auto Generated Password for: EMG - DlrYLmoYzM
2016/06/17 08:39:45 [ERROR] Unable to Load LDAP Attribute: telephoneNumber For Input Param: [telephoneNumber]
2016/06/17 08:39:46 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:48 2016/06/17 08:39:46 [DEBUG] Buffer For Job: 4 - Worker: 1 - User: gmm
2016/06/17 08:39:47 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:47 [DEBUG] Create User: gmm
2016/06/17 08:39:47 [DEBUG] password
2016/06/17 08:39:47 [DEBUG] Auto Generated Password for: GMM - LELQgIkhzN
2016/06/17 08:39:48 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:50 2016/06/17 08:39:48 [DEBUG] Buffer For Job: 5 - Worker: 1 - User: jih
2016/06/17 08:39:49 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:49 [DEBUG] Create User: jih
2016/06/17 08:39:49 [DEBUG] password
2016/06/17 08:39:49 [DEBUG] Auto Generated Password for: JIH - MOSKhGHCVZ
2016/06/17 08:39:49 [ERROR] Unable to Load LDAP Attribute: title For Input Param: [title]
2016/06/17 08:39:49 [ERROR] Unable to Load LDAP Attribute: telephoneNumber For Input Param: [telephoneNumber]
2016/06/17 08:39:50 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:52 2016/06/17 08:39:50 [DEBUG] Buffer For Job: 6 - Worker: 1 - User: jtm
2016/06/17 08:39:51 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:51 [DEBUG] Create User: jtm
2016/06/17 08:39:51 [DEBUG] password
2016/06/17 08:39:51 [DEBUG] Auto Generated Password for: JTM - ykWfHSwUEM
2016/06/17 08:39:52 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:54 2016/06/17 08:39:52 [DEBUG] Buffer For Job: 7 - Worker: 1 - User: pcc
2016/06/17 08:39:53 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:53 [DEBUG] Create User: pcc
2016/06/17 08:39:53 [DEBUG] password
2016/06/17 08:39:53 [DEBUG] Auto Generated Password for: PCC - EvyVvRfCDH
2016/06/17 08:39:54 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:55 2016/06/17 08:39:54 [DEBUG] Buffer For Job: 8 - Worker: 1 - User: pec
2016/06/17 08:39:54 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:54 [DEBUG] Create User: pec
2016/06/17 08:39:54 [DEBUG] password
2016/06/17 08:39:54 [DEBUG] Auto Generated Password for: PEC - RPOfhAruXS
2016/06/17 08:39:55 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:57 2016/06/17 08:39:55 [DEBUG] Buffer For Job: 9 - Worker: 1 - User: rao
2016/06/17 08:39:56 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:56 [DEBUG] Create User: rao
2016/06/17 08:39:56 [DEBUG] password
2016/06/17 08:39:56 [DEBUG] Auto Generated Password for: RAO - spWRwsOyIh
2016/06/17 08:39:57 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:59 2016/06/17 08:39:57 [DEBUG] Buffer For Job: 10 - Worker: 1 - User: roaming
2016/06/17 08:39:58 [ERROR] Unable to Search For User: Unable to load the user security session
2016/06/17 08:39:58 [DEBUG] Create User: roaming
2016/06/17 08:39:58 [DEBUG] password
2016/06/17 08:39:58 [DEBUG] Auto Generated Password for: roaming - eEQRqPJrIG
2016/06/17 08:39:58 [ERROR] Unable to Load LDAP Attribute: title For Input Param: [title]
2016/06/17 08:39:58 [ERROR] Unable to Load LDAP Attribute: telephoneNumber For Input Param: [telephoneNumber]
2016/06/17 08:39:58 [ERROR] Unable to Load LDAP Attribute: mail For Input Param: [mail]
2016/06/17 08:39:59 [ERROR] Unable to Create User: Unable to load the user security session2016/06/17 09:39:59 [ERROR] Error encountered please check the log file
2016/06/17 09:39:59 [ERROR] Error Count: 10
2016/06/17 09:39:59 [DEBUG] Updated: 0
2016/06/17 09:39:59 [DEBUG] Updated Skipped: 0
2016/06/17 09:39:59 [DEBUG] Created: 0
2016/06/17 09:39:59 [DEBUG] Created Skipped: 0
2016/06/17 09:39:59 [DEBUG] Profiles Updated: 0
2016/06/17 09:39:59 [DEBUG] Profiles Skipped: 0
2016/06/17 09:39:59 [DEBUG] Time Taken: 20.6560181s
2016/06/17 09:40:00 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:01 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:02 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:03 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:04 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:05 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:06 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:07 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:08 [ERROR] Unable to write to log Unable to load the user security session
2016/06/17 09:40:08 [DEBUG] ---- XMLMC LDAP Import Complete ----
-
Thanks Sam and Martyn, I will take a look at these in the morning. I suspect that it will be the user I am using to authenticate.
- 1
-
Thanks for the (much needed) help!
OK, slightly more success now, but have got this error now.
C:\ldap_user_import_win_x64_v2_0_3>ldap_user_import.exe
[DEBUG] ---- XMLMC LDAP Import Utility V2.0.3 ----
[DEBUG] Flag - Config File conf.json
[DEBUG] Flag - Zone eur
[DEBUG] Flag - Dry Run false
[DEBUG] Instance Endpoint https://eurapi.hornbill.com/hsfc/xmlmc/
[ERROR] Unable to write to log Unable to load the user security session
[DEBUG] Attempting Connection to LDAP...
Server: DOMAIN CONTROLLER NAME
Port: 389
Type:
Skip Verify: false
Debug: false
[DEBUG] LDAP Results: 10
10 / 10 [========================================================] 100.00 % 22s
Processing Complete!
[ERROR] Error encountered please check the log file
[ERROR] Error Count: 10
[DEBUG] Updated: 0
[DEBUG] Updated Skipped: 0
[DEBUG] Created: 0
[DEBUG] Created Skipped: 0
[DEBUG] Profiles Updated: 0
[DEBUG] Profiles Skipped: 0
[DEBUG] Time Taken: 24.4214657s
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[ERROR] Unable to write to log Unable to load the user security session
[DEBUG] ---- XMLMC LDAP Import Complete ----C:\ldap_user_import_win_x64_v2_0_3>
-
Ok, it appears you need to put false in quotes "".
Still getting this in the command prompt though:
[DEBUG] Flag - Dry Run true
[ERROR] Error Decoding Configuration File: json: cannot unmarshal string into Go
value of type bool
[DEBUG] Instance Endpoint https://eurapi.hornbill.com/hsfc/xmlmc/
[ERROR] Unable to write to log Unable to load the user security session
[DEBUG] Attempting Connection to LDAP... -
Thanks for this guys. Still throws the error about the 'F', do I need to put false in quotes?
Now stuck again, I don't think I was using the correct user to authenticate, but I am only allowed to have the user I have used as a "basic user" it won't allow me to change the type from "Basic"
It will not let me assign higher roles to that specific user to use elevated rights.
Here is my conf file:
"APIKey": "the one i create for the user: installer",
"InstanceId": "hsfc",
"UpdateUserType":false,
"UserRoleAction":"Create",
"LDAPServerConf": {
"Server": "FQDN of Domain Controller",
"UserName": "installer",
"Password": "i'm not that stupid",
"Port": 389,
"ConnectionType": "",
"InsecureSkipVerify":false,
"Scope": 1,
"DerefAliases": 1,
"SizeLimit": 0,
"TimeLimit": 0,
"TypesOnly":false,
"Filter": "(objectClass=user)",
"DSN": "OU=Roaming_Users,OU=Users,OU=Roaming_Profile_Users,OU=NetFlow,DC=havering-sfc,DC=local",
"Debug":false
},
"UserMapping":{
"UserId":"[sAMAccountName]",
"UserType":"basic",
"Name":"[cn]",
"Password":"",
"FirstName":"[givenName]",
"LastName":"[sn]",
"JobTitle":"",
"Site":"",
"Phone":"telephoneNumber",
"Email":"[mail]",
"Mobile":"",
"AbsenceMessage":"",
"TimeZone":"",
"Language":"",
"DateTimeFormat":"",
"DateFormat":"",
"TimeFormat":"",
"CurrencySymbol":"",
"CountryCode":""
},
"UserAccountStatus":{
"Action":"Update",
"Enabled":false,
"Status":"active"
},
"UserProfileMapping":{
"MiddleName":"",
"JobDescription":"",
"Manager":"",
"WorkPhone":"",
"Qualifications":"",
"Interests":"",
"Expertise":"",
"Gender":"",
"Dob":"",
"Nationality":"",
"Religion":"",
"HomeTelephone":"",
"SocialNetworkA":"",
"SocialNetworkB":"",
"SocialNetworkC":"",
"SocialNetworkD":"",
"SocialNetworkE":"",
"SocialNetworkF":"",
"SocialNetworkG":"",
"SocialNetworkH":"",
"PersonalInterests":"",
"homeAddress":"",
"PersonalBlog":"",
"Attrib1":"1",
"Attrib2":"2",
"Attrib3":"3",
"Attrib4":"4",
"Attrib5":"5",
"Attrib6":"6",
"Attrib7":"7",
"Attrib8":"8"
},
"UserManagerMapping":{
"Action":"Create",
"Enabled":False,
"Attribute":"[manager]",
"GetIDFromName":true,
"Regex":"CN=(.*?)(?:,[A-Z]+=|$)",
"Reverse":true
},
"LDAPAttributes":[
"cn",
"sn",
"telephoneNumber",
"mobile",
"sAMAccountName",
"userPrincipalName",
"givenName",
"description",
"department",
"manager"
],
"Roles":[
"Basic User Role",
"Self Service Role"
],
"SiteLookup":{
"Action":"Both",
"Enabled": false,
"Attribute":""
},
"OrgLookup":{
"Action":"Both",
"Enabled":false,
"Attribute":"[department]",
"Type":2,
"Membership":"member",
"TasksView":false,
"TasksAction":false
}
}
-
Hi,
Getting this error using the conf.json for the LDAP_User_Import tool.
Someone please help, not too sure why it is throwing this error?
2016/06/14 15:10:36 [DEBUG] ---- XMLMC LDAP Import Utility V2.0.3 ----
2016/06/14 15:10:36 [DEBUG] Flag - Config File conf.json
2016/06/14 15:10:36 [DEBUG] Flag - Zone eur
2016/06/14 15:10:36 [DEBUG] Flag - Dry Run true
2016/06/14 15:10:36 [DEBUG] Flag - Workers 1
2016/06/14 15:10:36 [DEBUG] Loading Config File: C:\ldap_user_import_win_x64_v2_0_3/conf.json
2016/06/14 15:10:36 [ERROR] Error Decoding Configuration File: invalid character 'F' looking for beginning of value
2016/06/14 15:10:36 [ERROR] API Key is not set
2016/06/14 15:10:36 [ERROR] Please Check your Configuration File: conf.json
Many thanks!
Neil
in Service Manager
Posted
Thanks for that Martyn and DeadMeat!
Yay another error!
"you cannot assign a role that has a privilege level of 'admin' to a basic user account. "
I cannot change this users account off of basic, something to do with number of licensed users.