[OpenAFS-port-darwin] OSXPref Pane news
Claudio Bisegni
Claudio.Bisegni@lnf.infn.it
Fri, 3 Aug 2007 13:47:17 +0200
--Apple-Mail-12--471476308
Content-Type: multipart/alternative;
boundary=Apple-Mail-11--471476456
--Apple-Mail-11--471476456
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Hi Jeffrey
Yes i have seen, i must make icon form myself:-)
Any way i'll try to compile afs api into my preference pane using
xcode i have some problem integrating klog partial source(my first
experiment) into pref.pane project, i can compile but have error
linking lib.
I'm investigating.
ka_Init(0) and ka_LocalCell() function compile but i have error on
link, xcode don't find the code...
What is the lib that i must include to compile and link this part of
afs?
Claudio
On 03/ago/07, at 12:54, Jeffrey Altman wrote:
> Claudio:
>
> There is no AFS library for obtaining tokens using Kerberos v5.
>
> You need to obtain Kerberos v5 tickets using the Kerberos libraries
> that
> ship as part of MacOS X and you need to generate AFS tokens using code
> similar to the code in 'aklog'. See the OpenAFS src/aklog/ directory.
>
> The routines I wrote for Windows are in src/WINNT/afsd/afskfw*
>
> As for the Windows Icons. There is no license issue, but the
> lock/nolock Icons that IBM used for afscreds are ugly.
>
> Jeffrey Altman
>
>
> Claudio Bisegni wrote:
>> Hi folk i have some question, about my preference pane, to do at
>> the list.
>> 1) i have used windows version icons for token/notoken state, this is
>> a license problem?
>> 2) In my company we have implemented a kerberos vers. 5 ticket/token
>> credential for our afs infrastructure so the preference pane must be
>> implemented to use it. There is a way to get a system notify when
>> tikect/tokent are obtained by other software(osx kerberos client and
>> afslog plugin), in way to refresh preference pane interface?
>> 3) I'd like to rewrite the code to use directly afs api instead shell
>> script, where i can get header/develop lib from and afs installation?
>>
>> Thanks in advanced
>>
>> ---------------------------------------------------------------------
>> -------------------------------------
>> Claudio Bisegni
>> Computing Service www: http://www.lnf.infn.it/~bisegni
>> <http://www.lnf.infn.it/%7Ebisegni>
>> LNF-INFN e-mail: claudio.bisegni at lnf.infn.it
>>
>> AFS Commander:
>> http://www.lnf.infn.it/~bisegni/Main/Afs%20Commander.html
>> <http://www.lnf.infn.it/%7Ebisegni/Main/Afs%20Commander.html>
>>
>>
>>
------------------------------------------------------------------------
----------------------------------
Claudio Bisegni phone: (+39)-06-9403.2345
Computing Service fax: (+39)-06-9403.2649
LNF-INFN e-mail: claudio.bisegni@lnf.infn.it
Via Enrico Fermi, 40 www: http://www.lnf.infn.it/~bisegni
I-00044 Frascati, Italy
--Apple-Mail-11--471476456
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">
<div>Hi Jeffrey</div>Yes i have seen, i must make icon form =
myself:-)<div>Any way i'll try to compile afs api into my preference =
pane using xcode i have some problem integrating klog partial source(my =
first experiment) into pref.pane project, i can compile but have error =
linking lib.</div><div>I'm investigating.</div><div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font style=3D"font: 10.0px Monaco"><font =
class=3D"Apple-style-span" color=3D"#000000"><font =
class=3D"Apple-style-span" face=3D"Helvetica" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
12px;">ka_Init(</span></font></font></font><font style=3D"font: normal =
normal normal 10px/normal Monaco; "><font class=3D"Apple-style-span" =
color=3D"#000000"><font class=3D"Apple-style-span" face=3D"Helvetica" =
size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
12px;">0</span></font></font></font><font style=3D"font: 10.0px =
Monaco"><font class=3D"Apple-style-span" color=3D"#000000"><font =
class=3D"Apple-style-span" face=3D"Helvetica" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 12px;">) =
and=A0=A0ka_LocalCell() function compile but i have error on link, xcode =
don't find the code...</span></font></font></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">What is the lib that i must include to compile and =
link this part of afs?</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><br =
class=3D"webkit-block-placeholder"></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Claudio</div> =
</div><div><br></div><div><br><div><div>On 03/ago/07, at 12:54, Jeffrey =
Altman wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Claudio:</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">There is =
no AFS library for obtaining tokens using Kerberos v5.</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You need =
to obtain Kerberos v5 tickets using the Kerberos libraries =
that</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">ship as part of MacOS X and you =
need to generate AFS tokens using code</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">similar =
to the code in 'aklog'.<span class=3D"Apple-converted-space">=A0 =
</span>See the OpenAFS src/aklog/ directory.</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The =
routines I wrote for Windows are in src/WINNT/afsd/afskfw*</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">As for =
the Windows Icons.<span class=3D"Apple-converted-space">=A0 </span>There =
is no license issue, but the</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">lock/nolock =
Icons that IBM used for afscreds are ugly.</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><br></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Jeffrey =
Altman</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Claudio =
Bisegni wrote:</div> <blockquote type=3D"cite"><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi folk =
i have some question, about my preference pane, to do at the =
list.</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">1) i have used windows version =
icons for token/notoken state, this is</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a =
license problem?</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">2) In my company we have =
implemented a kerberos vers. 5 ticket/token</div><div style=3D"margin-top:=
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">credential<span class=3D"Apple-converted-space">=A0 </span>for our afs =
infrastructure so the preference pane must be</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">implemented to use it. There is a way to get a =
system notify when</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">tikect/tokent are obtained =
by other software(osx kerberos client and</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">afslog =
plugin), in way to refresh preference pane interface?</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">3) I'd like to rewrite the code to use directly afs =
api instead shell</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">script, where i can get =
header/develop lib from and afs installation?</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks =
in advanced</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; =
">------------------------------------------------------------------------=
----------------------------------</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Claudio =
Bisegni <span class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =
=A0</span></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Computing Service <span =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 </span>www:<span =
class=3D"Apple-converted-space">=A0 =A0 </span><a =
href=3D"http://www.lnf.infn.it/~bisegni">http://www.lnf.infn.it/~bisegni</=
a></div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; "><<a =
href=3D"http://www.lnf.infn.it/%7Ebisegni">http://www.lnf.infn.it/%7Ebiseg=
ni</a>></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">LNF-INFN<span =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
</span>e-mail: claudio.bisegni at lnf.infn.it</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span =
class=3D"Apple-converted-space">=A0</span>AFS Commander: <span =
class=3D"Apple-converted-space">=A0 =A0</span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><a =
href=3D"http://www.lnf.infn.it/~bisegni/Main/Afs%20Commander.html">http://=
www.lnf.infn.it/~bisegni/Main/Afs%20Commander.html</a></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><<a =
href=3D"http://www.lnf.infn.it/%7Ebisegni/Main/Afs%20Commander.html">http:=
//www.lnf.infn.it/%7Ebisegni/Main/Afs%20Commander.html</a>><span =
class=3D"Apple-converted-space">=A0</span></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><br></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><br></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> =
</blockquote></blockquote></div><br><div> <span class=3D"Apple-style-span"=
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><br =
class=3D"Apple-interchange-newline">--------------------------------------=
--------------------------------------------------------------------<br></=
div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">Claudio Bisegni=A0 =A0=A0 =A0=A0 =A0=A0 =A0<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "> =
</span></span></span>phone:=A0<span =
class=3D"Apple-converted-space">=A0</span>(+39)-06-9403.2345</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Computing Service=A0 =A0 =A0 =A0 =A0<span =
class=3D"Apple-converted-space">=A0</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"><span class=3D"Apple-style-span" =
style=3D"white-space: pre; "><span class=3D"Apple-style-span" =
style=3D"white-space: pre; "> </span></span></span>fax:=A0 =A0<span =
class=3D"Apple-converted-space">=A0</span>(+39)-06-9403.2649</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">LNF-INFN<span =
class=3D"Apple-converted-space">=A0</span>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0<span class=3D"Apple-converted-space">=A0</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "> =
</span></span></span>e-mail: <a =
href=3D"mailto:claudio.bisegni@lnf.infn.it">claudio.bisegni@lnf.infn.it</a=
></div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">Via Enrico Fermi, 40<span =
class=3D"Apple-converted-space">=A0</span>=A0 =A0 =A0<span =
class=3D"Apple-converted-space">=A0</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"><span class=3D"Apple-style-span" =
style=3D"white-space: pre; "><span class=3D"Apple-style-span" =
style=3D"white-space: pre; "> </span></span></span>www:=A0 =A0<span =
class=3D"Apple-converted-space">=A0</span><a =
href=3D"http://www.lnf.infn.it/~bisegni">http://www.lnf.infn.it/~bisegni</=
a></div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">I-00044 Frascati, Italy<span =
class=3D"Apple-converted-space">=A0</span>=A0 =A0<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "><span =
class=3D"Apple-style-span" style=3D"white-space: pre; "> =
</span></span></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><br></div></span><br =
class=3D"Apple-interchange-newline"> </div><br></div></body></html>=
--Apple-Mail-11--471476456--
--Apple-Mail-12--471476308
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
name=smime.p7s
Content-Disposition: attachment;
filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIESzCCBEcw
ggMvoAMCAQICAh29MA0GCSqGSIb3DQEBBQUAMC4xCzAJBgNVBAYTAklUMQ0wCwYDVQQKEwRJTkZO
MRAwDgYDVQQDEwdJTkZOIENBMB4XDTA3MDcxOTE0MjcyMFoXDTA4MDcxODE0MjcyMFowYzELMAkG
A1UEBhMCSVQxDTALBgNVBAoTBElORk4xHTAbBgNVBAsTFFBlcnNvbmFsIENlcnRpZmljYXRlMQww
CgYDVQQHEwNMTkYxGDAWBgNVBAMTD0NsYXVkaW8gQmlzZWduaTCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBAKRPR+nFrOu4MrnhHkAjqR8e05jnyyBmE4b8WcKUJleLjFaVl9iL3QC5RYma
rT9UgpzrtZCN8WdGlCQLkLlOzlyRasXSHFaXzmtOEdMIOk1ZBXE/jy83+9TXSoKwFM84qHZFAzQc
J+XubQ6NnIKpmY9i04ctql/JPeilY1FnNvXcFZrYXraskztYn722dX6b0mYTjbufg42aHbUY60WC
/NMMlxzbUrZJLYcyYyy7GpAkbIceDH76vm2pCfRoP9TLN8Eng116K0z76fHgheBOOU9/UF5dIAVg
oJ+J8VDXu1xojWMeEJHbmOZYaBYrTUFioifrGv9BAWuNLFVAdT7ncxcCAwE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