Skip to content

kinit not working[BUG]  #1

@iamaftabshaikh

Description

@iamaftabshaikh

Getting issue on kinit please find my logs and all to help me get out of this situation.

=====================================================================

store_password_to_kinit:
cmd.run:
- name: kinit --password-file={{ ad.config.krb5.password_tmpfile }} {{ ad.config.credentials.username }}
- onchanges:
- file: ad_tmp_password_file_to_root

=====================================================================

When i try to run above command manually getting this issue.

[root@SALT01 ad_kd]# kinit --password-file=/srv/salt/ad_kd/pass "ad_username"
kinit: unrecognized option '--password-file=/srv/salt/ad_kd/pass'
Usage: kinit [-V] [-l lifetime] [-s start_time]
[-r renewable_life] [-f | -F | --forwardable | --noforwardable]
[-p | -P | --proxiable | --noproxiable]
-n [-a | -A | --addresses | --noaddresses]
[--request-pac | --no-request-pac]
[-C | --canonicalize]
[-E | --enterprise]
[-v] [-R] [-k [-i|-t keytab_file]] [-c cachename]
[-S service_name] [-T ticket_armor_cache]
[-X [=]] [principal]

options:
-V verbose
-l lifetime
-s start time
-r renewable lifetime
-f forwardable
-F not forwardable
-p proxiable
-P not proxiable
-n anonymous
-a include addresses
-A do not include addresses
-v validate
-R renew
-C canonicalize
-E client is enterprise principal name
-k use keytab
-i use default client keytab (with -k)
-t filename of keytab to use
-c Kerberos 5 cache name
-S service
-T armor credential cache
-X <attribute>[=<value>]

=======================================================================

OS: Rhel7
Arch: 64bit

====================================================================

Team humble request to all please review it once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions