"VCS ERROR V-16-1-11332 Invalid credentials, unable to create halogin session" is returned by halogin

book

Article ID: 100033832

calendar_today

Updated On:

Description

Error Message


Cause

The problem is caused by the missing 32-bit shared libraries, libnss_sss.os or libnss_ldap.so while LDAP is in use.   

Halogin requires all of the shared libraries to be 32-bit. Without the required 32-bit shared libraries, the library call to getpwuid_r() fails to get the home directory from the passwd record. It fails to generate the .vcspwd file name.

Resolution

Install the required 32-bit shared libraries, as mentioned in the following Red Hat solution article :

GLib throwing error "getpwuid_r() failed due to unknown user id"​
ht tps://access.redhat.com/solutions/153833


 

Issue/Introduction

The halogin command fails with error  ERROR V-16-1-11332.

Example:

# halogin user01

Enter Password:
VCS WARNING V-16-1-12032 Cannot create file:
VCS ERROR V-16-1-11332 Invalid credentials, unable to create halogin session


Other commands work correctly:
 
# hagrp -state SG_02 

VCS NOTICE V-16-1-52563 VCS Login:user01
Enter Password:
Group Attribute System Value 
SG_02 State server1  | ONLINE | 
 

When trying to log in, it returns an error:
 
# halogin user01
 
Enter Password:
VCS WARNING V-16-1-12032 Cannot create file: 
VCS ERROR V-16-1-11332 Invalid credentials, unable to create halogin session