update ce_aaa_server to fix bugs (#60270)
* update ce_aaa_server to fix bugs * update ce_aaa_server to fix bugs
This commit is contained in:
parent
66c3e9bb9b
commit
c2e7683926
1 changed files with 39 additions and 36 deletions
|
@ -1797,6 +1797,7 @@ def main():
|
|||
|
||||
else:
|
||||
# absent authentication scheme
|
||||
if not domain_name:
|
||||
if len(scheme_exist) == 0:
|
||||
pass
|
||||
elif scheme_new not in scheme_exist:
|
||||
|
@ -1810,7 +1811,7 @@ def main():
|
|||
changed = True
|
||||
|
||||
# absent authentication domain
|
||||
if domain_name:
|
||||
else:
|
||||
domain_exist = ce_aaa_server.get_authentication_domain(
|
||||
module=module)
|
||||
domain_new = (domain_name.lower(), authen_scheme_name.lower())
|
||||
|
@ -1878,6 +1879,7 @@ def main():
|
|||
|
||||
else:
|
||||
# absent authorization scheme
|
||||
if not domain_name:
|
||||
if len(scheme_exist) == 0:
|
||||
pass
|
||||
elif scheme_new not in scheme_exist:
|
||||
|
@ -1891,7 +1893,7 @@ def main():
|
|||
changed = True
|
||||
|
||||
# absent authorization domain
|
||||
if domain_name:
|
||||
else:
|
||||
domain_exist = ce_aaa_server.get_authorization_domain(
|
||||
module=module)
|
||||
domain_new = (domain_name.lower(), author_scheme_name.lower())
|
||||
|
@ -1959,6 +1961,7 @@ def main():
|
|||
|
||||
else:
|
||||
# absent accounting scheme
|
||||
if not domain_name:
|
||||
if len(scheme_exist) == 0:
|
||||
pass
|
||||
elif scheme_new not in scheme_exist:
|
||||
|
@ -1972,7 +1975,7 @@ def main():
|
|||
changed = True
|
||||
|
||||
# absent accounting domain
|
||||
if domain_name:
|
||||
else:
|
||||
domain_exist = ce_aaa_server.get_accounting_domain(
|
||||
module=module)
|
||||
domain_new = (domain_name.lower(), acct_scheme_name.lower())
|
||||
|
|
Loading…
Reference in a new issue