Upcoming nfs-utils 1.1.3 release.
Subsystems (2)
FYI...
I'm thinking about making a 1.1.3 nfs-utils update release in the relatively near future. I've made about 20 or so commits since the last release so I was thinking that was a nice round number to cut a release...
So if your sitting on some patches that you want include please post them to the list. Also if you don't see something in the git tree that should be there (i.e. I missed the patch posting) please bring it to my attention...
steved.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 1 line · Steve Dickson
I'm thinking about making a 1.1.3 nfs-utils update release in the rel=
atively
Quoted 1 line
near future. I've made about 20 or so commits since the last release=
so
Quoted 3 lines
I was thinking that was a nice round number to cut a release...=20 =20
So if your sitting on some patches that you want include please post =
them to
Quoted 1 line
the list. Also if you don't see something in the git tree that should=
be
Quoted 1 line
there (i.e. I missed the patch posting) please bring it to my attent=
ion...=20
have there been any changes to rpc.gssd since 1.1.2? Searching for a pr= oper
kerberos ticket was broken. I have patches to fix it and also adding an=
extra
option to set preffered realm of the tickets (it comes handy in cross-r= ealm
environment). I would like to see these patches included.
--=20
Luk=E1=B9 Hejtm=E1nek
Quoted 7 lines · Lukas Hejtmanek
Hello,
Quoted 4 lines · Steve Dickson
I'm thinking about making a 1.1.3 nfs-utils update release in the relatively near future. I've made about 20 or so commits since the last release so I was thinking that was a nice round number to cut a release...
Quoted 5 lines
Quoted 3 lines
So if your sitting on some patches that you want include please post them to the list. Also if you don't see something in the git tree that should be there (i.e. I missed the patch posting) please bring it to my attention...
have there been any changes to rpc.gssd since 1.1.2?
I just took quick look and no there does not appear to be any rpc.gssd changes. I think the last ones to go in were the "[PATCH 0/4] nfs-utils gssd" patch set that Kevin posted.
Quoted 3 lines
Searching for a proper kerberos ticket was broken. I have patches to fix it and also adding an extra option to set preffered realm of the tickets (it comes handy in cross-realm environment). I would like to see these patches included.
Sorry I must have missed the posting... would you mind sending me a pointer to those posting?
tia,
steved.
Quoted 1 line · Steve Dickson
Sorry I must have missed the posting... would you mind sending me a point=
er
Quoted 1 line
to those posting?
I did not send it yet. Tomorrow, I will pull git of nfs utils and rediff my patches against it and send you the patch set tomorrow.
(can you send me a pointer to the git repository?)
-- =
Luk=E1=B9 Hejtm=E1nek
SSBkb24ndCByZWNhbGwgYW55IHJlcG9ydHMgb2YgdGhpbmdzIGJlaW5nIGJyb2tlbi4gIEknbGwg d2FpdCBhbmQKY2hlY2sgb3V0IHRoZSBwYXRjaCB0b21vcnJvdy4KCk1lYW53aGlsZSwgdGhlIGdp dCB0cmVlIGlzIGF0CmdpdDovL2dpdC5saW51eC1uZnMub3JnL3Byb2plY3RzL3N0ZXZlZC9uZnMt dXRpbHMuZ2l0CgoyMDA4LzYvMjMgTHVrYXMgSGVqdG1hbmVrIDx4aGVqdG1hbkBpY3MubXVuaS5j ej46Cj4gT24gTW9uLCBKdW4gMjMsIDIwMDggYXQgMDU6MzM6MzhQTSAtMDQwMCwgU3RldmUgRGlj a3NvbiB3cm90ZToKPj4gU29ycnkgSSBtdXN0IGhhdmUgbWlzc2VkIHRoZSBwb3N0aW5nLi4uIHdv dWxkIHlvdSBtaW5kIHNlbmRpbmcgbWUgYSBwb2ludGVyCj4+IHRvIHRob3NlIHBvc3Rpbmc/Cj4K PiBJIGRpZCBub3Qgc2VuZCBpdCB5ZXQuIFRvbW9ycm93LCBJIHdpbGwgcHVsbCBnaXQgb2YgbmZz IHV0aWxzIGFuZCByZWRpZmYgbXkKPiBwYXRjaGVzIGFnYWluc3QgaXQgYW5kIHNlbmQgeW91IHRo ZSBwYXRjaCBzZXQgdG9tb3Jyb3cuCj4KPiAoY2FuIHlvdSBzZW5kIG1lIGEgcG9pbnRlciB0byB0 aGUgZ2l0IHJlcG9zaXRvcnk/KQo+Cj4gLS0KPiBMdWvhuSBIZWp0beFuZWsKPgo+Cg==
Quoted 2 lines · Steve Dickson
Sorry I must have missed the posting... would you mind sending me a pointer to those posting?
as promissed, my patch is attached. hope you like it :)
Signature · 1 line
Lukáš Hejtmánek
utils/gssd/gssd.c +10 -2
@@ -60,6 +60,8 @@ char ccachedir[PATH_MAX] = GSSD_DEFAULT_CRED_DIR;char *ccachesearch[GSSD_MAX_CCACHE_SEARCH +1 ];int use_memcache =0 ;int root_uses_machine_creds =1 ; +char *preferred_realm =NULL ; +int ccache_timeout =0 ;void sig_die (int signal)
@@ -82,7 +84,7 @@ sig_hup(int signal)static void usage (char *progname) { -fprintf (stderr,"usage: %s [-f] [-M] [-n] [-v] [-r] [-p pipefsdir] [-k keytab] [-d ccachedir]\n" , +fprintf (stderr,"usage: %s [-f] [-M] [-n] [-v] [-r] [-p pipefsdir] [-k keytab] [-d ccachedir][-R preferred realm] [-t ticketstimeout]\n" , progname);exit (1 ); }
@@ -99,7 +101,7 @@ main(int argc, char *argv[])char *progname;memset (ccachesearch,0 ,sizeof (ccachesearch)); -while ((opt =getopt (argc, argv,"fvrmnMp:k:d:" )) !=-1 ) { +while ((opt =getopt (argc, argv,"fvrmnMp:k:d:R:t:" )) !=-1 ) {switch (opt) {case 'f' : fg =1 ;
@@ -134,6 +136,12 @@ main(int argc, char *argv[])if (ccachedir[sizeof (ccachedir)-1 ] !='\0' )errx (1 ,"ccachedir path name too long" );break ; +case 'R' : + preferred_realm =strdup (optarg); +break ; +case 't' : + ccache_timeout =atoi (optarg); +break ;default :usage (argv[0 ]);break ;
utils/gssd/gssd.h +2 -0
@@ -65,6 +65,8 @@ extern char keytabfile[PATH_MAX];extern char *ccachesearch[];extern int use_memcache;extern int root_uses_machine_creds; +extern char *preferred_realm; +extern int ccache_timeout; TAILQ_HEAD(clnt_list_head, clnt_info) clnt_list;
utils/gssd/gssd.man +9 -0
@@ -86,6 +86,15 @@ Increases the verbosity of the output (can be specified multiple times). .B -r If the rpcsec_gss library supports setting debug level, increases the verbosity of the output (can be specified multiple times). +.TP +.B -R realm +Tickets from this realm will be preffered when scaning ccache dir. +By default no realm is preferred. +.TP +.B -t timeout +Timeout for kernel tickets cache. This is workaround in case you want to +change kerberos tickets and identities frequently. Default value is +0 - no timeout. .SH SEE ALSO .BR rpc.svcgssd(8) .SH AUTHORS
utils/gssd/gssd_proc.c +5 -6
@@ -427,7 +427,7 @@ do_downcall(int k5_fd, uid_t uid, struct authgss_private_data *pd, gss_buffer_desc *context_token) {char *buf =NULL , *p =NULL , *end =NULL ; -unsigned int timeout =0 ;/* XXX decide on a reasonable value */ +unsigned int timeout = ccache_timeout;unsigned int buf_size =0 ;printerr (1 ,"doing downcall\n" );
@@ -703,11 +703,10 @@ handle_krb5_upcall(struct clnt_info *clp)if (uid !=0 || (uid ==0 && root_uses_machine_creds ==0 )) {/* Tell krb5 gss which credentials cache to use */ for (dirname = ccachesearch; *dirname !=NULL ; dirname++) { -gssd_setup_krb5_user_gss_ccache (uid, clp->servername, *dirname); - - create_resp =create_auth_rpc_client (clp, &rpc_clnt, &auth, uid, +if (!gssd_setup_krb5_user_gss_ccache (uid, clp->servername, *dirname)) + create_resp =create_auth_rpc_client (clp, &rpc_clnt, &auth, uid,AUTHTYPE_KRB5 ); -if (create_resp ==0 ) +if (create_resp ==0 )break ; } }
@@ -729,7 +728,7 @@ handle_krb5_upcall(struct clnt_info *clp) }for (ccname = credlist; ccname && *ccname; ccname++) {gssd_setup_krb5_machine_gss_ccache (*ccname); -if ((create_auth_rpc_client (clp, &rpc_clnt, +if ((create_auth_rpc_client (clp, &rpc_clnt, &auth, uid,AUTHTYPE_KRB5 )) ==0 ) {/* Success! */
utils/gssd/krb5_util.c +116 -12
203 lines not on this page · raw message
utils/gssd/krb5_util.h +1 -1
@@ -17,7 +17,7 @@ struct gssd_k5_kt_princ { }; -void gssd_setup_krb5_user_gss_ccache (uid_t uid,char *servername, +int gssd_setup_krb5_user_gss_ccache (uid_t uid,char *servername,char *dirname);int gssd_get_krb5_machine_cred_list (char ***list);void gssd_free_krb5_machine_cred_list (char **list);
_______________________________________________
NFSv4 mailing list
[email protected]
http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
SGkgTHVr4bksCkNvdWxkIHlvdSBwb2ludCBvdXQgd2hhdCBpcyAiYnJva2VuIiB3aXRoIHRoZ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4gLS0KPiBMdWvhuSBIZWp0beFuZWsK Pgo=
Btw, the current git head cannot be compiled as I don't have strnstr functi= on.
Configure does not check for it and select_krb5_ccache unconditionally uses it.
-- =
Luk=E1=B9 Hejtm=E1nek
2008/6/24 Lukas Hejtmanek <[email protected]>:
Quoted 3 lines
Btw, the current git head cannot be compiled as I don't have strnstr function. Configure does not check for it and
select_krb5_ccacheunconditionally uses it.
Near as I can tell, the use of strnstr() is from your patch? select_krb5_ccache() uses strstr().
Quoted 2 lines · Kevin Coffman
Near as I can tell, the use of
strnstr()is from your patch?select_krb5_ccache()usesstrstr().
I guess no. I believe it came to me from git head.
-- =
Luk=E1=B9 Hejtm=E1nek
Hi Lukas,
Quoted 6 lines · Lukas Hejtmanek
Quoted 2 lines · Steve Dickson
Sorry I must have missed the posting... would you mind sending me a pointer to those posting?
as promissed, my patch is attached. hope you like it :)
Again, not to be a pain but, we have a standard way of posting patches. Here are some guidelines: http://kernel.org/pub/linux/docs/lkml/#s1-10
But in general you need to describe at the top of the patch what problem the patch addresses and how that patch fixes that problem as well as having a "Signed-Off-By:" line.
So if you could please repost the patch following the above guidelines, it would be appreciated.
steved.
Quoted 9 lines · Steve Dickson
But in general you need to describe at the top of the patch what =
problem the patch addresses and how that patch fixes that problem as well as having a "Signed-Off-By:" line.
=So if you could please repost the patch following the above =
guidelines, it would be appreciated. =
I tried my best. I sent two patches. The last one (that fixes "broken" gssd= ) =
I will send tomorrow.
-- =
Luk=E1=B9 Hejtm=E1nek
Hi,
Could you confirm there will be the Chuck Lever's patches about the mount ipv6 patchs serie?
Will there be also something about ipv6 server side commands?
Thanks
Steve Dickson a =E9crit :
Quoted 3 lines
FYI...
I'm thinking about making a 1.1.3 nfs-utils update release in the rela=
tively near
Quoted 1 line
future. I've made about 20 or so commits since the last release so I =
was thinking
Quoted 3 lines
that was a nice round number to cut a release...=20
So if your sitting on some patches that you want include please post t=
hem
Quoted 1 line
to the list. Also if you don't see something in the git tree that shou=
ld be there (i.e.
Quoted 5 lines
I missed the patch posting) please bring it to my attention...=20
steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" i=
n
Quoted 6 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html=20
--=20
-----------------------------------------------------------------
Company : Bull, Architect of an Open World TM (www.bull.com)
Name : Aime Le Rouzic=20
Mail : Bull - BP 208 - 38432 Echirolles Cedex - France
E-Mail : [email protected]
Phone : 33 (4) 76.29.75.51
=46ax : 33 (4) 76.29.75.18
-----------------------------------------------------------------=20
Quoted 2 lines · On Thu, Jun 26, 2008 at 9:09 AM, Le Rouzic <[email protected]> wrote:
Could you confirm there will be the Chuck Lever's patches about the mount ipv6 patchs series?
I'm not speaking for Steve, but I think my nfs-utils IPv6 patches are a little too much churn for a small dot release. And besides, I still consider them a prototype.
There is a large amount of dust yet to settle for the text-based mount interface. I hope nfs-utils 1.1.3 and the 2.6.27 kernel will address most of these issues.
Quoted 1 line
Will there be also something about ipv6 server side commands?
Out of curiosity, who is working on server-side user space IPv6 support?
Quoted 23 lines
Steve Dickson a =E9crit :
Quoted 19 lines
FYI...
I'm thinking about making a 1.1.3 nfs-utils update release in the relatively near
future. I've made about 20 or so commits since the last release so I was thinking
that was a nice round number to cut a release...
So if your sitting on some patches that you want include please post them to the list. Also if you don't see something in the git tree that should be there (i.e.
I missed the patch posting) please bring it to my attention... steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines
--
-----------------------------------------------------------------
Company : Bull, Architect of an Open World TM (www.bull.com)
Name : Aime Le Rouzic Mail : Bull - BP 208 - 38432 Echirolles Cedex=
-
Quoted 10 lines
France
E-Mail : [email protected]
Phone : 33 (4) 76.29.75.51
Fax : 33 (4) 76.29.75.18
-----------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
-- =
I am certain that these presidents will understand the cry of the people of Bolivia, of the people of Latin America and the whole world, which wants to have more food and not more cars. First food, then if something's left over, more cars, more automobiles. I think that life has to come first.
-- Evo Morales