mbgtools-lx  4.2.8
User Management

Data Structures

struct  MBG_USER_PERM_BUF
 A structure used to store user permissions. More...
 
struct  MBG_USER_CHANNEL_BUF
 A structure used to store user channels. More...
 
struct  MBG_USER_MNGMNT_SETTINGS
 
struct  MBG_USER_MNGMNT_INFO
 
struct  MBG_USER_SETTINGS
 
struct  MBG_USER_SETTINGS_IDX
 
struct  MBG_USER_INFO
 
struct  MBG_USER_INFO_IDX
 
struct  MBG_USER_STATUS
 
struct  MBG_USER_STATUS_IDX
 

Macros

#define MBG_USER_PERM_STRS
 Strings for defined user permissions. More...
 
#define MAX_USER_PERM_BYTES   64
 
#define MAX_USER_PERM_BITS   MAX_USER_PERM_BYTES * 8
 
#define MAX_USER_CHANNEL_BYTES   16
 
#define MAX_USER_CHANNEL_BITS   MAX_USER_CHANNEL_BYTES * 8
 
#define MBG_USER_CHANNEL_STRS
 Strings for defined user channels. More...
 
#define _set_user_perm(_user_perm_bit, _user_perm_buffp)   _set_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )
 Set a user permission in a MBG_USER_PERM_BUF. More...
 
#define _clear_user_perm(_user_perm_bit, _user_perm_buffp)   _clear_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )
 Unset a user permission in a MBG_USER_PERM_BUF. More...
 
#define _check_user_perm(_user_perm_bit, _user_perm_buffp)   check_feat_supp_byte_array( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )
 Check a user permission in a MBG_USER_PERM_BUF. More...
 
#define _set_user_channel(_user_channel_bit, _user_channel_buffp)   _set_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )
 Set a user channel in a MBG_USER_CHANNEL_BUF. More...
 
#define _clear_user_channel(_user_channel_bit, _user_channel_buffp)   _clear_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )
 Unset a user channel in a MBG_USER_CHANNEL_BUF. More...
 
#define _check_user_channel(_user_channel_bit, _user_channel_buffp)   check_feat_supp_byte_array( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )
 Check a user channel in a MBG_USER_CHANNEL_BUF. More...
 
#define _mbg_swab_user_mngmnt_settings(_p)
 
#define _mbg_swab_user_mngmnt_info(_p)
 
#define MBG_MAX_USER_NAME_LEN   32
 
#define MBG_MAX_USER_PASSWORD_LEN   32
 
#define _mbg_swab_user_settings(_p)
 
#define _mbg_swab_user_settings_idx(_p)
 
#define _mbg_swab_user_info(_p)
 
#define _mbg_swab_user_info_idx(_p)
 
#define _mbg_swab_user_status(_p)
 
#define _mbg_swab_user_status_idx(_p)
 

Enumerations

enum  MBG_USER_PERMS {
  USER_PERM_SYSTEM, USER_PERM_RECEIVER, USER_PERM_MRS, USER_PERM_SERIAL,
  USER_PERM_IOPORTS, USER_PERM_MONITORING, USER_PERM_NETWORK, USER_PERM_NTP,
  USER_PERM_PTP, USER_PERM_FDM, USER_PERM_SENSORS, USER_PERM_PASSWORD,
  USER_PERM_USERS, USER_PERM_FIRMWARE, USER_PERM_SERVICE, USER_PERM_DATABASE,
  N_USER_PERMS
}
 
enum  MBG_USER_SCOPES { USER_SCOPE_STATUS_READ, USER_SCOPE_CONFIG_READ, USER_SCOPE_CONFIG_WRITE, N_USER_SCOPES }
 
enum  MBG_USER_SCOPE_MSKS { USER_SCOPE_STATUS_READ_MSK = ( 1UL << USER_SCOPE_STATUS_READ ), USER_SCOPE_CONFIG_READ_MSK = ( 1UL << USER_SCOPE_CONFIG_READ ), USER_SCOPE_CONFIG_WRITE_MSK = ( 1UL << USER_SCOPE_CONFIG_WRITE ) }
 
enum  MBG_USER_CHANNELS {
  USER_CHANNEL_WEB_INTERFACE, USER_CHANNEL_MBGDEVMAN, USER_CHANNEL_SHELL, USER_CHANNEL_SNMP,
  USER_CHANNEL_NETCONF, N_USER_CHANNELS
}
 
enum  MBG_USER_MNGMNT_FLAGS { USER_MNGMNT_SUPP_USER_CFG, USER_MNGMNT_SUPP_USER_LEVEL_CFG, N_USER_MNGMNT_FLAGS }
 
enum  MBG_USER_MNGMNT_FLAG_MASKS { USER_MNGMNT_SUPP_USER_CFG_MASK = ( 1UL << USER_MNGMNT_SUPP_USER_CFG ), USER_MNGMNT_SUPP_USER_LEVEL_CFG_MASK = ( 1UL << USER_MNGMNT_SUPP_USER_LEVEL_CFG ) }
 
enum  MBG_USER_TYPE { USER_TYPE_USER, USER_TYPE_LEVEL, N_USER_TYPES }
 
enum  MBG_USER_CFG_FLAGS {
  USER_CFG_CAN_LOGIN, USER_CFG_CAN_REMOVE, USER_CFG_CAN_DISABLE_ON_FAILS, USER_CFG_MULTI_SESSION,
  USER_CFG_FORCE_CHANGE_ON_WARN, USER_CFG_FORCE_DISABLE_ON_EXP, USER_CFG_PASSWORD_CHANGED, N_USER_CFG_FLAGS
}
 
enum  MBG_USER_CFG_FLAG_MASKS {
  USER_CFG_CAN_LOGIN_MASK = ( 1UL << USER_CFG_CAN_LOGIN ), USER_CFG_CAN_REMOVE_MASK = ( 1UL << USER_CFG_CAN_REMOVE ), USER_CFG_CAN_DISABLE_ON_FAILS_MASK = ( 1UL << USER_CFG_CAN_DISABLE_ON_FAILS ), USER_CFG_MULTI_SESSION_MASK = ( 1UL << USER_CFG_MULTI_SESSION ),
  USER_CFG_FORCE_CHANGE_ON_WARN_MASK = ( 1UL << USER_CFG_FORCE_CHANGE_ON_WARN ), USER_CFG_FORCE_DISABLE_ON_EXP_MASK = ( 1UL << USER_CFG_FORCE_DISABLE_ON_EXP ), USER_CFG_PASSWORD_CHANGED_MASK = ( 1UL << USER_CFG_PASSWORD_CHANGED )
}
 
enum  MBG_USER_STAT_FLAGS {
  USER_STAT_PASSWORD_WARN, USER_STAT_PASSWORD_EXP, USER_STAT_DISABLED_ON_EXP, USER_STAT_DISABLED_ON_MAX_FAILS,
  N_USER_STAT_FLAGS
}
 
enum  MBG_USER_STAT_FLAG_MASKS { USER_STAT_PASSWORD_WARN_MASK = ( 1UL << USER_STAT_PASSWORD_WARN ), USER_STAT_PASSWORD_EXP_MASK = ( 1UL << USER_STAT_PASSWORD_EXP ), USER_STAT_DISABLED_ON_EXP_MASK = ( 1UL << USER_STAT_DISABLED_ON_EXP ), USER_STAT_DISABLED_ON_MAX_FAILS_MASK = ( 1UL << USER_STAT_DISABLED_ON_MAX_FAILS ) }
 

Detailed Description

Note
These structures and definitions provide an extended user management for Meinberg devices based on the Linux user management and the files /etc/passwd and /etc/shadow. They are only supported by a device, if MBG_XFEATURE_USER_MNGMNT is set in the extended device features.

Macro Definition Documentation

◆ _check_user_channel

#define _check_user_channel (   _user_channel_bit,
  _user_channel_buffp 
)    check_feat_supp_byte_array( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )

Check a user channel in a MBG_USER_CHANNEL_BUF.

Parameters
[in]_user_channel_bitOne of MBG_USER_CHANNELS
[in]_user_channel_buffpPointer to an MBG_USER_CHANNEL_BUF

Definition at line 22706 of file gpsdefs.h.

◆ _check_user_perm

#define _check_user_perm (   _user_perm_bit,
  _user_perm_buffp 
)    check_feat_supp_byte_array( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )

Check a user permission in a MBG_USER_PERM_BUF.

Parameters
[in]_user_perm_bitOne of MBG_USER_PERMS
[in]_user_perm_buffpPointer to an MBG_USER_PERM_BUF

Definition at line 22660 of file gpsdefs.h.

Referenced by mbgextio_chk_user_perm().

◆ _clear_user_channel

#define _clear_user_channel (   _user_channel_bit,
  _user_channel_buffp 
)    _clear_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )

Unset a user channel in a MBG_USER_CHANNEL_BUF.

Parameters
[in]_user_channel_bitOne of MBG_USER_CHANNELS
[in]_user_channel_buffpPointer to an MBG_USER_CHANNEL_BUF

Definition at line 22696 of file gpsdefs.h.

◆ _clear_user_perm

#define _clear_user_perm (   _user_perm_bit,
  _user_perm_buffp 
)    _clear_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )

Unset a user permission in a MBG_USER_PERM_BUF.

Parameters
[in]_user_perm_bitOne of MBG_USER_PERMS
[in]_user_perm_buffpPointer to an MBG_USER_PERM_BUF

Definition at line 22650 of file gpsdefs.h.

◆ _mbg_swab_user_info

#define _mbg_swab_user_info (   _p)
Value:
do \
{ \
_mbg_swab_user_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->uid ); \
_mbg_swab32( &(_p)->gid ); \
_mbg_swab32( &(_p)->password_doc ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 22888 of file gpsdefs.h.

◆ _mbg_swab_user_info_idx

#define _mbg_swab_user_info_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_user_info( &(_p)->info ); \
} while ( 0 )

Definition at line 22907 of file gpsdefs.h.

Referenced by mbgextio_get_user_info_idx(), and mbgextio_get_user_level_info_idx().

◆ _mbg_swab_user_mngmnt_info

#define _mbg_swab_user_mngmnt_info (   _p)
Value:
do \
{ \
_mbg_swab_user_mngmnt_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->n_supp_users ); \
_mbg_swab32( &(_p)->n_supp_levels ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 22767 of file gpsdefs.h.

Referenced by mbgextio_get_user_mngmnt_info().

◆ _mbg_swab_user_mngmnt_settings

#define _mbg_swab_user_mngmnt_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->num_users ); \
_mbg_swab32( &(_p)->num_levels ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 22740 of file gpsdefs.h.

Referenced by mbgextio_set_user_mngmnt_settings().

◆ _mbg_swab_user_settings

#define _mbg_swab_user_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->warn_days ); \
_mbg_swab32( &(_p)->exp_days ); \
_mbg_swab32( &(_p)->max_fails ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )

Definition at line 22843 of file gpsdefs.h.

◆ _mbg_swab_user_settings_idx

#define _mbg_swab_user_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_user_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 22861 of file gpsdefs.h.

Referenced by mbgextio_set_user_level_settings_idx(), and mbgextio_set_user_settings_idx().

◆ _mbg_swab_user_status

#define _mbg_swab_user_status (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->flags ); \
_mbg_swab32( &(_p)->login_cnt ); \
_mbg_swab32( &(_p)->num_fails ); \
} while ( 0 )

Definition at line 22951 of file gpsdefs.h.

◆ _mbg_swab_user_status_idx

#define _mbg_swab_user_status_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_user_status( &(_p)->status ); \
} while ( 0 )

Definition at line 22968 of file gpsdefs.h.

Referenced by mbgextio_get_user_status_idx().

◆ _set_user_channel

#define _set_user_channel (   _user_channel_bit,
  _user_channel_buffp 
)    _set_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES )

Set a user channel in a MBG_USER_CHANNEL_BUF.

Parameters
[in]_user_channel_bitOne of MBG_USER_CHANNELS
[in]_user_channel_buffpPointer to an MBG_USER_CHANNEL_BUF

Definition at line 22686 of file gpsdefs.h.

◆ _set_user_perm

#define _set_user_perm (   _user_perm_bit,
  _user_perm_buffp 
)    _set_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES )

Set a user permission in a MBG_USER_PERM_BUF.

Parameters
[in]_user_perm_bitOne of MBG_USER_PERMS
[in]_user_perm_buffpPointer to an MBG_USER_PERM_BUF

Definition at line 22640 of file gpsdefs.h.

◆ MAX_USER_CHANNEL_BITS

#define MAX_USER_CHANNEL_BITS   MAX_USER_CHANNEL_BYTES * 8

Definition at line 22598 of file gpsdefs.h.

◆ MAX_USER_CHANNEL_BYTES

#define MAX_USER_CHANNEL_BYTES   16

Definition at line 22597 of file gpsdefs.h.

◆ MAX_USER_PERM_BITS

#define MAX_USER_PERM_BITS   MAX_USER_PERM_BYTES * 8

Definition at line 22582 of file gpsdefs.h.

◆ MAX_USER_PERM_BYTES

#define MAX_USER_PERM_BYTES   64

Definition at line 22581 of file gpsdefs.h.

◆ MBG_MAX_USER_NAME_LEN

#define MBG_MAX_USER_NAME_LEN   32

Definition at line 22814 of file gpsdefs.h.

◆ MBG_MAX_USER_PASSWORD_LEN

#define MBG_MAX_USER_PASSWORD_LEN   32

Definition at line 22815 of file gpsdefs.h.

◆ MBG_USER_CHANNEL_STRS

#define MBG_USER_CHANNEL_STRS
Value:
{ \
"Web Interface", \
"Device Manager", \
"Shell", \
"SNMP", \
"Netconf" \
}

Strings for defined user channels.

See also
MBG_USER_CHANNELS

Definition at line 22606 of file gpsdefs.h.

◆ MBG_USER_PERM_STRS

#define MBG_USER_PERM_STRS
Value:
{ \
"System", \
"Receiver", \
"Ref. Sources", \
"Serial Ports", \
"IO Ports", \
"Monitoring", \
"Network", \
"NTP", \
"PTP", \
"FDM", \
"Sensors", \
"Password", \
"Users", \
"Firmware", \
"Services", \
"Database" \
}

Strings for defined user permissions.

See also
MBG_USER_PERMS

Definition at line 22541 of file gpsdefs.h.

Enumeration Type Documentation

◆ MBG_USER_CFG_FLAG_MASKS

Enumerator
USER_CFG_CAN_LOGIN_MASK 

see USER_CFG_CAN_LOGIN

USER_CFG_CAN_REMOVE_MASK 

see USER_CFG_CAN_REMOVE

USER_CFG_CAN_DISABLE_ON_FAILS_MASK 

see USER_CFG_CAN_DISABLE_ON_FAILS

USER_CFG_MULTI_SESSION_MASK 

see USER_CFG_MULTI_SESSION

USER_CFG_FORCE_CHANGE_ON_WARN_MASK 

see USER_CFG_FORCE_CHANGE_ON_WARN

USER_CFG_FORCE_DISABLE_ON_EXP_MASK 

see USER_CFG_FORCE_DISABLE_ON_EXP

USER_CFG_PASSWORD_CHANGED_MASK 

see USER_CFG_PASSWORD_CHANGED

Definition at line 22801 of file gpsdefs.h.

◆ MBG_USER_CFG_FLAGS

Enumerator
USER_CFG_CAN_LOGIN 

the user is allowed to login (should not be set for root)

USER_CFG_CAN_REMOVE 

the user can be removed (should not be set for root)

USER_CFG_CAN_DISABLE_ON_FAILS 

the user supports the disabling after a number of login fails, see MBG_USER_SETTINGS::max_fails

USER_CFG_MULTI_SESSION 

allow user to login more than once (i.e. via TCP & Web)

USER_CFG_FORCE_CHANGE_ON_WARN 

user shall be forced to change the password on password warning

USER_CFG_FORCE_DISABLE_ON_EXP 

user account will immediately be disabled on password expiration, if this flags is not set, the user shall be forced to change the password on the next login attempt

USER_CFG_PASSWORD_CHANGED 

Indicates, that the password has been changed and needs to be crypted.

N_USER_CFG_FLAGS 

Definition at line 22786 of file gpsdefs.h.

◆ MBG_USER_CHANNELS

Enumerator
USER_CHANNEL_WEB_INTERFACE 
USER_CHANNEL_MBGDEVMAN 
USER_CHANNEL_SHELL 
USER_CHANNEL_SNMP 
USER_CHANNEL_NETCONF 
N_USER_CHANNELS 

Definition at line 22585 of file gpsdefs.h.

◆ MBG_USER_MNGMNT_FLAG_MASKS

Enumerator
USER_MNGMNT_SUPP_USER_CFG_MASK 

see USER_MNGMNT_SUPP_USER_CFG

USER_MNGMNT_SUPP_USER_LEVEL_CFG_MASK 

see USER_MNGMNT_SUPP_USER_LEVEL_CFG

Definition at line 22719 of file gpsdefs.h.

◆ MBG_USER_MNGMNT_FLAGS

Enumerator
USER_MNGMNT_SUPP_USER_CFG 

device supports user configuration, otherwise users are static

USER_MNGMNT_SUPP_USER_LEVEL_CFG 

device supports user level configuration, otherwise user levels are static

N_USER_MNGMNT_FLAGS 

Definition at line 22710 of file gpsdefs.h.

◆ MBG_USER_PERMS

Enumerator
USER_PERM_SYSTEM 

permission to read/write system related structures GPS_SCU_STAT GPS_TIME_SCALE GPS_TZDL PZF_TZCODE GPS_REBOOT MBG_TLV_FEAT_TYPE_DIAG_FILE GPS_TAINTED_CFG GPS_XBP_LIMITS GPS_XBP_NODE_LIMITS GPS_XBP_NODE_INFO_IDX

USER_PERM_RECEIVER 

permission to read/write receiver related structures GPS_TIME GPS_ANT_CABLE_LENGTH GPS_GNSS_MODE GPS_IGNORE_LOCK GPS_SAVE_CFG GPS_POS_XYZ GPS_POS_LLA GPS_STAT_INFO ::GPS_SV_INFO GPS_GNSS_SAT_INFO_IDX GPS_GNSS_SV_STATUS_IDX GPS_CLR_EVT_LOG GPS_NUM_EVT_LOG_ENTRIES GPS_FIRST_EVT_LOG_ENTRY GPS_NEXT_EVT_LOG_ENTRY

USER_PERM_MRS 

permission to read/write MRS related structures GPS_XMR_INSTANCES GPS_XMR_INFO_IDX GPS_XMR_EXT_SRC_INFO_IDX GPS_XMR_STATUS_IDX GPS_XMR_HOLDOVER_STATUS GPS_XMR_STATS_IDX GPS_XMR_METRICS_IDX

USER_PERM_SERIAL 

permission to read/write serial port related structures GPS_PORT_INFO_IDX GPS_STR_TYPE_INFO_IDX

USER_PERM_IOPORTS 

permission to read/write IO port related structures GPS_IRIG_RX_INFO GPS_RAW_IRIG_DATA GPS_REF_OFFS GPS_IRIG_RX_SETTINGS GPS_IRIG_TX_INFO GPS_SYNTH GPS_ENABLE_FLAGS GPS_IRIG_TX_SETTINGS GPS_POUT_INFO_IDX GPS_POUT_SETTINGS_IDX GPS_GPIO_CFG_LIMITS GPS_GPIO_INFO_IDX GPS_GPIO_SETTINGS_IDX GPS_GPIO_STATUS_IDX GPS_IO_PORT_LIMITS GPS_IO_PORT_INFO_IDX GPS_IO_PORT_TYPE_INFO_IDX GPS_IO_PORT_SETTINGS_IDX GPS_IO_PORT_STATUS_IDX GPS_UCAP_NET_GLB_INFO GPS_UCAP_NET_RECV_INFO_IDX GPS_CLR_UCAP_BUFF GPS_UCAP

USER_PERM_MONITORING 

permission to read/write monitoring related structures GPS_MONITORING_LIMITS GPS_SNMP_GLB GPS_SNMP_V12_IDX GPS_SNMP_V12_TRAP_IDX GPS_SNMP_V3_IDX GPS_SNMP_V3_TRAP_IDX GPS_EVENT_IDX GPS_EVENT_STAT_IDX GPS_EVENT_VALUE_IDX GPS_NUM_EVT_LOG_ENTRIES GPS_FIRST_EVT_LOG_ENTRY GPS_NEXT_EVT_LOG_ENTRY GPS_CLR_EVT_LOG GPS_SYSLOG_GLB_INFO GPS_SYSLOG_INFO_IDX

USER_PERM_NETWORK 

permission to read/write network related structures GPS_NET_GLB_CFG GPS_NET_STAT_GLB_CFG GPS_NET_INTF_LINK_IDX GPS_NET_STAT_INTF_LINK_IDX GPS_NET_INTF_ADDR_IDX GPS_NET_STAT_INTF_ADDR_IDX GPS_NET_INTF_ROUTE_IDX GPS_NET_STAT_INTF_ROUTE_IDX GPS_NET_DNS_SRVR GPS_NET_STAT_DNS_SRVR GPS_NET_DNS_SRCH_DOM GPS_NET_STAT_DNS_SRCH_DOM GPS_LAN_IF_INFO GPS_IP4_SETTINGS GPS_IP4_STATE

USER_PERM_NTP 

permission to read/write NTP related structures GPS_NTP_GLB_CFG GPS_NTP_SYS_STATE GPS_NTP_SYMM_KEY_LIMITS GPS_NTP_SYMM_KEY_CFG GPS_NTP_TRUSTED_KEY_CFG GPS_NTP_CLNT_MODE_CFG GPS_NTP_PEER_SETTINGS_IDX GPS_NTP_PEER_STATE_IDX GPS_NTP_SRV_MODE_CFG GPS_NTP_REFCLK_CFG GPS_NTP_REFCLK_STATE_IDX GPS_NTP_MISC_LIMITS GPS_NTP_MISC_ORPHAN_MODE

USER_PERM_PTP 

permission to read/write PTP related structures GPS_PTP_CFG GPS_PTP_STATE GPS_PTP_UC_MASTER_CFG_LIMITS GPS_PTP_UC_MASTER_CFG GPS_PTP_V2_DEFAULT_DS GPS_PTP_V2_CURRENT_DS GPS_PTP_V2_PARENT_DS GPS_PTP_V2_TIME_PROP_DS GPS_PTP_V2_PORT_DS_IDX GPS_PTP_V1_DEFAULT_DS GPS_PTP_V1_CURRENT_DS GPS_PTP_V1_PARENT_DS GPS_PTP_V1_TIME_PROP_DS GPS_PTP_V1_PORT_DS_IDX

USER_PERM_FDM 

permission to read/write FDM related structures GPS_FDM_LIMITS GPS_FDM_INFO GPS_FDM_STATE GPS_FDM_SETTINGS GPS_FDM_OUTPUT_INFO_IDX GPS_FDM_OUTPUT_SETTINGS_IDX GPS_FDM_OUTPUT_STATE_IDX GPS_FDM_SET_TD

USER_PERM_SENSORS 

permission to read sensors related structures GPS_IMS_STATE GPS_IMS_SENSOR_STATE_IDX

USER_PERM_PASSWORD 

permission to read/change the user password

USER_PERM_USERS 

permission to read/write user related structures GPS_USER_MNGMNT_INFO GPS_USER_INFO_IDX GPS_USER_LEVEL_INFO_IDX GPS_USER_STATUS_IDX

USER_PERM_FIRMWARE 

permission to read/write firmware of a device GPS_FW_GLB_INFO GPS_FW_INFO_IDX GPS_FW_UFU_INFO_IDX GPS_FW_ACTIVATE GPS_FW_DELETE GPS_FW_UFU_FLASH MBG_TLV_FEAT_TYPE_FW_UPDATE MBG_TLV_FEAT_TYPE_UFU MBG_TLV_FEAT_TYPE_FW_ROLLBACK

USER_PERM_SERVICE 

permission to read/write service related structures ::GPS_SRV_MGMT_INFO ::GPS_SRV_INFO_IDX ::GPS_SRV_STATUS_IDX ::GPS_SRV_CTL_IDX

USER_PERM_DATABASE 

permission to read/write database related structures GPS_DATABASE_GLB_INFO GPS_DATABASE_INFO_IDX

N_USER_PERMS 

Definition at line 22370 of file gpsdefs.h.

◆ MBG_USER_SCOPE_MSKS

Enumerator
USER_SCOPE_STATUS_READ_MSK 

see USER_SCOPE_STATUS_READ

USER_SCOPE_CONFIG_READ_MSK 

see USER_SCOPE_CONFIG_READ

USER_SCOPE_CONFIG_WRITE_MSK 

see USER_SCOPE_CONFIG_WRITE

Definition at line 22572 of file gpsdefs.h.

◆ MBG_USER_SCOPES

Enumerator
USER_SCOPE_STATUS_READ 
USER_SCOPE_CONFIG_READ 
USER_SCOPE_CONFIG_WRITE 
N_USER_SCOPES 

Definition at line 22562 of file gpsdefs.h.

◆ MBG_USER_STAT_FLAG_MASKS

Enumerator
USER_STAT_PASSWORD_WARN_MASK 

see USER_STAT_PASSWORD_WARN

USER_STAT_PASSWORD_EXP_MASK 

see USER_STAT_PASSWORD_EXP

USER_STAT_DISABLED_ON_EXP_MASK 

see USER_STAT_DISABLED_ON_EXP

USER_STAT_DISABLED_ON_MAX_FAILS_MASK 

see USER_STAT_DISABLED_ON_MAX_FAILS

Definition at line 22926 of file gpsdefs.h.

◆ MBG_USER_STAT_FLAGS

Enumerator
USER_STAT_PASSWORD_WARN 

the user shall be warned about upcoming password expiration

USER_STAT_PASSWORD_EXP 

the user password has expired

USER_STAT_DISABLED_ON_EXP 

the user is disabled, because the password has expired

USER_STAT_DISABLED_ON_MAX_FAILS 

the user is disabled, because the max number of login fails has been exceeded

N_USER_STAT_FLAGS 

Definition at line 22915 of file gpsdefs.h.

◆ MBG_USER_TYPE

Enumerator
USER_TYPE_USER 

standard system user

USER_TYPE_LEVEL 

user level for external authentication and as template for new users

N_USER_TYPES 

Definition at line 22777 of file gpsdefs.h.