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

Jeremy Allison jra at samba.org
Thu Mar 22 02:15:14 GMT 2007


On Wed, Mar 21, 2007 at 09:48:08PM -0400, McCall, Don (GSE-WTEC-Alpharetta) wrote:
> 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?

Nope, it's a bug. I'll fix it.

Thanks :-).

Jeremy.


More information about the samba-technical mailing list