#!/var/tac_plus/sbin/tac_plus
debug = ALL
id = spawnd {
listen = { port = 4949 }
spawn = {
instances min = 1
instances max = 1
}
background = no
}
id = tac_plus {
debug = PACKET AUTHEN AUTHOR
access log = /var/log/tac_plus/access.log
accounting log = /var/log/tac_plus/acct.log
authorization log = /var/log/tac_plus/auth.log
mavis path = /var/tac_plus/lib64/mavis
mavis module = external {
setenv LDAP_SERVER_TYPE = "microsoft"
setenv LDAP_HOSTS = "ldap://<ip>:3268"
setenv LDAP_BASE = "<base>"
setenv LDAP_USER = "<user>"
setenv LDAP_PASSWD = "<pass>"
setenv AD_GROUP_PREFIX =tacacs-
#setenv REQUIRE_AD_GROUP_PREFIX = "1"
setenv UNLIMIT_AD_GROUP_MEMBERSHIP = "1"
setenv FLAG_USE_MEMBEROF = "1"
exec = /var/tac_plus/lib/mavis/mavis_tacplus_ldap.pl
}
login backend = mavis
user backend = mavis
pap backend = mavis
skip missing groups = yes
host = global {
address = 0.0.0.0/0
prompt = "hi"
key = <key>
}
group = admin {
default service = permit
service = shell {
default command = permit
default attribute = permit
set priv-lvl = 15
}
}
group = readonly {
service = shell {
default command = deny
set priv-lvl = 15
cmd = show {
permit .*
}
cmd = ping {
permit .*
}
cmd = traceroute {
permit .*
}
}
}
}
NOTICE: The information contained in this email may be confidential, proprietary and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please reply to the sender and destroy all copies of the message. Thank you.
use lib '/usr/local/lib/mavis/';use lib '/var/tac_plus/lib/mavis';