Andrew Bartlett
6aa12fcb30
build: Remove SMB_OFF_T, replace with off_t
...
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-06 01:47:43 +02:00
Andrew Bartlett
19eee33d82
s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to removexattr.
Andrew Bartlett
2012-04-05 13:39:01 +10:00
Andrew Bartlett
c70ac29c54
s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.
Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
c5b17c5555
s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
...
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.
Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
b2f7cfa848
s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure
2012-04-05 13:39:00 +10:00
Andrew Bartlett
f6e0532024
build: Remove SMB_STRUCT_DIR define
2012-04-05 02:39:09 +02:00
Andrew Bartlett
2320b2144f
build: Remove SMB_STRUCT_DIRENT define
2012-04-05 02:39:09 +02:00
Andrew Bartlett
a329c72f07
vfs: Remove -D_LARGEFILE64_SOURCE from vfs examples Makefile
2012-04-05 02:39:08 +02:00
Volker Lendecke
fa6f61e835
s3: Pass filters explicitly through vfs notify watch
...
This removes a dependency on "struct notify_entry" and makes the nature of the
API more explicit. We depend upon the VFS module to mask out elements from
e->filter and e->subdir_filter that it took over to handle.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
2012-03-26 17:45:43 +02:00
Richard Sharpe
1080483319
Improve the Makefile. Use a standard make macro, not a shell command.
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Sat Mar 24 07:09:44 CET 2012 on sn-devel-104
2012-03-24 07:09:44 +01:00
Richard Sharpe
a15aefea27
Make it possible for developers of out-of-tree modules to use the same names as in-tree modules.
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Sat Mar 24 03:18:38 CET 2012 on sn-devel-104
2012-03-24 03:18:37 +01:00
Volker Lendecke
4319076cca
s3: Pass "path" through vfs_notify_watch
2012-03-21 12:52:09 +01:00
Volker Lendecke
bc6803febb
examples: Make examples/VFS/Makefile.in FreeBSD-friendly
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
2012-03-03 00:53:40 +01:00
Matthias Dieter Wallnöfer
ed405df823
examples/testsmbc.c - substitute deprecated function "bzero" with "memset"
...
Here we do not make any use of libreplace and hence it would be overkill
to include the right headers for Solaris.
This fixes bug: https://bugzilla.samba.org/show_bug.cgi?id=8767
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22 23:57:24 +01:00
Matthias Dieter Wallnöfer
b2ff4b06d6
examples/testsmbc.c - quiet implicit cast warnings on OpenSolaris
...
https://bugzilla.samba.org/show_bug.cgi?id=8767
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22 23:57:24 +01:00
Matthias Dieter Wallnöfer
a19185249a
examples/testsmbc.c - remove unused function "print_list_fn"
...
It does not get referenced from anywhere.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22 23:57:24 +01:00
Matthias Dieter Wallnöfer
2522712994
examples/testsmbc.c - remove unused variables
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22 23:57:24 +01:00
Andrew Bartlett
4328f3ccf3
smbwrapper: Remove smbwrapper
...
There are now many better ways to access a remote SMB filesystem,
which do not rely on LD_PRELOAD and the associated dangers. FUSE,
gvfs and the CIFS VFS are all much better options which do not require
knowing every possible libc entry point that can deal with a file
descriptor.
As an example of the maintainence that would be required to keep this
going, recent changes to deal with thread races and close-on-exec have
resulted in dup3(), but this isn't currently mapped. While this would
not be hard to add, it illistrates why it is better to move to an
interface designed for this task.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb 9 01:58:24 CET 2012 on sn-devel-104
2012-02-09 01:58:24 +01:00
Andrew Bartlett
b93326b968
s3-build: remove EXEEXT from Makefiles
...
As far as I am aware, we do not actually build on any platforms that
require this. The last Stratos VOS release on
ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5
Andrew Bartlett
2012-02-09 00:27:08 +01:00
Amitay Isaacs
5bdadd1501
build: Add missing dependencies on popt
...
This fixes compilation issues on freebsd where system popt is installed
under /usr/local.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Jan 27 08:33:52 CET 2012 on sn-devel-104
2012-01-27 08:33:52 +01:00
David Disseldorp
a96a9534ab
s3-perfcount: fix build for example perfcount daemon
...
Signed-off-by: Günther Deschner <gd@samba.org>
2012-01-04 15:17:18 +01:00
Volker Lendecke
64e84e7cb4
examples: malloc is declared in <stdlib.h>
2012-01-01 22:25:02 +01:00
Volker Lendecke
b87e88710c
s3: Fix examples/VFS build
...
With other builds in the include path, examples get the includes.h wrong
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 23:40:37 CET 2011 on sn-devel-104
2011-12-13 23:40:37 +01:00
Richard Sharpe
422494a8e6
vfs: Make function pointer names consistent. They all end in _fn
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-12 04:58:40 +01:00
Richard Sharpe
f50aa988c2
Improve configure.in so it can be used outside the Samba source tree.
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Thu Nov 17 07:00:38 CET 2011 on sn-devel-104
2011-11-17 07:00:38 +01:00
Günther Deschner
e80e218152
s3-modules: remove the last "init_module" traces.
...
Guenther
2011-11-14 18:44:41 +01:00
Andrew Bartlett
3167b95cad
examples: rework wscript to use a loop
...
I think this format is more compact and easier to understand.
Andrew Bartlett
2011-10-28 13:10:27 +02:00
Andrew Bartlett
7675cf91d3
examples: compile libsmbclient tests using just SAMBA_BINARY
...
This ensures that these compile without the extra includes that SAMBA3_BINARY adds.
Andrew Bartlett
2011-10-20 12:17:07 +02:00
Jeremy Allison
019f643c69
Fix a boatload of warnings in the examples.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
2011-10-20 02:29:52 +02:00
Günther Deschner
ce45ae122e
s3-waf: make sure we always compile (not install) our libsmbclient testcode.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
2011-10-19 20:42:51 +02:00
Günther Deschner
b96a9e1c5b
s3-waf: make sure we always build example pdb modules with --enable-developer.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104
2011-10-17 17:39:36 +02:00
Günther Deschner
bc536d4893
s3-passdb: fix the build of example pdb test module.
...
Guenther
2011-10-17 16:08:04 +02:00
Günther Deschner
235f78aa95
s3-waf: make sure we always build example auth modules with --enable-developer.
...
Guenther
2011-10-17 15:54:17 +02:00
Günther Deschner
329c4d12f9
s3-auth: fix the build of skel auth example module.
...
Guenther
2011-10-17 15:53:19 +02:00
Günther Deschner
49eba95b2b
s3-waf: make sure we build example vfs modules with --enable-developer.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
2011-10-11 21:22:55 +02:00
Jeremy Allison
2ecfa0c1aa
Fix the VFS for fsctl.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
2011-10-11 19:49:22 +02:00
Stefan Metzmacher
ce5b4b3fd9
examples/VFS: add skel_get_dfs_referrals()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 8 11:29:18 CEST 2011 on sn-devel-104
2011-10-08 11:29:18 +02:00
Stefan Metzmacher
9ca88eb10b
examples/VFS: fix names in skel_opaque.c
...
metze
2011-10-08 09:52:23 +02:00
Michael Adam
de912e783b
examples/VFS: fix a typo in the README
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
2011-10-08 01:42:33 +02:00
Sumit Bose
f864767034
s3-ldap: Add Posix offset and encryption types to LDAP schema
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31 12:52:40 +02:00
Sumit Bose
1744be0a84
s3-ldap: Add sambaTrustForestTrustInfo to NDS LDAP schema (again)
...
The related attributes and objectclass were accidentally remove by commit
d4c30a5ffbeab75506bf1ad5d8d5da48e3f4d41c
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31 11:34:26 +02:00
Michael Adam
f5bc4de1cd
examples/VFS: try to fix the build on openbsd, adding alternative spellings of autoconf/header
...
The host "samba-amd64" on the build farm running openbsd 4.8 broke.
Taking over the additional spellings of autoconf and autoheader from
the source3/autogen.sh script should fix it.
2011-07-06 12:55:25 +02:00
Michael Adam
197df817a3
examples/VFS: add include path for s3's autoconf config.h
2011-06-30 15:41:24 +02:00
Björn Baumbach
576cb574a1
examples/VFS: fix skel_transparent.c in reference to shadow_copy changes
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30 15:41:24 +02:00
Björn Baumbach
776672805c
examples/VFS: fix skel_opaque.c in reference to shadow_copy changes
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30 15:41:24 +02:00
Björn Baumbach
6930afc9f4
examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changes
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30 15:41:23 +02:00
Jim McDonough
d4c30a5ffb
Update eDirectory schema
...
Autobuild-User: Jim McDonough <jmcd@samba.org>
Autobuild-Date: Wed Jun 22 14:48:09 CEST 2011 on sn-devel-104
2011-06-22 14:48:09 +02:00
Andrew Bartlett
5e26e94092
s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Jeremy Allison
c7d2f6d35a
Remove the char * argument from the SMB_VFS_GETWD() call. Now always
...
returns malloc'ed memory.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104
2011-06-01 04:06:12 +02:00
Sumit Bose
352de0d3ed
Fix typos in LDAP schema files
...
Reported by: John Danks <john.danks@gmail.com>
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 17 11:56:08 CEST 2011 on sn-devel-104
2011-05-17 11:56:08 +02:00