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

3914 Commits

Author SHA1 Message Date
Jeremy Allison
4b88ff157d Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives error.
Jeremy.
(This used to be commit d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
2008-07-02 11:57:13 -07:00
Darshan Purandare
065760ede0 MSG_DEBUG now forwarded to all the winbindd children by parent.
smbcontrol winbindd debug level would only set the debug level of the
parent winbindd process and not the child processes. This patch adds
the functionality of broadcasting the debug message to all winbindd
children. Now the debug level message is propagated to all the winbindd
processes that includes parent and children.
(This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-07-01 17:52:24 -07:00
Jeremy Allison
570d5ecdbd Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int or
the loop never terminates.
Jeremy.
(This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
2008-07-01 15:51:54 -07:00
Jeremy Allison
4a8b39974b Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse searching decrement index,
not increment. Michael please check !
Jeremy.
(This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
2008-07-01 15:28:13 -07:00
Volker Lendecke
15ac8b6bc1 Do not segfault if corepath is not set up properly
(This used to be commit 41d1b9541ccb802f01f12038b3b81853b3b7c32d)
2008-06-27 16:57:12 +02:00
Karolin Seeger
e08943f8d8 Fix warnings on SuSE 9.0.
The macros "[un]likely" are already defined on SuSE 9.0.
Patch from Volker.
(This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-06-27 15:51:35 +02:00
Michael Adam
a8a0dd4241 ctdbd_connect: bump debug level to 1 for "connect failed" message.
Leave level 0 message for higher level callers.

Michael
(This used to be commit fee770e5d080b0513418e61e469f2824a1d771ec)
2008-06-26 12:31:11 +02:00
Michael Adam
0412c20386 messages: bump debug level to 1 for "messaging_ctdb_init failed".
Leave level 0 messages to higher level callers.

Michael
(This used to be commit 7bbf29137bf051044cbf0db8d9fe564a7c9d7a29)
2008-06-26 12:31:11 +02:00
Günther Deschner
ee35b50cad netapi: add NetUserChangePassword() example code.
Guenther
(This used to be commit ac5aaf29004584d0f1821689eb985d837cda1aa1)
2008-06-25 09:55:12 +02:00
Günther Deschner
8a01bd8f73 netapi: add NetUserChangePassword() to public headers.
Guenther
(This used to be commit 5d06891238d7dddedeb6fe2aca677c765b90c74a)
2008-06-25 09:55:12 +02:00
Günther Deschner
6fa8ac6ab4 netapi: add NetUserChangePassword skeleton.
Guenther
(This used to be commit f4ce6887103d0f50bf9a91251e2aceb77674604f)
2008-06-25 09:55:11 +02:00
Günther Deschner
18c9e75218 libads: use ads_connect_user_creds in some places.
Guenther
(This used to be commit ebf31203e7cf22e32b986c536279688b17a65d22)
2008-06-24 23:37:58 +02:00
Günther Deschner
33000d77e4 time: move uint64s_nt_time_to_unix_abs() to lib/time.c
Guenther
(This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-23 23:38:52 +02:00
Michael Adam
1ef07a6686 libsmbconf: add "includes" to the forbidden_valnames[].
This removes the warning messages 'Unknown parameter encountered: "includes"'.

Michael
(This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
2008-06-23 11:11:59 +02:00
Michael Adam
cb5f5eac38 libsmbconf: fastpaths first in smbconf_reg_valname_valid().
Before dropping into lp_parameter_is_valid().

Michael
(This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
2008-06-23 11:11:59 +02:00
Volker Lendecke
993d80fd22 init_shared_module -> init_samba_module
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-23 07:20:18 +02:00
Volker Lendecke
3cf5395ad5 Use "init_shared_module" instead of "init_module" for initializing .so's
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-21 11:25:41 +02:00
Jeremy Allison
c4d6ca41d9 Fix bug #5531 - fix conversion of ns units when converting from nttime to timespec.
Fix from hkurma@datadomain.com.
Jeremy.
(This used to be commit 8c87a4319cc83f55fb105cae81a8efbc3fb5b98b)
2008-06-20 13:23:31 -07:00
Volker Lendecke
40f5eab5eb Wrap the unix token info in a unix_user_token in auth_serversupplied_info
No functional change, this is a preparation for more current_user ref removal
(This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-06-19 18:51:37 +02:00
Volker Lendecke
bdc9391021 Fix the build on FreeBSD 4.6.2
(This used to be commit 4f50cb63e9b565ae0747127baa651a1a1874298b)
2008-06-19 12:02:12 +02:00
Michael Adam
1917b38873 Fix Bug #5548 (segfauls in handle_include with %m macro expansion).
In alloc_sub_basic, when expanding '%m', substitute "" instead of
NULL for remote_machine when this is NULL. Else a NULL string
is returned.

Michael
(This used to be commit c65b456c6a145d15b7fd27a2a3440a0709fc3277)
2008-06-18 14:50:53 +02:00
Günther Deschner
44e153e3c1 netapi: use NetUserEnum filter in example code.
Guenther
(This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
2008-06-17 20:00:11 +02:00
Günther Deschner
b330ea29c7 netapi: add NetUserEnum filter constants to public headers.
Guenther
(This used to be commit 32a66131eb56e1c66b89e348141047c6b98cf35e)
2008-06-17 20:00:00 +02:00
Günther Deschner
d0b7bccf6d netapi: implement NetUserEnum filters.
Guenther
(This used to be commit 0bd69df7704789888eba2a07aba505dce037c4eb)
2008-06-17 19:59:50 +02:00
Günther Deschner
ffba83d22d netapi: add NetRemoteTOD example code.
Guenther
(This used to be commit 2b82779a401dd1d14f5842872ac37b2454efc92b)
2008-06-17 19:58:11 +02:00
Günther Deschner
a2290e5e00 netapi: implement NetRemoteTOD().
Guenther
(This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
2008-06-17 19:58:01 +02:00
Günther Deschner
feca006232 netapi: make NetRemoteTOD() headers public.
Guenther
(This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)
2008-06-17 19:57:06 +02:00
Günther Deschner
ebbeddfdcd netapi: add NetRemoteTOD() skeleton.
Guenther
(This used to be commit 78bc98cb55e36ef175f9c0f6fcd943781a514005)
2008-06-17 19:56:44 +02:00
Günther Deschner
4500f1d584 netapi: Fix Bug #5545 (libnetapi_init without $USER)
Based on patch from Erik van Pienbroek.

Guenther
(This used to be commit 71f4cf773022525ba617f09c495dbff97f8eb2d5)
2008-06-17 10:49:38 +02:00
Volker Lendecke
1bc1b1ac0a Fix a handle leak for error returns in ldb_try_load_dso
Coverity ID 464
(cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900)
(This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
2008-06-13 16:15:12 +02:00
Volker Lendecke
5b8259c112 Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.

Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.

Volker
(cherry picked from commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
(This used to be commit 91c73e093a03b10426b671cb3e1dffb8a2455d47)
2008-06-11 18:58:26 +02:00
Volker Lendecke
dc45718f32 Correctly find a [u]int32_t replacement
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72)
(This used to be commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)
2008-06-10 17:21:31 +02:00
Stefan Metzmacher
5380fd800d socket_wrapper: truncate packets to a 1500 byte payload
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes
so that're getting a correctly formatted pcap file and the result
look more like real network traffic.

metze
(cherry picked from commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
(This used to be commit eb8c37a1ca97b41de00ec937a90bfdbe9cd21531)
2008-06-10 11:38:11 +02:00
Stefan Metzmacher
d57b8280d6 socket_wrapper: sync missing stuff from v4-0-test
metze
(This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
2008-06-10 11:38:05 +02:00
Jelmer Vernooij
e2fe170423 Factor out IP marshalling into separate function.
(cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552)
(This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
2008-06-10 11:36:39 +02:00
Stefan Metzmacher
a7967bc84c r25783: socket_wrapper: don't include "includes.h"
metze
(cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa)
(This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
2008-06-10 11:36:39 +02:00
Stefan Metzmacher
9b7b444e35 r23420: try to make the IBM checker happy
metze
(cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1)
(This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
2008-06-10 11:36:39 +02:00
Stefan Metzmacher
c8eccf5381 r22236: Update to Heimdal's socket_wrapper, which supports IPv6.
To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().

Andrew Bartlett
(partly cherry picked from commit 2254e61a1e5b29a64c5a24aac029ace193057e24)

metze
(This used to be commit 66b9f6f3722defd0863b055916b302478715704b)
2008-06-10 11:36:38 +02:00
Jelmer Vernooij
2359150639 r21729: Some more tests
(cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c)
(This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
2008-06-10 11:36:38 +02:00
Stefan Metzmacher
bd793fb235 r21671: Add initial simple tests for socket wrapper
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832)

metze
(This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
2008-06-10 11:36:38 +02:00
Love Hörnquist Åstrand
1410d8e799 r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution)
(cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
(This used to be commit d22701b196bded3294776b144a7a990de23741e9)
2008-06-10 11:36:37 +02:00
Love Hörnquist Åstrand
4084b467c5 r19367: Solaris needs <sys/filio.h> for FIONREAD.
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663)
(This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
2008-06-10 11:36:37 +02:00
Stefan Metzmacher
7932e475a5 libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62

metze
(cherry picked from commit 72bb01dda4d425528e28cd96e249595dc6c1952f)
(This used to be commit 85111dc2b60ca38027adf129a074641c752cb104)
2008-06-09 11:06:17 +02:00
Stefan Metzmacher
e2a393701c libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(cherry picked from commit 67e43860b4973a458676b36785570bb4a66e046a)
(This used to be commit d786bfc48e20ed7e695a988da6ed56a573afdadc)
2008-06-09 11:06:08 +02:00
Günther Deschner
66a5cbaf8b netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.

Guenther
(This used to be commit cc1b8de2632e87002cac86838f2a77ab9771ce2c)
2008-06-05 19:39:24 +02:00
Günther Deschner
de89de4b58 netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(This used to be commit 521ea68719524eeef827875e018bb8cba2a92e87)
2008-06-05 19:39:17 +02:00
Günther Deschner
19e5ee0e09 netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(This used to be commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)
2008-06-05 01:11:23 +02:00
Günther Deschner
7d35e4e294 netdomjoin-gui: some minor fixes + hunting down typecast bugs.
Guenther
(This used to be commit 0fa6c8c6a3efd026154e8af54ba73b3d3de1affa)
2008-06-04 18:00:54 +02:00
Günther Deschner
d4c5a1d504 util_str: add talloc_asprintf_strlower_m().
Guenther
(This used to be commit 7f8b0b4d151fa4d07758b6fd7b47b0b7c07dda17)
2008-06-04 01:35:43 +02:00
Günther Deschner
12281d02ae netapi: remove unrequired headers.
Guenther
(This used to be commit f8fec49ce10cbd663cb30ac94a543b4a76a8dc57)
2008-06-04 01:35:43 +02:00