CVS update: samba4/source/libads
Date: Tue Feb 3 11:10:56 2004 Author: metze Update of /home/cvs/samba4/source/libads In directory dp.samba.org:/tmp/cvs-serv12757/libads Modified Files: config.m4 Log Message: - port AUTH and PASSDB subsystems to new SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze Revisions: config.m4 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/libads/config.m4.diff?r1=1.4r2=1.5
CVS update: samba4/source/include
Date: Tue Feb 3 11:10:56 2004 Author: metze Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv12757/include Modified Files: context.h includes.h Removed Files: auth.h passdb.h Log Message: - port AUTH and PASSDB subsystems to new SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze Revisions: context.h 1.7 = 1.8 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/context.h.diff?r1=1.7r2=1.8 includes.h 1.17 = 1.18 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.17r2=1.18 auth.h 1.3 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/auth.h?rev=1.3 passdb.h1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/passdb.h?rev=1.2
CVS update: samba4/source/smbd
Date: Tue Feb 3 11:10:56 2004 Author: metze Update of /home/cvs/samba4/source/smbd In directory dp.samba.org:/tmp/cvs-serv12757/smbd Modified Files: process.c Log Message: - port AUTH and PASSDB subsystems to new SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze Revisions: process.c 1.11 = 1.12 http://www.samba.org/cgi-bin/cvsweb/samba4/source/smbd/process.c.diff?r1=1.11r2=1.12
CVS update: samba4/source/ntvfs
Date: Tue Feb 3 11:10:56 2004 Author: metze Update of /home/cvs/samba4/source/ntvfs In directory dp.samba.org:/tmp/cvs-serv12757/ntvfs Modified Files: ntvfs_base.c Log Message: - port AUTH and PASSDB subsystems to new SMB_SUBSYSTEM() scheme - some const fixes in ntvfs metze Revisions: ntvfs_base.c1.5 = 1.6 http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ntvfs_base.c.diff?r1=1.5r2=1.6
CVS update: samba4/source/include
Date: Tue Feb 3 11:18:54 2004 Author: metze Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv15123/include Modified Files: includes.h Removed Files: ntvfs.h Log Message: move include/ntvfs.h to ntvfs/ntvfs.h metze Revisions: includes.h 1.18 = 1.19 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.18r2=1.19 ntvfs.h 1.7 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/ntvfs.h?rev=1.7
CVS update: samba4/source/ntvfs
Date: Tue Feb 3 11:18:54 2004 Author: metze Update of /home/cvs/samba4/source/ntvfs In directory dp.samba.org:/tmp/cvs-serv15123/ntvfs Added Files: ntvfs.h Log Message: move include/ntvfs.h to ntvfs/ntvfs.h metze Revisions: ntvfs.h NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ntvfs.h?rev=1.1
CVS update: samba4/source/ntvfs/cifs
Date: Tue Feb 3 12:37:54 2004 Author: metze Update of /home/cvs/samba4/source/ntvfs/cifs In directory dp.samba.org:/tmp/cvs-serv30451/ntvfs/cifs Modified Files: vfs_cifs.c Log Message: if vfs_cifs want to modify the ntvfs_ops struct, it should use a temporary copy of the struct! metze Revisions: vfs_cifs.c 1.7 = 1.8 http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/cifs/vfs_cifs.c.diff?r1=1.7r2=1.8
CVS update: samba4
Date: Tue Feb 3 14:56:06 2004 Author: metze Update of /home/cvs/samba4 In directory dp.samba.org:/tmp/cvs-serv24157 Modified Files: prog_guide.txt Log Message: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel = 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze Revisions: prog_guide.txt 1.5 = 1.6 http://www.samba.org/cgi-bin/cvsweb/samba4/prog_guide.txt.diff?r1=1.5r2=1.6
CVS update: samba4/source/librpc/rpc
Date: Tue Feb 3 14:56:07 2004 Author: metze Update of /home/cvs/samba4/source/librpc/rpc In directory dp.samba.org:/tmp/cvs-serv24157/source/librpc/rpc Modified Files: dcerpc_util.c Log Message: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel = 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze Revisions: dcerpc_util.c 1.19 = 1.20 http://www.samba.org/cgi-bin/cvsweb/samba4/source/librpc/rpc/dcerpc_util.c.diff?r1=1.19r2=1.20
CVS update: samba4/source/rpc_server/remote
Date: Tue Feb 3 14:56:07 2004 Author: metze Update of /home/cvs/samba4/source/rpc_server/remote In directory dp.samba.org:/tmp/cvs-serv24157/source/rpc_server/remote Modified Files: dcesrv_remote.c Log Message: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel = 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze Revisions: dcesrv_remote.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/rpc_server/remote/dcesrv_remote.c.diff?r1=1.2r2=1.3
CVS update: samba4/source/librpc/ndr
Date: Tue Feb 3 14:56:07 2004 Author: metze Update of /home/cvs/samba4/source/librpc/ndr In directory dp.samba.org:/tmp/cvs-serv24157/source/librpc/ndr Modified Files: ndr.c Log Message: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel = 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze Revisions: ndr.c 1.33 = 1.34 http://www.samba.org/cgi-bin/cvsweb/samba4/source/librpc/ndr/ndr.c.diff?r1=1.33r2=1.34
CVS update: samba4/source/torture/rpc
Date: Tue Feb 3 14:56:07 2004 Author: metze Update of /home/cvs/samba4/source/torture/rpc In directory dp.samba.org:/tmp/cvs-serv24157/source/torture/rpc Modified Files: atsvc.c dfs.c echo.c epmapper.c eventlog.c lsa.c netlogon.c samr.c spoolss.c srvsvc.c winreg.c wkssvc.c Log Message: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel = 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze Revisions: atsvc.c 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/atsvc.c.diff?r1=1.3r2=1.4 dfs.c 1.9 = 1.10 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/dfs.c.diff?r1=1.9r2=1.10 echo.c 1.19 = 1.20 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/echo.c.diff?r1=1.19r2=1.20 epmapper.c 1.12 = 1.13 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/epmapper.c.diff?r1=1.12r2=1.13 eventlog.c 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/eventlog.c.diff?r1=1.4r2=1.5 lsa.c 1.37 = 1.38 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/lsa.c.diff?r1=1.37r2=1.38 netlogon.c 1.20 = 1.21 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/netlogon.c.diff?r1=1.20r2=1.21 samr.c 1.39 = 1.40 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/samr.c.diff?r1=1.39r2=1.40 spoolss.c 1.32 = 1.33 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/spoolss.c.diff?r1=1.32r2=1.33 srvsvc.c1.8 = 1.9 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/srvsvc.c.diff?r1=1.8r2=1.9 winreg.c1.12 = 1.13 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/winreg.c.diff?r1=1.12r2=1.13 wkssvc.c1.11 = 1.12 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/wkssvc.c.diff?r1=1.11r2=1.12
CVS update: samba4/source
Date: Thu Feb 5 11:37:53 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv17951 Modified Files: Makefile.in Log Message: remove unused Makefile vars and fix dublication in $(PROTO_OBJ) metze Revisions: Makefile.in 1.81 = 1.82 http://www.samba.org/cgi-bin/cvsweb/samba4/source/Makefile.in.diff?r1=1.81r2=1.82
CVS update: samba4/source/torture
Date: Thu Feb 5 12:16:29 2004 Author: metze Update of /home/cvs/samba4/source/torture In directory dp.samba.org:/tmp/cvs-serv24440/torture Added Files: config.m4 Log Message: add the TORTURE SUBSYSTEM to the config.m4 scheme tridge: I'll convert all stuff first to this scheme and then move to the scheme with two files per subsystems so we'll later something like config.m4 and config.mk... metze Revisions: config.m4 NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/config.m4?rev=1.1
CVS update: samba4/source
Date: Thu Feb 5 12:16:29 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv24440 Modified Files: Makefile.in configure.in Log Message: add the TORTURE SUBSYSTEM to the config.m4 scheme tridge: I'll convert all stuff first to this scheme and then move to the scheme with two files per subsystems so we'll later something like config.m4 and config.mk... metze Revisions: Makefile.in 1.82 = 1.83 http://www.samba.org/cgi-bin/cvsweb/samba4/source/Makefile.in.diff?r1=1.82r2=1.83 configure.in1.21 = 1.22 http://www.samba.org/cgi-bin/cvsweb/samba4/source/configure.in.diff?r1=1.21r2=1.22
CVS update: samba4/source/passdb
Date: Mon Feb 9 21:04:42 2004 Author: metze Update of /home/cvs/samba4/source/passdb In directory dp.samba.org:/tmp/cvs-serv945/passdb Modified Files: config.m4 Log Message: fix pdb_ldap build if LDAP support was detected metze Revisions: config.m4 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/config.m4.diff?r1=1.3r2=1.4
CVS update: samba4/source
Date: Mon Feb 9 21:56:03 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv9947 Modified Files: aclocal.m4 Log Message: - remove unused 'evel ...' calls, we don't need them inside of AC_XXX() macros - handle --with-shared-modules=process_model --with-static-modules=process_model_single right. ( build 'single' static and the rest of the process_model modules shared, if they're not declared as NOT. metze Revisions: aclocal.m4 1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba4/source/aclocal.m4.diff?r1=1.6r2=1.7
CVS update: samba4/source/passdb
Date: Mon Feb 9 21:57:07 2004 Author: metze Update of /home/cvs/samba4/source/passdb In directory dp.samba.org:/tmp/cvs-serv10848/passdb Modified Files: config.m4 Log Message: the subsystem name is 'PASSDB' so name the modules 'passdb_XXX' metze Revisions: config.m4 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/config.m4.diff?r1=1.4r2=1.5
CVS update: samba4/source/passdb
Date: Wed Feb 11 12:45:47 2004 Author: metze Update of /home/cvs/samba4/source/passdb In directory dp.samba.org:/tmp/cvs-serv424 Modified Files: pdb_guest.c pdb_ldap.c pdb_smbpasswd.c pdb_tdb.c pdb_unix.c Log Message: as I renamed the PDB subsystem to PASSDB, we need to rename the static init functions of the modules too:-) metze Revisions: pdb_guest.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_guest.c.diff?r1=1.2r2=1.3 pdb_ldap.c 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_ldap.c.diff?r1=1.3r2=1.4 pdb_smbpasswd.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_smbpasswd.c.diff?r1=1.2r2=1.3 pdb_tdb.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_tdb.c.diff?r1=1.2r2=1.3 pdb_unix.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_unix.c.diff?r1=1.2r2=1.3
CVS update: samba4/source
Date: Thu Feb 12 08:07:46 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv28539 Modified Files: Makefile.in Log Message: move the -lpopt replacement to a LIBPOPT subsystem metze Revisions: Makefile.in 1.85 = 1.86 http://www.samba.org/cgi-bin/cvsweb/samba4/source/Makefile.in.diff?r1=1.85r2=1.86
CVS update: samba4/source/popt
Date: Thu Feb 12 08:07:46 2004 Author: metze Update of /home/cvs/samba4/source/popt In directory dp.samba.org:/tmp/cvs-serv28539/popt Modified Files: config.m4 Log Message: move the -lpopt replacement to a LIBPOPT subsystem metze Revisions: config.m4 1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/config.m4.diff?r1=1.1r2=1.2
CVS update: samba4/source/lib/popt
Date: Thu Feb 12 13:51:33 2004 Author: metze Update of /home/cvs/samba4/source/lib/popt In directory dp.samba.org:/tmp/cvs-serv29609/popt Log Message: Directory /home/cvs/samba4/source/lib/popt added to the repository Revisions:
CVS update: samba4/source/popt
Date: Thu Feb 12 14:20:27 2004 Author: metze Update of /home/cvs/samba4/source/popt In directory dp.samba.org:/tmp/cvs-serv2164 Removed Files: .cvsignore CHANGES COPYING README config.m4 dummy.in findme.c findme.h popt.c popt.h poptconfig.c popthelp.c poptint.h poptparse.c system.h Log Message: move -lpopt replacement code from source/popt/* to source/lib/popt/* metze Revisions: .cvsignore 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/.cvsignore?rev=1.1.1.1 CHANGES 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/CHANGES?rev=1.1.1.1 COPYING 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/COPYING?rev=1.1.1.1 README 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/README?rev=1.1.1.1 config.m4 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/config.m4?rev=1.2 dummy.in1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/dummy.in?rev=1.1.1.1 findme.c1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/findme.c?rev=1.1.1.1 findme.h1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/findme.h?rev=1.1.1.1 popt.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/popt.c?rev=1.1.1.1 popt.h 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/popt.h?rev=1.1.1.1 poptconfig.c1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/poptconfig.c?rev=1.1.1.1 popthelp.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/popthelp.c?rev=1.1.1.1 poptint.h 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/poptint.h?rev=1.1.1.1 poptparse.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/poptparse.c?rev=1.1.1.1 system.h1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/popt/system.h?rev=1.1.1.1
CVS update: samba4/source
Date: Thu Feb 12 14:21:44 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv3001 Modified Files: configure.in Log Message: move -lpopt replacement code from source/popt/* to source/lib/popt/* metze Revisions: configure.in1.23 = 1.24 http://www.samba.org/cgi-bin/cvsweb/samba4/source/configure.in.diff?r1=1.23r2=1.24
CVS update: samba4/source/lib/popt
Date: Thu Feb 12 14:21:44 2004 Author: metze Update of /home/cvs/samba4/source/lib/popt In directory dp.samba.org:/tmp/cvs-serv3001/lib/popt Modified Files: config.m4 Log Message: move -lpopt replacement code from source/popt/* to source/lib/popt/* metze Revisions: config.m4 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/config.m4.diff?r1=1.2r2=1.3
CVS update: samba4/source/lib/tdb
Date: Thu Feb 12 15:06:29 2004 Author: metze Update of /home/cvs/samba4/source/lib/tdb In directory dp.samba.org:/tmp/cvs-serv12232/tdb Log Message: Directory /home/cvs/samba4/source/lib/tdb added to the repository Revisions:
CVS update: samba4/source/lib
Date: Thu Feb 12 15:59:16 2004 Author: metze Update of /home/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv22084/lib Modified Files: basic.m4 Log Message: move the tdb lib code to lib/tdb/* metze Revisions: basic.m41.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/basic.m4.diff?r1=1.1r2=1.2
CVS update: samba4/source/tdb
Date: Thu Feb 12 15:59:16 2004 Author: metze Update of /home/cvs/samba4/source/tdb In directory dp.samba.org:/tmp/cvs-serv22084/tdb Removed Files: spinlock.c spinlock.h tdb.c tdb.h tdbutil.c tdbutil.h Log Message: move the tdb lib code to lib/tdb/* metze Revisions: spinlock.c 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/spinlock.c?rev=1.2 spinlock.h 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/spinlock.h?rev=1.2 tdb.c 1.3 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdb.c?rev=1.3 tdb.h 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdb.h?rev=1.2 tdbutil.c 1.3 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbutil.c?rev=1.3 tdbutil.h 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbutil.h?rev=1.1.1.1
CVS update: samba4/source/include
Date: Thu Feb 12 15:59:16 2004 Author: metze Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv22084/include Modified Files: includes.h Log Message: move the tdb lib code to lib/tdb/* metze Revisions: includes.h 1.20 = 1.21 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.20r2=1.21
CVS update: samba4/source/utils/tdb
Date: Thu Feb 12 16:18:59 2004 Author: metze Update of /home/cvs/samba4/source/utils/tdb In directory dp.samba.org:/tmp/cvs-serv26321/tdb Log Message: Directory /home/cvs/samba4/source/utils/tdb added to the repository Revisions:
CVS update: samba4/source/tdb
Date: Thu Feb 12 16:28:12 2004 Author: metze Update of /home/cvs/samba4/source/tdb In directory dp.samba.org:/tmp/cvs-serv28371/tdb Removed Files: .cvsignore Makefile README tdb.magic tdbbackup.c tdbdump.c tdbtest.c tdbtool.c tdbtorture.c Log Message: move the tdb utils to utils/tdb/* metze Revisions: .cvsignore 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/.cvsignore?rev=1.1.1.1 Makefile1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/Makefile?rev=1.1.1.1 README 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/README?rev=1.1.1.1 tdb.magic 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdb.magic?rev=1.1.1.1 tdbbackup.c 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbbackup.c?rev=1.2 tdbdump.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbdump.c?rev=1.1.1.1 tdbtest.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbtest.c?rev=1.1.1.1 tdbtool.c 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbtool.c?rev=1.2 tdbtorture.c1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tdb/tdbtorture.c?rev=1.2
CVS update: samba4/source/build/m4
Date: Fri Feb 13 14:54:47 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv23672/m4 Log Message: Directory /home/cvs/samba4/source/build/m4 added to the repository Revisions:
CVS update: samba4/source/build/m4
Date: Fri Feb 13 15:03:46 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv25480/build/m4 Added Files: rewrite.m4 Log Message: move all old configure checks to build/m4/rewrite.m4 we should get rid of this file in the end:-) the tests should go into subsystems config.m4 files the goal is to know which tests belong to what code and remove unused tests to make configure a bit faster metze Revisions: rewrite.m4 NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba4/source/build/m4/rewrite.m4?rev=1.1
CVS update: samba4/source/build/tests
Date: Fri Feb 13 15:08:00 2004 Author: metze Update of /home/cvs/samba4/source/build/tests In directory dp.samba.org:/tmp/cvs-serv26602/tests Log Message: Directory /home/cvs/samba4/source/build/tests added to the repository Revisions:
CVS update: samba4/source/build/m4
Date: Fri Feb 13 15:20:52 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv28885/build/m4 Modified Files: rewrite.m4 Log Message: move external configure test programs from tests/*.c to build/tests/*.c metze Revisions: rewrite.m4 1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/build/m4/rewrite.m4.diff?r1=1.1r2=1.2
CVS update: samba4/source/tests
Date: Fri Feb 13 15:20:52 2004 Author: metze Update of /home/cvs/samba4/source/tests In directory dp.samba.org:/tmp/cvs-serv28885/tests Removed Files: .cvsignore README crypttest.c fcntl_lock.c fcntl_lock64.c fcntl_lock_thread.c ftruncate.c getgroups.c shared_mmap.c shlib.c summary.c trivial.c unixsock.c Log Message: move external configure test programs from tests/*.c to build/tests/*.c metze Revisions: .cvsignore 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/.cvsignore?rev=1.1.1.1 README 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/README?rev=1.1.1.1 crypttest.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/crypttest.c?rev=1.1.1.1 fcntl_lock.c1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/fcntl_lock.c?rev=1.1.1.1 fcntl_lock64.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/fcntl_lock64.c?rev=1.1.1.1 fcntl_lock_thread.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/fcntl_lock_thread.c?rev=1.1.1.1 ftruncate.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/ftruncate.c?rev=1.1.1.1 getgroups.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/getgroups.c?rev=1.1.1.1 shared_mmap.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/shared_mmap.c?rev=1.1.1.1 shlib.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/shlib.c?rev=1.1.1.1 summary.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/summary.c?rev=1.1.1.1 trivial.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/trivial.c?rev=1.1.1.1 unixsock.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/tests/unixsock.c?rev=1.1.1.1
CVS update: samba4/source/lib/crypto
Date: Wed Feb 18 12:11:36 2004 Author: metze Update of /home/cvs/samba4/source/lib/crypto In directory dp.samba.org:/tmp/cvs-serv30531/crypto Log Message: Directory /home/cvs/samba4/source/lib/crypto added to the repository Revisions:
CVS update: samba4/source/lib
Date: Wed Feb 18 12:20:17 2004 Author: metze Update of /home/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv31967/lib Modified Files: basic.m4 Removed Files: crc32.c hmacmd5.c md4.c md5.c Log Message: move some cryto stuff to lib/crypto/* metze Revisions: basic.m41.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/basic.m4.diff?r1=1.2r2=1.3 crc32.c 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/crc32.c?rev=1.2 hmacmd5.c 1.2 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/hmacmd5.c?rev=1.2 md4.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/md4.c?rev=1.1.1.1 md5.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/md5.c?rev=1.1.1.1
CVS update: samba4/source/passdb
Date: Wed Feb 18 13:17:03 2004 Author: metze Update of /home/cvs/samba4/source/passdb In directory dp.samba.org:/tmp/cvs-serv10528 Removed Files: pdb_nisplus.c Log Message: remove pdb_nisplus, its also removed in samba3, because it was broken metze Revisions: pdb_nisplus.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_nisplus.c?rev=1.1.1.1
CVS update: samba4/source/build/m4
Date: Wed Feb 18 13:55:14 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv19054/build/m4 Modified Files: rewrite.m4 Log Message: remove unused NISPLUS/AUTOMOUNT stuff metze Revisions: rewrite.m4 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/build/m4/rewrite.m4.diff?r1=1.2r2=1.3
CVS update: samba4/source/include
Date: Wed Feb 18 13:55:15 2004 Author: metze Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv19054/include Modified Files: includes.h Log Message: remove unused NISPLUS/AUTOMOUNT stuff metze Revisions: includes.h 1.21 = 1.22 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.21r2=1.22
CVS update: samba4/source/lib
Date: Wed Feb 18 13:55:15 2004 Author: metze Update of /home/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv19054/lib Modified Files: util.c Log Message: remove unused NISPLUS/AUTOMOUNT stuff metze Revisions: util.c 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/util.c.diff?r1=1.4r2=1.5
CVS update: samba4/source/include
Date: Wed Feb 18 15:31:25 2004 Author: metze Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv7596/include Modified Files: includes.h Log Message: don't inlcude rpc/rpc.h and rpcsvc/*.h anymore and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze Revisions: includes.h 1.22 = 1.23 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.22r2=1.23
CVS update: samba4/source/smb_server
Date: Wed Feb 18 15:31:25 2004 Author: metze Update of /home/cvs/samba4/source/smb_server In directory dp.samba.org:/tmp/cvs-serv7596/smb_server Modified Files: password.c Log Message: don't inlcude rpc/rpc.h and rpcsvc/*.h anymore and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze Revisions: password.c 1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/smb_server/password.c.diff?r1=1.1r2=1.2
CVS update: samba4/source/lib
Date: Wed Feb 18 15:31:25 2004 Author: metze Update of /home/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv7596/lib Modified Files: username.c Log Message: don't inlcude rpc/rpc.h and rpcsvc/*.h anymore and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze Revisions: username.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/username.c.diff?r1=1.2r2=1.3
CVS update: samba4/source/build/m4
Date: Wed Feb 18 15:31:25 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv7596/build/m4 Modified Files: rewrite.m4 Log Message: don't inlcude rpc/rpc.h and rpcsvc/*.h anymore and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze Revisions: rewrite.m4 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba4/source/build/m4/rewrite.m4.diff?r1=1.3r2=1.4
CVS update: samba4/source/python
Date: Sat Feb 21 11:08:09 2004 Author: metze Update of /home/cvs/samba4/source/python In directory dp.samba.org:/tmp/cvs-serv24721 Removed Files: .cvsignore config.m4 Log Message: remove the python stuff, this will be rewritten on top of libsmb.so and maintained in a external tree. (discussed with tpot) metze Revisions: .cvsignore 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/.cvsignore?rev=1.1.1.1 config.m4 1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/config.m4?rev=1.1
CVS update: samba4/source/python/examples/tdbpack
Date: Sat Feb 21 11:08:10 2004 Author: metze Update of /home/cvs/samba4/source/python/examples/tdbpack In directory dp.samba.org:/tmp/cvs-serv24721/examples/tdbpack Removed Files: .cvsignore oldtdbutil.py tdbtimetrial.py test_tdbpack.py Log Message: remove the python stuff, this will be rewritten on top of libsmb.so and maintained in a external tree. (discussed with tpot) metze Revisions: .cvsignore 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/tdbpack/.cvsignore?rev=1.1.1.1 oldtdbutil.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/tdbpack/oldtdbutil.py?rev=1.1.1.1 tdbtimetrial.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/tdbpack/tdbtimetrial.py?rev=1.1.1.1 test_tdbpack.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/tdbpack/test_tdbpack.py?rev=1.1.1.1
CVS update: samba4/source/python/examples/spoolss
Date: Sat Feb 21 11:08:10 2004 Author: metze Update of /home/cvs/samba4/source/python/examples/spoolss In directory dp.samba.org:/tmp/cvs-serv24721/examples/spoolss Removed Files: changeid.py enumprinters.py psec.py Log Message: remove the python stuff, this will be rewritten on top of libsmb.so and maintained in a external tree. (discussed with tpot) metze Revisions: changeid.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/spoolss/changeid.py?rev=1.1.1.1 enumprinters.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/spoolss/enumprinters.py?rev=1.1.1.1 psec.py 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/python/examples/spoolss/psec.py?rev=1.1.1.1
CVS update: samba4/source/lib/cmdline
Date: Sun Feb 22 12:47:42 2004 Author: metze Update of /home/cvs/samba4/source/lib/cmdline In directory dp.samba.org:/tmp/cvs-serv10926/cmdline Log Message: Directory /home/cvs/samba4/source/lib/cmdline added to the repository Revisions:
CVS update: samba4/source
Date: Sun Feb 22 13:09:51 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv14225 Modified Files: Makefile.in configure.in Log Message: - creat the LIBCMDLINE subsystem including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze Revisions: Makefile.in 1.86 = 1.87 http://www.samba.org/cgi-bin/cvsweb/samba4/source/Makefile.in.diff?r1=1.86r2=1.87 configure.in1.26 = 1.27 http://www.samba.org/cgi-bin/cvsweb/samba4/source/configure.in.diff?r1=1.26r2=1.27
CVS update: samba4/source/lib
Date: Sun Feb 22 13:09:51 2004 Author: metze Update of /home/cvs/samba4/source/lib In directory dp.samba.org:/tmp/cvs-serv14225/lib Removed Files: popt_common.c readline.c Log Message: - creat the LIBCMDLINE subsystem including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze Revisions: popt_common.c 1.4 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt_common.c?rev=1.4 readline.c 1.1.1.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/readline.c?rev=1.1.1.1
CVS update: samba4/source/build/m4
Date: Sun Feb 22 13:09:51 2004 Author: metze Update of /home/cvs/samba4/source/build/m4 In directory dp.samba.org:/tmp/cvs-serv14225/build/m4 Modified Files: rewrite.m4 Log Message: - creat the LIBCMDLINE subsystem including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze Revisions: rewrite.m4 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/samba4/source/build/m4/rewrite.m4.diff?r1=1.4r2=1.5
CVS update: samba4/source/lib/cmdline
Date: Sun Feb 22 13:09:51 2004 Author: metze Update of /home/cvs/samba4/source/lib/cmdline In directory dp.samba.org:/tmp/cvs-serv14225/lib/cmdline Added Files: config.m4 Log Message: - creat the LIBCMDLINE subsystem including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze Revisions: config.m4 NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/cmdline/config.m4?rev=1.1
CVS update: samba4/source/param
Date: Sun Feb 22 13:09:51 2004 Author: metze Update of /home/cvs/samba4/source/param In directory dp.samba.org:/tmp/cvs-serv14225/param Added Files: config.m4 Log Message: - creat the LIBCMDLINE subsystem including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze Revisions: config.m4 NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba4/source/param/config.m4?rev=1.1
CVS update: samba4/source
Date: Mon Feb 23 10:51:36 2004 Author: metze Update of /home/cvs/samba4/source In directory dp.samba.org:/tmp/cvs-serv22788 Modified Files: Makefile.in Log Message: renaming and restructuring of same object file lists metze Revisions: Makefile.in 1.87 = 1.88 http://www.samba.org/cgi-bin/cvsweb/samba4/source/Makefile.in.diff?r1=1.87r2=1.88
CVS update: samba4/source/lib/popt
Date: Tue Feb 24 06:49:59 2004 Author: metze Update of /home/cvs/samba4/source/lib/popt In directory dp.samba.org:/tmp/cvs-serv303/lib/popt Modified Files: findme.c popt.c poptconfig.c popthelp.c poptparse.c Log Message: let the popt replacement stuff survive a make proto metze Revisions: findme.c1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/findme.c.diff?r1=1.1.1.1r2=1.2 popt.c 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/popt.c.diff?r1=1.1.1.1r2=1.2 poptconfig.c1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/poptconfig.c.diff?r1=1.1.1.1r2=1.2 popthelp.c 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/popthelp.c.diff?r1=1.1.1.1r2=1.2 poptparse.c 1.1.1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/poptparse.c.diff?r1=1.1.1.1r2=1.2
CVS update: samba4/source/lib/popt
Date: Tue Feb 24 06:53:53 2004 Author: metze Update of /home/cvs/samba4/source/lib/popt In directory dp.samba.org:/tmp/cvs-serv1676/lib/popt Modified Files: popt.c Log Message: make proto should not catch any function of the lib/popt/*.c stuff metze Revisions: popt.c 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba4/source/lib/popt/popt.c.diff?r1=1.2r2=1.3
CVS update: samba/examples/pdb
Date: Wed Mar 24 13:41:06 2004 Author: metze Update of /home/cvs/samba/examples/pdb In directory dp.samba.org:/tmp/cvs-serv19393/examples/pdb Modified Files: Tag: SAMBA_3_0 README Log Message: change my email address to the samba.org one metze Revisions: README 1.1.2.3 = 1.1.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/examples/pdb/README.diff?r1=1.1.2.3r2=1.1.2.4
CVS update: samba/examples/pdb
Date: Wed Mar 24 13:42:38 2004 Author: metze Update of /home/cvs/samba/examples/pdb In directory dp.samba.org:/tmp/cvs-serv19646 Modified Files: README Log Message: change my email address to the samba.org one metze Revisions: README 1.6 = 1.7 http://www.samba.org/cgi-bin/cvsweb/samba/examples/pdb/README.diff?r1=1.6r2=1.7
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-260-g50f6a72
The branch, v4-0-test has been updated via 50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e (commit) from 914f0ac83bc396be0ca34c43e2ea01ecc1c3b826 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Sat Apr 19 02:06:44 2008 +0200 SMB2-PERSISTENT-HANDLES1: close the handle before deleting it This means we no longer have a oplock break timing out for the delete. metze --- Summary of changes: source/torture/smb2/persistent_handles.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/torture/smb2/persistent_handles.c b/source/torture/smb2/persistent_handles.c index ace57d8..249ddd1 100644 --- a/source/torture/smb2/persistent_handles.c +++ b/source/torture/smb2/persistent_handles.c @@ -174,6 +174,8 @@ bool torture_smb2_persistent_handles1(struct torture_context *tctx, torture_comment(tctx, position: %llu\n, (unsigned long long)pos); + smb2_util_close(tree2, h2); + talloc_free(mem_ctx); smb2_util_unlink(tree2, fname); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-995-g2e1b913
The branch, v3-2-test has been updated via 2e1b9130635235efdbf49d0b92a43b342114246c (commit) via 8e9fdef792e612e41e7714a2fd4513892248 (commit) via 056ff094ad2c59992cfdb8b29696c08dab4113d7 (commit) via f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d (commit) via 9adb675a86e81c90e2bddfe984b5ac8f201fec75 (commit) via 658d8475336c4397e0dad341f216baf9e1eb6aaf (commit) via 425b3513a45cf98b53235470a3536be86d56d1c2 (commit) via 6b5c76bf1e880ec60d6b044c58115940549049e5 (commit) via 5f6c3a4f6db68c985884cbe9401a4dbe515f756b (commit) via 16d295d466eb18e3bccce6fb26d53012d5f2c3e8 (commit) via 6f67c4ddf8101b1d06889055e3767a6ce0db360c (commit) via 259786980a3a65fa67a4de12a65d33095fa53ce2 (commit) from e1abff301449ad528194206fd953670057eaa12d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 2e1b9130635235efdbf49d0b92a43b342114246c Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 10:57:16 2008 +0200 winbindd: create the messaging conntext earlier metze commit 8e9fdef792e612e41e7714a2fd4513892248 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:02:42 2008 +0200 winbindd: call reinit_after_fork() in the child processes metze commit 056ff094ad2c59992cfdb8b29696c08dab4113d7 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 10:50:27 2008 +0200 nmbd: create the messaging conntext earlier metze commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 10:38:21 2008 +0200 nmbd: call reinit_after_fork() in all needed cases metze commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:48:44 2008 +0200 printing: call reinit_after_fork() in the backgroundqueue process metze commit 658d8475336c4397e0dad341f216baf9e1eb6aaf Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 10:57:45 2008 +0200 smbd: create the messaging conntext earlier metze commit 425b3513a45cf98b53235470a3536be86d56d1c2 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:01:59 2008 +0200 smbd: call reinit_after_fork() in the needed places metze commit 6b5c76bf1e880ec60d6b044c58115940549049e5 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri Apr 18 10:20:01 2008 +0200 loadparm: make it possible to just load the config without following include = statements metze commit 5f6c3a4f6db68c985884cbe9401a4dbe515f756b Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 10:36:15 2008 +0200 util: add reinit_after_fork() function metze commit 16d295d466eb18e3bccce6fb26d53012d5f2c3e8 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:50:13 2008 +0200 smbd: merge smbd:backgroundqueue=no option from the v3-0-ctdb tree metze commit 6f67c4ddf8101b1d06889055e3767a6ce0db360c Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:18:50 2008 +0200 messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the client tools metze commit 259786980a3a65fa67a4de12a65d33095fa53ce2 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue Apr 15 01:18:06 2008 +0200 messages_ctdbd: make sure a ctdbd connection is only used in the process that created it metze --- Summary of changes: source/lib/messages_ctdbd.c | 30 +- source/lib/util.c | 30 ++ source/nmbd/asyncdns.c |5 +++ source/nmbd/nmbd.c | 20 -- source/param/loadparm.c | 53 +++--- source/printing/printing.c |5 +++ source/smbd/server.c| 49 +--- source/winbindd/winbindd.c | 24 - source/winbindd/winbindd_cm.c |5 +-- source/winbindd/winbindd_dual.c |5 +-- 10 files changed, 173 insertions(+), 53 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/messages_ctdbd.c b/source/lib/messages_ctdbd.c index f1a02e6..a01c5e0 100644 --- a/source/lib/messages_ctdbd.c +++ b/source/lib/messages_ctdbd.c @@ -35,10 +35,36 @@ struct messaging_ctdbd_context { * This is a Samba3 hack/optimization. Routines like process_exists need to * talk to ctdbd, and they don't get handed a messaging context. */ -struct ctdbd_connection *global_ctdbd_connection; +static struct ctdbd_connection *global_ctdbd_connection; +static int global_ctdb_connection_pid; struct ctdbd_connection *messaging_ctdbd_connection(void) { + if (global_ctdb_connection_pid == 0 + global_ctdbd_connection == NULL) { + struct
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-996-g6ae8544
The branch, v3-2-test has been updated via 6ae8544ace0dd9ac67d36abbaa26cf311db880ad (commit) from 2e1b9130635235efdbf49d0b92a43b342114246c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 6ae8544ace0dd9ac67d36abbaa26cf311db880ad Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Sat Apr 19 02:45:10 2008 +0200 WHATNEW.txt: add my latest changes metze --- Summary of changes: WHATSNEW.txt |8 1 files changed, 8 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index bcd1e05..87231de 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -301,6 +301,9 @@ o Stefan Metzmacher [EMAIL PROTECTED] - wbcSetGidMapping() - wbcSetUidHwm() - wbcSetGidHwm() + - wbcResolveWinsByName() + - wbcResolveWinsByIP() + - wbcCheckTrustCredentials() * Let wbinfo use libwbclient where possible. * Let net use only libwbclient to access winbindd. * Make socket wrapper pcap support more portable. @@ -308,6 +311,11 @@ o Stefan Metzmacher [EMAIL PROTECTED] * Store the write time in the locking.tdb, so that smbd passes the BASE-DELAYWRITE test. * Run RAW-SEARCH and BASE-DELAYWRITE by 'make test'. +* Let each process use its own connection to ctdb + in cluster mode. +* Add a reinit_after_fork() helper function to correct + reinitialize the same things in all cases. +* Fix a chicken and egg problem with include = registry. o Karolin Seeger [EMAIL PROTECTED] -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-299-g8798ce3
The branch, v4-0-test has been updated via 8798ce3c744025b94973784dcb44d099427ef190 (commit) from 95831a015ae076b52256961f771f50dd9b278e33 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 8798ce3c744025b94973784dcb44d099427ef190 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue May 6 12:38:55 2008 +0200 libreplace: check how portable utimes() and futimes() are metze --- Summary of changes: source/lib/replace/system/config.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/system/config.m4 b/source/lib/replace/system/config.m4 index 66c2bd6..ae26bb5 100644 --- a/source/lib/replace/system/config.m4 +++ b/source/lib/replace/system/config.m4 @@ -9,6 +9,7 @@ AC_CHECK_HEADERS(sys/select.h) # time AC_CHECK_HEADERS(sys/time.h utime.h) AC_HEADER_TIME +AC_CHECK_FUNCS(utime utimes futimes) # wait AC_HEADER_SYS_WAIT -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2312-gfa44308
The branch, v3-3-test has been updated via fa443081eaff77623653ed0390c4f9dabc4487b5 (commit) from 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit fa443081eaff77623653ed0390c4f9dabc4487b5 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Tue May 6 12:38:55 2008 +0200 libreplace: check how portable utimes() and futimes() are metze (cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190) --- Summary of changes: source/lib/replace/system/config.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/system/config.m4 b/source/lib/replace/system/config.m4 index 66c2bd6..ae26bb5 100644 --- a/source/lib/replace/system/config.m4 +++ b/source/lib/replace/system/config.m4 @@ -9,6 +9,7 @@ AC_CHECK_HEADERS(sys/select.h) # time AC_CHECK_HEADERS(sys/time.h utime.h) AC_HEADER_TIME +AC_CHECK_FUNCS(utime utimes futimes) # wait AC_HEADER_SYS_WAIT -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-301-g6a1b7f5
The branch, v4-0-test has been updated via 6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f (commit) from 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 08:59:06 2008 +0200 build: fix path to lex_compile.sh metze --- Summary of changes: source/build/make/rules.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/build/make/rules.mk b/source/build/make/rules.mk index 8c5b1fe..1fc5e23 100644 --- a/source/build/make/rules.mk +++ b/source/build/make/rules.mk @@ -234,7 +234,7 @@ include/includes.d: include/includes.h .l.c: @echo Building $ with $(LEX) - @-$(make_utility_dir)/script/lex_compile.sh $(LEX) $ $@ + @-$(make_utility_dir)/lex_compile.sh $(LEX) $ $@ %.a: @echo Linking $@ -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-302-ga9604fe
The branch, v4-0-test has been updated via a9604fe4a323dccb537cf02ea7594437b4995803 (commit) from 6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit a9604fe4a323dccb537cf02ea7594437b4995803 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 13:10:31 2008 +0200 libreplace: always provide utime() and utimes() I'd like to also provide futimes(), but it seems that some systems doesn't support a it at kernel level. If someone knows how to write a portable replacement for futimes() please tell me... metze --- Summary of changes: source/lib/replace/README |2 + source/lib/replace/replace.c| 27 +++ source/lib/replace/replace.h| 10 +++ source/lib/replace/system/config.m4 |2 +- source/lib/replace/system/time.h| 15 source/lib/replace/test/testsuite.c | 145 +++ 6 files changed, 200 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/README b/source/lib/replace/README index 43f7b08..4d94317 100644 --- a/source/lib/replace/README +++ b/source/lib/replace/README @@ -62,6 +62,8 @@ getnameinfo gai_strerror getifaddrs freeifaddrs +utime +utimes Types: bool diff --git a/source/lib/replace/replace.c b/source/lib/replace/replace.c index 443da2a..2c3f14c 100644 --- a/source/lib/replace/replace.c +++ b/source/lib/replace/replace.c @@ -584,3 +584,30 @@ int rep_unsetenv(const char *name) return 0; } #endif + +#ifndef HAVE_UTIME +int rep_utime(const char *filename, const struct utimbuf *buf) +{ + errno = ENOSYS; + return -1; +} +#endif + +#ifndef HAVE_UTIMES +int rep_utimes(const char *filename, const struct timeval tv[2]) +{ + struct utimbuf u; + + u.actime = tv[0].tv_sec; + if (tv[0].tv_usec 50) { + u.actime += 1; + } + + u.modtime = tv[1].tv_sec; + if (tv[1].tv_usec 50) { + u.modtime += 1; + } + + return utime(filename, u); +} +#endif diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h index bf95169..c69ea6c 100644 --- a/source/lib/replace/replace.h +++ b/source/lib/replace/replace.h @@ -101,6 +101,16 @@ void *rep_memmove(void *dest,const void *src,int size); /* prototype is in system/time.h */ #endif +#ifndef HAVE_UTIME +#define utime rep_utime +/* prototype is in system/time.h */ +#endif + +#ifndef HAVE_UTIMES +#define utimes rep_utimes +/* prototype is in system/time.h */ +#endif + #ifndef HAVE_STRLCPY #define strlcpy rep_strlcpy size_t rep_strlcpy(char *d, const char *s, size_t bufsize); diff --git a/source/lib/replace/system/config.m4 b/source/lib/replace/system/config.m4 index ae26bb5..5c9b53d 100644 --- a/source/lib/replace/system/config.m4 +++ b/source/lib/replace/system/config.m4 @@ -9,7 +9,7 @@ AC_CHECK_HEADERS(sys/select.h) # time AC_CHECK_HEADERS(sys/time.h utime.h) AC_HEADER_TIME -AC_CHECK_FUNCS(utime utimes futimes) +AC_CHECK_FUNCS(utime utimes) # wait AC_HEADER_SYS_WAIT diff --git a/source/lib/replace/system/time.h b/source/lib/replace/system/time.h index 036812a..4abf295 100644 --- a/source/lib/replace/system/time.h +++ b/source/lib/replace/system/time.h @@ -39,6 +39,11 @@ #ifdef HAVE_UTIME_H #include utime.h +#else +struct utimbuf { + time_t actime; /* access time */ + time_t modtime; /* modification time */ +}; #endif #ifndef HAVE_MKTIME @@ -51,4 +56,14 @@ time_t rep_mktime(struct tm *t); time_t rep_timegm(struct tm *tm); #endif +#ifndef HAVE_UTIME +/* define is in replace.h */ +int rep_utime(const char *filename, const struct utimbuf *buf); +#endif + +#ifndef HAVE_UTIMES +/* define is in replace.h */ +int rep_utimes(const char *filename, const struct timeval tv[2]); +#endif + #endif diff --git a/source/lib/replace/test/testsuite.c b/source/lib/replace/test/testsuite.c index b538360..1e82909 100644 --- a/source/lib/replace/test/testsuite.c +++ b/source/lib/replace/test/testsuite.c @@ -872,6 +872,149 @@ static int test_getifaddrs(void) return true; } +static int test_utime(void) +{ + struct utimbuf u; + struct stat st1, st2, st3; + int fd; + + printf(test: utime\n); + unlink(TESTFILE); + + fd = open(TESTFILE, O_RDWR|O_CREAT, 0600); + if (fd == -1) { + printf(failure: utime [\n + creating '%s' failed - %s\n]\n, + TESTFILE, strerror(errno)); + return false; + } + + if (fstat(fd, st1) != 0) { + printf(failure: utime [\n + fstat (1) failed - %s\n]\n, + strerror(errno)); + return false; + } + + u.actime = st1
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-303-gb09dd6b
The branch, v4-0-test has been updated via b09dd6b65d533832a025a51509dcc84f84b048aa (commit) from a9604fe4a323dccb537cf02ea7594437b4995803 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit b09dd6b65d533832a025a51509dcc84f84b048aa Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 15:46:22 2008 +0200 pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code I'll fix this more correctly very soon, so that we'll pass the BASE-DELAYWRITE test. metze --- Summary of changes: source/librpc/idl/xattr.idl | 12 +--- source/ntvfs/posix/pvfs_open.c| 17 - source/ntvfs/posix/pvfs_setfileinfo.c |2 -- source/ntvfs/posix/pvfs_xattr.c | 32 +++- source/ntvfs/posix/vfs_posix.h|3 --- 5 files changed, 24 insertions(+), 42 deletions(-) Changeset truncated at 500 lines: diff --git a/source/librpc/idl/xattr.idl b/source/librpc/idl/xattr.idl index 7e73bae..2010d51 100644 --- a/source/librpc/idl/xattr.idl +++ b/source/librpc/idl/xattr.idl @@ -31,8 +31,14 @@ interface xattr NTTIME change_time; } xattr_DosInfo1; - const int XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME = 0x1; +/* + We use xattrDosInfo1 again when we store values. + Because the sticky write time is now stored in the opendb + and xattr_DosInfo2Old is only present to parse existing + values from disk. + const int XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME = 0x1; +*/ typedef struct { uint32 flags; uint32 attrib; @@ -43,11 +49,11 @@ interface xattr NTTIME change_time; NTTIME write_time; /* only used when sticky write time is set */ utf8string name; - } xattr_DosInfo2; + } xattr_DosInfo2Old; typedef [switch_type(uint16)] union { [case(1)] xattr_DosInfo1 info1; - [case(2)] xattr_DosInfo2 info2; + [case(2)] xattr_DosInfo2Old oldinfo2; } xattr_DosInfo; typedef [public] struct { diff --git a/source/ntvfs/posix/pvfs_open.c b/source/ntvfs/posix/pvfs_open.c index 6e77cb7..c9c1c56 100644 --- a/source/ntvfs/posix/pvfs_open.c +++ b/source/ntvfs/posix/pvfs_open.c @@ -262,7 +262,6 @@ static NTSTATUS pvfs_open_directory(struct pvfs_state *pvfs, f-handle-position = 0; f-handle-mode = 0; f-handle-oplock= NULL; - f-handle-sticky_write_time = false; f-handle-open_completed= false; if ((create_options NTCREATEX_OPTIONS_DELETE_ON_CLOSE) @@ -416,16 +415,6 @@ cleanup_delete: */ static int pvfs_handle_destructor(struct pvfs_file_handle *h) { - /* the write time is no longer sticky */ - if (h-sticky_write_time) { - NTSTATUS status; - status = pvfs_dosattrib_load(h-pvfs, h-name, h-fd); - if (NT_STATUS_IS_OK(status)) { - h-name-dos.flags = ~XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME; - pvfs_dosattrib_save(h-pvfs, h-name, h-fd); - } - } - if ((h-create_options NTCREATEX_OPTIONS_DELETE_ON_CLOSE) h-name-stream_name) { NTSTATUS status; @@ -707,7 +696,6 @@ static NTSTATUS pvfs_create_file(struct pvfs_state *pvfs, f-handle-mode = 0; f-handle-oplock= NULL; f-handle-have_opendb_entry = true; - f-handle-sticky_write_time = false; f-handle-open_completed= false; status = odb_open_file(lck, f-handle, name-full_name, @@ -1257,7 +1245,6 @@ NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs, f-handle-mode = 0; f-handle-oplock= NULL; f-handle-have_opendb_entry = false; - f-handle-sticky_write_time = false; f-handle-open_completed= false; /* form the lock context used for byte range locking and @@ -1479,10 +1466,6 @@ NTSTATUS pvfs_close(struct ntvfs_module_context *ntvfs, unix_times.actime = 0; unix_times.modtime = io-close.in.write_time; utime(f-handle-name-full_name, unix_times); - } else if (f-handle-sticky_write_time) { - unix_times.actime = 0; - unix_times.modtime = nt_time_to_unix(f-handle-name-dos.write_time); - utime(f-handle-name-full_name, unix_times); } talloc_free(f); diff --git a/source/ntvfs/posix/pvfs_setfileinfo.c b/source/ntvfs/posix/pvfs_setfileinfo.c index ad47fe9..0beca75 100644 --- a/source/ntvfs/posix/pvfs_setfileinfo.c +++ b/source/ntvfs/posix/pvfs_setfileinfo.c @@ -342,8 +342,6 @@ NTSTATUS pvfs_setfileinfo(struct
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-305-g3451b54
The branch, v4-0-test has been updated via 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed (commit) via 55a904b1d7aeca849d450e371b18afca5b0c6218 (commit) from b09dd6b65d533832a025a51509dcc84f84b048aa (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 17:15:36 2008 +0200 libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba metze commit 55a904b1d7aeca849d450e371b18afca5b0c6218 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 16:50:19 2008 +0200 libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step metze --- Summary of changes: source/lib/replace/libreplace.m4 | 64 +-- source/lib/replace/libreplace_network.m4 | 71 ++ source/lib/replace/samba.m4 |1 + 3 files changed, 73 insertions(+), 63 deletions(-) create mode 100644 source/lib/replace/libreplace_network.m4 Changeset truncated at 500 lines: diff --git a/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4 index 8e17258..2b33d97 100644 --- a/source/lib/replace/libreplace.m4 +++ b/source/lib/replace/libreplace.m4 @@ -96,65 +96,10 @@ fi AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(sys/time.h time.h) AC_CHECK_HEADERS(stdarg.h vararg.h) -AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h) -AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h) AC_CHECK_HEADERS(sys/sockio.h sys/un.h) AC_CHECK_HEADERS(sys/mount.h mntent.h) AC_CHECK_HEADERS(stropts.h) -dnl we need to check that net/if.h really can be used, to cope with hpux -dnl where including it always fails -AC_CACHE_CHECK([for usable net/if.h],libreplace_cv_USABLE_NET_IF_H,[ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([ - AC_INCLUDES_DEFAULT - #if HAVE_SYS_SOCKET_H - # include sys/socket.h - #endif - #include net/if.h - int main(void) {return 0;}])], - [libreplace_cv_USABLE_NET_IF_H=yes], - [libreplace_cv_USABLE_NET_IF_H=no] - ) -]) -if test x$libreplace_cv_USABLE_NET_IF_H = xyes;then - AC_DEFINE(HAVE_NET_IF_H, 1, usability of net/if.h) -fi - -AC_HAVE_TYPE([socklen_t],[#include sys/socket.h]) -AC_HAVE_TYPE([sa_family_t],[#include sys/socket.h]) -AC_HAVE_TYPE([struct addrinfo], [#include netdb.h]) -AC_HAVE_TYPE([struct sockaddr], [#include sys/socket.h]) -AC_HAVE_TYPE([struct sockaddr_storage], [ -#include sys/socket.h -#include sys/types.h -#include netinet/in.h -]) -AC_HAVE_TYPE([struct sockaddr_in6], [ -#include sys/socket.h -#include sys/types.h -#include netinet/in.h -]) - -if test x$ac_cv_type_struct_sockaddr_storage = xyes; then -AC_CHECK_MEMBER(struct sockaddr_storage.ss_family, -AC_DEFINE(HAVE_SS_FAMILY, 1, [Defined if struct sockaddr_storage has ss_family field]),, -[ -#include sys/socket.h -#include sys/types.h -#include netinet/in.h - ]) - -if test x$ac_cv_member_struct_sockaddr_storage_ss_family != xyes; then -AC_CHECK_MEMBER(struct sockaddr_storage.__ss_family, -AC_DEFINE(HAVE___SS_FAMILY, 1, [Defined if struct sockaddr_storage has __ss_family field]),, -[ -#include sys/socket.h -#include sys/types.h -#include netinet/in.h - ]) -fi -fi - AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror) AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename) AC_CHECK_FUNCS(waitpid strlcpy strlcat initgroups memmove strdup) @@ -326,15 +271,7 @@ m4_include(getpass.m4) m4_include(strptime.m4) m4_include(win32.m4) m4_include(timegm.m4) -m4_include(socket.m4) -m4_include(inet_ntop.m4) -m4_include(inet_pton.m4) -m4_include(inet_aton.m4) -m4_include(inet_ntoa.m4) -m4_include(getaddrinfo.m4) m4_include(repdir.m4) -m4_include(getifaddrs.m4) -m4_include(socketpair.m4) AC_CHECK_FUNCS([syslog printf memset memcpy],,[AC_MSG_ERROR([Required function not found])]) @@ -361,5 +298,6 @@ CFLAGS=$CFLAGS -I$libreplacedir m4_include(libreplace_cc.m4) m4_include(libreplace_ld.m4) +m4_include(libreplace_network.m4) m4_include(libreplace_macros.m4) m4_include(autoconf-2.60.m4) diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 new file mode 100644 index 000..7702702 --- /dev/null +++ b/source/lib/replace/libreplace_network.m4 @@ -0,0 +1,71 @@ +AC_DEFUN_ONCE(AC_LIBREPLACE_NETWORK_CHECKS, +[ +echo LIBREPLACE_NETWORK_CHECKS: START + +AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h) +AC_CHECK_HEADERS(netinet/ip.h
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-306-g04f4523
The branch, v4-0-test has been updated via 04f4523ed032946b8f0e74ac6f7458010159e3bb (commit) from 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 04f4523ed032946b8f0e74ac6f7458010159e3bb Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 7 17:38:41 2008 +0200 libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build metze --- Summary of changes: source/lib/replace/configure.ac |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/configure.ac b/source/lib/replace/configure.ac index 02dc08b..81997e0 100644 --- a/source/lib/replace/configure.ac +++ b/source/lib/replace/configure.ac @@ -6,6 +6,7 @@ AC_CONFIG_HEADER(config.h) CFLAGS=$CFLAGS -I$srcdir AC_LIBREPLACE_ALL_CHECKS +AC_LIBREPLACE_NETWORK_CHECKS if test $ac_cv_prog_gcc = yes; then CFLAGS=$CFLAGS -Wall -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1530-gda2179e
The branch, v4-0-test has been updated via da2179ee5d5b6094ab63a9d9d6a8d59893937087 (commit) via 3fddd36e119f73a5021370450f9687ef9d252bab (commit) via aa7ef1af746319a3d771decd0ec03dabe8b8ad28 (commit) via 67845d3471711d24069636d0d4032f9d53748334 (commit) via 0234d397fefee8e1d0dcd3402f748c2251021c90 (commit) via 64591d064dc3da6074f0f7539911a6e433d9cc43 (commit) via f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad (commit) via 3a70274c908e31453942b442351eab8423c1a53d (commit) via 223ef6c08efb52251d0a772bb0c481b2803cf0ce (commit) via fba00736c870f449c0eee32fe0d7b0d539dca51f (commit) via 82e826253b6d18832931dbb5c1dda009889bf9e0 (commit) via c70eba87dbbac6c2c1e68c343cdd410577c1686f (commit) from 2e8766145ad2e8c666ecdc6c39e97ba302b16e04 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit da2179ee5d5b6094ab63a9d9d6a8d59893937087 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 11:01:09 2008 +0200 libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6 metze commit 3fddd36e119f73a5021370450f9687ef9d252bab Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:39:41 2008 +0200 libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used metze commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:32:19 2008 +0200 libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars metze commit 67845d3471711d24069636d0d4032f9d53748334 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:27:23 2008 +0200 libreplace: include inet_ntoa.o when the system one is broken metze commit 0234d397fefee8e1d0dcd3402f748c2251021c90 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:08:42 2008 +0200 libreplace: merge getifaddrs.m4 into libreplace_network.m4 metze commit 64591d064dc3da6074f0f7539911a6e433d9cc43 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:06:39 2008 +0200 libreplace: merge getaddrinfo.m4 into libreplace_network.m4 metze commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:04:51 2008 +0200 libreplace: merge socketpair.m4 into libreplace_network.m4 metze commit 3a70274c908e31453942b442351eab8423c1a53d Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:02:21 2008 +0200 libreplace: merge inet_pton.m4 into libreplace_network.m4 metze commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:00:58 2008 +0200 libreplace: merge inet_ntop.m4 into libreplace_network.m4 metze commit fba00736c870f449c0eee32fe0d7b0d539dca51f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:59:16 2008 +0200 libreplace: merge inet_aton.m4 into libreplace_network.m4 metze commit 82e826253b6d18832931dbb5c1dda009889bf9e0 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:58:07 2008 +0200 libreplace: merge inet_ntoa.m4 into libreplace_network.m4 metze commit c70eba87dbbac6c2c1e68c343cdd410577c1686f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:56:10 2008 +0200 libreplace: merge socket.m4 into libreplace_network.m4 metze --- Summary of changes: source/lib/replace/getaddrinfo.m4| 32 source/lib/replace/getifaddrs.m4 | 128 --- source/lib/replace/inet_aton.m4 |1 - source/lib/replace/inet_ntoa.m4 | 19 --- source/lib/replace/inet_ntop.m4 |1 - source/lib/replace/inet_pton.m4 |1 - source/lib/replace/libreplace_network.m4 | 252 +- source/lib/replace/socket.m4 | 39 - source/lib/replace/socketpair.m4 |1 - source/lib/replace/system/network.h |4 + 10 files changed, 248 insertions(+), 230 deletions(-) delete mode 100644 source/lib/replace/getaddrinfo.m4 delete mode 100644 source/lib/replace/getifaddrs.m4 delete mode 100644 source/lib/replace/inet_aton.m4 delete mode 100644 source/lib/replace/inet_ntoa.m4 delete mode 100644 source/lib/replace/inet_ntop.m4 delete mode 100644 source/lib/replace/inet_pton.m4 delete mode 100644 source/lib/replace/socket.m4 delete mode 100644 source/lib/replace/socketpair.m4 Changeset truncated at 500 lines: diff --git a/source/lib/replace/getaddrinfo.m4 b/source/lib/replace/getaddrinfo.m4 deleted file mode 100644 index bc6e69e..000 --- a/source/lib/replace/getaddrinfo.m4 +++ /dev/null @@ -1,32 +0,0 @@ -dnl test for getaddrinfo/getnameinfo -AC_CACHE_CHECK
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1532-g59faf3b
The branch, v4-0-test has been updated via 59faf3bf670140784d5698bbdc8b86afe8e188ec (commit) from 10415bb738d51afdebbfeae976923e086805ae84 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 59faf3bf670140784d5698bbdc8b86afe8e188ec Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 14 15:19:43 2008 +0200 lib/events: system/network.h isn't needed metze --- Summary of changes: source/lib/events/configure.ac |1 - source/lib/events/events_aio.c |1 - source/lib/events/events_epoll.c|1 - source/lib/events/events_standard.c |1 - 4 files changed, 0 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/events/configure.ac b/source/lib/events/configure.ac index 4eb3575..afae82d 100644 --- a/source/lib/events/configure.ac +++ b/source/lib/events/configure.ac @@ -6,7 +6,6 @@ AC_INIT(events, 1.0.0) AC_CONFIG_SRCDIR([events.c]) AC_CONFIG_HEADER(config.h) AC_LIBREPLACE_ALL_CHECKS -AC_LIBREPLACE_NETWORK_CHECKS m4_include(libtalloc.m4) diff --git a/source/lib/events/events_aio.c b/source/lib/events/events_aio.c index a041738..b1343ef 100644 --- a/source/lib/events/events_aio.c +++ b/source/lib/events/events_aio.c @@ -32,7 +32,6 @@ #include includes.h #include system/filesys.h -#include system/network.h #include lib/util/dlinklist.h #include lib/events/events.h #include lib/events/events_internal.h diff --git a/source/lib/events/events_epoll.c b/source/lib/events/events_epoll.c index 07e6615..7316f0f 100644 --- a/source/lib/events/events_epoll.c +++ b/source/lib/events/events_epoll.c @@ -28,7 +28,6 @@ #include events_util.h #endif #include system/filesys.h -#include system/network.h #include events.h #include events_internal.h #include sys/epoll.h diff --git a/source/lib/events/events_standard.c b/source/lib/events/events_standard.c index 4e41c42..017ebc0 100644 --- a/source/lib/events/events_standard.c +++ b/source/lib/events/events_standard.c @@ -35,7 +35,6 @@ #include events_util.h #endif #include system/filesys.h -#include system/network.h #include system/select.h /* needed for HAVE_EVENTS_EPOLL */ #include events.h #include events_internal.h -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1533-gece9df0
The branch, v4-0-test has been updated via ece9df0875a32f76af5af913b6a6cdd8eacf0280 (commit) from 59faf3bf670140784d5698bbdc8b86afe8e188ec (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit ece9df0875a32f76af5af913b6a6cdd8eacf0280 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 14 17:28:42 2008 +0200 Revert lib/events: system/network.h isn't needed Somehow this breaks 'make test'... This reverts commit 59faf3bf670140784d5698bbdc8b86afe8e188ec. metze --- Summary of changes: source/lib/events/configure.ac |1 + source/lib/events/events_aio.c |1 + source/lib/events/events_epoll.c|1 + source/lib/events/events_standard.c |1 + 4 files changed, 4 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/events/configure.ac b/source/lib/events/configure.ac index afae82d..4eb3575 100644 --- a/source/lib/events/configure.ac +++ b/source/lib/events/configure.ac @@ -6,6 +6,7 @@ AC_INIT(events, 1.0.0) AC_CONFIG_SRCDIR([events.c]) AC_CONFIG_HEADER(config.h) AC_LIBREPLACE_ALL_CHECKS +AC_LIBREPLACE_NETWORK_CHECKS m4_include(libtalloc.m4) diff --git a/source/lib/events/events_aio.c b/source/lib/events/events_aio.c index b1343ef..a041738 100644 --- a/source/lib/events/events_aio.c +++ b/source/lib/events/events_aio.c @@ -32,6 +32,7 @@ #include includes.h #include system/filesys.h +#include system/network.h #include lib/util/dlinklist.h #include lib/events/events.h #include lib/events/events_internal.h diff --git a/source/lib/events/events_epoll.c b/source/lib/events/events_epoll.c index 7316f0f..07e6615 100644 --- a/source/lib/events/events_epoll.c +++ b/source/lib/events/events_epoll.c @@ -28,6 +28,7 @@ #include events_util.h #endif #include system/filesys.h +#include system/network.h #include events.h #include events_internal.h #include sys/epoll.h diff --git a/source/lib/events/events_standard.c b/source/lib/events/events_standard.c index 017ebc0..4e41c42 100644 --- a/source/lib/events/events_standard.c +++ b/source/lib/events/events_standard.c @@ -35,6 +35,7 @@ #include events_util.h #endif #include system/filesys.h +#include system/network.h #include system/select.h /* needed for HAVE_EVENTS_EPOLL */ #include events.h #include events_internal.h -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1536-g718f9ce
The branch, v4-0-test has been updated via 718f9ce6889346c92894e868f0678fbe404a43ab (commit) via 652b8c5f156b357e231057a5a0fbded88f4f9c5f (commit) from 0c09d28acf42400d26cc27675e37226060de26d3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 718f9ce6889346c92894e868f0678fbe404a43ab Author: Julien Kerihuel [EMAIL PROTECTED] Date: Thu May 15 13:55:23 2008 +0200 The following patch calls the op_bind operation for an interface which context is altered by dcerpc alter_context requests. It prevents dcerpc_server from returning errors (nca_s_fault_access_denied, then nca_s_fault_context_mismatch in further client requests) and keeps the connection alive. Signed-off-by: Stefan Metzmacher [EMAIL PROTECTED] commit 652b8c5f156b357e231057a5a0fbded88f4f9c5f Author: Julien Kerihuel [EMAIL PROTECTED] Date: Thu May 15 13:54:07 2008 +0200 This patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds a const 4 bytes blob to pkt.u.fault. Signed-off-by: Stefan Metzmacher [EMAIL PROTECTED] --- Summary of changes: source/librpc/idl/dcerpc.idl |1 + source/rpc_server/dcerpc_server.c | 12 2 files changed, 13 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/librpc/idl/dcerpc.idl b/source/librpc/idl/dcerpc.idl index b2c6754..e228d85 100644 --- a/source/librpc/idl/dcerpc.idl +++ b/source/librpc/idl/dcerpc.idl @@ -116,6 +116,7 @@ interface dcerpc uint16 context_id; uint8 cancel_count; uint32 status; + [flag(NDR_REMAINING)] DATA_BLOB _pad; } dcerpc_fault; /* the auth types we know about */ diff --git a/source/rpc_server/dcerpc_server.c b/source/rpc_server/dcerpc_server.c index 1962a97..e0351bb 100644 --- a/source/rpc_server/dcerpc_server.c +++ b/source/rpc_server/dcerpc_server.c @@ -445,6 +445,7 @@ static NTSTATUS dcesrv_fault(struct dcesrv_call_state *call, uint32_t fault_code { struct ncacn_packet pkt; struct data_blob_list_item *rep; + uint8_t zeros[4]; NTSTATUS status; /* setup a bind_ack */ @@ -458,6 +459,9 @@ static NTSTATUS dcesrv_fault(struct dcesrv_call_state *call, uint32_t fault_code pkt.u.fault.cancel_count = 0; pkt.u.fault.status = fault_code; + ZERO_STRUCT(zeros); + pkt.u.fault._pad = data_blob_const(zeros, sizeof(zeros)); + rep = talloc(call, struct data_blob_list_item); if (!rep) { return NT_STATUS_NO_MEMORY; @@ -684,6 +688,7 @@ static NTSTATUS dcesrv_alter_new_context(struct dcesrv_call_state *call, uint32_ struct dcesrv_connection_context *context; const struct dcesrv_interface *iface; struct GUID uuid, *transfer_syntax_uuid; + NTSTATUS status; if_version = call-pkt.u.alter.ctx_list[0].abstract_syntax.if_version; uuid = call-pkt.u.alter.ctx_list[0].abstract_syntax.uuid; @@ -717,6 +722,13 @@ static NTSTATUS dcesrv_alter_new_context(struct dcesrv_call_state *call, uint32_ DLIST_ADD(call-conn-contexts, context); call-context = context; + if (iface) { + status = iface-bind(call, iface); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + } + return NT_STATUS_OK; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2480-g151d62d
The branch, v3-3-test has been updated via 151d62da1321322615daadabb41d049974f5fe6a (commit) via cd37fdb2401bfd6c23160e34f03238faa1f5cbd3 (commit) via dbbc05c87ba2b2d9b3247cfba58bc1a3f12ad4f5 (commit) via 734ade407ed8d5b61a831509c3efc90fc521fe1b (commit) via d7038405d68eb3c69ef10f63ce37db838eb44b7a (commit) via 2f43e282e0fa723dd62e3b28e529c6eb01ef5b8a (commit) via 9aa0f6626d6a69ceeb8bb4ea71ea3d4a6157d101 (commit) via b078ae2b56c9a932655ef619a7af5ce0aeb904dd (commit) via 438ddd9c81e74e3042154cf5f0416043ee6a8c35 (commit) via 7669daa9f536b73a0b933a3d3fcac68c1771dc15 (commit) via 09632f9694599e626e889e54310383878c51413f (commit) via c48b2d8679dd139323936af68b48707c5a9f500c (commit) via 6f5f736867a3c5b8c7e6f4e73b031e36783ed1bc (commit) via 104316884576a2d904d9d8b2d7c1e0dc80817b66 (commit) via a3d675a7738cc04bb765064a060780198721d94a (commit) via 0c9b24e1e75c5c10d3f3baafb80c5c27bb7e4c78 (commit) via 0987c32645e4851badab4c1daffb4ee7982ea153 (commit) via 2a3ddc23cc8d050dfe5b4e1c0e139a7c97cc3b59 (commit) via 8a241cf150fba787c82cbcb03730083ced442fbb (commit) from f8883107499ca48db9b0e63718d1d8e384535833 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 151d62da1321322615daadabb41d049974f5fe6a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 11:01:09 2008 +0200 libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6 metze (cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087) commit cd37fdb2401bfd6c23160e34f03238faa1f5cbd3 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:39:41 2008 +0200 libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used metze (cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab) commit dbbc05c87ba2b2d9b3247cfba58bc1a3f12ad4f5 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:32:19 2008 +0200 libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars metze (cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28) commit 734ade407ed8d5b61a831509c3efc90fc521fe1b Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:27:23 2008 +0200 libreplace: include inet_ntoa.o when the system one is broken metze (cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334) commit d7038405d68eb3c69ef10f63ce37db838eb44b7a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:08:42 2008 +0200 libreplace: merge getifaddrs.m4 into libreplace_network.m4 metze (cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90) commit 2f43e282e0fa723dd62e3b28e529c6eb01ef5b8a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:06:39 2008 +0200 libreplace: merge getaddrinfo.m4 into libreplace_network.m4 metze (cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43) commit 9aa0f6626d6a69ceeb8bb4ea71ea3d4a6157d101 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:04:51 2008 +0200 libreplace: merge socketpair.m4 into libreplace_network.m4 metze (cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad) commit b078ae2b56c9a932655ef619a7af5ce0aeb904dd Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:02:21 2008 +0200 libreplace: merge inet_pton.m4 into libreplace_network.m4 metze (cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d) commit 438ddd9c81e74e3042154cf5f0416043ee6a8c35 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:00:58 2008 +0200 libreplace: merge inet_ntop.m4 into libreplace_network.m4 metze (cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce) commit 7669daa9f536b73a0b933a3d3fcac68c1771dc15 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:59:16 2008 +0200 libreplace: merge inet_aton.m4 into libreplace_network.m4 metze (cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f) commit 09632f9694599e626e889e54310383878c51413f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:58:07 2008 +0200 libreplace: merge inet_ntoa.m4 into libreplace_network.m4 metze (cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0) commit c48b2d8679dd139323936af68b48707c5a9f500c Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:56:10 2008 +0200 libreplace: merge socket.m4 into libreplace_network.m4 metze (cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f) commit 6f5f736867a3c5b8c7e6f4e73b031e36783ed1bc Author: Jelmer Vernooij [EMAIL PROTECTED] Date: Thu May 8 13:43:45
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2351-g9f93182
The branch, v3-2-test has been updated via 9f931829aaeda8004e7ee3b8b2ac9ddaab8bffb7 (commit) via 0b26742234467ac1dcfda059e81a35a1cd5e96ed (commit) via 84daf26558f675fd07e3ac9a699e06801814e393 (commit) via c44c0636ade08751edc7dce4ea0e2a2279aa0eac (commit) via 3ed6f285eca540d6c58aac84c6f50f949519b742 (commit) via c5df0a4faffdd16c3fb3ecdc5720842d6fe49e55 (commit) via 3adda27f3eecb5ea027c35e974e3b6bb5fe3b83e (commit) via 784b37987c51806b225371ea1f1bdc416de3dfd1 (commit) via 97483e2830971d34ef0775159bfd07402e3d284e (commit) via b90a6c5cbf2912c9cc2961de4efc880502a3441e (commit) via 66126edaf425ccdfc5bed90252493235878d4fc1 (commit) via 236ce0ac6f949c2dd42f5df06e39af69b779d61e (commit) via 7a3cb33c6d9d1490f55abd6421bab89b34b2 (commit) via fdf2a94583949150fd426f44cd33265fc6fd9d6e (commit) via f7d298760d9822d7a437507a49f2140352212411 (commit) via 7adf41795027dba9648912373220fa0dcf9bb42a (commit) via a004b38a953d64e77b58bdb99d0af946e2cae2cf (commit) via a7969f94f854594dbe6ef3ff630e242d27ad618e (commit) via cde0db60402a69a05dea51b5b8f01789e93406e7 (commit) via 1c01674624db5a2dae3afe9ba213a69c2ee2efda (commit) from 5c260c9f66c5f5f558516a4f97bcfcb86059efa3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 9f931829aaeda8004e7ee3b8b2ac9ddaab8bffb7 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 11:01:09 2008 +0200 libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6 metze (cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087) commit 0b26742234467ac1dcfda059e81a35a1cd5e96ed Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:39:41 2008 +0200 libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used metze (cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab) commit 84daf26558f675fd07e3ac9a699e06801814e393 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:32:19 2008 +0200 libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars metze (cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28) commit c44c0636ade08751edc7dce4ea0e2a2279aa0eac Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:27:23 2008 +0200 libreplace: include inet_ntoa.o when the system one is broken metze (cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334) commit 3ed6f285eca540d6c58aac84c6f50f949519b742 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:08:42 2008 +0200 libreplace: merge getifaddrs.m4 into libreplace_network.m4 metze (cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90) commit c5df0a4faffdd16c3fb3ecdc5720842d6fe49e55 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:06:39 2008 +0200 libreplace: merge getaddrinfo.m4 into libreplace_network.m4 metze (cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43) commit 3adda27f3eecb5ea027c35e974e3b6bb5fe3b83e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:04:51 2008 +0200 libreplace: merge socketpair.m4 into libreplace_network.m4 metze (cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad) commit 784b37987c51806b225371ea1f1bdc416de3dfd1 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:02:21 2008 +0200 libreplace: merge inet_pton.m4 into libreplace_network.m4 metze (cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d) commit 97483e2830971d34ef0775159bfd07402e3d284e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 10:00:58 2008 +0200 libreplace: merge inet_ntop.m4 into libreplace_network.m4 metze (cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce) commit b90a6c5cbf2912c9cc2961de4efc880502a3441e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:59:16 2008 +0200 libreplace: merge inet_aton.m4 into libreplace_network.m4 metze (cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f) commit 66126edaf425ccdfc5bed90252493235878d4fc1 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:58:07 2008 +0200 libreplace: merge inet_ntoa.m4 into libreplace_network.m4 metze (cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0) commit 236ce0ac6f949c2dd42f5df06e39af69b779d61e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 8 09:56:10 2008 +0200 libreplace: merge socket.m4 into libreplace_network.m4 metze (cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f) commit 7a3cb33c6d9d1490f55abd6421bab89b34b2 Author
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1537-g5ca4f76
The branch, v4-0-test has been updated via 5ca4f76703485d68b1aa6b38beaf208555c0cbfe (commit) from 718f9ce6889346c92894e868f0678fbe404a43ab (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 5ca4f76703485d68b1aa6b38beaf208555c0cbfe Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 14:40:56 2008 +0200 build: readd ALL_OBJS which is needed for automatic_dependencies metze --- Summary of changes: source/build/smb_build/makefile.pm |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm index 43c4252..4c375ce 100644 --- a/source/build/smb_build/makefile.pm +++ b/source/build/smb_build/makefile.pm @@ -238,6 +238,8 @@ sub write($$) $self-_prepare_mk_files(); + $self-output(ALL_OBJS = . array2oneperline($self-{all_objs}) . \n); + open(MAKEFILE,$file) || die (Can't open $file\n); print MAKEFILE $self-{output}; close(MAKEFILE); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1546-g7f26a54
The branch, v4-0-test has been updated via 7f26a5425e706a97cc07c5139b3fea4fde9e4020 (commit) via 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad (commit) via e674128ee2f11596f358ed46104c9d25eb2f754f (commit) via 1c7905cfb4c77edeb24ac612a544e777cf49e184 (commit) from fc3bc3c4a85b0e0ba853f3208a4e934a733cfdc4 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:46:10 2008 +0200 lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS metze commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:30:49 2008 +0200 lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace metze commit e674128ee2f11596f358ed46104c9d25eb2f754f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:29:21 2008 +0200 lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET Moved from the samba specific locations metze commit 1c7905cfb4c77edeb24ac612a544e777cf49e184 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:13:11 2008 +0200 lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL metze --- Summary of changes: source/build/tests/unixsock.c| 93 -- source/lib/replace/libreplace.m4 |1 - source/lib/replace/libreplace_network.m4 | 41 + source/lib/socket/config.m4 | 38 +--- 4 files changed, 44 insertions(+), 129 deletions(-) delete mode 100644 source/build/tests/unixsock.c Changeset truncated at 500 lines: diff --git a/source/build/tests/unixsock.c b/source/build/tests/unixsock.c deleted file mode 100644 index f2765d6..000 --- a/source/build/tests/unixsock.c +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- c-file-style: linux -*- - * - * Try creating a Unix-domain socket, opening it, and reading from it. - * The POSIX name for these is AF_LOCAL/PF_LOCAL. - * - * This is used by the Samba autoconf scripts to detect systems which - * don't have Unix-domain sockets, such as (probably) VMS, or systems - * on which they are broken under some conditions, such as RedHat 7.0 - * (unpatched). We can't build WinBind there at the moment. - * - * Coding standard says to always use exit() for this, not return, so - * we do. - * - * Martin Pool [EMAIL PROTECTED], June 2000. */ - -/* TODO: Look for AF_LOCAL (most standard), AF_UNIX, and AF_FILE. */ - -#include stdio.h - -#ifdef HAVE_SYS_SOCKET_H -# include sys/socket.h -#endif - -#ifdef HAVE_SYS_UN_H -# include sys/un.h -#endif - -#ifdef HAVE_SYS_TYPES_H -# include sys/types.h -#endif - -#if HAVE_SYS_WAIT_H -# include sys/wait.h -#endif - -#if HAVE_ERRNO_DECL -# include errno.h -#else -extern int errno; -#endif - -static int bind_socket(char const *filename) -{ - int sock_fd; - struct sockaddr_un name; - size_t size; - - /* Create the socket. */ - if ((sock_fd = socket(PF_LOCAL, SOCK_STREAM, 0)) 0) { - perror (socket(PF_LOCAL, SOCK_STREAM)); - exit(1); - } - - /* Bind a name to the socket. */ - name.sun_family = AF_LOCAL; - strncpy(name.sun_path, filename, sizeof (name.sun_path)); - - /* The size of the address is - the offset of the start of the filename, - plus its length, - plus one for the terminating null byte. - Alternatively you can just do: - size = SUN_LEN (name); - */ - size = SUN_LEN(name); - /* XXX: This probably won't work on unfriendly libcs */ - - if (bind(sock_fd, (struct sockaddr *) name, size) 0) { - perror (bind); - exit(1); - } - - return sock_fd; -} - - -int main(void) -{ - int sock_fd; - int kid; - char const *filename = conftest.unixsock.sock; - - /* abolish hanging */ - alarm(15); /* secs */ - - if ((sock_fd = bind_socket(filename)) 0) - exit(1); - - /* the socket will be deleted when autoconf cleans up these - files. */ - - exit(0); -} diff --git a/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4 index 2b33d97..6a85ff5 100644 --- a/source/lib/replace/libreplace.m4 +++ b/source/lib/replace/libreplace.m4 @@ -96,7 +96,6 @@ fi AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(sys/time.h time.h) AC_CHECK_HEADERS(stdarg.h vararg.h) -AC_CHECK_HEADERS(sys/sockio.h sys/un.h) AC_CHECK_HEADERS(sys/mount.h mntent.h) AC_CHECK_HEADERS(stropts.h) diff --git a/source/lib/replace/libreplace_network.m4 b/source
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1548-g91e9062
The branch, v4-0-test has been updated via 91e9062265a68e3a1fe5e092503ec44ae5ea034e (commit) via 3777d0307b346bcf363ab5ad783e802682034a9a (commit) from 7f26a5425e706a97cc07c5139b3fea4fde9e4020 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 91e9062265a68e3a1fe5e092503ec44ae5ea034e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Sat May 17 00:01:05 2008 +0200 smbd: pass down lp_ctx to stream_new_connection_merge() metze commit 3777d0307b346bcf363ab5ad783e802682034a9a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Sat May 17 00:02:28 2008 +0200 smbd: add session_info to struct stream_connection NULL represents an anoymous connection, as that's cheaper than always calling auth_anonymous_session_info(), That means if the caller wants to use the transport layer session_info he should call auth_anonymous_session_info() to create the session info. metze --- Summary of changes: source/smbd/service_stream.c |2 ++ source/smbd/service_stream.h |6 ++ source/wrepl_server/wrepl_in_connection.c |2 +- 3 files changed, 9 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/smbd/service_stream.c b/source/smbd/service_stream.c index 9f744ef..e27d87e 100644 --- a/source/smbd/service_stream.c +++ b/source/smbd/service_stream.c @@ -119,6 +119,7 @@ void stream_io_handler_callback(void *private, uint16_t flags) a server connection */ NTSTATUS stream_new_connection_merge(struct event_context *ev, +struct loadparm_context *lp_ctx, const struct model_ops *model_ops, struct socket_context *sock, const struct stream_server_ops *stream_ops, @@ -140,6 +141,7 @@ NTSTATUS stream_new_connection_merge(struct event_context *ev, srv_conn-ops = stream_ops; srv_conn-msg_ctx = msg_ctx; srv_conn-event.ctx = ev; + srv_conn-lp_ctx= lp_ctx; srv_conn-event.fde = event_add_fd(ev, srv_conn, socket_get_fd(sock), EVENT_FD_READ, stream_io_handler_fde, srv_conn); diff --git a/source/smbd/service_stream.h b/source/smbd/service_stream.h index 04d23a5..d57a54c 100644 --- a/source/smbd/service_stream.h +++ b/source/smbd/service_stream.h @@ -50,6 +50,12 @@ struct stream_connection { struct messaging_context *msg_ctx; struct loadparm_context *lp_ctx; + /* +* this transport layer session info, normally NULL +* which means the same as an anonymous session info +*/ + struct auth_session_info *session_info; + bool processing; const char *terminate; }; diff --git a/source/wrepl_server/wrepl_in_connection.c b/source/wrepl_server/wrepl_in_connection.c index 34d94d7..2522748 100644 --- a/source/wrepl_server/wrepl_in_connection.c +++ b/source/wrepl_server/wrepl_in_connection.c @@ -230,7 +230,7 @@ NTSTATUS wreplsrv_in_connection_merge(struct wreplsrv_partner *partner, wrepl_in-service = service; wrepl_in-partner = partner; - status = stream_new_connection_merge(service-task-event_ctx, model_ops, + status = stream_new_connection_merge(service-task-event_ctx, service-task-lp_ctx, model_ops, sock, wreplsrv_stream_ops, service-task-msg_ctx, wrepl_in, conn); NT_STATUS_NOT_OK_RETURN(status); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2492-g6b782b5
The branch, v3-3-test has been updated via 6b782b58971cbbe56ead5d7e8db6eb8c3526e8ee (commit) via d81e58597e0ecdcf1ce6d8d71071fbf5d50670c2 (commit) via c97ff995e41d1cd31a7169e95ca415078da4a16c (commit) via ca163ff81a3f5d8303d45baa048850dfbc72a6a8 (commit) via 951b8c757ada337229a4efe81e6532d15fa0b63a (commit) via dddc4f0cef8ea71783fa7f7b68ec9ad3f29f7add (commit) from 93111ea0a1191e8547ad6cf112e2699d3bb3799b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 6b782b58971cbbe56ead5d7e8db6eb8c3526e8ee Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:50:16 2008 +0200 configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests metze commit d81e58597e0ecdcf1ce6d8d71071fbf5d50670c2 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:48:57 2008 +0200 configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS metze commit c97ff995e41d1cd31a7169e95ca415078da4a16c Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:46:10 2008 +0200 lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) commit ca163ff81a3f5d8303d45baa048850dfbc72a6a8 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:33:11 2008 +0200 configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace metze commit 951b8c757ada337229a4efe81e6532d15fa0b63a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:29:21 2008 +0200 lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET Moved from the samba specific locations metze (cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f) commit dddc4f0cef8ea71783fa7f7b68ec9ad3f29f7add Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:16:05 2008 +0200 configure: remove unused configure check for HAVE_WORKING_AF_LOCAL metze --- Summary of changes: source/configure.in | 85 ++- source/lib/replace/libreplace.m4 |1 - source/lib/replace/libreplace_network.m4 | 41 + source/tests/unixsock.c | 93 -- 4 files changed, 47 insertions(+), 173 deletions(-) delete mode 100644 source/tests/unixsock.c Changeset truncated at 500 lines: diff --git a/source/configure.in b/source/configure.in index bc36ced..b969b68 100644 --- a/source/configure.in +++ b/source/configure.in @@ -664,17 +664,16 @@ done AC_SUBST(LIBREPLACE_OBJS) # add -ldl to the global LIBS -LIBS=${LIBS} ${LIBDL} +LIBS=${LIBS} ${LIBDL} ${LIBREPLACE_NETWORK_LIBS} -AC_CHECK_HEADERS(aio.h arpa/inet.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h rpc/nettype.h) +AC_CHECK_HEADERS(aio.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h rpc/nettype.h) AC_CHECK_HEADERS(unistd.h utime.h grp.h sys/id.h memory.h alloca.h) AC_CHECK_HEADERS(limits.h float.h pthread.h) AC_CHECK_HEADERS(rpc/rpc.h rpcsvc/nis.h rpcsvc/ypclnt.h) AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h) -AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h sys/socket.h) -AC_CHECK_HEADERS(sys/un.h ifaddrs.h) +AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h) AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h) -AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h sys/sockio.h) +AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h) AC_CHECK_HEADERS(sys/sysmacros.h) AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(langinfo.h locale.h) @@ -806,24 +805,6 @@ if test x$samba_cv_optimize_out_funcation_calls = xyes; then AC_DEFINE(HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS,1,[Whether the compiler will optimize out function calls]) fi - -# check for unix domain sockets -AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [ -AC_TRY_COMPILE([ -#include sys/types.h -#include stdlib.h -#include stddef.h -#include sys/socket.h -#include sys/un.h], -[ - struct sockaddr_un sunaddr; - sunaddr.sun_family = AF_UNIX; -], - samba_cv_unixsocket=yes,samba_cv_unixsocket=no)]) -if test x$samba_cv_unixsocket = xyes; then - AC_DEFINE(HAVE_UNIXSOCKET,1,[If we need to build with unixsocket support]) -fi - # # check for fd passing struct via msg_control AC_CACHE_CHECK([for fd passing via msg_control
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2358-g4b48442
The branch, v3-2-test has been updated via 4b484426f52d5ed37af117f5ade63816f1c9b0ea (commit) via d4bf447361bd52546c6944fbf6ee96637aa725ed (commit) via 4bb7873cf0ddc8832fa94baeb6a817e4783e30f4 (commit) via ff5cecdec74cd58ef64e166b5d7a55584afa23f6 (commit) via c403965f5723177b42f393df20a29b07dceae1cb (commit) via 0aef5ed43b81e0cb9b19f21125f270016a311f58 (commit) from 31be11bbc373297c306b7aed1a7a35883e5e5136 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 4b484426f52d5ed37af117f5ade63816f1c9b0ea Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:50:16 2008 +0200 configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests metze commit d4bf447361bd52546c6944fbf6ee96637aa725ed Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:48:57 2008 +0200 configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS metze commit 4bb7873cf0ddc8832fa94baeb6a817e4783e30f4 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:46:10 2008 +0200 lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) commit ff5cecdec74cd58ef64e166b5d7a55584afa23f6 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:33:11 2008 +0200 configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace metze commit c403965f5723177b42f393df20a29b07dceae1cb Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:29:21 2008 +0200 lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET Moved from the samba specific locations metze (cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f) commit 0aef5ed43b81e0cb9b19f21125f270016a311f58 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 16 12:16:05 2008 +0200 configure: remove unused configure check for HAVE_WORKING_AF_LOCAL metze --- Summary of changes: source/configure.in | 85 ++- source/lib/replace/libreplace.m4 |1 - source/lib/replace/libreplace_network.m4 | 41 + source/tests/unixsock.c | 93 -- 4 files changed, 47 insertions(+), 173 deletions(-) delete mode 100644 source/tests/unixsock.c Changeset truncated at 500 lines: diff --git a/source/configure.in b/source/configure.in index 11e4af1..46148e4 100644 --- a/source/configure.in +++ b/source/configure.in @@ -663,17 +663,16 @@ done AC_SUBST(LIBREPLACE_OBJS) # add -ldl to the global LIBS -LIBS=${LIBS} ${LIBDL} +LIBS=${LIBS} ${LIBDL} ${LIBREPLACE_NETWORK_LIBS} -AC_CHECK_HEADERS(aio.h arpa/inet.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h rpc/nettype.h) +AC_CHECK_HEADERS(aio.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h rpc/nettype.h) AC_CHECK_HEADERS(unistd.h utime.h grp.h sys/id.h memory.h alloca.h) AC_CHECK_HEADERS(limits.h float.h pthread.h) AC_CHECK_HEADERS(rpc/rpc.h rpcsvc/nis.h rpcsvc/ypclnt.h) AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h) -AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h sys/socket.h) -AC_CHECK_HEADERS(sys/un.h ifaddrs.h) +AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h) AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h) -AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h sys/sockio.h) +AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h) AC_CHECK_HEADERS(sys/sysmacros.h) AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(langinfo.h locale.h) @@ -805,24 +804,6 @@ if test x$samba_cv_optimize_out_funcation_calls = xyes; then AC_DEFINE(HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS,1,[Whether the compiler will optimize out function calls]) fi - -# check for unix domain sockets -AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [ -AC_TRY_COMPILE([ -#include sys/types.h -#include stdlib.h -#include stddef.h -#include sys/socket.h -#include sys/un.h], -[ - struct sockaddr_un sunaddr; - sunaddr.sun_family = AF_UNIX; -], - samba_cv_unixsocket=yes,samba_cv_unixsocket=no)]) -if test x$samba_cv_unixsocket = xyes; then - AC_DEFINE(HAVE_UNIXSOCKET,1,[If we need to build with unixsocket support]) -fi - # # check for fd passing struct via msg_control AC_CACHE_CHECK([for fd passing via msg_control
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1585-gcc07bd8
The branch, v4-0-test has been updated via cc07bd86e270c8016acd0f685d699e4a3e63cfb1 (commit) from b4613e81351fa0477d0c76a19fb0474a79f8689f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Mon May 19 14:15:15 2008 +0200 build: only add enabled subsystems and modules to ALL_OBJS metze --- Summary of changes: source/build/smb_build/main.pl |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/build/smb_build/main.pl b/source/build/smb_build/main.pl index 3ff34ee..b31bfaa 100644 --- a/source/build/smb_build/main.pl +++ b/source/build/smb_build/main.pl @@ -55,6 +55,7 @@ my $mkenv = new smb_build::makefile(\%config::config, $mkfile); my $shared_libs_used = 0; foreach my $key (values %$OUTPUT) { + next if ($key-{ENABLE} ne YES); push(@{$mkenv-{all_objs}}, \$($key-{NAME}_OBJ_FILES)); } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1677-g76be51d
The branch, v4-0-test has been updated via 76be51d3a08e2239a137b8abe3f2df722f69ddb2 (commit) via e835e7eebcc064ce0813814796828f15ad112fbd (commit) from c0a84c2b4698f6ac9b555cc74bed52e5930804d9 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 76be51d3a08e2239a137b8abe3f2df722f69ddb2 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 21:28:59 2008 +0200 lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS metze commit e835e7eebcc064ce0813814796828f15ad112fbd Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 21:27:45 2008 +0200 libreplace: add test for HAVE_IPV6 Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze --- Summary of changes: source/lib/replace/libreplace_network.m4 | 29 + source/lib/socket/config.m4 | 16 +--- 2 files changed, 34 insertions(+), 11 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index f2d177b..6cde6b9 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -339,6 +339,35 @@ if test x$libreplace_cv_HAVE_IFACE_IFREQ = xyes; then fi fi +dnl test for ipv6 +AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ + AC_TRY_COMPILE([ +#include stdlib.h /* for NULL */ +#include sys/socket.h +#include sys/types.h +#include netdb.h + ], + [ +struct sockaddr_storage sa_store; +struct addrinfo *ai = NULL; +struct in6_addr in6addr; +int idx = if_nametoindex(iface1); +int s = socket(AF_INET6, SOCK_STREAM, 0); +int ret = getaddrinfo(NULL, NULL, NULL, ai); +if (ret != 0) { + const char *es = gai_strerror(ret); +} +freeaddrinfo(ai); + ],[ + libreplace_cv_HAVE_IPV6=yes + ],[ + libreplace_cv_HAVE_IPV6=no + ]) +]) +if test x$libreplace_cv_HAVE_IPV6 = xyes; then +AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) +fi + LIBS=$old_LIBS CPPFLAGS=$SAVE_CPPFLAGS diff --git a/source/lib/socket/config.m4 b/source/lib/socket/config.m4 index 871c57f..9c0072d 100644 --- a/source/lib/socket/config.m4 +++ b/source/lib/socket/config.m4 @@ -1,5 +1,6 @@ AC_CHECK_FUNCS(writev) AC_CHECK_FUNCS(readv) +AC_CHECK_FUNCS(gethostbyname2) # check for unix domain sockets @@ -9,17 +10,10 @@ if test x$libreplace_cv_HAVE_UNIXSOCKET = xyes; then SMB_ENABLE(socket_unix, YES) fi -dnl test for ipv6 using the gethostbyname2() function. That should be sufficient -dnl for now -AC_CHECK_FUNCS(gethostbyname2, have_ipv6=true, have_ipv6=false) + +# check for ipv6 +# done by AC_LIBREPLACE_NETWORK_CHECKS SMB_ENABLE(socket_ipv6, NO) -if $have_ipv6 = true; then +if test x$libreplace_cv_HAVE_IPV6 = xyes; then SMB_ENABLE(socket_ipv6, YES) -AC_DEFINE(HAVE_IPV6,1,[Whether the system has ipv6 support]) fi -dnl don't build ipv6 by default, unless the above test enables it, or -dnl the configure uses --with-static-modules=socket_ipv6 - - - - -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2559-gd53b589d
The branch, v3-3-test has been updated via d53b589debdb95d3ae46e6b45c6951f522ccc5a1 (commit) via e94ff756be627b40c433cb53547007a5c219cc9e (commit) via 1ca4508f3a996982a528942da1b12b94b91e94cd (commit) from 9971118c23900d81e885a013e738a67df790c90c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit d53b589debdb95d3ae46e6b45c6951f522ccc5a1 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 22:32:21 2008 +0200 configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET metze commit e94ff756be627b40c433cb53547007a5c219cc9e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 22:31:08 2008 +0200 configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this metze commit 1ca4508f3a996982a528942da1b12b94b91e94cd Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 21:27:45 2008 +0200 libreplace: add test for HAVE_IPV6 Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze (cherry picked from commit e835e7eebcc064ce0813814796828f15ad112fbd) --- Summary of changes: source/configure.in | 25 + source/lib/replace/libreplace_network.m4 | 29 + 2 files changed, 30 insertions(+), 24 deletions(-) Changeset truncated at 500 lines: diff --git a/source/configure.in b/source/configure.in index f2691c4..d63ef61 100644 --- a/source/configure.in +++ b/source/configure.in @@ -2609,29 +2609,6 @@ SMB_CHECK_SYSCONF(_SC_NPROCESSORS_ONLN) SMB_CHECK_SYSCONF(_SC_PAGESIZE) AC_CHECK_FUNCS(getpagesize) -dnl test for ipv6 -AC_CACHE_CHECK([for ipv6 support],samba_cv_HAVE_IPV6,[ -AC_TRY_COMPILE([ -#include stdlib.h /* for NULL */ -#include sys/socket.h -#include sys/types.h -#include netdb.h], -[ -struct sockaddr_storage sa_store; -struct addrinfo *ai = NULL; -struct in6_addr in6addr; -int s = socket(AF_INET6, SOCK_STREAM, 0); -int ret = getaddrinfo(NULL, NULL, NULL, ai); -if (ret != 0) { - const char *es = gai_strerror(ret); -} -freeaddrinfo(ai); -], -samba_cv_HAVE_IPV6=yes,samba_cv_HAVE_IPV6=no)]) -if test x$samba_cv_HAVE_IPV6 = xyes; then -AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) -fi - # look for a method of setting the effective uid seteuid=no; @@ -5722,7 +5699,7 @@ AC_ARG_WITH(winbind, # We need unix domain sockets for winbind if test x$HAVE_WINBIND = xyes; then - if test x$samba_cv_unixsocket = xno; then + if test x$libreplace_cv_HAVE_UNIXSOCKET = xno; then winbind_no_reason=, no unix domain socket support on $host_os HAVE_WINBIND=no fi diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index f2d177b..6cde6b9 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -339,6 +339,35 @@ if test x$libreplace_cv_HAVE_IFACE_IFREQ = xyes; then fi fi +dnl test for ipv6 +AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ + AC_TRY_COMPILE([ +#include stdlib.h /* for NULL */ +#include sys/socket.h +#include sys/types.h +#include netdb.h + ], + [ +struct sockaddr_storage sa_store; +struct addrinfo *ai = NULL; +struct in6_addr in6addr; +int idx = if_nametoindex(iface1); +int s = socket(AF_INET6, SOCK_STREAM, 0); +int ret = getaddrinfo(NULL, NULL, NULL, ai); +if (ret != 0) { + const char *es = gai_strerror(ret); +} +freeaddrinfo(ai); + ],[ + libreplace_cv_HAVE_IPV6=yes + ],[ + libreplace_cv_HAVE_IPV6=no + ]) +]) +if test x$libreplace_cv_HAVE_IPV6 = xyes; then +AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) +fi + LIBS=$old_LIBS CPPFLAGS=$SAVE_CPPFLAGS -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2397-g5967d2a
The branch, v3-2-test has been updated via 5967d2a5d6e9547d868bd85e3f3d3936bbd07fa9 (commit) via c03fa242403fe28bc2b6ea84834457ce2410d3ca (commit) via 757071e59e4c1be0971b68d33833c621ed6bf361 (commit) from c30932e79390307790c70bf0b0addc8a160dbbaf (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 5967d2a5d6e9547d868bd85e3f3d3936bbd07fa9 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 22:32:21 2008 +0200 configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET metze commit c03fa242403fe28bc2b6ea84834457ce2410d3ca Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 22:31:08 2008 +0200 configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this metze commit 757071e59e4c1be0971b68d33833c621ed6bf361 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Wed May 21 21:27:45 2008 +0200 libreplace: add test for HAVE_IPV6 Samba can later just check libreplace_cv_HAVE_IPV6 = yes. metze (cherry picked from commit e835e7eebcc064ce0813814796828f15ad112fbd) --- Summary of changes: source/configure.in | 25 + source/lib/replace/libreplace_network.m4 | 29 + 2 files changed, 30 insertions(+), 24 deletions(-) Changeset truncated at 500 lines: diff --git a/source/configure.in b/source/configure.in index f941f58..8971945 100644 --- a/source/configure.in +++ b/source/configure.in @@ -2608,29 +2608,6 @@ SMB_CHECK_SYSCONF(_SC_NPROCESSORS_ONLN) SMB_CHECK_SYSCONF(_SC_PAGESIZE) AC_CHECK_FUNCS(getpagesize) -dnl test for ipv6 -AC_CACHE_CHECK([for ipv6 support],samba_cv_HAVE_IPV6,[ -AC_TRY_COMPILE([ -#include stdlib.h /* for NULL */ -#include sys/socket.h -#include sys/types.h -#include netdb.h], -[ -struct sockaddr_storage sa_store; -struct addrinfo *ai = NULL; -struct in6_addr in6addr; -int s = socket(AF_INET6, SOCK_STREAM, 0); -int ret = getaddrinfo(NULL, NULL, NULL, ai); -if (ret != 0) { - const char *es = gai_strerror(ret); -} -freeaddrinfo(ai); -], -samba_cv_HAVE_IPV6=yes,samba_cv_HAVE_IPV6=no)]) -if test x$samba_cv_HAVE_IPV6 = xyes; then -AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) -fi - # look for a method of setting the effective uid seteuid=no; @@ -5718,7 +5695,7 @@ AC_ARG_WITH(winbind, # We need unix domain sockets for winbind if test x$HAVE_WINBIND = xyes; then - if test x$samba_cv_unixsocket = xno; then + if test x$libreplace_cv_HAVE_UNIXSOCKET = xno; then winbind_no_reason=, no unix domain socket support on $host_os HAVE_WINBIND=no fi diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index f2d177b..6cde6b9 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -339,6 +339,35 @@ if test x$libreplace_cv_HAVE_IFACE_IFREQ = xyes; then fi fi +dnl test for ipv6 +AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ + AC_TRY_COMPILE([ +#include stdlib.h /* for NULL */ +#include sys/socket.h +#include sys/types.h +#include netdb.h + ], + [ +struct sockaddr_storage sa_store; +struct addrinfo *ai = NULL; +struct in6_addr in6addr; +int idx = if_nametoindex(iface1); +int s = socket(AF_INET6, SOCK_STREAM, 0); +int ret = getaddrinfo(NULL, NULL, NULL, ai); +if (ret != 0) { + const char *es = gai_strerror(ret); +} +freeaddrinfo(ai); + ],[ + libreplace_cv_HAVE_IPV6=yes + ],[ + libreplace_cv_HAVE_IPV6=no + ]) +]) +if test x$libreplace_cv_HAVE_IPV6 = xyes; then +AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) +fi + LIBS=$old_LIBS CPPFLAGS=$SAVE_CPPFLAGS -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1696-g84b5652
The branch, v4-0-test has been updated via 84b5652d3e5766521436e4c7d59615b08b2bb198 (commit) from 761e667e45475d3a7d5a41558b400ba4c94c4650 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 84b5652d3e5766521436e4c7d59615b08b2bb198 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 15:00:19 2008 +0200 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected metze --- Summary of changes: source/lib/replace/libreplace_network.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 6cde6b9..4edb55c 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -341,7 +341,7 @@ fi dnl test for ipv6 AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ - AC_TRY_COMPILE([ + AC_TRY_LINK([ #include stdlib.h /* for NULL */ #include sys/socket.h #include sys/types.h -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2560-gb28b63c
The branch, v3-3-test has been updated via b28b63c911efe17ba37c15c9b74edd96e9584832 (commit) from d53b589debdb95d3ae46e6b45c6951f522ccc5a1 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit b28b63c911efe17ba37c15c9b74edd96e9584832 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 15:00:19 2008 +0200 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) --- Summary of changes: source/lib/replace/libreplace_network.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 6cde6b9..4edb55c 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -341,7 +341,7 @@ fi dnl test for ipv6 AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ - AC_TRY_COMPILE([ + AC_TRY_LINK([ #include stdlib.h /* for NULL */ #include sys/socket.h #include sys/types.h -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2398-gf7e0bff
The branch, v3-2-test has been updated via f7e0bff88a23be0e7cbbd7eab60ed49bcdda04fa (commit) from 5967d2a5d6e9547d868bd85e3f3d3936bbd07fa9 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit f7e0bff88a23be0e7cbbd7eab60ed49bcdda04fa Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 15:00:19 2008 +0200 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) --- Summary of changes: source/lib/replace/libreplace_network.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 6cde6b9..4edb55c 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -341,7 +341,7 @@ fi dnl test for ipv6 AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[ - AC_TRY_COMPILE([ + AC_TRY_LINK([ #include stdlib.h /* for NULL */ #include sys/socket.h #include sys/types.h -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2561-g87fa2f4
The branch, v3-3-test has been updated via 87fa2f4a287eccb596d803096c10c3d58a253452 (commit) from b28b63c911efe17ba37c15c9b74edd96e9584832 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 87fa2f4a287eccb596d803096c10c3d58a253452 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 16:14:51 2008 +0200 library-versions: use the same version for talloc and tdb as for the standalone builds metze --- Summary of changes: source/library-versions.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/library-versions.in b/source/library-versions.in index e8ef064..e7ef522 100644 --- a/source/library-versions.in +++ b/source/library-versions.in @@ -2,8 +2,8 @@ ## Basic script for defining the major and minor library revision numbers ## Makefile_target:major:minor ## -bin/[EMAIL PROTECTED]@:1:0 -bin/[EMAIL PROTECTED]@:0:1 +bin/[EMAIL PROTECTED]@:1:2 +bin/[EMAIL PROTECTED]@:1:1 bin/[EMAIL PROTECTED]@:0:1 bin/[EMAIL PROTECTED]@:0:2 bin/[EMAIL PROTECTED]@:0:1 -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2399-g79e90f6
The branch, v3-2-test has been updated via 79e90f6c5efe97d6671f4def8cc0ffd2f93f48e8 (commit) from f7e0bff88a23be0e7cbbd7eab60ed49bcdda04fa (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 79e90f6c5efe97d6671f4def8cc0ffd2f93f48e8 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 16:14:51 2008 +0200 library-versions: use the same version for talloc and tdb as for the standalone builds metze --- Summary of changes: source/library-versions.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/library-versions.in b/source/library-versions.in index e8ef064..e7ef522 100644 --- a/source/library-versions.in +++ b/source/library-versions.in @@ -2,8 +2,8 @@ ## Basic script for defining the major and minor library revision numbers ## Makefile_target:major:minor ## -bin/[EMAIL PROTECTED]@:1:0 -bin/[EMAIL PROTECTED]@:0:1 +bin/[EMAIL PROTECTED]@:1:2 +bin/[EMAIL PROTECTED]@:1:1 bin/[EMAIL PROTECTED]@:0:1 bin/[EMAIL PROTECTED]@:0:2 bin/[EMAIL PROTECTED]@:0:1 -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2400-gec4e895
The branch, v3-2-test has been updated via ec4e8954402280c12c08cad0cb7cd9d3acb14152 (commit) from 79e90f6c5efe97d6671f4def8cc0ffd2f93f48e8 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit ec4e8954402280c12c08cad0cb7cd9d3acb14152 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 16:18:53 2008 +0200 build: add symbol versioning to libtalloc and libwbclient metze --- Summary of changes: source/exports/libtalloc.syms |2 +- source/exports/libwbclient.syms |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/exports/libtalloc.syms b/source/exports/libtalloc.syms index 87f1c5c..9d77308 100644 --- a/source/exports/libtalloc.syms +++ b/source/exports/libtalloc.syms @@ -1,4 +1,4 @@ -{ +TALLOC_1_2 { global: talloc_*; _talloc_*; diff --git a/source/exports/libwbclient.syms b/source/exports/libwbclient.syms index f1e68b4..e1c3911 100644 --- a/source/exports/libwbclient.syms +++ b/source/exports/libwbclient.syms @@ -1,4 +1,4 @@ -{ +WBCLIENT_0_1 { global: wbc*; local: *; }; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2401-g7b2f25d
The branch, v3-2-test has been updated via 7b2f25dd78f8e67b2ac4b5cd333fb788669fd2d3 (commit) from ec4e8954402280c12c08cad0cb7cd9d3acb14152 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 7b2f25dd78f8e67b2ac4b5cd333fb788669fd2d3 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 16:27:22 2008 +0200 build: add symbol versioning to libtdb via script/mksyms.* metze --- Summary of changes: source/Makefile.in |2 +- source/script/mksyms.awk |3 --- source/script/mksyms.sh | 25 + 3 files changed, 22 insertions(+), 8 deletions(-) Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index 71b2018..b71bb34 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -1576,7 +1576,7 @@ $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0) MKSYMS_SH = $(srcdir)/script/mksyms.sh $(LIBTDB_SYMS): $(LIBTDB_HEADERS) - @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS) + @$(MKSYMS_SH) $(AWK) $(builddir)/library-versions $@ $(LIBTDB_HEADERS) $(LIBTDB_SHARED_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS) @echo Linking shared library $@ diff --git a/source/script/mksyms.awk b/source/script/mksyms.awk index a30bea4..dfe51db 100644 --- a/source/script/mksyms.awk +++ b/source/script/mksyms.awk @@ -9,9 +9,6 @@ BEGIN { inheader=0; current_file=; - print # - print # This file is automatically generated with \make symbols\. DO NOT EDIT - print # print { print \tglobal: } diff --git a/source/script/mksyms.sh b/source/script/mksyms.sh index 51d3fbd..d2f3f3a 100755 --- a/source/script/mksyms.sh +++ b/source/script/mksyms.sh @@ -15,26 +15,43 @@ LANG=C; export LANG LC_ALL=C; export LC_ALL LC_COLLATE=C; export LC_COLLATE -if [ $# -lt 2 ] +if [ $# -lt 3 ] then - echo Usage: $0 awk output_file header_files + echo Usage: $0 awk versionfile output_file header_files exit 1 fi awk=$1 shift +versionfile=$1 +shift + symsfile=$1 shift symsfile_tmp=$symsfile.$$.tmp~ +libname=`basename $symsfile | cut -d '.' -f1` +verline=`grep $libname $versionfile` +majver=`echo -n $verline | cut -d ':' -f2` +minver=`echo -n $verline | cut -d ':' -f3` +upname=`echo -n $libname | sed -e 's/^lib//' | tr '[a-z]' '[A-Z]'` +symver=${upname}_${majver}_${minver} + proto_src=`echo $@ | tr ' ' '\n' | sort | uniq ` -echo creating $symsfile +echo creating $symsfile for $symver mkdir -p `dirname $symsfile` -${awk} -f `dirname $0`/mksyms.awk $proto_src $symsfile_tmp +cat $symsfile_tmp _ACEOF +# +# This file is automatically generated with $0. DO NOT EDIT +# +$symver +_ACEOF + +${awk} -f `dirname $0`/mksyms.awk $proto_src $symsfile_tmp if cmp -s $symsfile $symsfile_tmp 2/dev/null then -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2402-g2e934c7
The branch, v3-2-test has been updated via 2e934c72d2f02abf3a1c54d1cfd9921be0f55903 (commit) from 7b2f25dd78f8e67b2ac4b5cd333fb788669fd2d3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 2e934c72d2f02abf3a1c54d1cfd9921be0f55903 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 16:29:26 2008 +0200 build: fix dependencies for the generated libtdb.syms file metze --- Summary of changes: source/Makefile.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index b71bb34..77b0e76 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -1575,7 +1575,7 @@ $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0) MKSYMS_SH = $(srcdir)/script/mksyms.sh -$(LIBTDB_SYMS): $(LIBTDB_HEADERS) +$(LIBTDB_SYMS): $(LIBTDB_HEADERS) $(builddir)/library-versions @$(MKSYMS_SH) $(AWK) $(builddir)/library-versions $@ $(LIBTDB_HEADERS) $(LIBTDB_SHARED_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS) -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2403-g92b05ed
The branch, v3-2-test has been updated via 92b05ed38dce0780c6fbdc7b971240fb563e5890 (commit) from 2e934c72d2f02abf3a1c54d1cfd9921be0f55903 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 92b05ed38dce0780c6fbdc7b971240fb563e5890 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 17:15:32 2008 +0200 build: autogenerate exports/libnetapi.syms metze --- Summary of changes: source/Makefile.in|7 ++- source/exports/libnetapi.syms |3 --- 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 source/exports/libnetapi.syms Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index 77b0e76..6accd6f 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -160,6 +160,8 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ +LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms +LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) FLAGS2 = @@ -1608,7 +1610,10 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBADDNS_OBJ) -$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS) $(builddir)/library-versions + @$(MKSYMS_SH) $(AWK) $(builddir)/library-versions $@ $(LIBNETAPI_HEADERS) + +$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBNETAPI_OBJ) \ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@ $(LIBS) \ diff --git a/source/exports/libnetapi.syms b/source/exports/libnetapi.syms deleted file mode 100644 index eb34bfc..000 --- a/source/exports/libnetapi.syms +++ /dev/null @@ -1,3 +0,0 @@ -{ - global: *; -}; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2410-g759afa1
The branch, v3-2-test has been updated via 759afa1832956f4c4da8cce1a1b79366e139041d (commit) via 3e4bde4af2ff7a14256a918b38aba97469e3b2d4 (commit) via 2a7b549517632b231718e16ccb869cfa88078237 (commit) via fbd31d42e327ccbe79f02df7b4e57646ef85df26 (commit) from edf73a97f674d4cb30f20b0cc3d6e6b43b4ca3eb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 759afa1832956f4c4da8cce1a1b79366e139041d Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 08:40:24 2008 +0200 Revert build: add symbol versioning to libtalloc and libwbclient This reverts commit ec4e8954402280c12c08cad0cb7cd9d3acb14152. metze commit 3e4bde4af2ff7a14256a918b38aba97469e3b2d4 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 08:40:09 2008 +0200 Revert build: add symbol versioning to libtdb via script/mksyms.* This reverts commit 7b2f25dd78f8e67b2ac4b5cd333fb788669fd2d3. metze commit 2a7b549517632b231718e16ccb869cfa88078237 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 08:39:54 2008 +0200 Revert build: fix dependencies for the generated libtdb.syms file This reverts commit 2e934c72d2f02abf3a1c54d1cfd9921be0f55903. metze commit fbd31d42e327ccbe79f02df7b4e57646ef85df26 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 08:39:22 2008 +0200 Revert build: autogenerate exports/libnetapi.syms This reverts commit 92b05ed38dce0780c6fbdc7b971240fb563e5890. metze --- Summary of changes: source/Makefile.in | 11 ++-- .../{libsmbsharemodes.syms = libnetapi.syms} |0 source/exports/libtalloc.syms |2 +- source/exports/libwbclient.syms|2 +- source/script/mksyms.awk |3 ++ source/script/mksyms.sh| 25 +++ 6 files changed, 12 insertions(+), 31 deletions(-) copy source/exports/{libsmbsharemodes.syms = libnetapi.syms} (100%) Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index 6accd6f..71b2018 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -160,8 +160,6 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ -LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms -LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) FLAGS2 = @@ -1577,8 +1575,8 @@ $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0) MKSYMS_SH = $(srcdir)/script/mksyms.sh -$(LIBTDB_SYMS): $(LIBTDB_HEADERS) $(builddir)/library-versions - @$(MKSYMS_SH) $(AWK) $(builddir)/library-versions $@ $(LIBTDB_HEADERS) +$(LIBTDB_SYMS): $(LIBTDB_HEADERS) + @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS) $(LIBTDB_SHARED_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS) @echo Linking shared library $@ @@ -1610,10 +1608,7 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBADDNS_OBJ) -$(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS) $(builddir)/library-versions - @$(MKSYMS_SH) $(AWK) $(builddir)/library-versions $@ $(LIBNETAPI_HEADERS) - -$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBNETAPI_OBJ) \ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@ $(LIBS) \ diff --git a/source/exports/libsmbsharemodes.syms b/source/exports/libnetapi.syms similarity index 100% copy from source/exports/libsmbsharemodes.syms copy to source/exports/libnetapi.syms diff --git a/source/exports/libtalloc.syms b/source/exports/libtalloc.syms index 9d77308..87f1c5c 100644 --- a/source/exports/libtalloc.syms +++ b/source/exports/libtalloc.syms @@ -1,4 +1,4 @@ -TALLOC_1_2 { +{ global: talloc_*; _talloc_*; diff --git a/source/exports/libwbclient.syms b/source/exports/libwbclient.syms index e1c3911..f1e68b4 100644 --- a/source/exports/libwbclient.syms +++ b/source/exports/libwbclient.syms @@ -1,4 +1,4 @@ -WBCLIENT_0_1 { +{ global: wbc*; local: *; }; diff --git a/source/script/mksyms.awk b/source/script/mksyms.awk index dfe51db..a30bea4 100644 --- a/source/script/mksyms.awk +++ b/source/script/mksyms.awk @@ -9,6 +9,9 @@ BEGIN { inheader=0; current_file=; + print # + print # This file is automatically generated with \make symbols\. DO NOT EDIT + print
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2411-gdc09e04
The branch, v3-2-test has been updated via dc09e04d524dcc92a29da0864666fd4258a81b76 (commit) from 759afa1832956f4c4da8cce1a1b79366e139041d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit dc09e04d524dcc92a29da0864666fd4258a81b76 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 17:15:32 2008 +0200 build: autogenerate exports/libnetapi.syms metze --- Summary of changes: source/Makefile.in|7 ++- source/exports/libnetapi.syms |3 --- 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 source/exports/libnetapi.syms Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index 71b2018..b1600bf 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -160,6 +160,8 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ +LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms +LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) FLAGS2 = @@ -1608,7 +1610,10 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBADDNS_OBJ) -$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS) + @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS) + +$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBNETAPI_OBJ) \ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@ $(LIBS) \ diff --git a/source/exports/libnetapi.syms b/source/exports/libnetapi.syms deleted file mode 100644 index eb34bfc..000 --- a/source/exports/libnetapi.syms +++ /dev/null @@ -1,3 +0,0 @@ -{ - global: *; -}; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2569-gc3797d6
The branch, v3-3-test has been updated via c3797d6a2cc2e4c5b0678dc92924c26b18bd2678 (commit) from 8b926d5a93d04b828990057ae6f1e090764305c1 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit c3797d6a2cc2e4c5b0678dc92924c26b18bd2678 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu May 22 17:15:32 2008 +0200 build: autogenerate exports/libnetapi.syms metze (cherry picked from commit dc09e04d524dcc92a29da0864666fd4258a81b76) --- Summary of changes: source/Makefile.in|7 ++- source/exports/libnetapi.syms |3 --- 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 source/exports/libnetapi.syms Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index 1a970bf..3fa9b4a 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -161,6 +161,8 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ +LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms +LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) FLAGS2 = @@ -1647,7 +1649,10 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBADDNS_OBJ) -$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS) + @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS) + +$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBNETAPI_OBJ) \ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@ $(LIBS) \ diff --git a/source/exports/libnetapi.syms b/source/exports/libnetapi.syms deleted file mode 100644 index eb34bfc..000 --- a/source/exports/libnetapi.syms +++ /dev/null @@ -1,3 +0,0 @@ -{ - global: *; -}; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha3-1738-g5c5c866
The branch, v4-0-test has been updated via 5c5c86683877337ff60526a40e7b689f604e40f8 (commit) via 1421b1cc0c442be839be702647009ed5295f34a3 (commit) via 47756129fdf01075bac06cdd24107d7dc8ba34af (commit) via 9ed7bb5afe6a73206bcba85f25305eb6630a5571 (commit) from 076e2cc356978ac313fcfdf8d8243f4ed1d629b0 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 5c5c86683877337ff60526a40e7b689f604e40f8 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 09:39:50 2008 +0200 RAW-STREAMS: better test the bahavior of streams on directories Note: this has a samba3 specific code path, which we should fixed. metze commit 1421b1cc0c442be839be702647009ed5295f34a3 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 09:47:59 2008 +0200 pvfs_open: return FILE_IS_A_DIRECTORY when opening a stream on a directory metze commit 47756129fdf01075bac06cdd24107d7dc8ba34af Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 09:46:50 2008 +0200 pvfs_resolve: stream_name = is only the same as NULL for files metze commit 9ed7bb5afe6a73206bcba85f25305eb6630a5571 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 09:45:46 2008 +0200 pvfs_streams: directories don't have streams metze --- Summary of changes: source/ntvfs/posix/pvfs_fileinfo.c |2 + source/ntvfs/posix/pvfs_open.c |9 +++- source/ntvfs/posix/pvfs_resolve.c |8 +++- source/ntvfs/posix/pvfs_streams.c |7 +++ source/torture/raw/streams.c | 95 5 files changed, 109 insertions(+), 12 deletions(-) Changeset truncated at 500 lines: diff --git a/source/ntvfs/posix/pvfs_fileinfo.c b/source/ntvfs/posix/pvfs_fileinfo.c index e35f42e..04f6ad7 100644 --- a/source/ntvfs/posix/pvfs_fileinfo.c +++ b/source/ntvfs/posix/pvfs_fileinfo.c @@ -58,6 +58,8 @@ NTSTATUS pvfs_fill_dos_info(struct pvfs_state *pvfs, struct pvfs_filename *name, if (S_ISDIR(name-st.st_mode)) { name-st.st_size = 0; name-st.st_nlink = 1; + } else if (name-stream_id == 0) { + name-stream_name = NULL; } /* for now just use the simple samba mapping */ diff --git a/source/ntvfs/posix/pvfs_open.c b/source/ntvfs/posix/pvfs_open.c index cc4f0ad..926c99d 100644 --- a/source/ntvfs/posix/pvfs_open.c +++ b/source/ntvfs/posix/pvfs_open.c @@ -182,12 +182,19 @@ static NTSTATUS pvfs_open_directory(struct pvfs_state *pvfs, bool del_on_close; uint32_t create_options; uint32_t share_access; + bool forced; create_options = io-generic.in.create_options; share_access = io-generic.in.share_access; + forced = (io-generic.in.create_options NTCREATEX_OPTIONS_DIRECTORY)?true:false; + if (name-stream_name) { - return NT_STATUS_NOT_A_DIRECTORY; + if (forced) { + return NT_STATUS_NOT_A_DIRECTORY; + } else { + return NT_STATUS_FILE_IS_A_DIRECTORY; + } } /* if the client says it must be a directory, and it isn't, diff --git a/source/ntvfs/posix/pvfs_resolve.c b/source/ntvfs/posix/pvfs_resolve.c index 325bc74..2e97925 100644 --- a/source/ntvfs/posix/pvfs_resolve.c +++ b/source/ntvfs/posix/pvfs_resolve.c @@ -202,7 +202,13 @@ static NTSTATUS parse_stream_name(struct pvfs_filename *name, const char *s) } *p = 0; if (strcmp(name-stream_name, ) == 0) { - name-stream_name = NULL; + /* +* we don't set stream_name to NULL, here +* as this would be wrong for directories +* +* pvfs_fill_dos_info() will set it to NULL +* if it's not a directory. +*/ name-stream_id = 0; } else { name-stream_id = pvfs_name_hash(name-stream_name, diff --git a/source/ntvfs/posix/pvfs_streams.c b/source/ntvfs/posix/pvfs_streams.c index 7e6173e..3cd9952 100644 --- a/source/ntvfs/posix/pvfs_streams.c +++ b/source/ntvfs/posix/pvfs_streams.c @@ -36,6 +36,13 @@ NTSTATUS pvfs_stream_information(struct pvfs_state *pvfs, int i; NTSTATUS status; + /* directories don't have streams */ + if (name-dos.attrib FILE_ATTRIBUTE_DIRECTORY) { + info-num_streams = 0; + info-streams = NULL; + return NT_STATUS_OK; + } + streams = talloc(mem_ctx, struct xattr_DosStreams); if (streams == NULL) { return NT_STATUS_NO_MEMORY; diff --git a/source/torture/raw/streams.c b/source/torture/raw/streams.c index 1dab36c..8b2d327 100644 --- a/source/torture/raw/streams.c +++ b/source
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2417-gb689163
The branch, v3-2-test has been updated via b68916328e935e61840cb03560eb15bb2c6f (commit) via 04d465c622c614bec29f24793ae897a73bcb51f4 (commit) via cb5492978b6b157f529806afb2f5fc6202888129 (commit) via 8e0fcd583a643a8f4240698efcbb177463534a82 (commit) via ce9d8ea9818d91bd91f95149f3b0a7ed4f2dae3b (commit) via efb23fdce72db48b4c149fb3dd4a6f4aa3eebbbe (commit) from dc09e04d524dcc92a29da0864666fd4258a81b76 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit b68916328e935e61840cb03560eb15bb2c6f Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 14:18:42 2008 +0200 libwbclient: add wbcLibraryDetails() metze commit 04d465c622c614bec29f24793ae897a73bcb51f4 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 13:59:53 2008 +0200 libwbclient: rename MAXSUBAUTHS = WBC_MAXSUBAUTHS metze commit cb5492978b6b157f529806afb2f5fc6202888129 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 11:52:31 2008 +0200 build: add symbol versioning when we build with gnu ld There's --enable-symbol-versioning=no to disable it. metze commit 8e0fcd583a643a8f4240698efcbb177463534a82 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 12:45:37 2008 +0200 build: autogenerate exports/libwbclient.syms metze commit ce9d8ea9818d91bd91f95149f3b0a7ed4f2dae3b Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 12:04:21 2008 +0200 build: autogenerate exports/libtalloc.syms metze commit efb23fdce72db48b4c149fb3dd4a6f4aa3eebbbe Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 11:39:23 2008 +0200 build: pass .syms extention via @SYMSEXT@ from configure metze --- Summary of changes: source/Makefile.in | 43 +- source/configure.in | 25 +++ source/exports/libsmbclient.version.syms |8 + source/exports/libsmbsharemodes.version.syms |7 source/exports/libtalloc.syms|6 --- source/exports/libwbclient.syms |4 -- source/nsswitch/libwbclient/wbc_pam.c|2 +- source/nsswitch/libwbclient/wbc_sid.c|2 +- source/nsswitch/libwbclient/wbclient.c | 23 ++ source/nsswitch/libwbclient/wbclient.h | 21 +++-- source/script/mksyms.awk |3 -- source/script/mksyms.sh | 34 +--- 12 files changed, 140 insertions(+), 38 deletions(-) create mode 100644 source/exports/libsmbclient.version.syms create mode 100644 source/exports/libsmbsharemodes.version.syms delete mode 100644 source/exports/libtalloc.syms delete mode 100644 source/exports/libwbclient.syms Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index b1600bf..3029cd0 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -25,7 +25,7 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ ## Dynamic shared libraries build settings -DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@[EMAIL PROTECTED]/syms/'` +DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@[EMAIL PROTECTED]/@SYMSEXT@/'` [EMAIL PROTECTED]@ SONAME_VER=`grep \^$@ $(builddir)/library-versions | cut -d: -f2` SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@ @@ -145,22 +145,29 @@ PIDDIR = @piddir@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBTALLOC=$(LIBTALLOC_STATIC_TARGET) @LIBTALLOC_SHARED@ +LIBTALLOC_SYMS=$(srcdir)/exports/[EMAIL PROTECTED]@ +LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBTDB=$(LIBTDB_STATIC_TARGET) @LIBTDB_SHARED@ -LIBTDB_SYMS=$(srcdir)/exports/libtdb.syms +LIBTDB_SYMS=$(srcdir)/exports/[EMAIL PROTECTED]@ LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h LIBSMBCLIENT=bin/libsmbclient.a @LIBSMBCLIENT_SHARED@ LIBSMBSHAREMODES=bin/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@ LIBADDNS=bin/libaddns.a @LIBADDNS_SHARED@ [EMAIL PROTECTED]@ + [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ @LIBWBCLIENT_SHARED@ +LIBWBCLIENT_SYMS=$(srcdir)/exports/[EMAIL PROTECTED]@ +LIBWBCLIENT_HEADERS=$(srcdir)/nsswitch/libwbclient/wbclient.h [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ -LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms +LIBNETAPI_SYMS=$(srcdir)/exports/[EMAIL PROTECTED]@ LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) @@ -1565,7 +1572,12 @@ bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIB $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2421-g401a0c8
The branch, v3-2-test has been updated via 401a0c84fe5f60e57e95331805da6b53dd1d7c2e (commit) from 18bab9472e7f85f3f518b64c4673f6f19a60f94d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 401a0c84fe5f60e57e95331805da6b53dd1d7c2e Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Fri May 23 17:16:12 2008 +0200 build: make sure LIBWBCLIENT_*_TARGET is never empty This should fix the build with non gnu make metze --- Summary of changes: source/configure.in |8 1 files changed, 4 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source/configure.in b/source/configure.in index dbc854d..655d2b1 100644 --- a/source/configure.in +++ b/source/configure.in @@ -5737,19 +5737,19 @@ else BUILD_LIBWBCLIENT_SHARED=yes fi +LIBWBCLIENT_SHARED_TARGET=bin/libwbclient.$SHLIBEXT +LIBWBCLIENT_STATIC_TARGET=bin/libwbclient.a if test $BLDSHARED = true -a x$HAVE_WINBIND = xyes -a x$BUILD_LIBWBCLIENT_SHARED = xyes; then NSS_MODULES=${WINBIND_NSS} ${WINBIND_WINS_NSS} ## Only worry about libwbclient if we have shared library support ## and winbindd -LIBWBCLIENT_SHARED_TARGET=bin/libwbclient.$SHLIBEXT -LIBWBCLIENT_SHARED=bin/libwbclient.$SHLIBEXT +LIBWBCLIENT_SHARED=$LIBWBCLIENT_SHARED_TARGET LIBWBCLIENT=libwbclient INSTALL_LIBWBCLIENT=installlibwbclient UNINSTALL_LIBWBCLIENT=uninstalllibwbclient WINBIND_LIBS=-lwbclient else - LIBWBCLIENT_STATIC_TARGET=bin/libwbclient.a - LIBWBCLIENT_STATIC=bin/libwbclient.a + LIBWBCLIENT_STATIC=$LIBWBCLIENT_STATIC_TARGET fi if test x$HAVE_WINBIND = xyes; then -- Samba Shared Repository