Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

When log in as default admin error shows "NO TAG AFFECTEID TO YOUR PROFILE"

Hi....Need expert help...the default admin user "admin" end up with error "NO TAG AFFECTEID TO YOUR PROFILE" when try to login...I had another local admin user and that able to get in ..If i change access level of default admin account to "admin" from "sadmin" using webmin..it works as local admin profile...but when I assign the profile "sadmin" its not allow me to log in as superadmin ..seems like something happened to profile "sadmin"...is any option available to create a user with sadmin profile(Superadmin)...since only one available superadmin doesn`t allow to get in I m help less..If no work around i have to create server from searach.....Pls help.
in OCS Inventory NG server for Unix by (350 points)
edited by

1 Answer

0 votes

You need to change the localuser profile from localuser to sadmin.

Step as below:

1.Login xampp -> http://localhost/xampp

2.Select tool ->phpMyAdmin

3.Login  phpMyAdmin ->http://localhost/phpmyadmin/

4.Select DB ->ocsweb

5.select table -> operators

6.Check your localuser and replica

7.Chang the replica account group from "localuser" to "sadmin"  and  rename  replica ID form "local account" to

    "new account" -->exectue

8.Now you can user new account and password login the OCS server with "sadmin profile".

by (310 points)
edited by

Hi...Thanks for your guidance...however I had followed your steps...but no luck..!!

When i create a replica of another account(Which works fine) "hwadmin" with "admin" profile the new account says 'user not registered"message.

When i change the default super admin account profile to "admin" from "sadmin" ...I am able to log in...but with "sadmin" profile I cannot log in.

When I change "admin" profile of existing working account to "sadmin" ..it show same error as "NO TAG AFFECTEID TO YOUR PROFILE"...Any idea...? Pls help...Do you know how to give privilage to the profile"sadmin"..? I think sadmin profile itself have some permission issue.

I found the reason.

Fix step as below:

1. Rename the file to sadmin_config.txt-old

"your drive":\xampp\htdocs\ocsreports\plugins\main_sections\conf\sadmin_config.txt -->sadmin_config.txt-old

2.Copy the txt below and save to "sadmin_config.txt",it would fix the error.(The setp will Fallback sadmin profile)

<INFO>
NAME:g(140)
</INFO>

<RESTRICTION>
GUI:NO
TELEDIFF_WK:NO
TELEDIFF_WK_FIELDS:NO
TELEDIFF_ACTIVATE:NO
TELEDIFF_VISIBLE:TELEDIFF_VISIBLE
SUPPORT:NO
EXPORT_XML:EXPORT_XML
</RESTRICTION>

<CONFIGURATION>
TELEDIFF_WK:YES
IPDISCOVER:YES
TELEDIFF:YES
CONFIG:YES
GROUPS:YES
CONSOLE:YES
ALERTE_MSG:NO
ACCOUNTINFO:YES
CHANGE_ACCOUNTINFO:YES
CHANGE_USER_GROUP:YES
MANAGE_PROFIL:YES
MANAGE_USER_GROUP:YES
MANAGE_SMTP_COMMUNITIES:YES
DELETE_COMPUTERS:YES
</CONFIGURATION>

<ADMIN_BLACKLIST>
MACADD:YES
SERIAL:YES
IPDISCOVER:YES
</ADMIN_BLACKLIST>

<PAGE_PROFIL>
ms_all_computers
ms_config
ms_repart_tag
ms_groups
ms_all_soft
ms_multi_search
ms_custom_groups
ms_custom_lock
ms_custom_pack
ms_custom_sup
ms_custom_tag
ms_dict
ms_upload_file
ms_upload_file_popup
ms_regconfig
ms_logs
ms_admininfo
ms_ipdiscover
ms_admin_ipdiscover
ms_doubles
ms_label
ms_users
ms_custom_perim
ms_local
ms_help
ms_stats
ms_codes
ms_blacklist
ms_console
ms_components
ms_tele_package
ms_tele_activate
ms_tele_popup_active
ms_tele_actives
ms_tele_massaffect
ms_tele_pack
ms_rules_redistrib
ms_custom_param
ms_opt_ipdiscover
ms_group_show
ms_show_detail
ms_custom_info
ms_debug
ms_computer
ms_config_account
ms_soft_csv
ms_csv
ms_tele_stats
ms_tele_compress
ms_speed_stat
ms_teledeploy_workflow
ms_admin_management
ms_admin_user_group
ms_admin_profil
ms_adminvalues
ms_view_file
ms_search_soft
ms_options
ms_new_profil
ms_snmp
ms_snmp_detail
ms_update_new_tag
ms_server_redistrib
jp_teledeploy_stats
jp_teledeploy_speed_stats
jp_activity_stats
ms_ipdiscover_analyse
ms_stats_connexion
ms_add_key
ms_plugins
ms_plugins_packoffice
</PAGE_PROFIL>

@@@ Notice : after login OCS,you need to check the your sadmin profile and save again.

Thanks It helps...Now it working fine..thanks a million
 
Powered by Question2Answer
...