#autoload

# This file was auto-generated

# Copyright C 2008-2009 by Isilon Systems, Inc. All rights not expressly
# granted herein are reserved.
# Created in the United States of America.
# 
# This digital media is protected by U.S. and international copyright and
# intellectual property laws. Unless otherwise specified, all information
# and screens appearing as part of this digital medium, including
# software, services, documents, text, images, icons, and logos design;
# the selection, assembly, arrangement, and design thereof; and the code
# that enables its presentation, are the sole property of Isilon Systems,
# Inc.
# 
# Except as otherwise required by applicable law, no part of any
# copyrighted material may be reproduced, modified, translated,
# distributed, published, or transmitted by any means, electronic or
# mechanical, for any purpose, without the prior written consent of Isilon
# Systems. 
#  
# Isilon and Isilon Systems are registered trademarks of Isilon Systems,
# Inc.  Legion is a trademark of Isilon Systems, Inc.  All other
# trademarks and registered trademarks are the property of their
# respective holders.

(( $+functions[__isi_classic_auth] )) ||
_isi_classic_auth() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ ads config error file groups krb5 ldap local log-level mapping netgroups nis refresh roles status users zone }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == ads ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads:"
      _isi_classic_auth_ads
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-config:"
      _isi_classic_auth_config
    elif [[ $cmd == error ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-error:"
      _isi_classic_auth_error
    elif [[ $cmd == file ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file:"
      _isi_classic_auth_file
    elif [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-groups:"
      _isi_classic_auth_groups
    elif [[ $cmd == krb5 ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5:"
      _isi_classic_auth_krb5
    elif [[ $cmd == ldap ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap:"
      _isi_classic_auth_ldap
    elif [[ $cmd == local ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local:"
      _isi_classic_auth_local
    elif [[ $cmd == log-level ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-log-level:"
      _isi_classic_auth_log-level
    elif [[ $cmd == mapping ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping:"
      _isi_classic_auth_mapping
    elif [[ $cmd == netgroups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-netgroups:"
      _isi_classic_auth_netgroups
    elif [[ $cmd == nis ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis:"
      _isi_classic_auth_nis
    elif [[ $cmd == refresh ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-refresh:"
      _isi_classic_auth_refresh
    elif [[ $cmd == roles ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles:"
      _isi_classic_auth_roles
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-status:"
      _isi_classic_auth_status
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-users:"
      _isi_classic_auth_users
    elif [[ $cmd == zone ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone:"
      _isi_classic_auth_zone
    else
      _message "unknown isi auth command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_zone] )) ||
_isi_classic_auth_zone() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ config create delete list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-config:"
      _isi_classic_auth_zone_config
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-create:"
      _isi_classic_auth_zone_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-delete:"
      _isi_classic_auth_zone_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-list:"
      _isi_classic_auth_zone_list
    else
      _message "unknown isi auth zone command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_zone_list] )) ||
_isi_classic_auth_zone_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_zone_delete] )) ||
_isi_classic_auth_zone_delete() {
_arguments \
'--zone=[Zone identifier]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_zone_create] )) ||
_isi_classic_auth_zone_create() {
_arguments \
'--mapping-rules=[Current ID Mapping rules]' \
'--all-auth-providers=[All providers are available in the zone]' \
'--ifs-restricted=[List of users and groups blocked from ifs]' \
'--map-untrusted=[Map untrusted domains to this NetBIOS domain during authentication.]' \
'--skeleton-dirs=[Skeleton directory to copy for initial home directories.]' \
'--cache-size=[Maximum size of in memory cache]' \
'--home-dir-umask=[Umask to apply to all created home directories]' \
'--share-list=[List of shares]' \
'--netbios-name=[NetBIOS name for this zone]' \
'--all-smb-shares=[All SMB shares are available in this zone]' \
'--provider-list=[List of providers]' \
'--zone-id=[Zone Id]' \
'--zone=[Zone identifier]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_zone_config] )) ||
_isi_classic_auth_zone_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-config-list:"
      _isi_classic_auth_zone_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-config-modify:"
      _isi_classic_auth_zone_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-zone-config-revert:"
      _isi_classic_auth_zone_config_revert
    else
      _message "unknown isi auth zone config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_zone_config_revert] )) ||
_isi_classic_auth_zone_config_revert() {
_arguments \
'--zone=[Zone identifier]' \
'--mapping-rules[Current ID Mapping rules]' \
'--all-auth-providers[All providers are available in the zone]' \
'--ifs-restricted[List of users and groups blocked from ifs]' \
'--map-untrusted[Map untrusted domains to this NetBIOS domain during authentication.]' \
'--skeleton-dirs[Skeleton directory to copy for initial home directories.]' \
'--cache-size[Maximum size of in memory cache]' \
'--home-dir-umask[Umask to apply to all created home directories]' \
'--share-list[List of shares]' \
'--netbios-name[NetBIOS name for this zone]' \
'--all-smb-shares[All SMB shares are available in this zone]' \
'--provider-list[List of providers]' \
'--zone-id[Zone Id]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_zone_config_modify] )) ||
_isi_classic_auth_zone_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--zone=[Zone identifier]' \
'--mapping-rules=[Current ID Mapping rules]' \
'--all-auth-providers=[All providers are available in the zone]' \
'--ifs-restricted=[List of users and groups blocked from ifs]' \
'--map-untrusted=[Map untrusted domains to this NetBIOS domain during authentication.]' \
'--skeleton-dirs=[Skeleton directory to copy for initial home directories.]' \
'--cache-size=[Maximum size of in memory cache]' \
'--home-dir-umask=[Umask to apply to all created home directories]' \
'--share-list=[List of shares]' \
'--netbios-name=[NetBIOS name for this zone]' \
'--all-smb-shares=[All SMB shares are available in this zone]' \
'--provider-list=[List of providers]' \
'--zone-id=[Zone Id]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_zone_config_list] )) ||
_isi_classic_auth_zone_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--zone=[Zone identifier]' \
'--mapping-rules[Current ID Mapping rules]' \
'--all-auth-providers[All providers are available in the zone]' \
'--ifs-restricted[List of users and groups blocked from ifs]' \
'--map-untrusted[Map untrusted domains to this NetBIOS domain during authentication.]' \
'--skeleton-dirs[Skeleton directory to copy for initial home directories.]' \
'--cache-size[Maximum size of in memory cache]' \
'--home-dir-umask[Umask to apply to all created home directories]' \
'--share-list[List of shares]' \
'--netbios-name[NetBIOS name for this zone]' \
'--all-smb-shares[All SMB shares are available in this zone]' \
'--provider-list[List of providers]' \
'--zone-id[Zone Id]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_users] )) ||
_isi_classic_auth_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-users-list:"
      _isi_classic_auth_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-users-flush:"
      _isi_classic_auth_users_flush
    else
      _message "unknown isi auth users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_users_flush] )) ||
_isi_classic_auth_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_users_list] )) ||
_isi_classic_auth_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_status] )) ||
_isi_classic_auth_status() {
_arguments \
'--provider=[Display information about a specific provider]' \
'--refresh[Refresh the current status before displaying]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles] )) ||
_isi_classic_auth_roles() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create clone modify delete list membership privilege }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-create:"
      _isi_classic_auth_roles_create
    elif [[ $cmd == clone ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-clone:"
      _isi_classic_auth_roles_clone
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-modify:"
      _isi_classic_auth_roles_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-delete:"
      _isi_classic_auth_roles_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-list:"
      _isi_classic_auth_roles_list
    elif [[ $cmd == membership ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-membership:"
      _isi_classic_auth_roles_membership
    elif [[ $cmd == privilege ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-roles-privilege:"
      _isi_classic_auth_roles_privilege
    else
      _message "unknown isi auth roles command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_roles_privilege] )) ||
_isi_classic_auth_roles_privilege() {
_arguments \
'--privilege=[Privilege name]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_membership] )) ||
_isi_classic_auth_roles_membership() {
_arguments \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--verbose[Print verbose output]' \
'--print-privileges[Print privilege for member roles]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_list] )) ||
_isi_classic_auth_roles_list() {
_arguments \
'--name=[Role name]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_delete] )) ||
_isi_classic_auth_roles_delete() {
_arguments \
'--name=[Role name]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_modify] )) ||
_isi_classic_auth_roles_modify() {
_arguments \
'--name=[Role name]' \
'--description=[Role description]' \
'--add-member-user=[user name to add]' \
'--add-member-uid=[user id to add]' \
'--add-member-group=[group name to add]' \
'--add-member-gid=[group id to add]' \
'--add-member-sid=[sid to add]' \
'--add-member-everyone[add Everyone]' \
'--del-member-user=[user name to delete]' \
'--del-member-uid=[user id to delete]' \
'--del-member-group=[group name to delete]' \
'--del-member-gid=[group id to delete]' \
'--del-member-sid=[sid to delete]' \
'--del-member-everyone[delete Everyone]' \
'--add-privilege=[Add privilege by name or id]' \
'--readonly=[Privilege is readonly (default is readwrite)]' \
'--del-privilege=[Delete privilege by name]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_clone] )) ||
_isi_classic_auth_roles_clone() {
_arguments \
'--name=[Role name]' \
'--new-name=[New Role name]' \
'--description=[Role description]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_roles_create] )) ||
_isi_classic_auth_roles_create() {
_arguments \
'--name=[Role name]' \
'--description=[Role description]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_refresh] )) ||
_isi_classic_auth_refresh() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis] )) ||
_isi_classic_auth_nis() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ groups users config create delete list netgroups }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-groups:"
      _isi_classic_auth_nis_groups
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-users:"
      _isi_classic_auth_nis_users
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-config:"
      _isi_classic_auth_nis_config
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-create:"
      _isi_classic_auth_nis_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-delete:"
      _isi_classic_auth_nis_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-list:"
      _isi_classic_auth_nis_list
    elif [[ $cmd == netgroups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-netgroups:"
      _isi_classic_auth_nis_netgroups
    else
      _message "unknown isi auth nis command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_nis_netgroups] )) ||
_isi_classic_auth_nis_netgroups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-netgroups-list:"
      _isi_classic_auth_nis_netgroups_list
    else
      _message "unknown isi auth nis netgroups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_nis_netgroups_list] )) ||
_isi_classic_auth_nis_netgroups_list() {
_arguments \
'--netgroup=[netgroup]' \
'--recursive[Recursively resolve nested netgroups]' \
'--ignore[Ignore errors/unresolvable netgroups]' \
'--raw[Display raw netgroup information]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_list] )) ||
_isi_classic_auth_nis_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_delete] )) ||
_isi_classic_auth_nis_delete() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_create] )) ||
_isi_classic_auth_nis_create() {
_arguments \
'--nis-server=[Comma separated list of NIS servers]' \
'--nis-create-home-dir=[Create Home Directory when users log in]' \
'--nis-ypmatch-using-tcp=[Use TCP for YP Match operations]' \
'--nis-hostname-lookup-enabled=[Enable hostname lookups for this instance of the nis-provider]' \
'--nis-retry-time=[Timeout period after which a request will be retried]' \
'--nis-home-dir-template=[Home directory template]' \
'--nis-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--nis-alt-domain=[Alternate Domain to use for NIS users/group]' \
'--nis-enabled=[Enable the nis-provider]' \
'--nis-check-interval=[Duration between checks for valid and invalid servers]' \
'--nis-balance-servers=[Enable the nis-provider to affinitize to a random server]' \
'--nis-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--nis-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--nis-enumerate-groups=[Enable the nis-provider to respond to getgrent requests]' \
'--nis-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--nis-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--nis-enumerate-users=[Enable the nis-provider to respond to getpwent requests]' \
'--nis-domain=[NIS domain]' \
'--nis-request-timeout=[Timeout period after which a request will not be retried and will fail]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_config] )) ||
_isi_classic_auth_nis_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-config-list:"
      _isi_classic_auth_nis_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-config-modify:"
      _isi_classic_auth_nis_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-config-revert:"
      _isi_classic_auth_nis_config_revert
    else
      _message "unknown isi auth nis config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_nis_config_revert] )) ||
_isi_classic_auth_nis_config_revert() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--nis-server[Comma separated list of NIS servers]' \
'--nis-create-home-dir[Create Home Directory when users log in]' \
'--nis-ypmatch-using-tcp[Use TCP for YP Match operations]' \
'--nis-hostname-lookup-enabled[Enable hostname lookups for this instance of the nis-provider]' \
'--nis-retry-time[Timeout period after which a request will be retried]' \
'--nis-home-dir-template[Home directory template]' \
'--nis-normalize-groups[Normalize groups to lowercase before looking up]' \
'--nis-alt-domain[Alternate Domain to use for NIS users/group]' \
'--nis-enabled[Enable the nis-provider]' \
'--nis-check-interval[Duration between checks for valid and invalid servers]' \
'--nis-balance-servers[Enable the nis-provider to affinitize to a random server]' \
'--nis-normalize-users[Normalize usernames to lowercase before looking up]' \
'--nis-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--nis-enumerate-groups[Enable the nis-provider to respond to getgrent requests]' \
'--nis-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--nis-cache-entry-expiry[Amount of time to cache a user/group]' \
'--nis-enumerate-users[Enable the nis-provider to respond to getpwent requests]' \
'--nis-domain[NIS domain]' \
'--nis-request-timeout[Timeout period after which a request will not be retried and will fail]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_config_modify] )) ||
_isi_classic_auth_nis_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--instance=[Name of the provider instance to use]' \
'--nis-server=[Comma separated list of NIS servers]' \
'--nis-create-home-dir=[Create Home Directory when users log in]' \
'--nis-ypmatch-using-tcp=[Use TCP for YP Match operations]' \
'--nis-hostname-lookup-enabled=[Enable hostname lookups for this instance of the nis-provider]' \
'--nis-retry-time=[Timeout period after which a request will be retried]' \
'--nis-home-dir-template=[Home directory template]' \
'--nis-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--nis-alt-domain=[Alternate Domain to use for NIS users/group]' \
'--nis-enabled=[Enable the nis-provider]' \
'--nis-check-interval=[Duration between checks for valid and invalid servers]' \
'--nis-balance-servers=[Enable the nis-provider to affinitize to a random server]' \
'--nis-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--nis-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--nis-enumerate-groups=[Enable the nis-provider to respond to getgrent requests]' \
'--nis-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--nis-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--nis-enumerate-users=[Enable the nis-provider to respond to getpwent requests]' \
'--nis-domain=[NIS domain]' \
'--nis-request-timeout=[Timeout period after which a request will not be retried and will fail]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_config_list] )) ||
_isi_classic_auth_nis_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--instance=[Name of the provider instance to use]' \
'--nis-server[Comma separated list of NIS servers]' \
'--nis-create-home-dir[Create Home Directory when users log in]' \
'--nis-ypmatch-using-tcp[Use TCP for YP Match operations]' \
'--nis-hostname-lookup-enabled[Enable hostname lookups for this instance of the nis-provider]' \
'--nis-retry-time[Timeout period after which a request will be retried]' \
'--nis-home-dir-template[Home directory template]' \
'--nis-normalize-groups[Normalize groups to lowercase before looking up]' \
'--nis-alt-domain[Alternate Domain to use for NIS users/group]' \
'--nis-enabled[Enable the nis-provider]' \
'--nis-check-interval[Duration between checks for valid and invalid servers]' \
'--nis-balance-servers[Enable the nis-provider to affinitize to a random server]' \
'--nis-normalize-users[Normalize usernames to lowercase before looking up]' \
'--nis-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--nis-enumerate-groups[Enable the nis-provider to respond to getgrent requests]' \
'--nis-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--nis-cache-entry-expiry[Amount of time to cache a user/group]' \
'--nis-enumerate-users[Enable the nis-provider to respond to getpwent requests]' \
'--nis-domain[NIS domain]' \
'--nis-request-timeout[Timeout period after which a request will not be retried and will fail]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_users] )) ||
_isi_classic_auth_nis_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-users-list:"
      _isi_classic_auth_nis_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-users-flush:"
      _isi_classic_auth_nis_users_flush
    else
      _message "unknown isi auth nis users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_nis_users_flush] )) ||
_isi_classic_auth_nis_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_users_list] )) ||
_isi_classic_auth_nis_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_groups] )) ||
_isi_classic_auth_nis_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-groups-list:"
      _isi_classic_auth_nis_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-nis-groups-flush:"
      _isi_classic_auth_nis_groups_flush
    else
      _message "unknown isi auth nis groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_nis_groups_flush] )) ||
_isi_classic_auth_nis_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_nis_groups_list] )) ||
_isi_classic_auth_nis_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_netgroups] )) ||
_isi_classic_auth_netgroups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-netgroups-list:"
      _isi_classic_auth_netgroups_list
    else
      _message "unknown isi auth netgroups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_netgroups_list] )) ||
_isi_classic_auth_netgroups_list() {
_arguments \
'--netgroup=[netgroup]' \
'--recursive[Recursively resolve nested netgroups]' \
'--ignore[Ignore errors/unresolvable netgroups]' \
'--raw[Display raw netgroup information]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping] )) ||
_isi_classic_auth_mapping() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ new modify delete flush list token idrange dump import upgrade-db }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == new ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-new:"
      _isi_classic_auth_mapping_new
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-modify:"
      _isi_classic_auth_mapping_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-delete:"
      _isi_classic_auth_mapping_delete
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-flush:"
      _isi_classic_auth_mapping_flush
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-list:"
      _isi_classic_auth_mapping_list
    elif [[ $cmd == token ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-token:"
      _isi_classic_auth_mapping_token
    elif [[ $cmd == idrange ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-idrange:"
      _isi_classic_auth_mapping_idrange
    elif [[ $cmd == dump ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-dump:"
      _isi_classic_auth_mapping_dump
    elif [[ $cmd == import ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-import:"
      _isi_classic_auth_mapping_import
    elif [[ $cmd == upgrade-db ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-mapping-upgrade-db:"
      _isi_classic_auth_mapping_upgrade-db
    else
      _message "unknown isi auth mapping command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_mapping_upgrade-db] )) ||
_isi_classic_auth_mapping_upgrade-db() {
_arguments \
'--file=[User mapping database (idmap.db)]' \
'--uid-range=[Range of auto-allocated UIDs.  Defaults to current auth config setting uid-range.]' \
'--gid-range=[Range of auto-allocated GIDs.  Defaults to current auth config setting gid-range.]' \
'--clear-idrange[Clear all existing mappings in the uid/gid range before importing new mappings.]' \
'--clear-reverse-mappings[Remove all existing mappings for any newly imported IDs.]' \
'--overwrite[Overwrite existing mappings.]' \
'--append[Append imported mappings without modifying existing mappings.]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_import] )) ||
_isi_classic_auth_mapping_import() {
_arguments \
'--file=[file to import]' \
'--overwrite[overwrite existing entries]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_dump] )) ||
_isi_classic_auth_mapping_dump() {
_arguments \
'--file=[output file]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_idrange] )) ||
_isi_classic_auth_mapping_idrange() {
_arguments \
'--set-uid-low=[low uid value]' \
'--set-uid-high=[high uid value]' \
'--set-uid-hwm=[hwm uid value]' \
'--set-uid-enabled=[enable/disable uid allocation]' \
'--set-gid-low=[low gid value]' \
'--set-gid-high=[high gid value]' \
'--set-gid-hwm=[hwm gid value]' \
'--set-gid-enabled=[enable/disable gid allocation]' \
'--get-uid-range[display the uid range]' \
'--get-gid-range[display the gid range]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_token] )) ||
_isi_classic_auth_mapping_token() {
_arguments \
'--name=[Name to map]' \
'--uid=[UID to map]' \
'--gid=[GIDs to add to UID]' \
'--oneline[Print all output on a single line]' \
'--wide[Do not truncate output]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_list] )) ||
_isi_classic_auth_mapping_list() {
_arguments \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--no-rpc[Do not use rpc]' \
'--wide[Do not truncate output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_flush] )) ||
_isi_classic_auth_mapping_flush() {
_arguments \
'--all[Flush all mappings]' \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_delete] )) ||
_isi_classic_auth_mapping_delete() {
_arguments \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--target=[target]' \
'--target-uid=[target uid]' \
'--target-gid=[target gid]' \
'--target-sid=[target sid]' \
'--target-principal=[target principal]' \
'--target-name=[target user name]' \
'--target-user=[target user]' \
'--target-group=[target group]' \
'--2way[2 way mapping]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_modify] )) ||
_isi_classic_auth_mapping_modify() {
_arguments \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--target=[target]' \
'--target-uid=[target uid]' \
'--target-gid=[target gid]' \
'--target-sid=[target sid]' \
'--target-principal=[target principal]' \
'--target-name=[target user name]' \
'--target-user=[target user]' \
'--target-group=[target group]' \
'--2way[2 way mapping]' \
'--replace[If the source already has a mapping to the same target type, replace it.]' \
'--on-disk[Target persona should be used to represent the source on disk]' \
'--auto[Mapping is automatically generated]' \
'--external[Mapping is from an external source]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_mapping_new] )) ||
_isi_classic_auth_mapping_new() {
_arguments \
'--source=[source]' \
'--source-uid=[source uid]' \
'--source-gid=[source gid]' \
'--source-sid=[source sid]' \
'--source-principal=[source principal]' \
'--source-name=[source user name]' \
'--source-user=[source user]' \
'--source-group=[source group]' \
'--uid[retrieve the mapped UID]' \
'--gid[retrieve the mapped GID]' \
'--sid[retrieve the mapped SID]' \
'--principal[retrieve the mapped principal]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_log-level] )) ||
_isi_classic_auth_log-level() {
_arguments \
'--set=[Set the log level for this node.  Valid options are: always, error, warning, info, verbose, debug, trace or default]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local] )) ||
_isi_classic_auth_local() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ groups users config list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups:"
      _isi_classic_auth_local_groups
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users:"
      _isi_classic_auth_local_users
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-config:"
      _isi_classic_auth_local_config
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-list:"
      _isi_classic_auth_local_list
    else
      _message "unknown isi auth local command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_local_list] )) ||
_isi_classic_auth_local_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_config] )) ||
_isi_classic_auth_local_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-config-list:"
      _isi_classic_auth_local_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-config-modify:"
      _isi_classic_auth_local_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-config-revert:"
      _isi_classic_auth_local_config_revert
    else
      _message "unknown isi auth local config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_local_config_revert] )) ||
_isi_classic_auth_local_config_revert() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--local-authentication-enabled[Enable the Local provider to respond to PAM authentication requests]' \
'--lockout-threshold[Number of incorrect password attempts before local account lockout.]' \
'--machine-name[Machine SamDB Name]' \
'--password-complexity[List of required cases a password must have.]' \
'--min-password-age[Minimum password age for local accounts]' \
'--lockout-duration[Length of time for local account lockout]' \
'--database[Name of database.]' \
'--lockout-window[Window of time for local account lockout]' \
'--password-history-length[Number of previous passwords to store. New passwords are checked against this list]' \
'--password-prompt-time[Time remaining before prompting for local accounts password change]' \
'--min-password-length[Minimum password length for local accounts]' \
'--max-password-age[Maximum password age for local accounts]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_config_modify] )) ||
_isi_classic_auth_local_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--instance=[Name of the provider instance to use]' \
'--local-authentication-enabled=[Enable the Local provider to respond to PAM authentication requests]' \
'--lockout-threshold=[Number of incorrect password attempts before local account lockout.]' \
'--machine-name=[Machine SamDB Name]' \
'--password-complexity=[List of required cases a password must have.]' \
'--min-password-age=[Minimum password age for local accounts]' \
'--lockout-duration=[Length of time for local account lockout]' \
'--database=[Name of database.]' \
'--lockout-window=[Window of time for local account lockout]' \
'--password-history-length=[Number of previous passwords to store. New passwords are checked against this list]' \
'--password-prompt-time=[Time remaining before prompting for local accounts password change]' \
'--min-password-length=[Minimum password length for local accounts]' \
'--max-password-age=[Maximum password age for local accounts]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_config_list] )) ||
_isi_classic_auth_local_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--instance=[Name of the provider instance to use]' \
'--local-authentication-enabled[Enable the Local provider to respond to PAM authentication requests]' \
'--lockout-threshold[Number of incorrect password attempts before local account lockout.]' \
'--machine-name[Machine SamDB Name]' \
'--password-complexity[List of required cases a password must have.]' \
'--min-password-age[Minimum password age for local accounts]' \
'--lockout-duration[Length of time for local account lockout]' \
'--database[Name of database.]' \
'--lockout-window[Window of time for local account lockout]' \
'--password-history-length[Number of previous passwords to store. New passwords are checked against this list]' \
'--password-prompt-time[Time remaining before prompting for local accounts password change]' \
'--min-password-length[Minimum password length for local accounts]' \
'--max-password-age[Maximum password age for local accounts]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_users] )) ||
_isi_classic_auth_local_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush create modify delete }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users-list:"
      _isi_classic_auth_local_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users-flush:"
      _isi_classic_auth_local_users_flush
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users-create:"
      _isi_classic_auth_local_users_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users-modify:"
      _isi_classic_auth_local_users_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-users-delete:"
      _isi_classic_auth_local_users_delete
    else
      _message "unknown isi auth local users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_local_users_delete] )) ||
_isi_classic_auth_local_users_delete() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_users_modify] )) ||
_isi_classic_auth_local_users_modify() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--add-group-name=[group name to add]' \
'--add-group-gid=[group id to add]' \
'--del-group-name=[group name to delete]' \
'--del-group-gid=[group id to delete]' \
'--shell=[Shell]' \
'--enable[enable user]' \
'--disable[disable user]' \
'--unlock[unlock user]' \
'--homedir=[Home directory]' \
'--gecos=[Gecos]' \
'--gid=[Group id]' \
'--password=[new password]' \
'--target-uid=[New UID]' \
'--password-never-expires[password never expires]' \
'--password-must-expire[password must expire]' \
'--set-password[Set password interactively]' \
'--force[Force command execution without warnings]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_users_create] )) ||
_isi_classic_auth_local_users_create() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--gid=[Group id]' \
'--auto-gid[Auto-allocate Group id]' \
'--shell=[Shell]' \
'--homedir=[Home directory]' \
'--gecos=[Gecos]' \
'--force[Force command execution without warnings]' \
'--password=[Password]' \
'--old-auto[Use old auto allocatation method for choosing a unused id]' \
'--password-never-expires[password never expires]' \
'--set-password[Set password interactively]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_users_flush] )) ||
_isi_classic_auth_local_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_users_list] )) ||
_isi_classic_auth_local_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_groups] )) ||
_isi_classic_auth_local_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush create modify delete }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups-list:"
      _isi_classic_auth_local_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups-flush:"
      _isi_classic_auth_local_groups_flush
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups-create:"
      _isi_classic_auth_local_groups_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups-modify:"
      _isi_classic_auth_local_groups_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-local-groups-delete:"
      _isi_classic_auth_local_groups_delete
    else
      _message "unknown isi auth local groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_local_groups_delete] )) ||
_isi_classic_auth_local_groups_delete() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_groups_modify] )) ||
_isi_classic_auth_local_groups_modify() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--add-member-user=[user name to add]' \
'--add-member-uid=[user id to add]' \
'--add-member-group=[group name to add]' \
'--add-member-gid=[group id to add]' \
'--add-member-sid=[sid to add]' \
'--del-member-sid=[sid to delete]' \
'--del-member-user=[user name to delete]' \
'--del-member-uid=[user id to delete]' \
'--del-member-group=[group name to delete]' \
'--del-member-gid=[group id to delete]' \
'--target-gid=[New GID]' \
'--force[Force command execution without warnings]' \
'--verbose[Print verbose output]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_groups_create] )) ||
_isi_classic_auth_local_groups_create() {
_arguments \
'--name=[Group name]' \
'--old-auto[Use old auto allocatation method for choosing a unused id]' \
'--gid=[Group id]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_local_groups_flush] )) ||
_isi_classic_auth_local_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \
'--instance=[Name of the provider instance to use]' \


}
(( $+functions[_isi_classic_auth_local_groups_list] )) ||
_isi_classic_auth_local_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap] )) ||
_isi_classic_auth_ldap() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ groups users config create delete list netgroups }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-groups:"
      _isi_classic_auth_ldap_groups
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-users:"
      _isi_classic_auth_ldap_users
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-config:"
      _isi_classic_auth_ldap_config
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-create:"
      _isi_classic_auth_ldap_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-delete:"
      _isi_classic_auth_ldap_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-list:"
      _isi_classic_auth_ldap_list
    elif [[ $cmd == netgroups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-netgroups:"
      _isi_classic_auth_ldap_netgroups
    else
      _message "unknown isi auth ldap command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ldap_netgroups] )) ||
_isi_classic_auth_ldap_netgroups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-netgroups-list:"
      _isi_classic_auth_ldap_netgroups_list
    else
      _message "unknown isi auth ldap netgroups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ldap_netgroups_list] )) ||
_isi_classic_auth_ldap_netgroups_list() {
_arguments \
'--netgroup=[netgroup]' \
'--recursive[Recursively resolve nested netgroups]' \
'--ignore[Ignore errors/unresolvable netgroups]' \
'--raw[Display raw netgroup information]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_list] )) ||
_isi_classic_auth_ldap_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_delete] )) ||
_isi_classic_auth_ldap_delete() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_create] )) ||
_isi_classic_auth_ldap_create() {
_arguments \
'--ldap-group-search-scope=[Search scope for groups.]' \
'--ldap-check-interval=[Duration between checks for valid and invalid servers]' \
'--ldap-ca-cert-file=[PEM file containing the certificates of trusted certificate authorities]' \
'--ldap-bind-dn=[Distinguished name of the entry used to bind to the LDAP server]' \
'--ldap-home-dir-template=[Home directory template]' \
'--ldap-netgroup-search-scope=[Search scope for netgroups.]' \
'--ldap-ignore-tls-errors=[Set the ldap-provider to ignore all TLS errors]' \
'--ldap-shadowmin=[LDAP shadowMin attribute]' \
'--ldap-cn=[LDAP cn attribute]' \
'--ldap-memberof=[LDAP memberof attribute]' \
'--ldap-uid=[LDAP uid attribute]' \
'--ldap-netgroup-filter=[LDAP filter for netgroups objects]' \
'--ldap-group-base-dn=[Distinguished name of the entry at which to start the LDAP search for groups.]' \
'--ldap-loginshell=[LDAP loginShell attribute]' \
'--ldap-alt-sec-id=[LDAP alt-sec-id attribute]' \
'--ldap-shadowexpire=[LDAP shadowExpire attribute]' \
'--ldap-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--ldap-enumerate-users=[Enable the ldap-provider to respond to getpwent requests]' \
'--ldap-nis-netgroup-triple=[LDAP NIS netgroup triple]' \
'--ldap-user-base-dn=[Distinguished name of the entry at which to start the LDAP search for users.]' \
'--ldap-shadowinactive=[LDAP shadowInactive attribute]' \
'--ldap-shadowflag=[LDAP shadowFlag attribute]' \
'--ldap-email=[LDAP email attribute]' \
'--ldap-base-dn=[Distinguished name of the entry at which to start the LDAP search]' \
'--ldap-balance-servers=[Enable the ldap-provider to affinitize to a random server]' \
'--ldap-enumerate-groups=[Enable the ldap-provider to respond to getgrent requests]' \
'--ldap-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--ldap-user-filter=[LDAP filter for user objects]' \
'--ldap-alt-domain=[Alternate Domain to use for LDAP users/group]' \
'--ldap-member-nis-netgroup=[LDAP Member NIS netgroup]' \
'--ldap-group-filter=[LDAP filter for group objects]' \
'--ldap-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--ldap-search-timeout=[Search timeout period]' \
'--ldap-bind-timeout=[Bind timeout period]' \
'--ldap-login-shell-template=[Login shell template]' \
'--ldap-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--ldap-user-search-scope=[Search scope for users.]' \
'--ldap-shadowlastchange=[LDAP shadowLastChange attribute]' \
'--ldap-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--ldap-gidnumber=[LDAP gidNumber attribute]' \
'--ldap-homedirectory=[LDAP homeDirectory attribute]' \
'--ldap-shadowwarning=[LDAP shadowWarning attribute]' \
'--ldap-uidnumber=[LDAP uidNumber attribute]' \
'--ldap-require-secure-connection=[Require a secure connection when binding with a password or retrieving password related attributes]' \
'--ldap-enabled=[Enable the ldap-provider]' \
'--ldap-shadow-user-filter=[LDAP filter for shadow user properties]' \
'--ldap-ntpasswdhash=[LDAP ntPasswdHash attribute]' \
'--ldap-netgroup-base-dn=[Distinguished name of the entry at which to start the LDAP search for netgroups.]' \
'--ldap-server-uri=[Comma separated list of LDAP server URIs]' \
'--ldap-uniquemember=[LDAP uniqueMember attribute]' \
'--ldap-memberUid=[LDAP memberUid attribute]' \
'--ldap-gecos=[LDAP gecos attribute]' \
'--ldap-bind-pw=[Password used when binding to the LDAP server]' \
'--ldap-search-scope=[Search scope]' \
'--ldap-cryptpasswd=[LDAP cryptPasswd attribute]' \
'--ldap-shadowmax=[LDAP shadowMax attribute]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_config] )) ||
_isi_classic_auth_ldap_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-config-list:"
      _isi_classic_auth_ldap_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-config-modify:"
      _isi_classic_auth_ldap_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-config-revert:"
      _isi_classic_auth_ldap_config_revert
    else
      _message "unknown isi auth ldap config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ldap_config_revert] )) ||
_isi_classic_auth_ldap_config_revert() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--ldap-group-search-scope[Search scope for groups.]' \
'--ldap-check-interval[Duration between checks for valid and invalid servers]' \
'--ldap-ca-cert-file[PEM file containing the certificates of trusted certificate authorities]' \
'--ldap-bind-dn[Distinguished name of the entry used to bind to the LDAP server]' \
'--ldap-home-dir-template[Home directory template]' \
'--ldap-netgroup-search-scope[Search scope for netgroups.]' \
'--ldap-ignore-tls-errors[Set the ldap-provider to ignore all TLS errors]' \
'--ldap-shadowmin[LDAP shadowMin attribute]' \
'--ldap-cn[LDAP cn attribute]' \
'--ldap-memberof[LDAP memberof attribute]' \
'--ldap-uid[LDAP uid attribute]' \
'--ldap-netgroup-filter[LDAP filter for netgroups objects]' \
'--ldap-group-base-dn[Distinguished name of the entry at which to start the LDAP search for groups.]' \
'--ldap-loginshell[LDAP loginShell attribute]' \
'--ldap-alt-sec-id[LDAP alt-sec-id attribute]' \
'--ldap-shadowexpire[LDAP shadowExpire attribute]' \
'--ldap-normalize-users[Normalize usernames to lowercase before looking up]' \
'--ldap-enumerate-users[Enable the ldap-provider to respond to getpwent requests]' \
'--ldap-nis-netgroup-triple[LDAP NIS netgroup triple]' \
'--ldap-user-base-dn[Distinguished name of the entry at which to start the LDAP search for users.]' \
'--ldap-shadowinactive[LDAP shadowInactive attribute]' \
'--ldap-shadowflag[LDAP shadowFlag attribute]' \
'--ldap-email[LDAP email attribute]' \
'--ldap-base-dn[Distinguished name of the entry at which to start the LDAP search]' \
'--ldap-balance-servers[Enable the ldap-provider to affinitize to a random server]' \
'--ldap-enumerate-groups[Enable the ldap-provider to respond to getgrent requests]' \
'--ldap-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--ldap-user-filter[LDAP filter for user objects]' \
'--ldap-alt-domain[Alternate Domain to use for LDAP users/group]' \
'--ldap-member-nis-netgroup[LDAP Member NIS netgroup]' \
'--ldap-group-filter[LDAP filter for group objects]' \
'--ldap-cache-entry-expiry[Amount of time to cache a user/group]' \
'--ldap-search-timeout[Search timeout period]' \
'--ldap-bind-timeout[Bind timeout period]' \
'--ldap-login-shell-template[Login shell template]' \
'--ldap-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--ldap-user-search-scope[Search scope for users.]' \
'--ldap-shadowlastchange[LDAP shadowLastChange attribute]' \
'--ldap-normalize-groups[Normalize groups to lowercase before looking up]' \
'--ldap-gidnumber[LDAP gidNumber attribute]' \
'--ldap-homedirectory[LDAP homeDirectory attribute]' \
'--ldap-shadowwarning[LDAP shadowWarning attribute]' \
'--ldap-uidnumber[LDAP uidNumber attribute]' \
'--ldap-require-secure-connection[Require a secure connection when binding with a password or retrieving password related attributes]' \
'--ldap-enabled[Enable the ldap-provider]' \
'--ldap-shadow-user-filter[LDAP filter for shadow user properties]' \
'--ldap-ntpasswdhash[LDAP ntPasswdHash attribute]' \
'--ldap-netgroup-base-dn[Distinguished name of the entry at which to start the LDAP search for netgroups.]' \
'--ldap-server-uri[Comma separated list of LDAP server URIs]' \
'--ldap-uniquemember[LDAP uniqueMember attribute]' \
'--ldap-memberUid[LDAP memberUid attribute]' \
'--ldap-gecos[LDAP gecos attribute]' \
'--ldap-bind-pw[Password used when binding to the LDAP server]' \
'--ldap-search-scope[Search scope]' \
'--ldap-cryptpasswd[LDAP cryptPasswd attribute]' \
'--ldap-shadowmax[LDAP shadowMax attribute]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_config_modify] )) ||
_isi_classic_auth_ldap_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--instance=[Name of the provider instance to use]' \
'--ldap-group-search-scope=[Search scope for groups.]' \
'--ldap-check-interval=[Duration between checks for valid and invalid servers]' \
'--ldap-ca-cert-file=[PEM file containing the certificates of trusted certificate authorities]' \
'--ldap-bind-dn=[Distinguished name of the entry used to bind to the LDAP server]' \
'--ldap-home-dir-template=[Home directory template]' \
'--ldap-netgroup-search-scope=[Search scope for netgroups.]' \
'--ldap-ignore-tls-errors=[Set the ldap-provider to ignore all TLS errors]' \
'--ldap-shadowmin=[LDAP shadowMin attribute]' \
'--ldap-cn=[LDAP cn attribute]' \
'--ldap-memberof=[LDAP memberof attribute]' \
'--ldap-uid=[LDAP uid attribute]' \
'--ldap-netgroup-filter=[LDAP filter for netgroups objects]' \
'--ldap-group-base-dn=[Distinguished name of the entry at which to start the LDAP search for groups.]' \
'--ldap-loginshell=[LDAP loginShell attribute]' \
'--ldap-alt-sec-id=[LDAP alt-sec-id attribute]' \
'--ldap-shadowexpire=[LDAP shadowExpire attribute]' \
'--ldap-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--ldap-enumerate-users=[Enable the ldap-provider to respond to getpwent requests]' \
'--ldap-nis-netgroup-triple=[LDAP NIS netgroup triple]' \
'--ldap-user-base-dn=[Distinguished name of the entry at which to start the LDAP search for users.]' \
'--ldap-shadowinactive=[LDAP shadowInactive attribute]' \
'--ldap-shadowflag=[LDAP shadowFlag attribute]' \
'--ldap-email=[LDAP email attribute]' \
'--ldap-base-dn=[Distinguished name of the entry at which to start the LDAP search]' \
'--ldap-balance-servers=[Enable the ldap-provider to affinitize to a random server]' \
'--ldap-enumerate-groups=[Enable the ldap-provider to respond to getgrent requests]' \
'--ldap-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--ldap-user-filter=[LDAP filter for user objects]' \
'--ldap-alt-domain=[Alternate Domain to use for LDAP users/group]' \
'--ldap-member-nis-netgroup=[LDAP Member NIS netgroup]' \
'--ldap-group-filter=[LDAP filter for group objects]' \
'--ldap-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--ldap-search-timeout=[Search timeout period]' \
'--ldap-bind-timeout=[Bind timeout period]' \
'--ldap-login-shell-template=[Login shell template]' \
'--ldap-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--ldap-user-search-scope=[Search scope for users.]' \
'--ldap-shadowlastchange=[LDAP shadowLastChange attribute]' \
'--ldap-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--ldap-gidnumber=[LDAP gidNumber attribute]' \
'--ldap-homedirectory=[LDAP homeDirectory attribute]' \
'--ldap-shadowwarning=[LDAP shadowWarning attribute]' \
'--ldap-uidnumber=[LDAP uidNumber attribute]' \
'--ldap-require-secure-connection=[Require a secure connection when binding with a password or retrieving password related attributes]' \
'--ldap-enabled=[Enable the ldap-provider]' \
'--ldap-shadow-user-filter=[LDAP filter for shadow user properties]' \
'--ldap-ntpasswdhash=[LDAP ntPasswdHash attribute]' \
'--ldap-netgroup-base-dn=[Distinguished name of the entry at which to start the LDAP search for netgroups.]' \
'--ldap-server-uri=[Comma separated list of LDAP server URIs]' \
'--ldap-uniquemember=[LDAP uniqueMember attribute]' \
'--ldap-memberUid=[LDAP memberUid attribute]' \
'--ldap-gecos=[LDAP gecos attribute]' \
'--ldap-bind-pw=[Password used when binding to the LDAP server]' \
'--ldap-search-scope=[Search scope]' \
'--ldap-cryptpasswd=[LDAP cryptPasswd attribute]' \
'--ldap-shadowmax=[LDAP shadowMax attribute]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_config_list] )) ||
_isi_classic_auth_ldap_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--instance=[Name of the provider instance to use]' \
'--ldap-group-search-scope[Search scope for groups.]' \
'--ldap-check-interval[Duration between checks for valid and invalid servers]' \
'--ldap-ca-cert-file[PEM file containing the certificates of trusted certificate authorities]' \
'--ldap-bind-dn[Distinguished name of the entry used to bind to the LDAP server]' \
'--ldap-home-dir-template[Home directory template]' \
'--ldap-netgroup-search-scope[Search scope for netgroups.]' \
'--ldap-ignore-tls-errors[Set the ldap-provider to ignore all TLS errors]' \
'--ldap-shadowmin[LDAP shadowMin attribute]' \
'--ldap-cn[LDAP cn attribute]' \
'--ldap-memberof[LDAP memberof attribute]' \
'--ldap-uid[LDAP uid attribute]' \
'--ldap-netgroup-filter[LDAP filter for netgroups objects]' \
'--ldap-group-base-dn[Distinguished name of the entry at which to start the LDAP search for groups.]' \
'--ldap-loginshell[LDAP loginShell attribute]' \
'--ldap-alt-sec-id[LDAP alt-sec-id attribute]' \
'--ldap-shadowexpire[LDAP shadowExpire attribute]' \
'--ldap-normalize-users[Normalize usernames to lowercase before looking up]' \
'--ldap-enumerate-users[Enable the ldap-provider to respond to getpwent requests]' \
'--ldap-nis-netgroup-triple[LDAP NIS netgroup triple]' \
'--ldap-user-base-dn[Distinguished name of the entry at which to start the LDAP search for users.]' \
'--ldap-shadowinactive[LDAP shadowInactive attribute]' \
'--ldap-shadowflag[LDAP shadowFlag attribute]' \
'--ldap-email[LDAP email attribute]' \
'--ldap-base-dn[Distinguished name of the entry at which to start the LDAP search]' \
'--ldap-balance-servers[Enable the ldap-provider to affinitize to a random server]' \
'--ldap-enumerate-groups[Enable the ldap-provider to respond to getgrent requests]' \
'--ldap-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--ldap-user-filter[LDAP filter for user objects]' \
'--ldap-alt-domain[Alternate Domain to use for LDAP users/group]' \
'--ldap-member-nis-netgroup[LDAP Member NIS netgroup]' \
'--ldap-group-filter[LDAP filter for group objects]' \
'--ldap-cache-entry-expiry[Amount of time to cache a user/group]' \
'--ldap-search-timeout[Search timeout period]' \
'--ldap-bind-timeout[Bind timeout period]' \
'--ldap-login-shell-template[Login shell template]' \
'--ldap-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--ldap-user-search-scope[Search scope for users.]' \
'--ldap-shadowlastchange[LDAP shadowLastChange attribute]' \
'--ldap-normalize-groups[Normalize groups to lowercase before looking up]' \
'--ldap-gidnumber[LDAP gidNumber attribute]' \
'--ldap-homedirectory[LDAP homeDirectory attribute]' \
'--ldap-shadowwarning[LDAP shadowWarning attribute]' \
'--ldap-uidnumber[LDAP uidNumber attribute]' \
'--ldap-require-secure-connection[Require a secure connection when binding with a password or retrieving password related attributes]' \
'--ldap-enabled[Enable the ldap-provider]' \
'--ldap-shadow-user-filter[LDAP filter for shadow user properties]' \
'--ldap-ntpasswdhash[LDAP ntPasswdHash attribute]' \
'--ldap-netgroup-base-dn[Distinguished name of the entry at which to start the LDAP search for netgroups.]' \
'--ldap-server-uri[Comma separated list of LDAP server URIs]' \
'--ldap-uniquemember[LDAP uniqueMember attribute]' \
'--ldap-memberUid[LDAP memberUid attribute]' \
'--ldap-gecos[LDAP gecos attribute]' \
'--ldap-bind-pw[Password used when binding to the LDAP server]' \
'--ldap-search-scope[Search scope]' \
'--ldap-cryptpasswd[LDAP cryptPasswd attribute]' \
'--ldap-shadowmax[LDAP shadowMax attribute]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_users] )) ||
_isi_classic_auth_ldap_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-users-list:"
      _isi_classic_auth_ldap_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-users-flush:"
      _isi_classic_auth_ldap_users_flush
    else
      _message "unknown isi auth ldap users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ldap_users_flush] )) ||
_isi_classic_auth_ldap_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_users_list] )) ||
_isi_classic_auth_ldap_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ldap_groups] )) ||
_isi_classic_auth_ldap_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-groups-list:"
      _isi_classic_auth_ldap_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ldap-groups-flush:"
      _isi_classic_auth_ldap_groups_flush
    else
      _message "unknown isi auth ldap groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ldap_groups_flush] )) ||
_isi_classic_auth_ldap_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \


}
(( $+functions[_isi_classic_auth_ldap_groups_list] )) ||
_isi_classic_auth_ldap_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5] )) ||
_isi_classic_auth_krb5() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify add delete write }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-list:"
      _isi_classic_auth_krb5_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-modify:"
      _isi_classic_auth_krb5_modify
    elif [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-add:"
      _isi_classic_auth_krb5_add
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-delete:"
      _isi_classic_auth_krb5_delete
    elif [[ $cmd == write ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-write:"
      _isi_classic_auth_krb5_write
    else
      _message "unknown isi auth krb5 command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_krb5_write] )) ||
_isi_classic_auth_krb5_write() {
_arguments \
'--path=[path to save]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_delete] )) ||
_isi_classic_auth_krb5_delete() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ default realm domain }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == default ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-delete-default:"
      _isi_classic_auth_krb5_delete_default
    elif [[ $cmd == realm ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-delete-realm:"
      _isi_classic_auth_krb5_delete_realm
    elif [[ $cmd == domain ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-delete-domain:"
      _isi_classic_auth_krb5_delete_domain
    else
      _message "unknown isi auth krb5 delete command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_krb5_delete_domain] )) ||
_isi_classic_auth_krb5_delete_domain() {
_arguments \
'--domain=[domain to associate to realm]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_delete_realm] )) ||
_isi_classic_auth_krb5_delete_realm() {
_arguments \
'--realm=[realm name]' \
'--all[deletes the realm]' \
'--default-domain[default domain]' \
'--all-kdc[delete all kdc definitions]' \
'--kdc=[kdc hostname or ip]' \
'--admin-server[admin server hostname or ip]' \
'--auth-to-local=[auth to local mapping rule]' \
'--all-auth-to-local[delete all auth_to_local definitions]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_delete_default] )) ||
_isi_classic_auth_krb5_delete_default() {
_arguments \
'--default-realm[default realm]' \
'--default-keytab-name[default keytab file]' \
'--permitted-enctypes[permitted enctypes]' \
'--default-tkt-enctypes[default tkt enctypes]' \
'--default-tgs-enctypes[default tgs enctypes]' \
'--preferred-enctypes[preferred enctypes]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_add] )) ||
_isi_classic_auth_krb5_add() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ realm }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == realm ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-add-realm:"
      _isi_classic_auth_krb5_add_realm
    else
      _message "unknown isi auth krb5 add command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_krb5_add_realm] )) ||
_isi_classic_auth_krb5_add_realm() {
_arguments \
'--realm=[realm name]' \
'--default-domain=[default domain]' \
'--kdc=[kdc hostname or ip]' \
'--admin-server=[admin server hostname or ip]' \
'--auth-to-local=[auth to local mapping rule]' \
'--is-active-directory=[indicate realm is active-directory]' \
'--is-default-realm=[indicate realm is default realm]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_modify] )) ||
_isi_classic_auth_krb5_modify() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ default realm domain }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == default ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-modify-default:"
      _isi_classic_auth_krb5_modify_default
    elif [[ $cmd == realm ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-modify-realm:"
      _isi_classic_auth_krb5_modify_realm
    elif [[ $cmd == domain ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-krb5-modify-domain:"
      _isi_classic_auth_krb5_modify_domain
    else
      _message "unknown isi auth krb5 modify command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_krb5_modify_domain] )) ||
_isi_classic_auth_krb5_modify_domain() {
_arguments \
'--domain=[domain to associate to realm]' \
'--realm=[realm to associate with domain]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_modify_realm] )) ||
_isi_classic_auth_krb5_modify_realm() {
_arguments \
'--realm=[realm name]' \
'--default-domain=[default domain]' \
'--kdc=[kdc hostname or ip]' \
'--admin-server=[admin server hostname or ip]' \
'--auth-to-local=[auth to local mapping rule]' \
'--is-active-directory=[indicate realm is active-directory]' \
'--is-default-realm=[indicate realm is default realm]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_modify_default] )) ||
_isi_classic_auth_krb5_modify_default() {
_arguments \
'--always-send-preauth=[require preauth flag]' \
'--dns-lookup-kdc=[dns lookup kdc]' \
'--dns-lookup-realm=[dns lookup realm]' \
'--default-realm=[default realm]' \
'--default-keytab-name=[default keytab file]' \
'--permitted-enctypes=[permitted enctypes]' \
'--default-tkt-enctypes=[default tkt enctypes]' \
'--default-tgs-enctypes=[default tgs enctypes]' \
'--preferred-enctypes=[preferred enctypes]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_krb5_list] )) ||
_isi_classic_auth_krb5_list() {
_arguments \
'--section=[section to display]' \
'--tree[list in tree format]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_groups] )) ||
_isi_classic_auth_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-groups-list:"
      _isi_classic_auth_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-groups-flush:"
      _isi_classic_auth_groups_flush
    else
      _message "unknown isi auth groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_groups_flush] )) ||
_isi_classic_auth_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \


}
(( $+functions[_isi_classic_auth_groups_list] )) ||
_isi_classic_auth_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file] )) ||
_isi_classic_auth_file() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ groups users config create delete list netgroups }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-groups:"
      _isi_classic_auth_file_groups
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-users:"
      _isi_classic_auth_file_users
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-config:"
      _isi_classic_auth_file_config
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-create:"
      _isi_classic_auth_file_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-delete:"
      _isi_classic_auth_file_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-list:"
      _isi_classic_auth_file_list
    elif [[ $cmd == netgroups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-netgroups:"
      _isi_classic_auth_file_netgroups
    else
      _message "unknown isi auth file command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_file_netgroups] )) ||
_isi_classic_auth_file_netgroups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-netgroups-list:"
      _isi_classic_auth_file_netgroups_list
    else
      _message "unknown isi auth file netgroups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_file_netgroups_list] )) ||
_isi_classic_auth_file_netgroups_list() {
_arguments \
'--netgroup=[netgroup]' \
'--recursive[Recursively resolve nested netgroups]' \
'--ignore[Ignore errors/unresolvable netgroups]' \
'--raw[Display raw netgroup information]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_list] )) ||
_isi_classic_auth_file_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_delete] )) ||
_isi_classic_auth_file_delete() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_create] )) ||
_isi_classic_auth_file_create() {
_arguments \
'--file-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--netgroup-file=[Netgroup replacement file]' \
'--file-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--file-home-dir-template=[Home directory template]' \
'--group-file=[Group replacement file]' \
'--file-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--file-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--file-alt-domain=[Alternate Domain to use for file users/group]' \
'--passwd-file=[Supplemental password file]' \
'--file-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--enumerate-users=[Enable the file-provider to respond to getpwent requests]' \
'--enumerate-groups=[Enable the file-provider to respond to getgrent requests]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_config] )) ||
_isi_classic_auth_file_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-config-list:"
      _isi_classic_auth_file_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-config-modify:"
      _isi_classic_auth_file_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-config-revert:"
      _isi_classic_auth_file_config_revert
    else
      _message "unknown isi auth file config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_file_config_revert] )) ||
_isi_classic_auth_file_config_revert() {
_arguments \
'--instance=[Name of the provider instance to use]' \
'--file-normalize-groups[Normalize groups to lowercase before looking up]' \
'--netgroup-file[Netgroup replacement file]' \
'--file-normalize-users[Normalize usernames to lowercase before looking up]' \
'--file-home-dir-template[Home directory template]' \
'--group-file[Group replacement file]' \
'--file-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--file-cache-entry-expiry[Amount of time to cache a user/group]' \
'--file-alt-domain[Alternate Domain to use for file users/group]' \
'--passwd-file[Supplemental password file]' \
'--file-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--enumerate-users[Enable the file-provider to respond to getpwent requests]' \
'--enumerate-groups[Enable the file-provider to respond to getgrent requests]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_config_modify] )) ||
_isi_classic_auth_file_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--instance=[Name of the provider instance to use]' \
'--file-normalize-groups=[Normalize groups to lowercase before looking up]' \
'--netgroup-file=[Netgroup replacement file]' \
'--file-normalize-users=[Normalize usernames to lowercase before looking up]' \
'--file-home-dir-template=[Home directory template]' \
'--group-file=[Group replacement file]' \
'--file-authentication-enabled=[Enable the provider to respond to authentication requests]' \
'--file-cache-entry-expiry=[Amount of time to cache a user/group]' \
'--file-alt-domain=[Alternate Domain to use for file users/group]' \
'--passwd-file=[Supplemental password file]' \
'--file-ntlm-support=[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--enumerate-users=[Enable the file-provider to respond to getpwent requests]' \
'--enumerate-groups=[Enable the file-provider to respond to getgrent requests]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_config_list] )) ||
_isi_classic_auth_file_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--instance=[Name of the provider instance to use]' \
'--file-normalize-groups[Normalize groups to lowercase before looking up]' \
'--netgroup-file[Netgroup replacement file]' \
'--file-normalize-users[Normalize usernames to lowercase before looking up]' \
'--file-home-dir-template[Home directory template]' \
'--group-file[Group replacement file]' \
'--file-authentication-enabled[Enable the provider to respond to authentication requests]' \
'--file-cache-entry-expiry[Amount of time to cache a user/group]' \
'--file-alt-domain[Alternate Domain to use for file users/group]' \
'--passwd-file[Supplemental password file]' \
'--file-ntlm-support[For users with NTLM-compatible credentials, this setting controls what NTLM versions to support.]' \
'--enumerate-users[Enable the file-provider to respond to getpwent requests]' \
'--enumerate-groups[Enable the file-provider to respond to getgrent requests]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_users] )) ||
_isi_classic_auth_file_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-users-list:"
      _isi_classic_auth_file_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-users-flush:"
      _isi_classic_auth_file_users_flush
    else
      _message "unknown isi auth file users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_file_users_flush] )) ||
_isi_classic_auth_file_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_users_list] )) ||
_isi_classic_auth_file_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_file_groups] )) ||
_isi_classic_auth_file_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-groups-list:"
      _isi_classic_auth_file_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-file-groups-flush:"
      _isi_classic_auth_file_groups_flush
    else
      _message "unknown isi auth file groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_file_groups_flush] )) ||
_isi_classic_auth_file_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \


}
(( $+functions[_isi_classic_auth_file_groups_list] )) ||
_isi_classic_auth_file_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_error] )) ||
_isi_classic_auth_error() {
_arguments \
'--error-code=[error code type]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_config] )) ||
_isi_classic_auth_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert rules }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-config-list:"
      _isi_classic_auth_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-config-modify:"
      _isi_classic_auth_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-config-revert:"
      _isi_classic_auth_config_revert
    elif [[ $cmd == rules ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-config-rules:"
      _isi_classic_auth_config_rules
    else
      _message "unknown isi auth config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_config_rules] )) ||
_isi_classic_auth_config_rules() {
_arguments \
'--read-file=[Read rules from file]' \
'--read-line=[Read a ;-separated list of rules on command line]' \
'--revert[Revert rules to default, empty list]' \
'--list[List the current rules]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_config_revert] )) ||
_isi_classic_auth_config_revert() {
_arguments \
'--mapping-rules[Current ID Mapping rules]' \
'--workgroup[NetBIOS Workgroup/Domain]' \
'--uid-range[Range of uids to use for allocating temporary uids]' \
'--send-ntlmv2[Send NTLMv2 responses]' \
'--gid-range[Range of gids to use for allocating temporary gids]' \
'--space-replacement[Space replacement]' \
'--lsass-log-level[Default log level for lsassd on startup. Acceptable values range from 0 to 7.]' \
'--nis-hostname-lookup[Priority of NIS hostname lookups]' \
'--provider-list[System Provider List]' \
'--on-disk-identity[Preferred on-disk storage]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_config_modify] )) ||
_isi_classic_auth_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--mapping-rules=[Current ID Mapping rules]' \
'--workgroup=[NetBIOS Workgroup/Domain]' \
'--uid-range=[Range of uids to use for allocating temporary uids]' \
'--send-ntlmv2=[Send NTLMv2 responses]' \
'--gid-range=[Range of gids to use for allocating temporary gids]' \
'--space-replacement=[Space replacement]' \
'--lsass-log-level=[Default log level for lsassd on startup. Acceptable values range from 0 to 7.]' \
'--nis-hostname-lookup=[Priority of NIS hostname lookups]' \
'--provider-list=[System Provider List]' \
'--on-disk-identity=[Preferred on-disk storage]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_config_list] )) ||
_isi_classic_auth_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--mapping-rules[Current ID Mapping rules]' \
'--workgroup[NetBIOS Workgroup/Domain]' \
'--uid-range[Range of uids to use for allocating temporary uids]' \
'--send-ntlmv2[Send NTLMv2 responses]' \
'--gid-range[Range of gids to use for allocating temporary gids]' \
'--space-replacement[Space replacement]' \
'--lsass-log-level[Default log level for lsassd on startup. Acceptable values range from 0 to 7.]' \
'--nis-hostname-lookup[Priority of NIS hostname lookups]' \
'--provider-list[System Provider List]' \
'--on-disk-identity[Preferred on-disk storage]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads] )) ||
_isi_classic_auth_ads() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ groups users config accounts dc join leave list search spn status time }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-groups:"
      _isi_classic_auth_ads_groups
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-users:"
      _isi_classic_auth_ads_users
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-config:"
      _isi_classic_auth_ads_config
    elif [[ $cmd == accounts ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-accounts:"
      _isi_classic_auth_ads_accounts
    elif [[ $cmd == dc ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-dc:"
      _isi_classic_auth_ads_dc
    elif [[ $cmd == join ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-join:"
      _isi_classic_auth_ads_join
    elif [[ $cmd == leave ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-leave:"
      _isi_classic_auth_ads_leave
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-list:"
      _isi_classic_auth_ads_list
    elif [[ $cmd == search ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-search:"
      _isi_classic_auth_ads_search
    elif [[ $cmd == spn ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-spn:"
      _isi_classic_auth_ads_spn
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-status:"
      _isi_classic_auth_ads_status
    elif [[ $cmd == time ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-time:"
      _isi_classic_auth_ads_time
    else
      _message "unknown isi auth ads command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_time] )) ||
_isi_classic_auth_ads_time() {
_arguments \
'--domain=[Domain]' \
'--sync[Sync cluster time to dc]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_status] )) ||
_isi_classic_auth_ads_status() {
_arguments \
'--instance=[Active Directory Instance identifier]' \
'--all[All Active Directory Instances]' \
'--verbose[Print detailed information about all reachable domains]' \
'--domains[Print a list of domains and their status]' \
'--refresh[Refresh any cached information]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_spn] )) ||
_isi_classic_auth_ads_spn() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list check }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-spn-create:"
      _isi_classic_auth_ads_spn_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-spn-delete:"
      _isi_classic_auth_ads_spn_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-spn-list:"
      _isi_classic_auth_ads_spn_list
    elif [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-spn-check:"
      _isi_classic_auth_ads_spn_check
    else
      _message "unknown isi auth ads spn command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_spn_check] )) ||
_isi_classic_auth_ads_spn_check() {
_arguments \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--repair[Repair any missing SPNs]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_spn_list] )) ||
_isi_classic_auth_ads_spn_list() {
_arguments \
'--account=[machine account]' \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_spn_delete] )) ||
_isi_classic_auth_ads_spn_delete() {
_arguments \
'--account=[machine account]' \
'--spn=[Service Principal name (SPN)]' \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_spn_create] )) ||
_isi_classic_auth_ads_spn_create() {
_arguments \
'--account=[machine account]' \
'--spn=[Service Principal name (SPN)]' \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_search] )) ||
_isi_classic_auth_ads_search() {
_arguments \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--filter=[LDAP search filter]' \
'--attributes=[LDAP Attribute list]' \
'--count[return just a count of the attributes]' \
'--offset=[start results at a certain offset]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_list] )) ||
_isi_classic_auth_ads_list() {
_arguments \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_leave] )) ||
_isi_classic_auth_ads_leave() {
_arguments \
'--domain=[Domain]' \
'--force[Required to leave a domain]' \
'--all[Leave all currently joined domains]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_join] )) ||
_isi_classic_auth_ads_join() {
_arguments \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--account=[machine account hostname]' \
'--ou=[Organizational Unit]' \
'--kerberos-nfs-spn[Add SPNs for using Kerberized NFS]' \
'--default[Make the domain the default]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_dc] )) ||
_isi_classic_auth_ads_dc() {
_arguments \
'--domain=[Domain]' \
'--instance=[Active Directory Instance identifier]' \
'--set-dc=[Set Domain Controller]' \
'--reset-schannel[Reset the secure channel to the primary domain]' \
'--site=[Search for a domain controller in a specific site.]' \
'--force[Force us to query DNS for a domain controller.]' \
'--verbose[Display information about the domain controller.]' \
'--list[List all domain controllers for this domain.]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_accounts] )) ||
_isi_classic_auth_ads_accounts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create delete }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-accounts-list:"
      _isi_classic_auth_ads_accounts_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-accounts-create:"
      _isi_classic_auth_ads_accounts_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-accounts-delete:"
      _isi_classic_auth_ads_accounts_delete
    else
      _message "unknown isi auth ads accounts command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_accounts_delete] )) ||
_isi_classic_auth_ads_accounts_delete() {
_arguments \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--account=[machine account hostname]' \
'--force[Force command execution without warnings]' \
'--leave[Leave previous domain before joining]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_accounts_create] )) ||
_isi_classic_auth_ads_accounts_create() {
_arguments \
'--domain=[Domain]' \
'--user=[User name]' \
'--password=[Password]' \
'--machinecreds[Use machine creds to connect]' \
'--account=[machine account hostname]' \
'--ou=[Organizational Unit]' \
'--no-spn[Do not set the default spns]' \
'--multiple[Allow multiple joins]' \
'--force[Force command execution without warnings]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_accounts_list] )) ||
_isi_classic_auth_ads_accounts_list() {
_arguments \
'--instance=[Active Directory Instance identifier]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_config] )) ||
_isi_classic_auth_ads_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list modify revert }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-config-list:"
      _isi_classic_auth_ads_config_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-config-modify:"
      _isi_classic_auth_ads_config_modify
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-config-revert:"
      _isi_classic_auth_ads_config_revert
    else
      _message "unknown isi auth ads config command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_config_revert] )) ||
_isi_classic_auth_ads_config_revert() {
_arguments \
'--instance=[Active Directory Instance identifier]' \
'--include-trusted-domains[Include Trusted Domains]' \
'--assume-default-domain[Lookup unqualified users in the primary trusted domain]' \
'--ignored-trusted-domains[Ignored Trusted Domains]' \
'--ldap-sign-and-seal[Ldap Sign and Seal]' \
'--lookup-groups[lookup groups before allocating a gid]' \
'--lookup-users[lookup users before allocating a uid]' \
'--ignore-all-trusts[Ignore all trusted domains]' \
'--lookup-normalize-users[Normalize the user name to lower case before lookup]' \
'--machine-password-lifespan[Maximum age of the password lifespan (in seconds)]' \
'--lookup-normalize-groups[Normalize the group name to lower case before lookup]' \
'--allocate-gids[Always allocate gids for AD groups]' \
'--machine-password-changes[Periodically change the machine account password]' \
'--lookup-domains[Limit user and group lookup to the domains listed.]' \
'--ad-authentication-enabled[Enable the Active Directory provider to respond to PAM authentication requests]' \
'--login-shell-template[Login shell template]' \
'--domain-offline-alerts[Enable alerts when a domain goes offline.]' \
'--home-dir-template[Home directory template]' \
'--allocate-uids[Always allocate uids for AD users]' \
'--check-online-interval[Interval between domain online checks]' \
'--store-sfu-mappings[Store mappings retrieved from SFU instead of just caching]' \
'--sfu-support[Services for Unix mode.  Valid values are: none, rfc2307]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_config_modify] )) ||
_isi_classic_auth_ads_config_modify() {
_arguments \
'--param=[Parameter to modify]' \
'--value=[Value for the associated parameter]' \
'--instance=[Active Directory Instance identifier]' \
'--include-trusted-domains=[Include Trusted Domains]' \
'--assume-default-domain=[Lookup unqualified users in the primary trusted domain]' \
'--ignored-trusted-domains=[Ignored Trusted Domains]' \
'--ldap-sign-and-seal=[Ldap Sign and Seal]' \
'--lookup-groups=[lookup groups before allocating a gid]' \
'--lookup-users=[lookup users before allocating a uid]' \
'--ignore-all-trusts=[Ignore all trusted domains]' \
'--lookup-normalize-users=[Normalize the user name to lower case before lookup]' \
'--machine-password-lifespan=[Maximum age of the password lifespan (in seconds)]' \
'--lookup-normalize-groups=[Normalize the group name to lower case before lookup]' \
'--allocate-gids=[Always allocate gids for AD groups]' \
'--machine-password-changes=[Periodically change the machine account password]' \
'--lookup-domains=[Limit user and group lookup to the domains listed.]' \
'--ad-authentication-enabled=[Enable the Active Directory provider to respond to PAM authentication requests]' \
'--login-shell-template=[Login shell template]' \
'--domain-offline-alerts=[Enable alerts when a domain goes offline.]' \
'--home-dir-template=[Home directory template]' \
'--allocate-uids=[Always allocate uids for AD users]' \
'--check-online-interval=[Interval between domain online checks]' \
'--store-sfu-mappings=[Store mappings retrieved from SFU instead of just caching]' \
'--sfu-support=[Services for Unix mode.  Valid values are: none, rfc2307]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_config_list] )) ||
_isi_classic_auth_ads_config_list() {
_arguments \
'--param=[Specific parameter(s) to list]' \
'--detailed[Display detailed information about parameters.]' \
'--hidden[Show hidden parameters that should not be modified without guidance from Isilon Support]' \
'--verbose[Print verbose output]' \
'--instance=[Active Directory Instance identifier]' \
'--include-trusted-domains[Include Trusted Domains]' \
'--assume-default-domain[Lookup unqualified users in the primary trusted domain]' \
'--ignored-trusted-domains[Ignored Trusted Domains]' \
'--ldap-sign-and-seal[Ldap Sign and Seal]' \
'--lookup-groups[lookup groups before allocating a gid]' \
'--lookup-users[lookup users before allocating a uid]' \
'--ignore-all-trusts[Ignore all trusted domains]' \
'--lookup-normalize-users[Normalize the user name to lower case before lookup]' \
'--machine-password-lifespan[Maximum age of the password lifespan (in seconds)]' \
'--lookup-normalize-groups[Normalize the group name to lower case before lookup]' \
'--allocate-gids[Always allocate gids for AD groups]' \
'--machine-password-changes[Periodically change the machine account password]' \
'--lookup-domains[Limit user and group lookup to the domains listed.]' \
'--ad-authentication-enabled[Enable the Active Directory provider to respond to PAM authentication requests]' \
'--login-shell-template[Login shell template]' \
'--domain-offline-alerts[Enable alerts when a domain goes offline.]' \
'--home-dir-template[Home directory template]' \
'--allocate-uids[Always allocate uids for AD users]' \
'--check-online-interval[Interval between domain online checks]' \
'--store-sfu-mappings[Store mappings retrieved from SFU instead of just caching]' \
'--sfu-support[Services for Unix mode.  Valid values are: none, rfc2307]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_users] )) ||
_isi_classic_auth_ads_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-users-list:"
      _isi_classic_auth_ads_users_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-users-flush:"
      _isi_classic_auth_ads_users_flush
    else
      _message "unknown isi auth ads users command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_users_flush] )) ||
_isi_classic_auth_ads_users_flush() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--all[Flush all users]' \
'--instance=[Active Directory Instance identifier]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_users_list] )) ||
_isi_classic_auth_ads_users_list() {
_arguments \
'--name=[User name]' \
'--uid=[User id]' \
'--sid=[User SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Active Directory Instance identifier]' \
'--domain=[Domain]' \
'--help[Print usage help and exit]' \


}
(( $+functions[_isi_classic_auth_ads_groups] )) ||
_isi_classic_auth_ads_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list flush }
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-groups-list:"
      _isi_classic_auth_ads_groups_list
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-ads-groups-flush:"
      _isi_classic_auth_ads_groups_flush
    else
      _message "unknown isi auth ads groups command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_classic_auth_ads_groups_flush] )) ||
_isi_classic_auth_ads_groups_flush() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--all[Flush all groups]' \
'--instance=[Name of the provider instance to use]' \
'--help[Print usage help and exit]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Name of the provider instance to use]' \
'--instance=[Active Directory Instance identifier]' \


}
(( $+functions[_isi_classic_auth_ads_groups_list] )) ||
_isi_classic_auth_ads_groups_list() {
_arguments \
'--name=[Group name]' \
'--gid=[Group id]' \
'--sid=[Group SID]' \
'--cache[Pull information from the cache]' \
'--verbose[Print verbose output]' \
'--filter=[Filter]' \
'--instance=[Active Directory Instance identifier]' \
'--domain=[Domain]' \
'--help[Print usage help and exit]' \


}
