--- utils/net_rpc.o --- cc-1164 c99: WARNING File = utils/net_rpc.c, Line = 2032 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &name, NULL, &sids, &types); ^ cc-1164 c99: WARNING File = utils/net_rpc.c, Line = 2759 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &domains, &names, &types); ^ --- utils/net_rpc_rights.o --- cc-1164 c99: WARNING File = utils/net_rpc_rights.c, Line = 42 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". result = rpccli_lsa_lookup_sids(pipe_hnd, mem_ctx, &pol, 1, sid, &domains, &names, &sid_types); ^ cc-1164 c99: WARNING File = utils/net_rpc_rights.c, Line = 79 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &sids, &sid_types); ^ --- utils/netlookup.o --- cc-1164 c99: WARNING File = utils/netlookup.c, Line = 175 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &types); ^ cc-1164 c99: WARNING File = utils/netlookup.c, Line = 210 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &types); ^ --- utils/net_util.o --- cc-1164 c99: WARNING File = utils/net_util.c, Line = 62 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &name, &dom_names, &sids, &types); ^ --- libsmb/libsmbclient.o --- cc-1164 c99: WARNING File = libsmb/libsmbclient.c, Line = 3789 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". if (!NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(pipe_hnd, ipc_cli->mem_ctx, ^ cc-1164 c99: WARNING File = libsmb/libsmbclient.c, Line = 3829 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". if (!NT_STATUS_IS_OK(rpccli_lsa_lookup_names(pipe_hnd, ipc_cli->mem_ctx, ^ --- rpcclient/cmd_lsarpc.o --- cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 50 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". result = rpccli_lsa_lookup_names(cli, mem_ctx, &pol, 1, &name, NULL, &sids, &sid_types); ^ cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 242 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". (const char**)(argv + 1), NULL, &sids, &types); ^ cc-1164 c99: WARNING File = rpcclient/cmd_lsarpc.c, Line = 308 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &domains, &names, &types); ^ --- utils/smbcacls.o --- cc-1164 c99: WARNING File = utils/smbcacls.c, Line = 120 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". !NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(global_pipe_hnd, global_hack_cli->mem_ctx, ^ cc-1164 c99: WARNING File = utils/smbcacls.c, Line = 147 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". !NT_STATUS_IS_OK(rpccli_lsa_lookup_names(global_pipe_hnd, global_hack_cli->mem_ctx, ^ --- utils/smbcquotas.o --- cc-1164 c99: WARNING File = utils/smbcquotas.c, Line = 91 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". !NT_STATUS_IS_OK(rpccli_lsa_lookup_sids(global_pipe_hnd, cli_ipc->mem_ctx, ^ cc-1164 c99: WARNING File = utils/smbcquotas.c, Line = 118 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". !NT_STATUS_IS_OK(rpccli_lsa_lookup_names(global_pipe_hnd, cli_ipc->mem_ctx, ^ --- libmsrpc/cac_lsarpc.o --- cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 202 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &domains, &names, &types ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 329 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". &sids, &types ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 642 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 908 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 978 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1040 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1102 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^ cc-1164 c99: WARNING File = libmsrpc/cac_lsarpc.c, Line = 1161 Argument of type "enum lsa_SidType **" is incompatible with parameter of type "unsigned int **". NULL, &user_sid, &type ); ^
Jerry, do you want me to get rpccli_lsa_lookup_names across to 3_0_25? Looks pretty safe to me. Volker
All these are still around in Samba 3.0.28
Modern Samba (supported versions 4.9 and later) is built with very strict compiler options, I strongly doubt this is still an issue.