Jeremy Allison [Sun, 11 Nov 2007 06:31:34 +0000 (22:31 -0800)]
Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(This used to be commit
e203ba22275320808bc11b17361ad1f2d5b0b897)
Jeremy Allison [Sat, 10 Nov 2007 23:36:47 +0000 (15:36 -0800)]
Remove last pstring from sesssetup.c
Jeremy.
(This used to be commit
9ed12bfc48fe7f9b1863a9dd88e881974083053c)
Jeremy Allison [Sat, 10 Nov 2007 23:02:08 +0000 (15:02 -0800)]
Fix the build when realpath doesn't take null
as a last arg.
Jeremy.
(This used to be commit
63125225383f512f43002b9a92569d4b8f1b63bd)
Jeremy Allison [Sat, 10 Nov 2007 22:43:39 +0000 (14:43 -0800)]
Remove pstring from service.c.
Jeremy.
(This used to be commit
cdd9e5cc8366cf0be4dc31f793fc0e5be6f63c3e)
Jeremy Allison [Fri, 9 Nov 2007 23:09:16 +0000 (15:09 -0800)]
Remove more static fstring/pstrings. Fix socket option
set on wrong fd (-1).
Jeremy.
(This used to be commit
52fe04df8e8c08126afe61d509fc1d3cb676e327)
Stefan Metzmacher [Fri, 9 Nov 2007 13:39:45 +0000 (14:39 +0100)]
ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)
lib/messages_local.c
rpc_client/ndr.c
smbd/notify_internal.c
utils/net_rpc_registry.c
metze
(This used to be commit
c2645d2164c05976a98bafed980b6029baf89977)
metze [Fri, 9 Nov 2007 19:24:25 +0000 (19:24 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
95530073de6d5b112391312bed373229af1824b0)
Stefan Metzmacher [Fri, 9 Nov 2007 13:38:47 +0000 (14:38 +0100)]
rerun make idl
metze
(This used to be commit
53a636828d2ba01603401086f4a5f72f9b5ea214)
Stefan Metzmacher [Fri, 9 Nov 2007 12:00:43 +0000 (13:00 +0100)]
ndr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)
ndr_misc.c
ndr_sec.h
ndr_sec_helper.c
librpc/ndr/sid.c
metze
(This used to be commit
42590e917af464f894bf4eb1490f0d1075b2c10e)
metze [Fri, 9 Nov 2007 19:23:40 +0000 (19:23 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
b1b8088cafa3ebbc94d700c7a029a2b74b7652ed)
Stefan Metzmacher [Fri, 9 Nov 2007 20:20:46 +0000 (21:20 +0100)]
prepare changes in ndr code
metze
(This used to be commit
9ba00e7c167fb871a3d9acbd9fc5ce4e935d92c2)
Volker Lendecke [Wed, 10 Oct 2007 14:57:34 +0000 (16:57 +0200)]
Sanitize smbcacls slightly
(This used to be commit
9c57628dbd79d3d28f20d5d1ab62a68ae683d46e)
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
Fix some warnings
(This used to be commit
df42038f8801ca65ed7d44f7ae26640e2d840dba)
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
nss_wrapper: Fix some warnings
(This used to be commit
b401450e8409c19d12d944c61e5553ed3334bc11)
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
Fix some warnings
(This used to be commit
0a1f524e8cce9bbe4fd10467c1f64f7a8862d298)
Volker Lendecke [Wed, 7 Nov 2007 22:24:36 +0000 (23:24 +0100)]
Add some comments
(This used to be commit
fc58f2f45ab93ecea855e1dc07b6fdccce041c8d)
Volker Lendecke [Sun, 28 Oct 2007 18:15:08 +0000 (19:15 +0100)]
Make base64_encode_data_blob return a talloced string
(This used to be commit
5f205ab48d8ac3b7af573ea0be1ce095ab835448)
Volker Lendecke [Thu, 1 Nov 2007 17:13:00 +0000 (18:13 +0100)]
Remove the silly "user_socket_options" global variable
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
(This used to be commit
814bed029efa391e664ac432d0d68dfeab26381f)
Volker Lendecke [Wed, 7 Nov 2007 17:47:32 +0000 (18:47 +0100)]
pstring removal
(This used to be commit
0ee896827215a24e70a4ac6bde5ded13f9497296)
Volker Lendecke [Wed, 7 Nov 2007 18:06:30 +0000 (19:06 +0100)]
Fix dbwrap debug output
(This used to be commit
9f9c933c16abacb2d0aa7bc7faa5b1ddac61b0e5)
Stefan Metzmacher [Fri, 9 Nov 2007 13:35:58 +0000 (14:35 +0100)]
make test: try to get a more portable way to get UID and GID
metze
(This used to be commit
0dc2d7ec010610c4bdab8eb6d488295a0259fbc9)
Karolin Seeger [Fri, 9 Nov 2007 10:30:30 +0000 (11:30 +0100)]
Stefan Metzmacher [Fri, 9 Nov 2007 10:50:14 +0000 (11:50 +0100)]
use samba4's librpc/ndr/uuid.c
metze
(This used to be commit
c148e91fdedd20cfb737465dffc86ed6fa7d7c02)
Michael Adam [Fri, 9 Nov 2007 10:18:45 +0000 (11:18 +0100)]
The FSF has moved around a lot. This fixes their Mass Ave address.
This adapts r23801 /
87c91e4362c51819032bfbebbb273c52e203b227
to files just added by cherry-pick.
Michael
(This used to be commit
a0d595c2277d2f754cdb0c85119fdc130d86f7ea)
Michael Adam [Fri, 9 Nov 2007 10:17:18 +0000 (11:17 +0100)]
Find and fix more GPL2 -> GPL3.
Jeremy.
This adapts r23780 /
c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f
for files added by cherry-pick.
(This used to be commit
1b6cf93992fbe338dff83a9f904ec9dfc422e242)
Michael Adam [Thu, 5 Jul 2007 00:12:24 +0000 (00:12 +0000)]
r23714: This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.
Michael
(cherry picked from commit
b3e5082e105f6eaeed51e9a42d525d811e7155ee)
(This used to be commit
78a2344fe7ed53e9927e189fa4d465652731deab)
Michael Adam [Wed, 4 Jul 2007 23:21:51 +0000 (23:21 +0000)]
r23711: Refactor the actual creation of object into its own small function.
Michael
(cherry picked from commit
26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
(This used to be commit
852570059c974bc6c06f893e4bf5e76674e4ec00)
Michael Adam [Wed, 4 Jul 2007 16:17:48 +0000 (16:17 +0000)]
r23706: Add a script to create domainusers,-groups and -aliases.
This is done via rpc client. The main purpose is to
be able to fill a domain controller with a large number
of users / groups easily. A the object names are
built as <prefix><num> where number ranges from a given
start number counting up until a given number of objects
has been created.
In a next step, I will submit scripts to add (many) users to
a group and to add a user to (many) groups.
Michael
(cherry picked from commit
8b81fbb7d998eda65978a772f2194b4a3de467f9)
(This used to be commit
79414f8bfa9cce1b4543b3cf5d6ea65651fc0769)
Stefan Metzmacher [Wed, 24 Oct 2007 11:18:42 +0000 (13:18 +0200)]
make test: start winbindd
metze
(This used to be commit
8ad4287cca5393a7fef148365aef2e2377c29280)
Stefan Metzmacher [Thu, 18 Oct 2007 15:14:37 +0000 (17:14 +0200)]
we don't have build-farm specific tests anymore
metze
(This used to be commit
bb125f3e084a99125e92cc6c3aceb7f2b66db678)
Stefan Metzmacher [Thu, 18 Oct 2007 15:13:01 +0000 (17:13 +0200)]
remove faked_create_user() BUILD_FARM hack as we have nss_wrapper now
metze
(This used to be commit
fc98c1904865608509a01911afa46de74873ef41)
Stefan Metzmacher [Mon, 5 Nov 2007 08:49:08 +0000 (09:49 +0100)]
make test: activate nss_wrapper for make test
metze
(This used to be commit
02cfd283627bd8f10d7beb8d43cead35dd867346)
metze [Tue, 6 Nov 2007 12:34:50 +0000 (12:34 +0000)]
nss_wrapper: hopefully a better fix for the solaris get*ent_r functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25873
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
e0c8c01650b2aa0a1ab491c9800b8aa575bf4185)
metze [Tue, 6 Nov 2007 12:15:19 +0000 (12:15 +0000)]
nss_wrapper: revert solaris get*ent_r() functions
This was the wrong approach, as in future lib/replace
should hide this special solaris stuff.
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25872
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
350d6c19e3e933804ce7234f21ef008c74894e2e)
metze [Tue, 6 Nov 2007 12:11:35 +0000 (12:11 +0000)]
nss_wrapper: set the destination pointer in the get*_r functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25871
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
17b449212a2f68262a95b0ebaabb377cc9a8dcc9)
metze [Tue, 6 Nov 2007 10:40:07 +0000 (10:40 +0000)]
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
metze [Tue, 6 Nov 2007 09:26:42 +0000 (09:26 +0000)]
nss_wrapper: add solaris versions of getpwent_r and getgrent_r
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25868
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
70ea441fe46d75162adc6c4b055a9fd5fab00342)
metze [Tue, 6 Nov 2007 09:15:11 +0000 (09:15 +0000)]
libreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
77900d2ba03455412ad645e757ba468ca90453fb)
metze [Tue, 6 Nov 2007 08:06:50 +0000 (08:06 +0000)]
nss_wrapper: not all systems have get*_r calls
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25866
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
2451399acb9dbba6b02935f6a1d02e2b56b499ef)
metze [Tue, 6 Nov 2007 07:26:12 +0000 (07:26 +0000)]
libreplace: check for nss passwd|group get*_r functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
8e81dd7356eb8422284a93bfc9b55ed1523c8208)
Stefan Metzmacher [Thu, 18 Oct 2007 14:46:16 +0000 (16:46 +0200)]
use nss_wrapper code in samba3 when --enable-nss-wrapper is given
metze
(This used to be commit
96827929626a528bb3e1ec8366aef58c174d67e1)
metze [Mon, 5 Nov 2007 15:42:38 +0000 (15:42 +0000)]
nss_wrapper: add nss_wrapper.pl
This script will be used to add|delete passwd|group entries
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25837
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
28789e60cc59a3e7a42500ebb78c472093be6b12)
metze [Mon, 5 Nov 2007 15:41:23 +0000 (15:41 +0000)]
nss_wrapper: add support for groups and return EPERM in initgroups()
The NSS_WRAPPER_GROUP envvar should point to
the /etc/group style file.
Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both
need non-empty values to enable NSS Wrapper
support.
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25836
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
6abc84a564682f2b3dda314b5a08816ef99ac517)
metze [Mon, 5 Nov 2007 15:39:46 +0000 (15:39 +0000)]
nss_wrapper: add support for passwd accounts
The NSS_WRAPPER_PASSWD envvar should point to
the /etc/passwd style file.
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25835
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
36af3e864c2698b2f4ffd1bc3c873f1e4f8b718b)
metze [Mon, 5 Nov 2007 15:38:36 +0000 (15:38 +0000)]
nss_wrapper: add lib/nss_wrapper skeleton
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25834
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
0924b0c8de70c0b84785cf6885f6aab325fc9b8e)
jelmer [Wed, 7 Nov 2007 01:32:17 +0000 (01:32 +0000)]
Try to fix building dso's on hpux with gcc
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
4642af8026f086488672a51a0ecce2603e65f4ce)
jelmer [Tue, 6 Nov 2007 18:25:34 +0000 (18:25 +0000)]
Try to get some more flags right.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
ccb39b18448376b094680fa927c60159cc5ec566)
jelmer [Tue, 6 Nov 2007 16:23:18 +0000 (16:23 +0000)]
Add libreplace macro for soname flags.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
81167d8f38e11423bcde5305f9e77ec268b0cf2e)
jelmer [Tue, 6 Nov 2007 14:51:42 +0000 (14:51 +0000)]
Try to fix the build on some HPUX machines.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)
Jeremy Allison [Fri, 9 Nov 2007 03:00:10 +0000 (19:00 -0800)]
More pstring/fstring removal.
Jeremy.
(This used to be commit
7646f4b284403c18b22ca5cc7de4a57ba571183e)
Jeremy Allison [Fri, 9 Nov 2007 02:50:07 +0000 (18:50 -0800)]
Remove more pstring/fstrings.
Jeremy.
(This used to be commit
7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
Jeremy Allison [Fri, 9 Nov 2007 02:01:00 +0000 (18:01 -0800)]
Remove unneeded variable.
Jeremy.
(This used to be commit
c21bc756e36581d3adc770bc2b773b5cf9bf11d0)
Jeremy Allison [Fri, 9 Nov 2007 01:58:55 +0000 (17:58 -0800)]
Fix case where we have no dns domain name. Return a talloc of "".
Jeremy.
(This used to be commit
ab8934844a8ae08657769ce1787c32f14a7eb745)
Jeremy Allison [Fri, 9 Nov 2007 01:25:45 +0000 (17:25 -0800)]
Remove more fstring/pstring bad useage. Go talloc !
Jeremy.
(This used to be commit
2a0173743d2cf615d52278f3dd87cc804abe2d16)
Jeremy Allison [Thu, 8 Nov 2007 23:13:41 +0000 (15:13 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
d9335456d23271a4b15b97d24f1b263700a3b9df)
Stefan Metzmacher [Thu, 8 Nov 2007 13:36:13 +0000 (14:36 +0100)]
sync the most parts of librpc/ndr with samba4
metze
(This used to be commit
201800a4c960d4f2afeb6cc760ac303df76d5e36)
Stefan Metzmacher [Thu, 8 Nov 2007 13:34:02 +0000 (14:34 +0100)]
add '_PUBLIC_' prototypes into proto.h
this makes merging samba4 code easier...
metze
(This used to be commit
005909726e0121a549abf625a3b443f3a6964d84)
Stefan Metzmacher [Thu, 8 Nov 2007 13:33:04 +0000 (14:33 +0100)]
add win_errstr() as wrapper of dos_errstr().
this makes merging stuff from samba4 easier
metze
(This used to be commit
cfbdb133b998a704c6c167b9b4b56370f4ff666d)
Stefan Metzmacher [Thu, 8 Nov 2007 12:52:56 +0000 (13:52 +0100)]
we should not ignore convert_string_talloc() failures.
In all other places in ndr_string.c we already use False...
metze
(This used to be commit
9a201fd4c81509eb8a93087a38bb0fda69dfd7e4)
Stefan Metzmacher [Thu, 8 Nov 2007 11:18:28 +0000 (12:18 +0100)]
libreplace: we need to link to make sure the functions are available
metze
(This used to be commit
130de20d646fe14f494b021a98d6855c7b5b2a1a)
Michael Adam [Thu, 8 Nov 2007 10:46:13 +0000 (11:46 +0100)]
Try to fix the build on systems without struct sockaddr_storage type
(like hape - HPUX 11.00).
Michael
(This used to be commit
f3d762737540476bab7da1bf6db047b66f53d9ae)
Jeremy Allison [Thu, 8 Nov 2007 05:47:00 +0000 (21:47 -0800)]
Constrain "min receivefile size" to max of BUFFER_SIZE
(128k). Add debug error messages so we can see why
writeX large is denied. Ensure we don't allow recvfile
writes on IPC$.
Jeremy.
(This used to be commit
6bf053a6a17749a3bc73c8cc5fd490aa5f93b763)
Michael Adam [Wed, 7 Nov 2007 21:28:26 +0000 (22:28 +0100)]
Try to fix the build on irix.
There were two callers of set_smb_read_error() in irix_oplocks.c
not converted to the new prototype.
Michael
(This used to be commit
e398a8d7b60127001d309c2fd0b1f13337f9b46d)
Jeremy Allison [Wed, 7 Nov 2007 20:48:58 +0000 (12:48 -0800)]
Unify the name and addr cache for client_name to
make threading easier ultimately.
Jeremy.
(This used to be commit
48e0725cd6bb976ca799e6b8464c94aeffb1672b)
metze [Fri, 2 Nov 2007 11:01:18 +0000 (11:01 +0000)]
- check return value of ndr_push_set_switch_value()
- fix memory leaks in error pathes
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25798
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
a0d0a06a9e39ea4fd07e9381f4b3397f403ab79d)
metze [Fri, 2 Nov 2007 10:59:43 +0000 (10:59 +0000)]
use error and out logic
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
55d01b3f5b55cab3228270c0f6c164f11b0803f5)
metze [Fri, 2 Nov 2007 10:49:51 +0000 (10:49 +0000)]
use NT_STATUS_HAVE_NO_MEMORY()
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25796
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
be1f2f1abf15b34f8ab08d9e63637962fa762853)
metze [Fri, 2 Nov 2007 10:32:47 +0000 (10:32 +0000)]
use NDR_CHECK()
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25794
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
91ccaa8e70f1665bd759a80363cda9605399464e)
metze [Fri, 2 Nov 2007 10:29:19 +0000 (10:29 +0000)]
check the return value of ndr_push_set_switch_value()
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25793
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
aa155b2c2936c0e9996eda0a21f137773270343a)
metze [Fri, 2 Nov 2007 10:26:49 +0000 (10:26 +0000)]
use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25792
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
f3dde8c7b73b619a54814bc6a862fa917455b624)
metze [Thu, 1 Nov 2007 10:15:13 +0000 (10:15 +0000)]
the return value of ndr_pull_set_switch_value() should be checked
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25779
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
1563a08cb07738c11ea7b68ba9e814885060b0b7)
metze [Thu, 1 Nov 2007 10:13:36 +0000 (10:13 +0000)]
use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25778
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
b542eaf825aa42b53f08c73e2b86ee9fafb33256)
metze [Thu, 1 Nov 2007 09:50:24 +0000 (09:50 +0000)]
add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25777
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
52c422f4d7f8549a11d637de1abceabc1ae86497)
metze [Thu, 1 Nov 2007 08:10:54 +0000 (08:10 +0000)]
create ndr_pull_union_blob_all() and match the logic of the struct fns
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25774
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
8ed241532a069c4207945d5f1ceb1ec817ba7976)
Jeremy Allison [Wed, 7 Nov 2007 07:13:11 +0000 (23:13 -0800)]
Fix tdbtorture build.
Jeremy.
(This used to be commit
c14db81be5212dfa6fbcf8bfdcf725d7db3376ca)
Jeremy Allison [Wed, 7 Nov 2007 07:09:31 +0000 (23:09 -0800)]
Fix const warning.
Jeremy.
(This used to be commit
ecc2555197860ae56726724ec824fc149d2d831c)
Jeremy Allison [Wed, 7 Nov 2007 06:57:35 +0000 (22:57 -0800)]
Keep the tdb code in sync with Samba4.
Mainly this is the svn changes :
------------------------------------------------------------------------
r23238 | tridge | 2007-05-30 01:15:49 -0700 (Wed, 30 May 2007) | 6 lines
merged transaction lock changes from ctdb
this ensures that having the global lock also implies the transaction
lock
------------------------------------------------------------------------
r22832 | tridge | 2007-05-13 18:00:06 -0700 (Sun, 13 May 2007) | 3 lines
merged the latest tdb changes from ctdb to Samba4
Jeremy.
(This used to be commit
ab11c0055761e97ba32a8c3ec4fa6f8763a262cd)
Jeremy Allison [Wed, 7 Nov 2007 05:47:57 +0000 (21:47 -0800)]
Fix bug where tdb lock call interrupted with
an alarm sig would not terminate and could lead
to runaway smbd processes.
Thanks to Dave Daugherty @ Centrify for pointing
this out to us.
Jeremy.
(This used to be commit
ef8da1698371c95495add53df81a978df709c88d)
Jeremy Allison [Tue, 6 Nov 2007 22:12:38 +0000 (14:12 -0800)]
Ensure we don't use massive writes in pipe mode.
Jeremy.
(This used to be commit
47640fb20e42f226e7ea104076fd52547bfe1abb)
Michael Adam [Fri, 26 Oct 2007 17:50:55 +0000 (19:50 +0200)]
Move some access check functions that are not posix-acl specific
to a new source file of their own.
Michael
(This used to be commit
9dd18bb534bca6b5de6cad9580b48681b36c0832)
Michael Adam [Thu, 25 Oct 2007 11:32:56 +0000 (13:32 +0200)]
Don't repeat fast-pathing...
Michael
(This used to be commit
c61b4222d30288add216fac4da3cfaa537f5cd01)
Michael Adam [Sat, 20 Oct 2007 00:17:07 +0000 (02:17 +0200)]
This is a proposed patch for Bug #5023.
The three can_* access check functions in smbd/posix_acls.c that are used in
smbd/open.c and smbd/nttrans.c explicitly called check_posix_acl_group_access()
This lead to errors with nfsv4 acls (ZFS and GPFS).
This changes the can_* functions to get the nt_acl via VFS layer and call
se_access_check on that. It also removes check_posix_acl_group_access()
which has no more callers.
NOTE: The can_* functions should really not be in smbd/posix_acls.c but
in a separate file (I propose smbd/access.c).
Michael
(This used to be commit
6f961a23de745aba5dcd4585b731e651b8cbeef4)
Michael Adam [Tue, 6 Nov 2007 05:31:24 +0000 (06:31 +0100)]
Add a const.
Michael
(This used to be commit
7b582af2107bed3b864bb408b5c9bcce4b8e4c72)
metze [Tue, 6 Nov 2007 07:01:17 +0000 (07:01 +0000)]
libreplace: we should only have one location where we check for required functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
760f24f10cbea7ce22acd0772fb5b125f718d129)
metze [Tue, 6 Nov 2007 06:54:49 +0000 (06:54 +0000)]
libreplace: we need include <unistd.h> before nss_wrapper.h
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
20ec1f472566bbc570fa138cce5dbd0407aef530)
jelmer [Tue, 6 Nov 2007 04:59:50 +0000 (04:59 +0000)]
Fix export dynamic for HPUX.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
4d02b1344b76c6147944188161f73ad3917b8abc)
jelmer [Tue, 6 Nov 2007 04:26:57 +0000 (04:26 +0000)]
Remove flag that causes problems on some hosts.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
57bea8cd02cb7964bbb64ba26b83c372f0e12b94)
jelmer [Tue, 6 Nov 2007 04:26:52 +0000 (04:26 +0000)]
Wrap native HPUX functions in dl implementation.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
0ec16729299887b4a80a7e24fbd1750632276691)
jelmer [Tue, 6 Nov 2007 03:43:50 +0000 (03:43 +0000)]
Check for HPUX dl functions.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
9f862e9faf0fa9cddfcc2f87d9f247082718b3e0)
jelmer [Tue, 6 Nov 2007 02:35:46 +0000 (02:35 +0000)]
Move SHLIBEXT determination into a test as well.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
322cf8002bab1e449616d9fcea0bd4c9535cfe6a)
jelmer [Tue, 6 Nov 2007 02:17:05 +0000 (02:17 +0000)]
Move system-specific ldflags checks to libreplace so they can be used by ldb.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
63b7690335360a073dc1ae111f740a7934f1a92f)
jelmer [Tue, 6 Nov 2007 02:16:55 +0000 (02:16 +0000)]
Add macro for picflag.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
48c70f604071fcf7c0887fe0136bdc2dda4c8ff4)
jelmer [Tue, 6 Nov 2007 01:05:19 +0000 (01:05 +0000)]
Add configure test for -Wl,--export-dynamic.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
4904af51cdccd4e52d2805bd62f39276447c4646)
metze [Mon, 5 Nov 2007 15:45:08 +0000 (15:45 +0000)]
libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
809fee4bef66eb8b8687f88257c0d6f77d3b4063)
Jeremy Allison [Tue, 6 Nov 2007 07:17:19 +0000 (23:17 -0800)]
Ensure we null out the address correctly.
Jeremy.
(This used to be commit
e1fcd851ab38165eb0e959cdc02ff067614f8b28)
Michael Adam [Tue, 6 Nov 2007 00:09:24 +0000 (01:09 +0100)]
Fix another segfault and make smbfilter run again.
This fix is not complete yet (loop after "client closed connection")
but at least it starts again...
Micheal
(This used to be commit
e2ffc6053dc9453fc49545db47374ed42e8efecd)
Michael Adam [Tue, 6 Nov 2007 00:07:12 +0000 (01:07 +0100)]
Fix a segfault.
Michael
(This used to be commit
98225a075226e78f7ce64787dd29122fda3d6924)
Michael Adam [Tue, 6 Nov 2007 00:06:06 +0000 (01:06 +0100)]
Try to fix the build. There was one forgotten caller
of receive_smb. Jeremy: please check!
Michael
(This used to be commit
1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)
Günther Deschner [Mon, 5 Nov 2007 23:50:47 +0000 (00:50 +0100)]
When deleting a key from the registry make sure the non-default
security descriptor gets deleted as well.
Guenther
(This used to be commit
d140d68537225b6a6a99be3d9b09354e3f6ad8c9)
Michael Adam [Mon, 5 Nov 2007 22:23:05 +0000 (23:23 +0100)]
Add two const's.
Michael
(This used to be commit
bf23c4ddff617dd3cd1e2d5cedb1b5c023356dc3)