search for: krbcc_0

Displaying 5 results from an estimated 5 matches for "krbcc_0".

Did you mean: krb5cc_0
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
...kinit administrator? - I then provide username and password, and get /tmp/krb5cc_0 ? I understand this is equivalent what the script is generating with the exported keytab file, is this correct? I then try this just as a test command: "samba-tool dns zonelist localhost --use-krb5-ccache=/tmp/krbcc_0?. (I get the same result with my server?s FQDN instead of ?localhost?) I have also tried setting the environment variable in the script like so ?EXPORT KRB5CCNAME=/tmp/krb5cc_0" Do you have any advice on what might not be working? I have confirmed everything working without the ?use-krb5-cc...
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
...5cc_0' ? > ? I understand this is equivalent what the script is > generating with the exported keytab file, is this correct? Very similar, just a different user. > > I then try this just as a test command: > > "samba-tool dns zonelist localhost --use-krb5-ccache=/tmp/krbcc_0?. > (I get the same result with my server?s FQDN instead of ?localhost?) If you cut & pasted that command, there is a typo, it is '/tmp/krb5cc_0' > > I have also tried setting the environment variable in the script like > so ?EXPORT KRB5CCNAME=/tmp/krb5cc_0" But the...
2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
On Fri, 28 Jun 2024 13:07:06 -0700 christian baltini via samba <samba at lists.samba.org> wrote: > Hello all, > > I am looking to rewrite the shell script here > (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) > in Python. Basically most of that script is written to check if a kerberos ticket exists and is current and then the ticket is used with
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
...his is equivalent what the script is >> generating with the exported keytab file, is this correct? > > Very similar, just a different user. > >> >> I then try this just as a test command: >> >> "samba-tool dns zonelist localhost --use-krb5-ccache=/tmp/krbcc_0?. >> (I get the same result with my server?s FQDN instead of ?localhost?) > > If you cut & pasted that command, there is a typo, it is '/tmp/krb5cc_0' > Sorry, that was a typo in my email, that is what I am typing >> >> I have also tried setting the enviro...
2012 Jan 11
6
Samba 4 kerberos and kinit
Hi After starting Samba 4, before anyone can do anything, Administrator has to do a kinit to get a new ticket. This creates a cache /tmp/krb5cc_0 with an expiry time. I've created a host principal and put it into the keytab: samba-tool spn add host someuser samba-tool domain exportkeytab /etc/krb5.keytab --principal=host/HH3.SITE How can I keep Samba 4 up without having to get a new