summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29add Tru64 sub-second resolution timestamp supportBjörn Jacke1-0/+24
2009-01-29Fix the build on "opi"Volker Lendecke2-2/+3
It did not like to include "includes.h" twice
2009-01-29add missing semicolonsBjörn Jacke1-6/+6
the fixed configure check led to a missing semicolon in the now activated BSD code. Then this error was even copypasted into the new AIX code. grrr
2009-01-29setting mtime setted atime on BSD systems, fix thisBjörn Jacke1-2/+2
2009-01-29add AIX sub-second resolution timestamp supportBjörn Jacke1-0/+24
2009-01-29s3:ctdbd_conn: canonicalize ips before sending them to ctdbdStefan Metzmacher1-10/+40
This makes samba work with older ctdb versions. metze
2009-01-28Avoid valgrind errorsVolker Lendecke1-35/+13
In event handlers, we might destroy other events that are pending in the lists. We can only run one event safely per select call. Yes, I've seen these valgrind errors :-) Jeremy, with ccdd921e61 you had checked in the change to run multiple events. Do you remember why it was necessary and could not be solved in a different way? Volker
2009-01-28async_sock: Move to top levelKai Blin1-693/+0
2009-01-28s3:tdb_validate: clean up leading tabs/spaces and trailing spaces.Michael Adam1-28/+28
Michael
2009-01-28s3: separate tdb validation code out into its own source fileMichael Adam3-484/+580
So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
2009-01-23This change allows for the autoconfigre detection of sub-second time ↵todd stecher1-0/+12
resolution in the FreeBSD stat structure
2009-01-23s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵Tim Prouty1-5/+8
failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c
2009-01-23async_req: Move to top level dirKai Blin1-340/+0
2009-01-22s3:messages: finally make message_dispatch() staticStefan Metzmacher1-1/+2
metze
2009-01-22s3:messaging: start with to use signal events instead of the raw signal ↵Stefan Metzmacher1-37/+65
interfaces metze
2009-01-22s3:events: always run_events() before sys_select()Stefan Metzmacher1-5/+4
We might have pending signal events not only timed events. metze
2009-01-22Actually complete 3662c2b...Volker Lendecke1-2/+1
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-11/+15
2009-01-21libsmbconf: move the non-registry parts of libsmbconf to top levelMichael Adam6-1428/+0
Michael
2009-01-21s3:libsmbconf: include smbconf headers with lib/smbconf prefixMichael Adam2-4/+4
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backendMichael Adam1-20/+20
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in txt backendMichael Adam1-5/+6
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_initMichael Adam1-1/+1
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuiteMichael Adam1-5/+5
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.cMichael Adam1-2/+2
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf.cMichael Adam1-2/+2
Michael
2009-01-21s3:libsmbconf: remove the init headers from smbconf.hMichael Adam5-19/+100
give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael
2009-01-21s3:libsmbconf: remove unused function smbconf_is_writeable_bystring()Michael Adam2-27/+0
Michael
2009-01-21Fix warning; base dn is no longer const.Jelmer Vernooij1-2/+2
2009-01-21Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4.Jelmer Vernooij9-86/+16
2009-01-21Reorder arguments to ldb_search() to match what is in Samba 4.Jelmer Vernooij10-53/+47
2009-01-20"userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke1-2/+1
2009-01-20s3:messaging: also recreate the local messaging backend in messaging_reinit()Stefan Metzmacher1-3/+11
This prepares the change to use signal events in the tdb backend. metze
2009-01-20s3: reinit_after_fork() should reinit the event context before the messaging ↵Stefan Metzmacher1-4/+4
context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze
2009-01-20s3:events: add support for signal eventsStefan Metzmacher1-0/+6
metze
2009-01-19s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch()Stefan Metzmacher1-8/+26
The _bystring function are now just tiny wrappers. metze
2009-01-19s3:dbwrap: add get_flags() hook to db_contextStefan Metzmacher2-0/+17
metze
2009-01-19Remove unused tdb_search_keys()Volker Lendecke1-68/+0
2009-01-19simplify gencache_iterate a bit, fix nonempty blank linesVolker Lendecke1-86/+84
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke10-246/+12
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2009-01-18Add a macro async_req_setup()Volker Lendecke5-91/+47
This streamlines setting up a multi-step async request a bit
2009-01-16"First thing, kill all the language lawyers" :-). Ensure possible insane ↵Jeremy Allison1-1/+1
compilers can't kill us later. Jeremy.
2009-01-16s3:cluster: fix ctdb ipv6 supportStefan Metzmacher1-10/+20
We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze
2009-01-15Allow reinit_after_fork to be called safely from within swat and other ↵Jeremy Allison1-10/+14
binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy.
2009-01-16s3-util: for convenience, provide format comments in tdb_unpack().Günther Deschner1-7/+7
Guenther
2009-01-15s3: make better use of ccache by not including version.h in every C-file.Michael Adam4-4/+4
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
2009-01-15Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.Jeremy Allison1-4/+5
Jeremy.
2009-01-14Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison1-1/+2
the connections list and authentication structures to worry about. Jeremy
2009-01-14Fix build of netapi.Jeremy Allison1-1/+2
Jeremy.
2009-01-13Fix bug noticed by Volker - if sendfile returns zero thenJeremy Allison1-4/+12
we might have to handle a short send by filling with zeros. Jeremy.