Added more advanced suboption parser

That adds the ability to parse options in the form:
auth = "gssapi[option1=value1,option2=value2,...]
It also introduces the keytab, and require-local-user-map
suboptions for gssapi.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-24 11:30:33 +01:00
parent 7b9e5a9f2a
commit e16ae6614c
8 changed files with 200 additions and 28 deletions

View File

@@ -38,7 +38,7 @@ auth = "plain[./sample.passwd]"
# will be sufficient to login.
#enable-auth = certificate
#enable-auth = gssapi
#enable-auth = "gssapi[keytab:/etc/key.tab]"
#enable-auth = "gssapi[keytab=/etc/key.tab,require-local-user-map=true]"
# Accounting methods available:
# pam: can only be combined with PAM authentication method, it provides