Hi Richard, > librpc/gen_ndr/ndr_libnetapi.c: In function ‘ndr_push_domsid’: > librpc/gen_ndr/ndr_libnetapi.c:34:2: error: implicit declaration of > function ‘NDR_PUSH_CHECK_FLAGS’ It means you are using an old librpc/ndr/libndr.h, or you are not including that header. Cheers, Tridge