1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

29386 Commits

Author SHA1 Message Date
Volker Lendecke
e0f3ea2cbe In api_pipe_bind_req(), check for the iface id, not the pipe name
This requires to store the rpc_interface in "struct rpc_table"
(This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)
2008-07-16 23:19:48 +02:00
Volker Lendecke
e65ea7471e Add ndr_syntax_id_equal()
(This used to be commit 5fc90908deb417130af122941e084542304a2543)
2008-07-16 23:19:48 +02:00
Volker Lendecke
1bd7293817 In api_pipe_bind_req(), decode the bind request before checking the pipe
(This used to be commit 8be41382ed9bb4fb44a1846fff2c7652388e4f28)
2008-07-16 23:19:47 +02:00
Jim McDonough
6e6d4c1f5b Allow %u parameters for print job username - use advanced sub
Based on 3.0 and 3.2 patch from Bo Yang <boyang@novell.com>
Bo, please verify this version works for you.
(This used to be commit 9e6760cfeaf77e80df3b84004090d934f3c2d574)
2008-07-16 12:37:48 -04:00
Volker Lendecke
065fb506a2 Sequel to c10aad9f13: Ignore whitespaces in parametric options
It's a bit difficult to explain why

idmap config backend:FOO = rid

should work while

idmap config backend : FOO = rid

should not. And I doubt we will ever see domain names with whitespaces...
(This used to be commit 0207f99d3f02bd8ff5dadc1574fe13b46c3e09a3)
2008-07-16 18:21:22 +02:00
Volker Lendecke
d11796d392 Tiny logic simplification: Remove an indentation by using an early return;
(This used to be commit 37dba0c192ec7d4105465beae0d6e8598c7dbb7a)
2008-07-16 18:21:17 +02:00
Volker Lendecke
ed5e6b3244 Remove a silly "typedef struct _param_opt_struct param_opt_struct"
(This used to be commit 78801431c896f1e2007d652b611c2ce1108e1023)
2008-07-16 18:21:11 +02:00
Derrell Lipman
cd90c85bab The compatibility function also should have a const buffer pointer
(This used to be commit b731447ec539d454002300fd755dddcad2351d6c)
2008-07-16 10:45:09 -04:00
Andreas Schneider
43892abff6 The buf in the smbclient write function should be const.
As we try to provide POSIX function, we should use const like all other
POSIX function.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)
2008-07-16 10:41:43 -04:00
Derrell Lipman
db7bff1bab Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)
2008-07-16 09:48:23 -04:00
Derrell Lipman
deac1761f0 Static libsmbclient library needs to include all objects
LIBSMBCLIENT_OBJ0 contains only the libsmb/libsmb_*.o files.  We need the
  more inclusive set of object files defined by LIBSMBCLIENT_OBJ1.

Derrell
(This used to be commit 6c33c620072d641fc19ca0224c16af75f6cd7e9e)
2008-07-16 09:47:06 -04:00
Derrell Lipman
a49f6f17c6 Fix typos.
libsmbclient doesn't have bool defined; rather it uses smbc_bool

Derrell
(This used to be commit e1ade80f468e8ed827f9d4fd035d79546fa0ee0a)
2008-07-16 09:45:02 -04:00
Stefan Metzmacher
ddc0d9deb3 libnet_dssync: use ctr[1|6]->more_data
metze
(This used to be commit 6b7ddb6d664f5f3b62161cdb3abf12633b263a64)
2008-07-16 15:31:23 +02:00
Stefan Metzmacher
d1689221b4 rerun 'make idl' after drsuapi.idl changes
metze
(This used to be commit 512912e1316a7d3d11a2434efa568d9ec50914b4)
2008-07-16 15:28:04 +02:00
Stefan Metzmacher
bad1888029 drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*
metze
(cherry picked from commit 9e99e59ca7e56bf74417ec85339e09e86f50d17e)
(This used to be commit 11ab230832b48f2ff7f2c9319168b6ae53590b61)
2008-07-16 15:12:19 +02:00
Stefan Metzmacher
dea1c7ae16 drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(cherry picked from commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
(This used to be commit 7488eda7a33f5ebe58a1c1217b7ac7e17e67946d)
2008-07-16 15:12:19 +02:00
Stefan Metzmacher
1df8557109 drsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]
metze
(cherry picked from commit a681e55067a83f06e465b81afb2b0b870b674dca)
(This used to be commit c3ebb9ae001c1c2d74233b3f3e33dc8fd57098b6)
2008-07-16 15:12:19 +02:00
Stefan Metzmacher
0c483fe7c7 drsuapi.idl: correctly handle xpress compressed payload
metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d9d19eef4f67da89e7d818d23a2372bee6f86dba)
(This used to be commit 0a24fa0dc3514ef19b84d41055682954a22d3079)
2008-07-16 15:12:18 +02:00
Stefan Metzmacher
e096247043 drsuapi.idl: remove some unknows from DsGetNCChanges()
metze
(cherry picked from commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
(This used to be commit 6a33be98b8dd4223491f1cbed9a1af2bc44e7356)
2008-07-16 15:12:18 +02:00
Christoph Zauner
faf1413a4d man pages: Fix typos and add improvements.
(This used to be commit 060ff6d8d4e61f3ce89f980182413852cc5719be)
2008-07-16 10:16:34 +02:00
Andreas Schneider
525a3f3c49 Release still reachable memory if the smbclient context is freed.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(This used to be commit 7a65053bc8579b4f56045fb2c658a91a4af0dfea)
2008-07-15 17:13:17 -07:00
Jeremy Allison
4d1979423e Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimes
function more like POSIX and allow NULL arg. Help vfs developers.
Jeremy.
(This used to be commit 613f2849ad2dc25fe2e5f8a76d69797b5b302bb9)
2008-07-15 15:26:36 -07:00
Jeremy Allison
24eec914c0 Fix swat. Bug #5613.
Jeremy
(This used to be commit 15920f838835f5dbbac8712202267c2a99237686)
2008-07-15 14:37:48 -07:00
Günther Deschner
1939177582 fix build warning.
Guenther
(This used to be commit 507660706901a79544d436046127947e4baa7e52)
2008-07-15 23:06:48 +02:00
Michael Adam
730678c731 netapi: fix vim(?)-typo
Michael
(This used to be commit 7a7bddd75413dba3c0c43fab68a115cf0445f12b)
2008-07-15 22:52:04 +02:00
Kai Blin
b3152fb268 netapi: Correctly increase idx when displaying user information
(This used to be commit 5fad9de2507b88820149def31faa28e5e45f7b5f)
2008-07-15 22:29:02 +02:00
Michael Adam
fc6216b2da dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.
return NULL instead and leave appropriated measures to the caller.

Michael
(This used to be commit 1002507b56a13420d8178c5397610edd839a7584)
2008-07-15 16:43:26 +02:00
Michael Adam
3899851af0 dbwrap: don't panic in db_open_trans() when attaching to ctdb fails.
Michael
(This used to be commit 308fc7d5bf5f5ccfc73677b052a4e6ecede25921)
2008-07-15 15:27:46 +02:00
Michael Adam
5a8b0fe99f dbwrap: don't panic in db_open() when attaching to ctdb fails.
Michael
(This used to be commit b9c008d9bd8b8119007e7ad03a40235998af4f5c)
2008-07-15 15:27:14 +02:00
Michael Adam
a8ae5228f5 registry: bump debug level to 1 in regdb_init() if storing version string fails.
Higher level callers should take care of level 0 messages.

Michael
(This used to be commit b5829e04eaf2408858b34f53b849aaf8b969a925)
2008-07-15 14:25:00 +02:00
Michael Adam
0586d981a7 registry: bump debug level to 1 in regdb_init() if opening the registry fails.
Higher level callers take care of level 0 messages or more drastic measures.

Michael
(This used to be commit 111d802b5c0dfdf556f736b6c53df74e077a6238)
2008-07-15 14:22:55 +02:00
Michael Adam
56681032b2 dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open_trans.
Michael
(This used to be commit 013d29c70438bfd43bd11cbb13ba707b256f9b18)
2008-07-15 13:55:33 +02:00
Michael Adam
32df537a24 dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open
Michael
(This used to be commit 33188a991f7e2f8dc1b5beed1dde1b7f77403e1a)
2008-07-15 13:55:26 +02:00
Michael Adam
a3356d6f32 testparm: allow the default debug level of 2 to be changed from the command line.
Michael
(This used to be commit 5a0883a7f28538fad542293e1d9361e8c4bed1fd)
2008-07-15 13:03:24 +02:00
Michael Adam
dbac75b466 popt: add a popt_common_debuglevel set of options providing -d|--debuglevel
Michael
(This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)
2008-07-15 13:03:24 +02:00
Michael Adam
4ce6f3e7dd testparm: refactor the per-share logic checks out into do_per_share_checks().
Just to enhance clearness of the code.

Michael
(This used to be commit cd5d13dec0153c64d541e85bd13138b738cf50af)
2008-07-15 13:03:23 +02:00
Michael Adam
0f040b58a2 testparm: skip the per-share logic checks when --skip-logic-checks is specified.
Michael
(This used to be commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)
2008-07-15 12:56:35 +02:00
Michael Adam
7cc155bdc1 testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
as suggested by Karolin.

That is what it really means. And per-share logic tests will be
disabled by the same switch, too...

Michael
(This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)
2008-07-15 12:54:04 +02:00
Michael Adam
9978cc6c23 testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
Michael
(This used to be commit 32f4b1443af12026c419684be45a7d8b96ccfaac)
2008-07-15 00:31:10 +02:00
Michael Adam
52bcb6d70f testparm: add a switch --skip-global-checks.
This allows for successfully calling testparm without the need
to "make install" before. Without this, testparm fails with
the message that the lock directory does not exist...

Michael
(This used to be commit eeb018fad65c19804a4e96ea949fc2c64883439e)
2008-07-15 00:31:10 +02:00
Michael Adam
b385f6626b build: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 8897aaec32ef7cb4dab37a70754c8596409fed00)
2008-07-14 23:16:47 +02:00
Michael Adam
e147120918 build: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit bf619d019225a7aaf17e213e65c5734e68094142)
2008-07-14 23:16:46 +02:00
Michael Adam
f6ec12f477 build: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 603b83c980a73e13f7dad35a28830105358c7544)
2008-07-14 23:16:46 +02:00
Michael Adam
f5715af1fe build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 1f0feb3d12aa93400e8ba604df36a00d7cfaa07a)
2008-07-14 23:16:46 +02:00
Michael Adam
4d9c1bb8fc build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit cd3c667bdaa8c2b09debbfd8c3389cf9f6d690e9)
2008-07-14 23:16:45 +02:00
Michael Adam
b1560e558a build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
This should fix some more picky makes when not building @LIBWBCLINET_SHARED@
Moreover, we want to link against -lwbclient, not against bin/libwbclient.so
anyways.

Michael
(This used to be commit 73582e4c5168301696cdca569167402f17a67218)
2008-07-14 23:16:45 +02:00
Michael Adam
599df86b57 build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 4330a2ab1308bd2b1508d5126146742540219520)
2008-07-14 23:16:45 +02:00
Michael Adam
c878db0b89 build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 1719fd3ccc110b90908410c07aee862a8758e683)
2008-07-14 23:16:44 +02:00
Michael Adam
85169652d4 build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 87f56f28800d2045e70739a8edcd359ddee662a7)
2008-07-14 23:16:44 +02:00
Michael Adam
8f8ee7b243 build: use $(WINBIND_LIBS) instead of @WINBIND_LIBS@ in rules.
This fixes the build on systems with picky make, where
libwbclient is not built as a shared library, since the
expansion of @WINBIND_LIBS@ will result in an empty line
in the rule with just the leading tabs/spaces.

Michael
(This used to be commit aff6822c3ab3ea46d928570f03f681f53ccf3d50)
2008-07-14 23:16:44 +02:00