Re: New PECL Module: kpasswd
| From: | Tim Gustafson | Date: | Fri, 03 Dec 2010 21:28:26 +0000 |
| Subject: | Re: New PECL Module: kpasswd | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7861@lists.php.net to get a copy of this message | ||
> may I point you to my krb5 extension, which provides GSSAPI and MIT
> KADM ( for < 1.7 atm) functionality. Unfortunately I still have not
> found the time to put the code on PECL (the project already exists:
> krb5). I didn't expose that function either but imho that would be
> the right place to do it.
I agree that it would probably be the right place. I've been poking around with the krb5
library on the PECL site and been unsuccessful in getting it to work; if you plan to pick up that
torch and make the library workable again then I'm all for it. :) I was trying to create a
much simpler "just set the password" module to satisfy my needs for now.
> PS: You should use krb5_set_password, krb5_change_password is
> deprecated, at least for heimdal.
Noted.
At any rate, I tried to compile your library on my FreeBSD 8.1 box, but got this:
----------
krb5.c:166: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_mcc_generate_new'
krb5.c:169: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_cc_new_unique'
krb5.c:191:2: error: #error "No function to generate unique identifer found"
krb5.c:229: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_get_error_message'
krb5.c: In function 'krb5_parse_init_creds_opts':
krb5.c:305: warning: dereferencing type-punned pointer will break strict-aliasing rules
krb5.c:315: warning: dereferencing type-punned pointer will break strict-aliasing rules
krb5.c:325: warning: dereferencing type-punned pointer will break strict-aliasing rules
krb5.c:335: warning: dereferencing type-punned pointer will break strict-aliasing rules
krb5.c: In function 'zim_KRB5CCache_setConfig':
krb5.c:698: warning: passing argument 2 of 'krb5_set_config_files' from incompatible
pointer type
*** Error code 1
----------
On my CentOS 5.4 box it did compile, but I do need to get it to work in BSD-land. Upon running
"make test" on CentOS, I got:
----------
Running selected tests.
SKIP Testing for usable ticket acqusition [tests/001.phpt] reason: config missing
SKIP Testing for basic GSSAPI context establishment [tests/002.phpt] reason: config missing
SKIP Testing for GSSAPI wrap/unwrap/Mic code [tests/003.phpt] reason: config missing
SKIP Testing for working mutual authentication [tests/004.phpt] reason: config missing
SKIP Testing for working credential delegation [tests/005.phpt] reason: config missing
----------
Which config file is it talking about?
Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
tjg@soe.ucsc.edu
831-459-5354