the following patch corrects the error.
diff -urN nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c
nfs-utils-1.0.7/utils/gssd/context_heimdal.c
--- nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c 2005-07-10
12:14:01.526867000 +0200
+++ nfs-utils-1.0.7/utils/gssd/context_heimdal.c 2005-07-10
12:14:32.815110736 +0200
@@ -46,6 +46,20 @@
#include "gss_oids.h"
#include "write_bytes.h"
+typedef struct gss_ctx_id_t_desc_struct {
+ struct krb5_auth_context_data *auth_context;
+ gss_name_t source, target;
+ OM_uint32 flags;
+ enum { LOCAL = 1, OPEN = 2,
+ COMPAT_OLD_DES3 = 4,
+ COMPAT_OLD_DES3_SELECTED = 8,
+ } more_flags;
+ struct krb5_ticket *ticket;
+ OM_uint32 lifetime;
+ pthread_mutex_t ctx_id_mutex;
+ struct gss_msg_order *order;
+} gss_ctx_id_t_desc;
+
#define MAX_CTX_LEN 4096
int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key)
wfg
Mario
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
i forgot the error:
if
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../support/include -I../../support/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -pipe -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -I/usr/include/rpcsecgss -I/usr/include/gssglue -I/usr/include/heimdal -I/usr/athena/include -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -MT
gssd-context_heimdal.o -MD -MP -MF ".deps/gssd-context_heimdal.Tpo" -c -o
gssd-context_heimdal.o `test -f 'context_heimdal.c' ||
echo './'`context_heimdal.c; \
then
mv -f ".deps/gssd-context_heimdal.Tpo" ".deps/gssd-context_heimdal.Po"; else
rm -f ".deps/gssd-context_heimdal.Tpo"; exit 1; fi
context_heimdal.c: In function 'write_heimdal_enc_key':
context_heimdal.c:81: error: dereferencing pointer to incomplete type
context_heimdal.c: In function 'write_heimdal_seq_key':
context_heimdal.c:139: error: dereferencing pointer to incomplete type
context_heimdal.c: In function 'serialize_krb5_ctx':
context_heimdal.c:218: error: dereferencing pointer to incomplete type
context_heimdal.c:218: error: 'LOCAL' undeclared (first use in this function)
context_heimdal.c:218: error: (Each undeclared identifier is reported only
once
context_heimdal.c:218: error: for each function it appears in.)
context_heimdal.c:241: error: dereferencing pointer to incomplete type
context_heimdal.c:241: error: dereferencing pointer to incomplete type
context_heimdal.c:244: error: dereferencing pointer to incomplete type
context_heimdal.c:244: error: dereferencing pointer to incomplete type
context_heimdal.c:247: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[2]: *** [gssd-context_heimdal.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils/gssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils'
make: *** [all-recursive] Error 1
Am Montag, 17. Juli 2006 10:49 schrieb Mario Fetka:
> the following patch corrects the error.
>
> diff -urN nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c
> nfs-utils-1.0.7/utils/gssd/context_heimdal.c
> --- nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c 2005-07-10
> 12:14:01.526867000 +0200
> +++ nfs-utils-1.0.7/utils/gssd/context_heimdal.c 2005-07-10
> 12:14:32.815110736 +0200
> @@ -46,6 +46,20 @@
> #include "gss_oids.h"
> #include "write_bytes.h"
>
> +typedef struct gss_ctx_id_t_desc_struct {
> + struct krb5_auth_context_data *auth_context;
> + gss_name_t source, target;
> + OM_uint32 flags;
> + enum { LOCAL = 1, OPEN = 2,
> + COMPAT_OLD_DES3 = 4,
> + COMPAT_OLD_DES3_SELECTED = 8,
> + } more_flags;
> + struct krb5_ticket *ticket;
> + OM_uint32 lifetime;
> + pthread_mutex_t ctx_id_mutex;
> + struct gss_msg_order *order;
> +} gss_ctx_id_t_desc;
> +
> #define MAX_CTX_LEN 4096
>
> int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key)
>
> wfg
> Mario
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> NFS maillist - [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Thanks. What version of Heimdal is this against?
I haven't had time to test against heimdal since the libgssapi change.
Does the code work after you get it built?
K.C.
On 7/17/06, Mario Fetka <[email protected]> wrote:
> the following patch corrects the error.
>
> diff -urN nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c
> nfs-utils-1.0.7/utils/gssd/context_heimdal.c
> --- nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c 2005-07-10
> 12:14:01.526867000 +0200
> +++ nfs-utils-1.0.7/utils/gssd/context_heimdal.c 2005-07-10
> 12:14:32.815110736 +0200
> @@ -46,6 +46,20 @@
> #include "gss_oids.h"
> #include "write_bytes.h"
>
> +typedef struct gss_ctx_id_t_desc_struct {
> + struct krb5_auth_context_data *auth_context;
> + gss_name_t source, target;
> + OM_uint32 flags;
> + enum { LOCAL = 1, OPEN = 2,
> + COMPAT_OLD_DES3 = 4,
> + COMPAT_OLD_DES3_SELECTED = 8,
> + } more_flags;
> + struct krb5_ticket *ticket;
> + OM_uint32 lifetime;
> + pthread_mutex_t ctx_id_mutex;
> + struct gss_msg_order *order;
> +} gss_ctx_id_t_desc;
> +
> #define MAX_CTX_LEN 4096
>
> int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key)
>
> wfg
> Mario
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> NFS maillist - [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Am Montag, 17. Juli 2006 10:56 schrieb Mario Fetka:
> i forgot the error:
>
> if
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../support/include
> -I../../support/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -pipe
> -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse
> -I/usr/include/rpcsecgss -I/usr/include/gssglue -I/usr/include/heimdal
> -I/usr/athena/include -O2 -pipe -march=pentium-m -fomit-frame-pointer
> -mfpmath=sse -MT gssd-context_heimdal.o -MD -MP -MF
> ".deps/gssd-context_heimdal.Tpo" -c -o gssd-context_heimdal.o `test -f
> 'context_heimdal.c' ||
> echo './'`context_heimdal.c; \
> then
> mv -f ".deps/gssd-context_heimdal.Tpo" ".deps/gssd-context_heimdal.Po";
> else rm -f ".deps/gssd-context_heimdal.Tpo"; exit 1; fi
> context_heimdal.c: In function 'write_heimdal_enc_key':
> context_heimdal.c:81: error: dereferencing pointer to incomplete type
> context_heimdal.c: In function 'write_heimdal_seq_key':
> context_heimdal.c:139: error: dereferencing pointer to incomplete type
> context_heimdal.c: In function 'serialize_krb5_ctx':
> context_heimdal.c:218: error: dereferencing pointer to incomplete type
> context_heimdal.c:218: error: 'LOCAL' undeclared (first use in this
> function) context_heimdal.c:218: error: (Each undeclared identifier is
> reported only once
> context_heimdal.c:218: error: for each function it appears in.)
> context_heimdal.c:241: error: dereferencing pointer to incomplete type
> context_heimdal.c:241: error: dereferencing pointer to incomplete type
> context_heimdal.c:244: error: dereferencing pointer to incomplete type
> context_heimdal.c:244: error: dereferencing pointer to incomplete type
> context_heimdal.c:247: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> make[2]: *** [gssd-context_heimdal.o] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils/gssd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/nfs-utils-1.0.9/work/nfs-utils-1.0.9/utils'
> make: *** [all-recursive] Error 1
>
> Am Montag, 17. Juli 2006 10:49 schrieb Mario Fetka:
> > the following patch corrects the error.
> >
> > diff -urN nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c
> > nfs-utils-1.0.7/utils/gssd/context_heimdal.c
> > --- nfs-utils-1.0.7.org/utils/gssd/context_heimdal.c 2005-07-10
> > 12:14:01.526867000 +0200
> > +++ nfs-utils-1.0.7/utils/gssd/context_heimdal.c 2005-07-10
> > 12:14:32.815110736 +0200
> > @@ -46,6 +46,20 @@
> > #include "gss_oids.h"
> > #include "write_bytes.h"
> >
> > +typedef struct gss_ctx_id_t_desc_struct {
> > + struct krb5_auth_context_data *auth_context;
> > + gss_name_t source, target;
> > + OM_uint32 flags;
> > + enum { LOCAL = 1, OPEN = 2,
> > + COMPAT_OLD_DES3 = 4,
> > + COMPAT_OLD_DES3_SELECTED = 8,
> > + } more_flags;
> > + struct krb5_ticket *ticket;
> > + OM_uint32 lifetime;
> > + pthread_mutex_t ctx_id_mutex;
> > + struct gss_msg_order *order;
> > +} gss_ctx_id_t_desc;
> > +
> > #define MAX_CTX_LEN 4096
> >
> > int write_heimdal_keyblock(char **p, char *end, krb5_keyblock *key)
> >
> > wfg
> > Mario
> >
this patch adds an internal only struct (starting with 0.7 internal only) to
nfs-utils..
i am not skilled enought to do the fix in the right way.
could someone plz help
wfg
Mario
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs