Hi Sujith,
On 17.06.2025 19:54, sujith chadalawada wrote:
> Can you please let us know if authorization can be done by using our
> existing scenario (creating a session file and by ignoring the acls).?
no, this won't work. Or, more precisely, you'd have to write a
specialized MAVIS compatible script for that.
> Any feasibility of using two pl scripts in mavis module?
No. While MAVIS modules are stackable your current script won't be
compatible.
Regarding your configuration: most of the LDAP_* environment variables
you're using aren't recognized by
mavis_tacplus-ng_ldap.pl. I'd
recommend having a closer look at the "Environment variables" section of
the script to see what's actually supported.
As a next step, you can run
mavis_tacplus-ng_ldap.pl from the command
line for testing, with the suitable environment variables set:
printf "0 TACPLUS\n4 $USER\n8 $PASS\n49 AUTH\n=\n" | env
LDAP_HOSTS="..." LDAP_BASE="..."
/usr/local/lib/mavis/
mavis_tacplus-ng_ldap.pl
or
printf "0 TACPLUS\n4 $USER\n49 INFO\n=\n" | env LDAP_HOSTS="..."
LDAP_BASE="..." /usr/local/lib/mavis/
mavis_tacplus-ng_ldap.pl
This will show you tha resulting attribute-value pairs (47/TACMEMBER is
likely of most interest here).
Cheers,
Marc