+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/samba-3.6.25nb44/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/samba-3.6.25nb44/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for samba-3.6.25nb44 Using CFLAGS = -I/usr/pkg/include/krb5 -pipe -O2 -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/pkg/include/ncurses -I. -I/home/pbulk/build/net/samba/work/samba-3.6.25/source3 -I/home/pbulk/build/net/samba/work/samba-3.6.25/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/talloc -I./../lib/tevent -DHAVE_CONFIG_H -I/usr/pkg/include/krb5 -I/usr/pkg/include -I/usr/pkg/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/pkg/include/ncurses -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED -I/home/pbulk/build/net/samba/work/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lresolv -ldl LDFLAGS = -pie -Wl,-z,relro -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib64 -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib64 -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= mkdir bin Compiling ../lib/talloc/talloc.c Compiling ../lib/replace/replace.c Compiling ../lib/replace/snprintf.c Compiling ../lib/replace/getpass.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libtalloc.syms Compiling dynconfig.c Compiling param/loadparm.c Compiling param/loadparm_server_role.c Compiling param/util.c Compiling lib/sharesec.c Compiling lib/ldap_debug_handler.c Compiling smbd/server_reload.c Compiling smbd/files.c Compiling smbd/connection.c Compiling smbd/utmp.c Compiling smbd/session.c Compiling smbd/dfree.c Compiling smbd/dir.c Compiling smbd/password.c In file included from include/includes.h:545, from smbd/password.c:21: smbd/password.c: In function 'authorise_login': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:648:5: note: in expansion of macro 'fstrcpy' fstrcpy(user,user2); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:648:5: note: in expansion of macro 'fstrcpy' fstrcpy(user,user2); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:686:6: note: in expansion of macro 'fstrcpy' fstrcpy(user,auser); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:686:6: note: in expansion of macro 'fstrcpy' fstrcpy(user,auser); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:699:6: note: in expansion of macro 'fstrcpy' fstrcpy(user,user2); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:699:6: note: in expansion of macro 'fstrcpy' fstrcpy(user,user2); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:718:4: note: in expansion of macro 'fstrcpy' fstrcpy(user,guestname); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ In file included from include/includes.h:545, from smbd/password.c:21: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/password.c:718:4: note: in expansion of macro 'fstrcpy' fstrcpy(user,guestname); ^~~~~~~ smbd/password.c:594:26: note: declared here int snum, fstring user, DATA_BLOB password, ~~~~~~~~^~~~ Compiling smbd/conn.c Compiling smbd/share_access.c Compiling smbd/fileio.c Compiling smbd/ipc.c Compiling smbd/lanman.c Compiling smbd/negprot.c Compiling smbd/message.c Compiling smbd/nttrans.c Compiling smbd/pipes.c Compiling smbd/reply.c Compiling smbd/sesssetup.c Compiling smbd/trans2.c Compiling smbd/uid.c Compiling smbd/dosmode.c Compiling smbd/filename.c Compiling smbd/open.c Compiling smbd/close.c Compiling smbd/blocking.c Compiling smbd/sec_ctx.c smbd/sec_ctx.c: In function 'get_current_groups': smbd/sec_ctx.c:153:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(gid); ^~~~~~~~~~~ Compiling smbd/srvstr.c Compiling smbd/vfs.c Compiling smbd/perfcount.c Compiling smbd/statcache.c Compiling smbd/seal.c Compiling smbd/posix_acls.c Compiling lib/sysacls.c Compiling smbd/process.c Compiling smbd/service.c Compiling smbd/error.c In file included from include/includes.h:545, from smbd/service.c:20: smbd/service.c: In function 'share_sanity_checks': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:467:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev,"LPT1:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:467:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev,"LPT1:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:469:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev, "IPC"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:469:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev, "IPC"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:471:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev,"A:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:471:4: note: in expansion of macro 'fstrcpy' fstrcpy(dev,"A:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:491:3: note: in expansion of macro 'fstrcpy' fstrcpy(dev, "LPT1:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ In file included from include/includes.h:545, from smbd/service.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dev' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ smbd/service.c:491:3: note: in expansion of macro 'fstrcpy' fstrcpy(dev, "LPT1:"); ^~~~~~~ smbd/service.c:457:17: note: declared here fstring dev) ~~~~~~~~^~~ Compiling rpc_server/epmd.c Compiling printing/printspoolss.c Compiling printing/spoolssd.c Compiling lib/sysquotas_linux.c Compiling lib/sysquotas.c Compiling lib/sysquotas_xfs.c Compiling lib/sysquotas_4A.c Compiling lib/sysquotas_nfs.c Compiling smbd/fake_file.c Compiling smbd/quotas.c Compiling smbd/ntquotas.c Compiling lib/afs.c Compiling smbd/msdfs.c Compiling lib/afs_settoken.c Compiling smbd/aio.c Compiling smbd/statvfs.c Compiling smbd/dmapi.c Compiling smbd/signing.c Compiling smbd/file_access.c Compiling smbd/dnsregister.c Compiling smbd/globals.c Compiling smbd/smb2_server.c Compiling smbd/smb2_signing.c Compiling smbd/smb2_glue.c Compiling smbd/smb2_negprot.c Compiling smbd/smb2_sesssetup.c Compiling smbd/smb2_tcon.c Compiling smbd/smb2_create.c Compiling smbd/smb2_close.c Compiling smbd/smb2_flush.c Compiling smbd/smb2_read.c Compiling smbd/smb2_write.c Compiling smbd/smb2_lock.c Compiling smbd/smb2_ioctl.c Compiling smbd/smb2_keepalive.c Compiling smbd/smb2_find.c Compiling smbd/smb2_notify.c Compiling smbd/smb2_getinfo.c Compiling smbd/smb2_setinfo.c Compiling smbd/smb2_break.c Compiling ../libcli/smb/smb2_create_blob.c Compiling smbd/mangle.c Compiling smbd/mangle_hash.c In file included from include/includes.h:545, from smbd/mangle_hash.c:23: smbd/mangle_hash.c: In function 'hash_name_to_8_3': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ smbd/mangle_hash.c:676:3: note: in expansion of macro 'safe_strcpy' safe_strcpy(out, in, 12); ^~~~~~~~~~~ smbd/mangle_hash.c:653:9: note: declared here char out[13], ~~~~~^~~~~~~ In file included from include/includes.h:545, from smbd/mangle_hash.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ smbd/mangle_hash.c:676:3: note: in expansion of macro 'safe_strcpy' safe_strcpy(out, in, 12); ^~~~~~~~~~~ smbd/mangle_hash.c:653:9: note: declared here char out[13], ~~~~~^~~~~~~ Compiling smbd/mangle_hash2.c In file included from include/includes.h:545, from smbd/mangle_hash2.c:66: smbd/mangle_hash2.c: In function 'hash2_name_to_8_3': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'new_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ smbd/mangle_hash2.c:706:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(new_name, name, 12); ^~~~~~~~~~~ smbd/mangle_hash2.c:689:9: note: declared here char new_name[13], ~~~~~^~~~~~~~~~~~ In file included from include/includes.h:545, from smbd/mangle_hash2.c:66: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'new_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ smbd/mangle_hash2.c:706:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(new_name, name, 12); ^~~~~~~~~~~ smbd/mangle_hash2.c:689:9: note: declared here char new_name[13], ~~~~~^~~~~~~~~~~~ Compiling modules/vfs_default.c Compiling libsmb/clientgen.c Compiling libsmb/cliconnect.c Compiling libsmb/clifile.c Compiling libsmb/clikrb5.c libsmb/clikrb5.c: In function 'smb_krb5_unparse_name': libsmb/clikrb5.c:124:3: warning: 'krb5_free_unparsed_name' is deprecated [-Wdeprecated-declarations] krb5_free_unparsed_name(context, utf8_name); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:3843:1: note: declared here krb5_free_unparsed_name ( ^~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c:127:2: warning: 'krb5_free_unparsed_name' is deprecated [-Wdeprecated-declarations] krb5_free_unparsed_name(context, utf8_name); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:3843:1: note: declared here krb5_free_unparsed_name ( ^~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c: In function 'kerberos_free_data_contents': libsmb/clikrb5.c:502:3: warning: 'krb5_free_data_contents' is deprecated [-Wdeprecated-declarations] krb5_free_data_contents(context, pdata); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:3674:1: note: declared here krb5_free_data_contents ( ^~~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c: In function 'kerberos_compatible_enctypes': libsmb/clikrb5.c:527:2: warning: 'krb5_c_enctype_compare' is deprecated [-Wdeprecated-declarations] krb5_c_enctype_compare(context, enctype1, enctype2, &similar); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libsmb/clikrb5.c:24: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:847:1: note: declared here krb5_c_enctype_compare ( ^~~~~~~~~~~~~~~~~~~~~~ libsmb/clikrb5.c: In function 'smb_krb5_principal_get_realm': libsmb/clikrb5.c:2173:9: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return krb5_principal_get_realm(context, principal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling libsmb/clispnego.c Compiling ../libcli/auth/spnego_parse.c Compiling ../lib/util/asn1.c Compiling libsmb/clirap.c In file included from include/includes.h:545, from libsmb/clirap.c:22: libsmb/clirap.c: In function 'cli_qpathinfo_alt_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'alt_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ libsmb/clirap.c:1283:2: note: in expansion of macro 'fstrcpy' fstrcpy(alt_name, converted); ^~~~~~~ libsmb/clirap.c:1250:83: note: declared here NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstring alt_name) ~~~~~~~~^~~~~~~~ In file included from include/includes.h:545, from libsmb/clirap.c:22: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'alt_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ libsmb/clirap.c:1283:2: note: in expansion of macro 'fstrcpy' fstrcpy(alt_name, converted); ^~~~~~~ libsmb/clirap.c:1250:83: note: declared here NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstring alt_name) ~~~~~~~~^~~~~~~~ Compiling libsmb/clierror.c Compiling libsmb/climessage.c Compiling libsmb/clilist.c Compiling libsmb/clireadwrite.c Compiling libsmb/cliprint.c Compiling libsmb/clitrans.c Compiling libsmb/clisecdesc.c Compiling libsmb/clidgram.c Compiling libsmb/clistr.c Compiling libsmb/cliquota.c Compiling libsmb/clifsinfo.c Compiling libsmb/clidfs.c In file included from include/includes.h:545, from libsmb/clifsinfo.c:21: libsmb/clifsinfo.c: In function 'cli_get_fs_volume_info': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'volume_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:195:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(dest, dest_len) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:146:2: note: in expansion of macro 'clistr_pull_fn2' clistr_pull_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ libsmb/clifsinfo.c:392:2: note: in expansion of macro 'clistr_pull' clistr_pull(cli->inbuf, volume_name, rdata + 18, sizeof(fstring), ^~~~~~~~~~~ libsmb/clifsinfo.c:357:64: note: declared here NTSTATUS cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, ~~~~~~~~^~~~~~~~~~~ In file included from include/includes.h:545, from libsmb/clifsinfo.c:21: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'volume_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:195:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(dest, dest_len) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:146:2: note: in expansion of macro 'clistr_pull_fn2' clistr_pull_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ libsmb/clifsinfo.c:392:2: note: in expansion of macro 'clistr_pull' clistr_pull(cli->inbuf, volume_name, rdata + 18, sizeof(fstring), ^~~~~~~~~~~ libsmb/clifsinfo.c:357:64: note: declared here NTSTATUS cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, ~~~~~~~~^~~~~~~~~~~ Compiling libsmb/clioplock.c Compiling libsmb/clirap2.c Compiling libsmb/smb_seal.c Compiling libsmb/async_smb.c Compiling libsmb/cli_np_tstream.c Compiling libsmb/smbsock_connect.c Compiling ../libcli/auth/ntlm_check.c Compiling libsmb/ntlmssp.c Compiling libsmb/ntlmssp_wrap.c Compiling ../libcli/auth/ntlmssp.c Compiling ../libcli/auth/ntlmssp_sign.c Compiling librpc/gen_ndr/ndr_ntlmssp.c Compiling ../librpc/ndr/ndr_ntlmssp.c Compiling ../libcli/auth/ntlmssp_ndr.c Compiling ../libcli/auth/ntlmssp_server.c Compiling libsmb/nterr.c Compiling libsmb/smberr.c Compiling ../libcli/util/doserr.c Compiling libsmb/errormap.c Compiling ../librpc/rpc/dcerpc_error.c Compiling ../libcli/auth/smbdes.c Compiling ../libcli/auth/smbencrypt.c Compiling ../libcli/auth/msrpc_parse.c Compiling ../libcli/auth/session.c Compiling passdb/secrets.c Compiling passdb/machine_account_secrets.c Compiling passdb/machine_sid.c Compiling librpc/gen_ndr/ndr_secrets.c Compiling libsmb/unexpected.c Compiling libsmb/namecache.c Compiling libsmb/nmblib.c Compiling libsmb/namequery.c Compiling ../libcli/nbt/lmhosts.c Compiling libsmb/conncache.c Compiling libads/dns.c Compiling libads/sitename_cache.c Compiling ../libcli/nbt/nbtname.c Compiling ../libcli/netlogon/netlogon.c Compiling ../libcli/netlogon/ndr_netlogon.c Compiling librpc/gen_ndr/ndr_nbt.c Compiling librpc/gen_ndr/ndr_svcctl.c Compiling ../librpc/ndr/ndr_svcctl.c Compiling libads/cldap.c Compiling ../libcli/cldap/cldap.c Compiling ../lib/util/idtree.c Compiling ../libcli/ldap/ldap_message.c Compiling ../libcli/ldap/ldap_ndr.c Compiling lib/ldb_compat.c Compiling ../lib/tsocket/tsocket.c Compiling ../lib/tsocket/tsocket_helpers.c Compiling ../lib/tsocket/tsocket_bsd.c Compiling ../librpc/ndr/ndr_drsuapi.c Compiling ../librpc/ndr/ndr_compression.c Compiling librpc/gen_ndr/ndr_drsuapi.c Compiling ../librpc/ndr/ndr_drsblobs.c Compiling librpc/gen_ndr/ndr_drsblobs.c Compiling ../lib/compression/mszip.c Compiling ../lib/compression/lzxpress.c Compiling rpc_server/lsa/srv_lsa_nt.c Compiling librpc/gen_ndr/srv_lsa.c Compiling rpc_server/winreg/srv_winreg_nt.c Compiling librpc/gen_ndr/srv_winreg.c Compiling librpc/gen_ndr/srv_initshutdown.c Compiling rpc_server/initshutdown/srv_initshutdown_nt.c Compiling rpc_server/dssetup/srv_dssetup_nt.c Compiling librpc/gen_ndr/srv_dssetup.c Compiling librpc/gen_ndr/srv_wkssvc.c Compiling rpc_server/wkssvc/srv_wkssvc_nt.c rpc_server/wkssvc/srv_wkssvc_nt.c: In function 'get_logged_on_userlist': rpc_server/wkssvc/srv_wkssvc_nt.c:82:8: warning: 'strcmp' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] if (strcmp(u->ut_user, usr_infos[i].name) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmpx.h:31, from rpc_server/wkssvc/srv_wkssvc_nt.c:48: /usr/include/bits/utmpx.h:63:8: note: argument 'ut_user' declared here char ut_user[__UT_NAMESIZE] ^~~~~~~ rpc_server/wkssvc/srv_wkssvc_nt.c:82:8: warning: 'strcmp' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] if (strcmp(u->ut_user, usr_infos[i].name) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmpx.h:31, from rpc_server/wkssvc/srv_wkssvc_nt.c:48: /usr/include/bits/utmpx.h:63:8: note: argument 'ut_user' declared here char ut_user[__UT_NAMESIZE] ^~~~~~~ Compiling rpc_server/svcctl/srv_svcctl_nt.c Compiling rpc_server/svcctl/srv_svcctl_reg.c Compiling librpc/gen_ndr/srv_svcctl.c Compiling services/svc_winreg_glue.c Compiling services/svc_spoolss.c Compiling services/svc_rcinit.c Compiling services/svc_netlogon.c Compiling services/svc_winreg.c Compiling services/svc_wins.c Compiling rpc_server/ntsvcs/srv_ntsvcs_nt.c Compiling librpc/gen_ndr/srv_ntsvcs.c Compiling rpc_server/netlogon/srv_netlog_nt.c Compiling librpc/gen_ndr/srv_netlogon.c Compiling librpc/gen_ndr/srv_dfs.c Compiling rpc_server/dfs/srv_dfs_nt.c Compiling rpc_server/srvsvc/srv_srvsvc_nt.c Compiling librpc/gen_ndr/srv_srvsvc.c Compiling rpc_server/spoolss/srv_spoolss_nt.c Compiling rpc_server/spoolss/srv_spoolss_util.c Compiling librpc/gen_ndr/srv_spoolss.c Compiling rpc_server/eventlog/srv_eventlog_nt.c Compiling rpc_server/eventlog/srv_eventlog_reg.c Compiling lib/eventlog/eventlog.c Compiling librpc/gen_ndr/srv_eventlog.c Compiling rpc_server/samr/srv_samr_nt.c Compiling rpc_server/samr/srv_samr_util.c Compiling rpc_server/samr/srv_samr_chgpasswd.c Compiling librpc/gen_ndr/srv_samr.c Compiling rpc_server/echo/srv_echo_nt.c Compiling librpc/gen_ndr/srv_echo.c Compiling rpc_server/epmapper/srv_epmapper.c Compiling librpc/gen_ndr/srv_epmapper.c Compiling rpc_server/srv_pipe.c Compiling rpc_server/srv_pipe_hnd.c Compiling rpc_server/srv_pipe_register.c Compiling rpc_server/rpc_ncacn_np.c Compiling rpc_server/rpc_handles.c Compiling rpc_server/srv_access_check.c Compiling rpc_server/rpc_server.c Compiling rpc_server/dcesrv_ntlmssp.c Compiling rpc_server/dcesrv_gssapi.c Compiling rpc_server/dcesrv_spnego.c Compiling ../libcli/named_pipe_auth/npa_tstream.c Compiling librpc/gen_ndr/ndr_named_pipe_auth.c Compiling ../auth/auth_sam_reply.c Compiling librpc/gen_ndr/ndr_auth.c Compiling librpc/gen_ndr/ndr_spoolss_c.c Compiling rpc_client/cli_spoolss.c Compiling rpc_client/init_spoolss.c Compiling rpc_client/cli_winreg_spoolss.c Compiling printing/nt_printing_os2.c Compiling librpc/gen_ndr/ndr_winreg_c.c Compiling rpc_client/cli_winreg.c Compiling rpc_client/cli_winreg_int.c Compiling librpc/gen_ndr/ndr_srvsvc_c.c Compiling librpc/gen_ndr/ndr_lsa_c.c Compiling rpc_client/cli_lsarpc.c Compiling rpc_client/init_lsa.c Compiling librpc/gen_ndr/ndr_samr_c.c Compiling rpc_client/cli_samr.c Compiling librpc/gen_ndr/ndr_netlogon_c.c Compiling rpc_client/cli_netlogon.c Compiling rpc_client/util_netlogon.c Compiling rpc_server/rpc_ep_setup.c Compiling librpc/rpc/dcerpc_ep.c Compiling rpc_client/cli_pipe_schannel.c Compiling rpc_client/init_netlogon.c Compiling rpc_client/init_samr.c Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.c Compiling passdb/pdb_get_set.c Compiling passdb/passdb.c In file included from include/includes.h:545, from passdb/passdb.c:25: passdb/passdb.c: In function 'pdb_sethexpwd': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ passdb/passdb.c:388:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 32); ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) ~~~~~^~~~~ In file included from include/includes.h:545, from passdb/passdb.c:25: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ passdb/passdb.c:388:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 32); ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) ~~~~~^~~~~ In file included from include/includes.h:545, from passdb/passdb.c:25: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ passdb/passdb.c:390:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 32); ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) ~~~~~^~~~~ In file included from include/includes.h:545, from passdb/passdb.c:25: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'p' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ passdb/passdb.c:390:4: note: in expansion of macro 'safe_strcpy' safe_strcpy(p, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", 32); ^~~~~~~~~~~ passdb/passdb.c:380:25: note: declared here void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl) ~~~~~^~~~~ Compiling passdb/pdb_interface.c Compiling lib/util_wellknown.c Compiling lib/util_builtin.c Compiling passdb/pdb_compat.c Compiling lib/util_unixsids.c Compiling passdb/lookup_sid.c Compiling passdb/login_cache.c Compiling passdb/pdb_ldap.c Compiling passdb/pdb_nds.c Compiling passdb/pdb_ipa.c Compiling passdb/pdb_smbpasswd.c Compiling passdb/pdb_tdb.c Compiling passdb/pdb_wbc_sam.c Compiling passdb/account_pol.c Compiling lib/privileges.c Compiling lib/util_nscd.c Compiling lib/winbind_util.c Compiling lib/server_mutex.c Compiling passdb/pdb_util.c Compiling printing/pcap.c Compiling printing/print_svid.c Compiling printing/print_aix.c Compiling printing/print_cups.c Compiling printing/print_generic.c Compiling printing/lpq_parse.c Compiling printing/load.c Compiling printing/print_iprint.c Compiling printing/print_standard.c Compiling printing/printer_list.c Compiling librpc/gen_ndr/ndr_printcap.c Compiling profile/profile.c Compiling ../lib/util/rbtree.c Compiling ../lib/util/signal.c Compiling ../lib/util/time.c Compiling ../lib/util/xfile.c Compiling ../lib/util/util_strlist.c Compiling ../lib/util/util_file.c Compiling ../lib/util/data_blob.c Compiling ../lib/util/util.c Compiling ../lib/util/fsusage.c Compiling ../lib/util/params.c Compiling ../lib/util/talloc_stack.c Compiling ../lib/util/genrand.c Compiling ../lib/util/util_net.c Compiling ../lib/util/become_daemon.c Compiling ../lib/util/system.c Compiling ../lib/util/tevent_unix.c Compiling ../lib/util/tevent_ntstatus.c Compiling ../lib/util/smb_threads.c Compiling ../lib/util/tevent_werror.c Compiling ../lib/util/util_id.c Compiling ../lib/util/blocking.c Compiling ../lib/util/rfc1738.c Compiling ../lib/util/select.c Compiling ../lib/util/util_pw.c ../lib/util/util_pw.c: In function 'passwd_expand_gecos': ../lib/util/util_pw.c:128:7: warning: implicit declaration of function 'lp_passwd_expand_gecos'; did you mean 'passwd_expand_gecos'? [-Wimplicit-function-declaration] if (!lp_passwd_expand_gecos()) { ^~~~~~~~~~~~~~~~~~~~~~ passwd_expand_gecos Compiling ../lib/crypto/crc32.c Compiling ../lib/crypto/md5.c Compiling ../lib/crypto/hmacmd5.c Compiling ../lib/crypto/arcfour.c Compiling ../lib/crypto/md4.c Compiling ../lib/crypto/sha256.c Compiling ../lib/crypto/hmacsha256.c Compiling ../lib/crypto/aes.c Compiling ../lib/crypto/rijndael-alg-fst.c Compiling lib/messages.c Compiling librpc/gen_ndr/ndr_messaging.c Compiling lib/messages_local.c Compiling lib/messages_ctdbd.c Compiling lib/packet.c Compiling lib/ctdbd_conn.c Compiling lib/interfaces.c Compiling lib/talloc_dict.c Compiling lib/memcache.c Compiling lib/serverid.c Compiling lib/util_sconn.c Compiling lib/util_transfer_file.c Compiling ../lib/async_req/async_sock.c Compiling lib/addrchange.c Compiling lib/util_tdb.c Compiling ../lib/util/util_tdb.c Compiling ../lib/util/tdb_wrap.c Compiling lib/dbwrap.c Compiling lib/dbwrap_tdb.c Compiling lib/dbwrap_ctdb.c Compiling lib/g_lock.c Compiling lib/dbwrap_rbt.c Compiling lib/version.c Compiling lib/charcnv.c Compiling ../lib/util/debug.c Compiling ../lib/util/debug_s3.c Compiling lib/fault.c Compiling lib/interface.c Compiling lib/pidfile.c Compiling lib/system.c Compiling lib/sendfile.c Compiling lib/recvfile.c Compiling lib/time.c Compiling lib/username.c Compiling ../libds/common/flag_mapping.c Compiling lib/access.c Compiling lib/smbrun.c Compiling lib/bitmap.c Compiling lib/dprintf.c Compiling ../libcli/registry/util_reg.c Compiling lib/wins_srv.c Compiling lib/util_str.c Compiling lib/clobber.c Compiling lib/util_sid.c Compiling lib/util_unistr.c Compiling ../lib/util/charset/codepoints.c Compiling lib/util_file.c Compiling lib/util.c In file included from include/includes.h:545, from lib/util.c:24: lib/util.c: In function 'name_to_fqdn': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'fqdn' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ lib/util.c:2215:3: note: in expansion of macro 'fstrcpy' fstrcpy(fqdn, name); ^~~~~~~ lib/util.c:2208:27: note: declared here bool name_to_fqdn(fstring fqdn, const char *name) ~~~~~~~~^~~~ In file included from include/includes.h:545, from lib/util.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'fqdn' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ lib/util.c:2215:3: note: in expansion of macro 'fstrcpy' fstrcpy(fqdn, name); ^~~~~~~ lib/util.c:2208:27: note: declared here bool name_to_fqdn(fstring fqdn, const char *name) ~~~~~~~~^~~~ In file included from include/includes.h:545, from lib/util.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'fqdn' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ lib/util.c:2243:2: note: in expansion of macro 'fstrcpy' fstrcpy(fqdn, full); ^~~~~~~ lib/util.c:2208:27: note: declared here bool name_to_fqdn(fstring fqdn, const char *name) ~~~~~~~~^~~~ In file included from include/includes.h:545, from lib/util.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'fqdn' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ lib/util.c:2243:2: note: in expansion of macro 'fstrcpy' fstrcpy(fqdn, full); ^~~~~~~ lib/util.c:2208:27: note: declared here bool name_to_fqdn(fstring fqdn, const char *name) ~~~~~~~~^~~~ Compiling lib/util_cmdline.c Compiling lib/util_names.c Compiling lib/util_sock.c Compiling lib/sock_exec.c Compiling lib/util_sec.c lib/util_sec.c: In function 'gain_root_privilege': lib/util_sec.c:140:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(0, 0); ^~~~~~~~~~~~~~ lib/util_sec.c:149:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); ^~~~~~~~~ lib/util_sec.c: In function 'gain_root_group_privilege': lib/util_sec.c:166:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(0,0); ^~~~~~~~~~~~~ lib/util_sec.c:178:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(0); ^~~~~~~~~ lib/util_sec.c: In function 'set_effective_uid': lib/util_sec.c:210:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(-1,uid); ^~~~~~~~~~~~~~~~ lib/util_sec.c: In function 'set_effective_gid': lib/util_sec.c:235:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(-1,gid); ^~~~~~~~~~~~~~~~ lib/util_sec.c: In function 'restore_re_uid_fromroot': lib/util_sec.c:272:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(saved_ruid, -1); ^~~~~~~~~~~~~~~~~~~~~~~~ lib/util_sec.c:273:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(-1,saved_euid); ^~~~~~~~~~~~~~~~~~~~~~~ lib/util_sec.c: In function 'restore_re_gid': lib/util_sec.c:311:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(saved_rgid, -1); ^~~~~~~~~~~~~~~~~~~~~~~~ lib/util_sec.c:312:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(-1,saved_egid); ^~~~~~~~~~~~~~~~~~~~~~~ lib/util_sec.c: In function 'set_re_uid': lib/util_sec.c:341:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(0, 0); ^~~~~~~~~~~~~~ lib/util_sec.c:342:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(uid, -1); ^~~~~~~~~~~~~~~~~ lib/util_sec.c:343:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(-1, uid); ^~~~~~~~~~~~~~~~~ lib/util_sec.c: In function 'become_user_permanently': lib/util_sec.c:383:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(gid,gid); ^~~~~~~~~~~~~~~~~ lib/util_sec.c:384:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(gid); ^~~~~~~~~~~ lib/util_sec.c:385:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(uid,uid); ^~~~~~~~~~~~~~~~~ lib/util_sec.c:386:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ Compiling lib/substitute.c Compiling lib/dbwrap_util.c Compiling lib/ms_fnmatch.c Compiling lib/errmap_unix.c Compiling lib/tallocmsg.c Compiling lib/dmallocmsg.c Compiling libsmb/clisigning.c Compiling libsmb/smb_signing.c Compiling ../lib/util/charset/iconv.c Compiling intl/lang_tdb.c Compiling lib/conn_tdb.c Compiling lib/adt_tree.c Compiling lib/gencache.c Compiling lib/sessionid_tdb.c Compiling lib/module.c Compiling lib/events.c Compiling lib/server_contexts.c Compiling lib/secdesc.c Compiling lib/ldap_escape.c Compiling ../libcli/security/access_check.c Compiling ../libcli/security/secace.c Compiling ../libcli/security/object_tree.c Compiling ../libcli/security/sddl.c Compiling ../libcli/security/secacl.c Compiling lib/fncall.c Compiling libads/krb5_errs.c Compiling lib/system_smbd.c Compiling lib/audit.c Compiling ../librpc/ndr/ndr_basic.c Compiling ../librpc/ndr/ndr.c Compiling ../librpc/ndr/ndr_misc.c Compiling librpc/gen_ndr/ndr_misc.c Compiling librpc/gen_ndr/ndr_security.c Compiling ../librpc/ndr/ndr_sec_helper.c Compiling ../librpc/ndr/ndr_string.c Compiling ../librpc/ndr/uuid.c Compiling librpc/ndr/util.c Compiling librpc/gen_ndr/ndr_server_id.c Compiling librpc/gen_ndr/ndr_dcerpc.c Compiling lib/file_id.c Compiling lib/idmap_cache.c Compiling ../libcli/security/dom_sid.c Compiling ../libcli/security/security_descriptor.c Compiling ../libcli/security/security_token.c Compiling ../libcli/security/util_sid.c Compiling printing/printing.c In file included from include/includes.h:545, from printing/printing.c:22: printing/printing.c: In function 'rap_to_pjobid': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'sharename' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ printing/printing.c:133:4: note: in expansion of macro 'fstrcpy' fstrcpy( sharename, jinfo->sharename ); ^~~~~~~ printing/printing.c:115:46: note: declared here bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) ~~~~~~~~^~~~~~~~~ In file included from include/includes.h:545, from printing/printing.c:22: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'sharename' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ printing/printing.c:133:4: note: in expansion of macro 'fstrcpy' fstrcpy( sharename, jinfo->sharename ); ^~~~~~~ printing/printing.c:115:46: note: declared here bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid) ~~~~~~~~^~~~~~~~~ Compiling printing/nt_printing.c Compiling printing/nt_printing_tdb.c Compiling printing/nt_printing_migrate.c Compiling printing/nt_printing_migrate_internal.c Compiling printing/nt_printing_ads.c Compiling librpc/gen_ndr/ndr_ntprinting.c Compiling ../librpc/ndr/ndr_ntprinting.c Compiling printing/notify.c Compiling printing/printing_db.c Compiling smbd/oplock.c Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/oplock_onefs.c Compiling smbd/notify.c Compiling smbd/notify_inotify.c Compiling smbd/notify_internal.c Compiling librpc/gen_ndr/ndr_notify.c Compiling librpc/gen_ndr/ndr_file_id.c Compiling lib/filename_util.c Compiling groupdb/mapping.c Compiling groupdb/mapping_tdb.c Compiling auth/auth.c Compiling auth/auth_sam.c Compiling auth/check_samsec.c Compiling auth/auth_unix.c Compiling auth/auth_winbind.c Compiling auth/auth_wbc.c Compiling auth/auth_server.c Compiling auth/auth_domain.c Compiling auth/auth_builtin.c Compiling auth/auth_util.c Compiling auth/token_util.c Compiling auth/server_info.c Compiling auth/server_info_sam.c Compiling auth/user_info.c Compiling auth/user_util.c Compiling auth/user_krb5.c Compiling auth/auth_compat.c Compiling auth/auth_ntlmssp.c Compiling auth/pampass.c Compiling auth/pass_check.c Compiling ../libcli/auth/pam_errors.c Compiling libsmb/samlogon_cache.c Compiling libsmb/namequery_dc.c In file included from include/includes.h:545, from libsmb/namequery_dc.c:25: libsmb/namequery_dc.c: In function 'ads_dc_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'srv_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ libsmb/namequery_dc.c:137:2: note: in expansion of macro 'fstrcpy' fstrcpy(srv_name, ads->config.ldap_server_name); ^~~~~~~ libsmb/namequery_dc.c:55:12: note: declared here fstring srv_name) ~~~~~~~~^~~~~~~~ In file included from include/includes.h:545, from libsmb/namequery_dc.c:25: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'srv_name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ libsmb/namequery_dc.c:137:2: note: in expansion of macro 'fstrcpy' fstrcpy(srv_name, ads->config.ldap_server_name); ^~~~~~~ libsmb/namequery_dc.c:55:12: note: declared here fstring srv_name) ~~~~~~~~^~~~~~~~ Compiling libsmb/trustdom_cache.c Compiling libsmb/trusts_util.c Compiling libsmb/dsgetdcname.c Compiling ../libcli/auth/credentials.c Compiling ../libcli/auth/schannel_sign.c Compiling ../libcli/auth/schannel_state_tdb.c Compiling librpc/gen_ndr/ndr_schannel.c Compiling ../librpc/ndr/ndr_schannel.c Compiling rpc_client/cli_pipe.c Compiling librpc/crypto/gse_krb5.c Compiling librpc/crypto/gse.c Compiling librpc/crypto/cli_spnego.c Compiling librpc/rpc/rpc_common.c Compiling rpc_client/rpc_transport_np.c Compiling rpc_client/rpc_transport_tstream.c Compiling rpc_client/rpc_transport_sock.c Compiling ../librpc/rpc/binding.c Compiling ../librpc/rpc/dcerpc_util.c Compiling ../librpc/rpc/binding_handle.c Compiling librpc/rpc/dcerpc_helpers.c Compiling librpc/gen_ndr/ndr_epmapper_c.c Compiling librpc/gen_ndr/ndr_wkssvc.c Compiling librpc/gen_ndr/ndr_samr.c Compiling librpc/gen_ndr/ndr_lsa.c Compiling librpc/gen_ndr/ndr_dfs.c Compiling librpc/gen_ndr/ndr_echo.c Compiling librpc/gen_ndr/ndr_winreg.c Compiling librpc/gen_ndr/ndr_initshutdown.c Compiling librpc/gen_ndr/ndr_srvsvc.c Compiling librpc/gen_ndr/ndr_eventlog.c Compiling librpc/gen_ndr/ndr_netlogon.c Compiling ../librpc/ndr/ndr_netlogon.c Compiling librpc/gen_ndr/ndr_dssetup.c Compiling librpc/gen_ndr/ndr_epmapper.c Compiling librpc/gen_ndr/ndr_ntsvcs.c Compiling librpc/gen_ndr/ndr_spoolss.c Compiling ../librpc/ndr/ndr_spoolss_buf.c Compiling libads/ldap.c Compiling libads/sasl.c Compiling libads/sasl_wrapping.c Compiling libads/krb5_setpw.c libads/krb5_setpw.c: In function 'ads_krb5_chg_password': libads/krb5_setpw.c:711:5: warning: 'krb5_get_init_creds_opt_init' is deprecated [-Wdeprecated-declarations] krb5_get_init_creds_opt_init(&opts); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libads/krb5_setpw.c:22: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:4456:1: note: declared here krb5_get_init_creds_opt_init (krb5_get_init_creds_opt */*opt*/) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling libads/kerberos_util.c Compiling libads/ldap_user.c Compiling libads/ads_struct.c Compiling libads/kerberos_keytab.c Compiling libads/disp_sec.c Compiling libads/ldap_utils.c Compiling libads/ldap_schema.c Compiling libads/util.c Compiling libads/ndr.c Compiling libads/kerberos.c libads/kerberos.c: In function 'smb_krb5_get_ntstatus_from_krb5_error_init_creds_opt': libads/kerberos.c:124:2: warning: 'krb5_get_init_creds_opt_get_error' is deprecated [-Wdeprecated-declarations] ret = krb5_get_init_creds_opt_get_error(ctx, opt, &error); ^~~ In file included from /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5.h:967, from include/smb_krb5.h:36, from libads/kerberos.c:26: /home/pbulk/build/net/samba/work/.buildlink/include/krb5/krb5-protos.h:4439:1: note: declared here krb5_get_init_creds_opt_get_error ( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling libads/ads_status.c Compiling libads/kerberos_verify.c Compiling libads/authdata.c Compiling ../librpc/ndr/ndr_krb5pac.c Compiling librpc/gen_ndr/ndr_krb5pac.c Compiling libads/ldap_printer.c Compiling registry/reg_api.c Compiling registry/reg_dispatcher.c Compiling registry/reg_cachehook.c Compiling registry/reg_objects.c Compiling registry/reg_util_internal.c Compiling lib/util_nttoken.c Compiling registry/reg_backend_db.c Compiling registry/reg_init_basic.c Compiling registry/reg_util_token.c Compiling registry/reg_api_util.c Compiling registry/reg_backend_smbconf.c Compiling registry/reg_init_smbconf.c Compiling registry/reg_backend_printing.c Compiling registry/reg_backend_shares.c Compiling registry/reg_backend_netlogon_params.c Compiling registry/reg_backend_prod_options.c Compiling registry/reg_backend_tcpip_params.c Compiling registry/reg_backend_hkpt_params.c Compiling registry/reg_backend_current_version.c Compiling registry/reg_backend_perflib.c Compiling registry/reg_init_full.c Compiling registry/reg_perfcount.c Compiling librpc/gen_ndr/ndr_perfcount.c Compiling lib/popt_common.c Generating smbd/build_options.c Building include/build_env.h Compiling lib/smbldap_util.c Compiling lib/smbldap.c Compiling libnet/libnet_join.c Compiling libnet/libnet_keytab.c Compiling librpc/gen_ndr/ndr_libnet_join.c Compiling ../lib/smbconf/smbconf.c Compiling ../lib/smbconf/smbconf_util.c Compiling ../lib/smbconf/smbconf_txt.c Compiling lib/smbconf/smbconf_reg.c Compiling lib/smbconf/smbconf_init.c Compiling ../libcli/security/privileges.c Compiling registry/regfio.c Compiling registry/reg_parse_prs.c Compiling registry/reg_api_regf.c Compiling librpc/gen_ndr/ndr_xattr.c Compiling ../librpc/ndr/ndr_xattr.c Compiling smbd/server.c Compiling smbd/server_exit.c Compiling smbd/msg_idmap.c Compiling ../lib/tevent/tevent.c Compiling ../lib/tevent/tevent_debug.c Compiling ../lib/tevent/tevent_util.c Compiling ../lib/tevent/tevent_fd.c Compiling ../lib/tevent/tevent_timed.c Compiling ../lib/tevent/tevent_immediate.c Compiling ../lib/tevent/tevent_signal.c Compiling ../lib/tevent/tevent_req.c Compiling ../lib/tevent/tevent_wakeup.c Compiling ../lib/tevent/tevent_queue.c Compiling ../lib/tevent/tevent_standard.c Compiling ../lib/tevent/tevent_select.c Compiling ../lib/tevent/tevent_poll.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libtevent.syms Compiling ../lib/tevent/tevent_epoll.c Compiling ../nsswitch/libwbclient/wbclient.c Compiling ../nsswitch/libwbclient/wbc_util.c Compiling ../nsswitch/libwbclient/wbc_pwd.c Compiling ../nsswitch/libwbclient/wbc_idmap.c Compiling ../nsswitch/libwbclient/wbc_sid.c Compiling ../nsswitch/libwbclient/wbc_guid.c Compiling ../nsswitch/libwbclient/wbc_pam.c Compiling ../nsswitch/wb_common.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libwbclient.syms Compiling nmbd/asyncdns.c Compiling nmbd/nmbd.c Compiling nmbd/nmbd_become_dmb.c Compiling nmbd/nmbd_become_lmb.c Compiling nmbd/nmbd_browserdb.c Compiling nmbd/nmbd_browsesync.c Compiling nmbd/nmbd_elections.c Compiling nmbd/nmbd_incomingdgrams.c Compiling nmbd/nmbd_incomingrequests.c Compiling nmbd/nmbd_lmhosts.c Compiling nmbd/nmbd_logonnames.c Compiling nmbd/nmbd_mynames.c Compiling nmbd/nmbd_namelistdb.c Compiling nmbd/nmbd_namequery.c Compiling nmbd/nmbd_nameregister.c Compiling nmbd/nmbd_namerelease.c Compiling nmbd/nmbd_nodestatus.c Compiling nmbd/nmbd_packets.c Compiling nmbd/nmbd_processlogon.c Compiling nmbd/nmbd_responserecordsdb.c Compiling nmbd/nmbd_sendannounce.c Compiling nmbd/nmbd_serverlistdb.c Compiling nmbd/nmbd_subnetdb.c Compiling nmbd/nmbd_winsproxy.c Compiling nmbd/nmbd_winsserver.c Compiling nmbd/nmbd_workgroupdb.c In file included from include/includes.h:545, from nmbd/nmbd_workgroupdb.c:23: nmbd/nmbd_workgroupdb.c: In function 'name_to_unstring': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'unname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:103:23: note: in expansion of macro 'safe_strcpy' #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:55:3: note: in expansion of macro 'unstrcpy' unstrcpy(unname, tname); ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here static void name_to_unstring(unstring unname, const char *name) ~~~~~~~~~^~~~~~ In file included from include/includes.h:545, from nmbd/nmbd_workgroupdb.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'unname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:103:23: note: in expansion of macro 'safe_strcpy' #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:55:3: note: in expansion of macro 'unstrcpy' unstrcpy(unname, tname); ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here static void name_to_unstring(unstring unname, const char *name) ~~~~~~~~~^~~~~~ In file included from include/includes.h:545, from nmbd/nmbd_workgroupdb.c:23: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'unname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:103:23: note: in expansion of macro 'safe_strcpy' #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:59:3: note: in expansion of macro 'unstrcpy' unstrcpy(unname, name); ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here static void name_to_unstring(unstring unname, const char *name) ~~~~~~~~~^~~~~~ In file included from include/includes.h:545, from nmbd/nmbd_workgroupdb.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'unname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:103:23: note: in expansion of macro 'safe_strcpy' #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) ^~~~~~~~~~~ nmbd/nmbd_workgroupdb.c:59:3: note: in expansion of macro 'unstrcpy' unstrcpy(unname, name); ^~~~~~~~ nmbd/nmbd_workgroupdb.c:46:39: note: declared here static void name_to_unstring(unstring unname, const char *name) ~~~~~~~~~^~~~~~ Compiling nmbd/nmbd_synclists.c Compiling lib/dummysmbd.c Compiling lib/dummyroot.c Compiling web/cgi.c web/cgi.c: In function 'cgi_web_auth': web/cgi.c:335:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(pwd->pw_uid); ^~~~~~~~~~~~~~~~~~~ Compiling web/diagnose.c Compiling web/startstop.c Compiling web/statuspage.c Compiling web/swat.c Compiling web/neg_lang.c Compiling libsmb/passchange.c Compiling winbindd/winbindd.c Compiling winbindd/winbindd_group.c Compiling winbindd/winbindd_util.c In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: winbindd/winbindd_util.c: In function 'parse_domain_user': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:864:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:864:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:867:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, lp_workgroup()); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:867:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, lp_workgroup()); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:869:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, p + 1); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:869:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, p + 1); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:875:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:875:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ winbindd/winbindd_util.c:859:69: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:876:3: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_util.c:23: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_util.c:876:3: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ winbindd/winbindd_util.c:859:53: note: declared here bool parse_domain_user(const char *domuser, fstring domain, fstring user) ~~~~~~~~^~~~~~ Compiling winbindd/winbindd_cache.c Compiling winbindd/winbindd_pam.c In file included from include/includes.h:545, from winbindd/winbindd_pam.c:25: winbindd/winbindd_pam.c: In function 'winbindd_raw_kerberos_login': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'krb5ccname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_pam.c:637:3: note: in expansion of macro 'fstrcpy' fstrcpy(krb5ccname, user_ccache_file); ^~~~~~~ winbindd/winbindd_pam.c:533:18: note: declared here fstring krb5ccname) ~~~~~~~~^~~~~~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_pam.c:25: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'krb5ccname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_pam.c:637:3: note: in expansion of macro 'fstrcpy' fstrcpy(krb5ccname, user_ccache_file); ^~~~~~~ winbindd/winbindd_pam.c:533:18: note: declared here fstring krb5ccname) ~~~~~~~~^~~~~~~~~~ Compiling winbindd/winbindd_misc.c Compiling winbindd/winbindd_cm.c In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: winbindd/winbindd_cm.c: In function 'get_dc_name_via_netlogon': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dcname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:764:2: note: in expansion of macro 'fstrcpy' fstrcpy(dcname, p); ^~~~~~~ winbindd/winbindd_cm.c:664:18: note: declared here fstring dcname, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dcname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:764:2: note: in expansion of macro 'fstrcpy' fstrcpy(dcname, p); ^~~~~~~ winbindd/winbindd_cm.c:664:18: note: declared here fstring dcname, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: winbindd/winbindd_cm.c: In function 'dcip_to_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1213:4: note: in expansion of macro 'fstrcpy' fstrcpy(name, ads->config.ldap_server_name); ^~~~~~~ winbindd/winbindd_cm.c:1186:11: note: declared here fstring name ) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1213:4: note: in expansion of macro 'fstrcpy' fstrcpy(name, ads->config.ldap_server_name); ^~~~~~~ winbindd/winbindd_cm.c:1186:11: note: declared here fstring name ) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1261:3: note: in expansion of macro 'fstrcpy' fstrcpy(name, dc_name); ^~~~~~~ winbindd/winbindd_cm.c:1186:11: note: declared here fstring name ) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1261:3: note: in expansion of macro 'fstrcpy' fstrcpy(name, dc_name); ^~~~~~~ winbindd/winbindd_cm.c:1186:11: note: declared here fstring name ) ~~~~~~~~^~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: winbindd/winbindd_cm.c: In function 'find_new_dc': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'dcname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1471:3: note: in expansion of macro 'fstrcpy' fstrcpy(dcname, dcnames[fd_index]); ^~~~~~~ winbindd/winbindd_cm.c:1412:12: note: declared here fstring dcname, struct sockaddr_storage *pss, int *fd) ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from winbindd/winbindd_cm.c:61: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'dcname' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ winbindd/winbindd_cm.c:1471:3: note: in expansion of macro 'fstrcpy' fstrcpy(dcname, dcnames[fd_index]); ^~~~~~~ winbindd/winbindd_cm.c:1412:12: note: declared here fstring dcname, struct sockaddr_storage *pss, int *fd) ~~~~~~~~^~~~~~ Compiling winbindd/winbindd_wins.c Compiling winbindd/winbindd_msrpc.c Compiling winbindd/winbindd_rpc.c Compiling winbindd/winbindd_reconnect.c Compiling winbindd/winbindd_ads.c Compiling winbindd/winbindd_samr.c Compiling winbindd/winbindd_dual.c Compiling winbindd/winbindd_dual_ndr.c Compiling winbindd/winbindd_dual_srv.c Compiling librpc/gen_ndr/ndr_wbint_c.c Compiling librpc/gen_ndr/srv_wbint.c Compiling librpc/gen_ndr/ndr_wbint.c Compiling librpc/gen_ndr/ndr_idmap.c Compiling winbindd/winbindd_async.c Compiling winbindd/winbindd_creds.c Compiling winbindd/winbindd_cred_cache.c Compiling winbindd/winbindd_ccache_access.c Compiling winbindd/winbindd_domain.c Compiling winbindd/winbindd_idmap.c Compiling winbindd/winbindd_locator.c Compiling winbindd/winbindd_ndr.c Compiling winbindd/wb_ping.c Compiling winbindd/wb_lookupsid.c Compiling winbindd/wb_lookupsids.c Compiling winbindd/wb_lookupname.c Compiling winbindd/wb_sid2uid.c Compiling winbindd/wb_sid2gid.c Compiling winbindd/wb_uid2sid.c Compiling winbindd/wb_gid2sid.c Compiling winbindd/wb_queryuser.c Compiling winbindd/wb_lookupuseraliases.c Compiling winbindd/wb_lookupusergroups.c Compiling winbindd/wb_getpwsid.c Compiling winbindd/wb_gettoken.c Compiling winbindd/wb_seqnum.c Compiling winbindd/wb_seqnums.c Compiling winbindd/wb_group_members.c Compiling winbindd/wb_getgrsid.c Compiling winbindd/wb_query_user_list.c Compiling winbindd/wb_fill_pwent.c Compiling winbindd/wb_next_pwent.c In file included from include/includes.h:545, from winbindd/wb_fill_pwent.c:20: winbindd/wb_fill_pwent.c: In function 'fillup_pw_field': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ winbindd/wb_fill_pwent.c:195:2: note: in expansion of macro 'safe_strcpy' safe_strcpy(out, templ, sizeof(fstring) - 1); ^~~~~~~~~~~ winbindd/wb_fill_pwent.c:169:16: note: declared here fstring out) ~~~~~~~~^~~ In file included from include/includes.h:545, from winbindd/wb_fill_pwent.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'out' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ winbindd/wb_fill_pwent.c:195:2: note: in expansion of macro 'safe_strcpy' safe_strcpy(out, templ, sizeof(fstring) - 1); ^~~~~~~~~~~ winbindd/wb_fill_pwent.c:169:16: note: declared here fstring out) ~~~~~~~~^~~ Compiling winbindd/wb_next_grent.c Compiling winbindd/wb_dsgetdcname.c Compiling winbindd/winbindd_lookupsid.c Compiling winbindd/winbindd_lookupsids.c Compiling winbindd/winbindd_lookupname.c Compiling winbindd/winbindd_sid_to_uid.c Compiling winbindd/winbindd_sid_to_gid.c Compiling winbindd/winbindd_uid_to_sid.c Compiling winbindd/winbindd_gid_to_sid.c Compiling winbindd/winbindd_sids_to_xids.c Compiling winbindd/winbindd_allocate_uid.c Compiling winbindd/winbindd_allocate_gid.c Compiling winbindd/winbindd_getpwsid.c Compiling winbindd/winbindd_getpwnam.c Compiling winbindd/winbindd_getpwuid.c Compiling winbindd/winbindd_getsidaliases.c Compiling winbindd/winbindd_getuserdomgroups.c Compiling winbindd/winbindd_getgroups.c Compiling winbindd/winbindd_show_sequence.c Compiling winbindd/winbindd_getgrgid.c Compiling winbindd/winbindd_getgrnam.c Compiling winbindd/winbindd_getusersids.c Compiling winbindd/winbindd_lookuprids.c Compiling winbindd/winbindd_setpwent.c Compiling winbindd/winbindd_getpwent.c Compiling winbindd/winbindd_endpwent.c Compiling winbindd/winbindd_setgrent.c Compiling winbindd/winbindd_getgrent.c Compiling winbindd/winbindd_endgrent.c Compiling winbindd/winbindd_dsgetdcname.c Compiling winbindd/winbindd_getdcname.c Compiling winbindd/winbindd_list_users.c Compiling winbindd/winbindd_list_groups.c Compiling winbindd/winbindd_check_machine_acct.c Compiling winbindd/winbindd_change_machine_acct.c Compiling winbindd/winbindd_ping_dc.c Compiling winbindd/winbindd_pam_auth.c Compiling winbindd/winbindd_pam_auth_crap.c Compiling winbindd/winbindd_pam_chauthtok.c Compiling winbindd/winbindd_pam_chng_pswd_auth_crap.c Compiling winbindd/winbindd_pam_logoff.c Compiling ../nsswitch/wb_reqtrans.c Compiling winbindd/idmap.c Compiling winbindd/idmap_util.c Compiling winbindd/idmap_rw.c Compiling winbindd/idmap_ldap.c Compiling winbindd/idmap_tdb.c Compiling winbindd/idmap_passdb.c Compiling winbindd/idmap_nss.c Compiling winbindd/idmap_rid.c Compiling winbindd/idmap_ad.c Compiling winbindd/nss_info.c Compiling lib/tdb_validate.c Compiling winbindd/nss_info_template.c Compiling librpc/gen_ndr/ndr_dssetup_c.c Compiling ../nsswitch/wbinfo.c Compiling client/client.c In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: ../nsswitch/wbinfo.c: In function 'parse_wbinfo_domain_user': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:124:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, ""); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:124:4: note: in expansion of macro 'fstrcpy' fstrcpy(domain, ""); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:125:4: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:125:4: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:129:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:129:3: note: in expansion of macro 'fstrcpy' fstrcpy(user, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:130:3: note: in expansion of macro 'fstrcpy' fstrcpy(domain, get_winbind_domain()); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:130:3: note: in expansion of macro 'fstrcpy' fstrcpy(domain, get_winbind_domain()); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:134:2: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:134:2: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ ../nsswitch/wbinfo.c:116:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:135:2: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from ../nsswitch/wbinfo.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ ../nsswitch/wbinfo.c:135:2: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ ../nsswitch/wbinfo.c:115:67: note: declared here static bool parse_wbinfo_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from client/client.c:24: client/client.c: In function 'perms_to_string': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'permstr' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ client/client.c:3192:2: note: in expansion of macro 'fstrcpy' fstrcpy(permstr, "---"); ^~~~~~~ client/client.c:3190:38: note: declared here static char *perms_to_string(fstring permstr, unsigned char perms) ~~~~~~~~^~~~~~~ In file included from include/includes.h:545, from client/client.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'permstr' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ client/client.c:3192:2: note: in expansion of macro 'fstrcpy' fstrcpy(permstr, "---"); ^~~~~~~ client/client.c:3190:38: note: declared here static char *perms_to_string(fstring permstr, unsigned char perms) ~~~~~~~~^~~~~~~ Compiling client/clitar.c Compiling client/dnsbrowse.c Compiling ../libcli/smbreadline/smbreadline.c Compiling ../libcli/security/display_sec.c Compiling utils/net.c Compiling utils/net_ads.c Compiling utils/net_help.c Compiling utils/net_rap.c Compiling utils/net_rpc.c Compiling utils/net_rpc_samsync.c Compiling utils/net_rpc_join.c Compiling utils/net_time.c Compiling utils/net_lookup.c Compiling utils/net_cache.c Compiling utils/net_groupmap.c Compiling utils/net_idmap.c Compiling utils/net_idmap_check.c Compiling utils/net_status.c Compiling utils/net_rpc_printer.c Compiling utils/net_rpc_rights.c In file included from include/includes.h:545, from utils/net_rpc_rights.c:20: utils/net_rpc_rights.c: In function 'sid_to_name': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/net_rpc_rights.c:54:4: note: in expansion of macro 'fstrcpy' fstrcpy( name, names[0] ); ^~~~~~~ utils/net_rpc_rights.c:34:13: note: declared here fstring name) ~~~~~~~~^~~~ In file included from include/includes.h:545, from utils/net_rpc_rights.c:20: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'name' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/net_rpc_rights.c:54:4: note: in expansion of macro 'fstrcpy' fstrcpy( name, names[0] ); ^~~~~~~ utils/net_rpc_rights.c:34:13: note: declared here fstring name) ~~~~~~~~^~~~ Compiling utils/net_rpc_service.c Compiling utils/net_rpc_registry.c Compiling utils/net_usershare.c Compiling utils/netlookup.c Compiling utils/net_sam.c Compiling utils/net_rpc_shell.c Compiling utils/net_util.c Compiling utils/net_rpc_sh_acct.c Compiling utils/net_rpc_audit.c Compiling utils/passwd_util.c Compiling utils/net_dns.c Compiling utils/net_ads_gpo.c Compiling utils/net_conf.c Compiling utils/net_join.c Compiling utils/net_user.c Compiling utils/net_group.c Compiling utils/net_file.c Compiling utils/net_registry.c Compiling utils/net_dom.c Compiling utils/net_share.c Compiling utils/net_g_lock.c Compiling utils/net_serverid.c Compiling utils/net_eventlog.c Compiling utils/net_printing.c Compiling utils/net_rpc_trust.c Compiling librpc/gen_ndr/ndr_preg.c Compiling ../librpc/ndr/ndr_preg.c Compiling librpc/gen_ndr/ndr_drsuapi_c.c Compiling librpc/gen_ndr/ndr_initshutdown_c.c Compiling librpc/gen_ndr/ndr_svcctl_c.c Compiling librpc/gen_ndr/ndr_wkssvc_c.c Compiling registry/reg_parse.c Compiling registry/reg_format.c Compiling registry/reg_parse_internal.c Compiling registry/reg_import.c Compiling lib/cbuf.c Compiling lib/srprs.c Compiling utils/net_registry_util.c Compiling utils/net_help_common.c Compiling ../lib/addns/dnsrecord.c Compiling ../lib/addns/dnsutils.c Compiling ../lib/addns/dnssock.c Compiling ../lib/addns/dnsgss.c Compiling ../lib/addns/dnsmarshall.c Compiling ../lib/addns/error.c Compiling ../libgpo/gpo_ldap.c Compiling ../libgpo/gpo_ini.c Compiling ../libgpo/gpo_util.c Compiling ../libgpo/gpo_fetch.c Compiling libgpo/gpo_filesync.c Compiling ../libgpo/gpo_sec.c Compiling libgpo/gpo_reg.c Compiling ../libgpo/gpext/gpext.c Compiling ../lib/iniparser_build/iniparser.c Compiling ../lib/iniparser_build/dictionary.c Compiling ../lib/iniparser_build/strlib.c Compiling libnet/libnet_dssync.c Compiling libnet/libnet_dssync_passdb.c Compiling libnet/libnet_dssync_keytab.c Compiling ../libcli/drsuapi/repl_decrypt.c Compiling libnet/libnet_samsync.c Compiling libnet/libnet_samsync_ldif.c Compiling libnet/libnet_samsync_passdb.c Compiling libnet/libnet_samsync_display.c Compiling libnet/libnet_samsync_keytab.c Compiling ../libcli/samsync/decrypt.c Compiling lib/netapi/netapi.c Compiling lib/netapi/cm.c Compiling librpc/gen_ndr/ndr_libnetapi.c Compiling lib/netapi/libnetapi.c Compiling lib/netapi/joindomain.c Compiling lib/netapi/serverinfo.c Compiling lib/netapi/getdc.c Compiling lib/netapi/user.c Compiling lib/netapi/group.c Compiling lib/netapi/localgroup.c Compiling lib/netapi/samr.c Compiling lib/netapi/sid.c Compiling lib/netapi/share.c Compiling lib/netapi/file.c Compiling lib/netapi/shutdown.c Compiling lib/netapi/netlogon.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libnetapi.syms Compiling utils/testparm.c Compiling client/smbspool.c Compiling utils/status.c Compiling utils/status_profile.c Compiling utils/smbget.c Compiling libsmb/libsmb_cache.c Compiling libsmb/libsmb_compat.c Compiling libsmb/libsmb_context.c Compiling libsmb/libsmb_dir.c Compiling libsmb/libsmb_file.c Compiling libsmb/libsmb_misc.c Compiling libsmb/libsmb_path.c Compiling libsmb/libsmb_printjob.c Compiling libsmb/libsmb_server.c Compiling libsmb/libsmb_stat.c Compiling libsmb/libsmb_xattr.c Compiling libsmb/libsmb_setget.c Compiling utils/smbta-util.c Compiling utils/smbcontrol.c Compiling utils/smbtree.c Compiling utils/nmblookup.c Compiling utils/pdbedit.c Compiling utils/smbpasswd.c Compiling rpcclient/rpcclient.c Compiling rpcclient/cmd_lsarpc.c Compiling rpcclient/cmd_samr.c Compiling rpcclient/cmd_spoolss.c Compiling rpcclient/cmd_netlogon.c Compiling rpcclient/cmd_srvsvc.c Compiling rpcclient/cmd_dfs.c Compiling rpcclient/cmd_epmapper.c Compiling rpcclient/cmd_echo.c Compiling rpcclient/cmd_dssetup.c Compiling rpcclient/cmd_shutdown.c Compiling rpcclient/cmd_test.c Compiling rpcclient/cmd_ntsvcs.c Compiling rpcclient/cmd_wkssvc.c Compiling rpcclient/cmd_drsuapi.c Compiling rpcclient/cmd_eventlog.c Compiling rpcclient/cmd_winreg.c Compiling librpc/gen_ndr/ndr_eventlog_c.c Compiling librpc/gen_ndr/ndr_ntsvcs_c.c Compiling librpc/gen_ndr/ndr_dfs_c.c Compiling librpc/gen_ndr/ndr_echo_c.c Compiling utils/smbcacls.c In file included from include/includes.h:545, from utils/smbcacls.c:24: utils/smbcacls.c: In function 'SidToString': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'str' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/smbcacls.c:198:3: note: in expansion of macro 'fstrcpy' fstrcpy(str, name); ^~~~~~~ utils/smbcacls.c:174:56: note: declared here static void SidToString(struct cli_state *cli, fstring str, const struct dom_sid *sid) ~~~~~~~~^~~ In file included from include/includes.h:545, from utils/smbcacls.c:24: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'str' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/smbcacls.c:198:3: note: in expansion of macro 'fstrcpy' fstrcpy(str, name); ^~~~~~~ utils/smbcacls.c:174:56: note: declared here static void SidToString(struct cli_state *cli, fstring str, const struct dom_sid *sid) ~~~~~~~~^~~ Compiling utils/profiles.c Compiling utils/ntlm_auth.c Compiling utils/ntlm_auth_diagnostics.c Compiling utils/sharesec.c In file included from include/includes.h:545, from utils/ntlm_auth.c:26: utils/ntlm_auth.c: In function 'parse_ntlm_auth_domain_user': include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/ntlm_auth.c:254:2: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ utils/ntlm_auth.c:245:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from utils/ntlm_auth.c:26: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'user' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/ntlm_auth.c:254:2: note: in expansion of macro 'fstrcpy' fstrcpy(user, p+1); ^~~~~~~ utils/ntlm_auth.c:245:18: note: declared here fstring user) ~~~~~~~~^~~~ In file included from include/includes.h:545, from utils/ntlm_auth.c:26: include/safe_string.h:87:42: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/ntlm_auth.c:255:2: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ utils/ntlm_auth.c:244:70: note: declared here static bool parse_ntlm_auth_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ In file included from include/includes.h:545, from utils/ntlm_auth.c:26: include/safe_string.h:87:64: warning: 'sizeof' on array function parameter 'domain' will return size of 'char *' [-Wsizeof-array-argument] #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) ^ include/safe_string.h:172:6: note: in expansion of macro 'CHECK_STRING_SIZE' (CHECK_STRING_SIZE(d, max_len+1) \ ^~~~~~~~~~~~~~~~~ include/safe_string.h:126:2: note: in expansion of macro 'safe_strcpy_fn2' safe_strcpy_fn2(SAFE_STRING_FUNCTION_NAME, SAFE_STRING_LINE, \ ^~~~~~~~~~~~~~~ include/safe_string.h:100:22: note: in expansion of macro 'safe_strcpy' #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) ^~~~~~~~~~~ utils/ntlm_auth.c:255:2: note: in expansion of macro 'fstrcpy' fstrcpy(domain, domuser); ^~~~~~~ utils/ntlm_auth.c:244:70: note: declared here static bool parse_ntlm_auth_domain_user(const char *domuser, fstring domain, ~~~~~~~~^~~~~~ Compiling utils/smbcquotas.c Compiling utils/eventlogadm.c Compiling modules/vfs_recycle.c Compiling modules/vfs_audit.c Compiling modules/vfs_extd_audit.c Compiling modules/vfs_full_audit.c Compiling modules/vfs_netatalk.c Compiling modules/vfs_fake_perms.c Compiling modules/vfs_default_quota.c Compiling modules/vfs_readonly.c Compiling modules/getdate.c Compiling modules/vfs_cap.c Compiling modules/vfs_expand_msdfs.c Compiling modules/vfs_shadow_copy.c Compiling modules/vfs_shadow_copy2.c Compiling modules/vfs_xattr_tdb.c Compiling modules/vfs_streams_xattr.c Compiling modules/vfs_catia.c Compiling modules/vfs_readahead.c Compiling modules/vfs_streams_depot.c Compiling modules/vfs_fileid.c Compiling modules/vfs_preopen.c Compiling modules/vfs_syncops.c Compiling modules/vfs_acl_xattr.c Compiling modules/vfs_acl_tdb.c Compiling modules/vfs_smb_traffic_analyzer.c Compiling modules/vfs_dirsort.c Compiling modules/vfs_scannedonly.c Compiling modules/vfs_crossrename.c Compiling modules/vfs_linux_xfs_sgid.c Compiling modules/vfs_time_audit.c Compiling winbindd/idmap_autorid.c Compiling modules/CP850.c Compiling modules/CP437.c Compiling auth/auth_script.c Compiling ../nsswitch/winbind_nss_linux.c Compiling ../nsswitch/wins.c Compiling pam_smbpass/pam_smb_auth.c Compiling pam_smbpass/pam_smb_passwd.c pam_smbpass/pam_smb_auth.c: In function 'pam_sm_authenticate': pam_smbpass/pam_smb_auth.c:98:11: warning: implicit declaration of function 'pam_get_user'; did you mean '_smb_get_user'? [-Wimplicit-function-declaration] retval = pam_get_user( pamh, &name, "Username: " ); ^~~~~~~~~~~~ _smb_get_user pam_smbpass/pam_smb_auth.c:50:3: warning: implicit declaration of function 'pam_set_data'; did you mean '_pam_get_data'? [-Wimplicit-function-declaration] pam_set_data( pamh, "smb_setcred_return" \ ^~~~~~~~~~~~ pam_smbpass/pam_smb_auth.c:103:3: note: in expansion of macro 'AUTH_RETURN' AUTH_RETURN; ^~~~~~~~~~~ pam_smbpass/pam_smb_passwd.c: In function 'pam_sm_chauthtok': pam_smbpass/pam_smb_passwd.c:118:14: warning: implicit declaration of function 'pam_get_user'; did you mean '_smb_get_user'? [-Wimplicit-function-declaration] retval = pam_get_user( pamh, &user, "Username: " ); ^~~~~~~~~~~~ _smb_get_user Compiling pam_smbpass/pam_smb_acct.c Compiling pam_smbpass/support.c pam_smbpass/pam_smb_acct.c: In function 'pam_sm_acct_mgmt': pam_smbpass/pam_smb_acct.c:67:11: warning: implicit declaration of function 'pam_get_user'; did you mean '_smb_get_user'? [-Wimplicit-function-declaration] retval = pam_get_user( pamh, &name, "Username: " ); ^~~~~~~~~~~~ _smb_get_user Compiling ../nsswitch/pam_winbind.c ../nsswitch/pam_winbind.c: In function '_pam_get_item': ../nsswitch/pam_winbind.c:180:9: warning: implicit declaration of function 'pam_get_item'; did you mean '_pam_get_item'? [-Wimplicit-function-declaration] return pam_get_item(pamh, item_type, item); ^~~~~~~~~~~~ _pam_get_item ../nsswitch/pam_winbind.c: In function '_pam_get_data': ../nsswitch/pam_winbind.c:187:9: warning: implicit declaration of function 'pam_get_data'; did you mean '_pam_get_data'? [-Wimplicit-function-declaration] return pam_get_data(pamh, module_data_name, data); ^~~~~~~~~~~~ _pam_get_data ../nsswitch/pam_winbind.c: In function '_pam_setup_krb5_env': ../nsswitch/pam_winbind.c:1258:8: warning: implicit declaration of function 'pam_putenv'; did you mean 'pam_setenv'? [-Wimplicit-function-declaration] ret = pam_putenv(ctx->pamh, var); ^~~~~~~~~~ pam_setenv ../nsswitch/pam_winbind.c:1262:10: warning: implicit declaration of function 'pam_strerror'; did you mean 'gai_strerror'? [-Wimplicit-function-declaration] var, pam_strerror(ctx->pamh, ret)); ^~~~~~~~~~~~ gai_strerror ../nsswitch/pam_winbind.c: In function '_pam_set_data_string': ../nsswitch/pam_winbind.c:1322:8: warning: implicit declaration of function 'pam_set_data'; did you mean '_pam_get_data'? [-Wimplicit-function-declaration] ret = pam_set_data(ctx->pamh, data_name, talloc_strdup(NULL, value), ^~~~~~~~~~~~ _pam_get_data ../nsswitch/pam_winbind.c: In function '_pam_mkhomedir': ../nsswitch/pam_winbind.c:1591:8: warning: implicit declaration of function 'pam_get_user'; did you mean '_pam_get_item'? [-Wimplicit-function-declaration] ret = pam_get_user(ctx->pamh, &username, NULL); ^~~~~~~~~~~~ _pam_get_item ../nsswitch/pam_winbind.c: In function '_winbind_read_password': ../nsswitch/pam_winbind.c:2240:11: warning: implicit declaration of function 'pam_set_item'; did you mean '_pam_get_item'? [-Wimplicit-function-declaration] retval = pam_set_item(ctx->pamh, authtok_flag, token); ^~~~~~~~~~~~ _pam_get_item ../nsswitch/pam_winbind.c: In function '_pam_delete_cred': ../nsswitch/pam_winbind.c:2508:12: warning: implicit declaration of function 'pam_getenv'; did you mean 'pam_setenv'? [-Wimplicit-function-declaration] ccname = pam_getenv(pamh, "KRB5CCNAME"); ^~~~~~~~~~ pam_setenv ../nsswitch/pam_winbind.c:2508:10: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ccname = pam_getenv(pamh, "KRB5CCNAME"); ^ pam_smbpass/support.c: In function 'converse': pam_smbpass/support.c:135:8: warning: implicit declaration of function 'pam_strerror'; did you mean 'gai_strerror'? [-Wimplicit-function-declaration] ,pam_strerror(pamh, retval)); ^~~~~~~~~~~~ gai_strerror pam_smbpass/support.c: In function '_smb_verify_password': pam_smbpass/support.c:401:13: warning: implicit declaration of function 'pam_set_data'; did you mean '_pam_get_data'? [-Wimplicit-function-declaration] pam_set_data(pamh, data_name, NULL, _cleanup_failures); ^~~~~~~~~~~~ _pam_get_data pam_smbpass/support.c: In function '_smb_read_password': pam_smbpass/support.c:616:18: warning: implicit declaration of function 'pam_set_item'; did you mean '_pam_get_item'? [-Wimplicit-function-declaration] retval = pam_set_item( pamh, authtok_flag, (const void *)token ); ^~~~~~~~~~~~ _pam_get_item pam_smbpass/support.c: In function '_pam_get_item': pam_smbpass/support.c:681:9: warning: implicit declaration of function 'pam_get_item'; did you mean '_pam_get_item'? [-Wimplicit-function-declaration] return pam_get_item(pamh, item_type, item); ^~~~~~~~~~~~ _pam_get_item pam_smbpass/support.c: In function '_pam_get_data': pam_smbpass/support.c:689:9: warning: implicit declaration of function 'pam_get_data'; did you mean '_pam_get_data'? [-Wimplicit-function-declaration] return pam_get_data(pamh, module_data_name, data); ^~~~~~~~~~~~ _pam_get_data Compiling ../nsswitch/winbind_krb5_locator.c Linking shared library bin/libtalloc.so.2 Compiling smbd/build_options.c Linking shared library bin/libwbclient.so.0 Linking non-shared library bin/libnetapi.a Building plugin bin/recycle.so Building plugin bin/audit.so Building plugin bin/extd_audit.so Building plugin bin/full_audit.so Building plugin bin/netatalk.so Building plugin bin/fake_perms.so Building plugin bin/default_quota.so Building plugin bin/readonly.so Building plugin bin/cap.so Building plugin bin/expand_msdfs.so Building plugin bin/shadow_copy.so Building plugin bin/shadow_copy2.so Building plugin bin/xattr_tdb.so Building plugin bin/catia.so Building plugin bin/streams_xattr.so Building plugin bin/streams_depot.so Building plugin bin/readahead.so Building plugin bin/fileid.so Building plugin bin/preopen.so Building plugin bin/syncops.so Building plugin bin/acl_xattr.so Building plugin bin/acl_tdb.so Building plugin bin/smb_traffic_analyzer.so Building plugin bin/dirsort.so Building plugin bin/scannedonly.so Building plugin bin/crossrename.so Building plugin bin/linux_xfs_sgid.so Building plugin bin/time_audit.so Building plugin bin/autorid.so Building plugin bin/CP850.so Building plugin bin/CP437.so Building plugin bin/script.so Linking ../nsswitch/libnss_winbind.so Linking bin/winbind_krb5_locator.so Linking shared library bin/libtevent.so.0 Linking non-shared library bin/libaddns.a Linking bin/smbd Linking bin/nmbd Linking bin/swat Linking bin/winbindd Linking bin/wbinfo Linking bin/smbclient Linking shared library bin/libnetapi.so.0 Linking bin/smbspool Linking bin/testparm Linking bin/smbstatus Linking bin/smbget Linking bin/smbta-util Linking bin/smbcontrol Linking bin/smbtree Linking bin/nmblookup Linking bin/pdbedit Linking bin/smbpasswd Linking bin/rpcclient Linking bin/smbcacls Linking bin/profiles Linking bin/ntlm_auth Linking bin/sharesec Linking bin/smbcquotas Linking bin/eventlogadm Linking ../nsswitch/libnss_wins.so Linking shared library bin/pam_smbpass.so Linking shared library bin/pam_winbind.so Linking non-shared library bin/libsmbclient.a Compiling libsmb/libsmb_thread_impl.c Compiling libsmb/libsmb_thread_posix.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libsmbclient.syms Linking bin/net Linking shared library bin/libsmbclient.so.0 Compiling libsmb/smb_share_modes.c creating /home/pbulk/build/net/samba/work/samba-3.6.25/source3/exports/libsmbsharemodes.syms Linking non-shared library bin/libsmbsharemodes.a Linking shared library bin/libsmbsharemodes.so.0 *** Please use pkgtools/verifypc to sanity check dependencies. => Creating /home/pbulk/build/net/samba/work/.rc.d/samba => Creating /home/pbulk/build/net/samba/work/.rc.d/nmbd => Creating /home/pbulk/build/net/samba/work/.rc.d/smbd => Creating /home/pbulk/build/net/samba/work/.rc.d/winbindd