smbd/seal.c", line 66: error #2136: struct "smb_trans_enc_state" has no field "ntlmssp_state

McCall, Don (GSE-WTEC-Alpharetta) don.mccall at hp.com
Thu Mar 22 01:48:08 GMT 2007


Hi Folks,

Failing the build on samba_3_0 cc on HP-UX 11.23 in the build farm with
this error:


"smbd/seal.c", line 66: error #2136: struct "smb_trans_enc_state" has no
field "ntlmssp_state"
  	ec->es->ntlmssp_state = ec->auth_ntlmssp_state->ntlmssp_state;

I believe this may be because of the preceeding condition:

cc: warning 901: unknown option: `-fPIE': use +help for online
documentation. 
"include/client.h", line 92: warning #2040-D: expected an identifier
  	};
Which is the end of the union that CONTAINS the ntlmssp_state:

struct smb_trans_enc_state {
        enum smb_trans_enc_type smb_enc_type;
        BOOL enc_on;
        union {
                NTLMSSP_STATE *ntlmssp_state;
#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
                gss_ctx_id_t context_handle;
#endif
        };
};

Most everywhere else I look, we include some identifier after the union,
but not in this case.  Is there a reason for this?

Thanks,
Don


More information about the samba-technical mailing list