summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-07-03Remove gencache_[un]lock_entryVolker Lendecke1-25/+0
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-) (This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke1-10/+15
net cache get was the only one interested in the timeout. That single caller can take care of the timeout itself then. With this API change idmap_cache.c can be converted to gencache. (This used to be commit 2954b2be563149380e1fae7fe088b98d6cbd42e7)
2008-07-03netapi: fix doxygen warning.Günther Deschner1-1/+1
Guenther (This used to be commit cfd59383d680e41a885e546842b0eb8585123acb)
2008-07-02Remove worrying warning message when safe_strcpy tries to copy a pseaudo ↵Jeremy Allison1-1/+1
interface name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>. Jeremy. (This used to be commit 3a7542fd495223c3a504571a52e2d00551fea0e2)
2008-07-02Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison1-0/+3
strlcat gives error. Jeremy. (This used to be commit d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
2008-07-01MSG_DEBUG now forwarded to all the winbindd children by parent.Darshan Purandare1-1/+1
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-01Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison1-1/+1
the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
2008-07-01Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵Jeremy Allison1-1/+1
searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
2008-06-27Do not segfault if corepath is not set up properlyVolker Lendecke1-0/+5
(This used to be commit 41d1b9541ccb802f01f12038b3b81853b3b7c32d)
2008-06-27Fix warnings on SuSE 9.0.Karolin Seeger1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-06-26ctdbd_connect: bump debug level to 1 for "connect failed" message.Michael Adam1-1/+1
Leave level 0 message for higher level callers. Michael (This used to be commit fee770e5d080b0513418e61e469f2824a1d771ec)
2008-06-26messages: bump debug level to 1 for "messaging_ctdb_init failed".Michael Adam1-2/+2
Leave level 0 messages to higher level callers. Michael (This used to be commit 7bbf29137bf051044cbf0db8d9fe564a7c9d7a29)
2008-06-25netapi: add NetUserChangePassword() example code.Günther Deschner2-0/+105
Guenther (This used to be commit ac5aaf29004584d0f1821689eb985d837cda1aa1)
2008-06-25netapi: add NetUserChangePassword() to public headers.Günther Deschner1-0/+20
Guenther (This used to be commit 5d06891238d7dddedeb6fe2aca677c765b90c74a)
2008-06-25netapi: add NetUserChangePassword skeleton.Günther Deschner3-0/+72
Guenther (This used to be commit f4ce6887103d0f50bf9a91251e2aceb77674604f)
2008-06-24libads: use ads_connect_user_creds in some places.Günther Deschner1-1/+1
Guenther (This used to be commit ebf31203e7cf22e32b986c536279688b17a65d22)
2008-06-23time: move uint64s_nt_time_to_unix_abs() to lib/time.cGünther Deschner1-0/+7
Guenther (This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-23libsmbconf: add "includes" to the forbidden_valnames[].Michael Adam1-0/+1
This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
2008-06-23libsmbconf: fastpaths first in smbconf_reg_valname_valid().Michael Adam1-2/+2
Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
2008-06-23init_shared_module -> init_samba_moduleVolker Lendecke2-4/+4
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-21Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke2-5/+7
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-20Fix bug #5531 - fix conversion of ns units when converting from nttime to ↵Jeremy Allison1-2/+6
timespec. Fix from hkurma@datadomain.com. Jeremy. (This used to be commit 8c87a4319cc83f55fb105cae81a8efbc3fb5b98b)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke1-1/+1
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-06-19Fix the build on FreeBSD 4.6.2Volker Lendecke1-4/+5
(This used to be commit 4f50cb63e9b565ae0747127baa651a1a1874298b)
2008-06-18Fix Bug #5548 (segfauls in handle_include with %m macro expansion).Michael Adam1-1/+4
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-17netapi: use NetUserEnum filter in example code.Günther Deschner1-1/+1
Guenther (This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
2008-06-17netapi: add NetUserEnum filter constants to public headers.Günther Deschner1-0/+6
Guenther (This used to be commit 32a66131eb56e1c66b89e348141047c6b98cf35e)
2008-06-17netapi: implement NetUserEnum filters.Günther Deschner1-1/+22
Guenther (This used to be commit 0bd69df7704789888eba2a07aba505dce037c4eb)
2008-06-17netapi: add NetRemoteTOD example code.Günther Deschner2-1/+90
Guenther (This used to be commit 2b82779a401dd1d14f5842872ac37b2454efc92b)
2008-06-17netapi: implement NetRemoteTOD().Günther Deschner1-2/+32
Guenther (This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
2008-06-17netapi: make NetRemoteTOD() headers public.Günther Deschner1-0/+31
Guenther (This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)
2008-06-17netapi: add NetRemoteTOD() skeleton.Günther Deschner3-0/+67
Guenther (This used to be commit 78bc98cb55e36ef175f9c0f6fcd943781a514005)
2008-06-17netapi: Fix Bug #5545 (libnetapi_init without $USER)Günther Deschner1-2/+6
Based on patch from Erik van Pienbroek. Guenther (This used to be commit 71f4cf773022525ba617f09c495dbff97f8eb2d5)
2008-06-13Fix a handle leak for error returns in ldb_try_load_dsoVolker Lendecke1-1/+7
Coverity ID 464 (cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900) (This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
2008-06-11Fix max_fd calculation in event_loop_onceVolker Lendecke1-1/+1
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-10Correctly find a [u]int32_t replacementVolker Lendecke1-6/+15
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (This used to be commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)
2008-06-10socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher1-0/+8
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-10socket_wrapper: sync missing stuff from v4-0-testStefan Metzmacher5-8/+17
metze (This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
2008-06-10Factor out IP marshalling into separate function.Jelmer Vernooij1-36/+43
(cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552) (This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
2008-06-10r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher1-12/+5
metze (cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa) (This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
2008-06-10r23420: try to make the IBM checker happyStefan Metzmacher1-3/+8
metze (cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1) (This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
2008-06-10r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Stefan Metzmacher1-161/+391
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-10r21729: Some more testsJelmer Vernooij2-6/+29
(cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c) (This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
2008-06-10r21671: Add initial simple tests for socket wrapperStefan Metzmacher3-1/+84
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
2008-06-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
2008-06-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
2008-06-09libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if requiredStefan Metzmacher1-1/+2
This fixes ./autogen.sh with autoconf-2.62 metze (cherry picked from commit 72bb01dda4d425528e28cd96e249595dc6c1952f) (This used to be commit 85111dc2b60ca38027adf129a074641c752cb104)
2008-06-09libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_Stefan Metzmacher1-4/+4
AC_CACHE_VAL() variables must contain _cv_ to be cached. metze (cherry picked from commit 67e43860b4973a458676b36785570bb4a66e046a) (This used to be commit d786bfc48e20ed7e695a988da6ed56a573afdadc)
2008-06-05netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.Günther Deschner1-3/+3
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-05netdomjoin-gui: fix more gtk runtime warnings.Günther Deschner1-0/+4
Guenther (This used to be commit 521ea68719524eeef827875e018bb8cba2a92e87)