krb5_context in a threaded process

2008-07-08 Thread aditham
I need to initialize multiple krb5_context's in a multi-threaded program and each context *must* be initialized from a different config file. krb5_init_context() seems to read config from /etc/krb5.conf or the file pointed to by KRB5_CONFIG. Setting the environment variable will not work since

kadmin: Unbalanced quotes in command line

2008-07-08 Thread Klaus Jensen
Hi, I'm working on using a script to change the password for a given principal. The resulting command line is something like this: kadmin -k -t keytapfile -p host/host.foobar -q cpw -pw somepassword [EMAIL PROTECTED] When somepassword contains a quote character (i.e. password is: foobaromg) I

Re: krb5_context in a threaded process

2008-07-08 Thread Ken Raeburn
On Jul 8, 2008, at 11:25, [EMAIL PROTECTED] wrote: I need to initialize multiple krb5_context's in a multi-threaded program and each context *must* be initialized from a different config file. krb5_init_context() seems to read config from /etc/krb5.conf or the file pointed to by

Re: krb5_context in a threaded process

2008-07-08 Thread Michael B Allen
On Tue, Jul 8, 2008 at 11:25 AM, [EMAIL PROTECTED] wrote: I need to initialize multiple krb5_context's in a multi-threaded program and each context *must* be initialized from a different config file. krb5_init_context() seems to read config from /etc/krb5.conf or the file pointed to by

Re: kadmin: Unbalanced quotes in command line

2008-07-08 Thread Ken Raeburn
On Jul 8, 2008, at 10:53, Klaus Jensen wrote: I'm working on using a script to change the password for a given principal. The resulting command line is something like this: kadmin -k -t keytapfile -p host/host.foobar -q cpw -pw somepassword [EMAIL PROTECTED] When somepassword contains