summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* s4:registry:regdiff: use existing talloc context for the event contextMichael Adam2012-07-131-1/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jul 13 02:51:44 CEST 2012 on sn-devel-104
* s4:registry:regdiff: add TALLOC_CTX * argument to open_backend()Michael Adam2012-07-131-6/+7
|
* s4:registry: add a TALLOC_CTX argument to reg_open_remote()Michael Adam2012-07-134-5/+7
|
* s4:registry:testsuite: fix use of non-existent word (existant)Michael Adam2012-06-121-3/+3
|
* build: Add missing deps and make MESSAGING a private libraryAndrew Bartlett2012-06-071-2/+3
| | | | | | | | | To remove finddcs_nbt these missing deps need to be added. These subsystems linked to to implicit dependencies provided by finddcs. Due to the new arrangmenet of subsystems, MESSAGING needs to be a private library to avoid being a source of duplicate symbols. Andrew Bartlett
* s4:lib/events: no longer define TEVENT_COMPAT_DEFINESStefan Metzmacher2012-05-141-3/+0
| | | | metze
* s4:lib/events: remove unused event_context_find() prototypeStefan Metzmacher2012-05-141-1/+0
| | | | metze
* s4:lib: remove unused wscript_build fileMichael Adam2012-05-111-7/+0
| | | | | This only contains a "GENCACHE" subsystem that is not referenced anywhere.
* UTIL_TDB: lowercase name.Jelmer Vernooij2012-05-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 20:18:22 CEST 2012 on sn-devel-104
* s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett2012-04-301-1/+6
| | | | | | | | | | | | This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4 and avoids any possible collision with a different process. We also need to ensure that across a Samba installation on a single node that id.vnn is the same. Samba4 previously used 0, while Samba3 used NONCLUSTER_VNN. When a message is sent between these 'different' nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised. Andrew Bartlett
* s4-messaging: Use generate_random() to get a unique ID for messaging clientsAndrew Bartlett2012-04-251-1/+2
| | | | | | | | | | | | The call to random() resulted in duplicate values for s3fs configurations which, due to the forked child, all started with the same random seed. A future improvement would be to move to a proven unique value. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 25 11:43:40 CEST 2012 on sn-devel-104
* Stop installing popt_common.h as its symbols are in a private library.Jelmer Vernooij2012-03-161-1/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 17:39:31 CET 2012 on sn-devel-104
* tdb_wrap: Move to specific directory.Jelmer Vernooij2012-03-101-1/+1
| | | | | | | | | | It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104
* s4 dns: Fix TCP handling in the DNS serverKai Blin2012-03-062-0/+13
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
* policy/python: Move python binding tests to standard location.Jelmer Vernooij2012-03-061-36/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
* s4:lib/tls - include GNUTLS headers consistently using <...>Matthias Dieter Wallnöfer2012-02-183-4/+4
| | | | | | | | | These are system-specific. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Feb 18 00:43:58 CET 2012 on sn-devel-104
* s4-lib/samba3: Remove unused smbpasswd_decode_acb_info()Andrew Bartlett2012-02-102-66/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-lib/tls: remove unused tls_support()Andrew Bartlett2012-02-102-15/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-cmdline: Remove unused popt_common_dont_ask()Andrew Bartlett2012-02-102-10/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* regshell: Fix a counter that can actually be non-zero.Jelmer Vernooij2012-02-081-1/+1
| | | | | | | This was a regression caused by one of the unsigned patches. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 8 16:00:22 CET 2012 on sn-devel-104
* s4-messaging: fix pymessaging docstringAndrew Bartlett2012-02-081-3/+2
|
* WERROR type variable being incorrectly checked with a NT_STATUS_IS_XDavid Disseldorp2012-01-231-1/+1
| | | | type macro.
* pyregistry: Remove directory support.Jelmer Vernooij2011-12-291-32/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 29 19:59:57 CET 2011 on sn-devel-104
* Remove the 'dir' registry backend.Jelmer Vernooij2011-12-294-491/+1
| | | | This backend was incomplete, and we already have plenty of other backends.
* s3: Fix the clustering buildVolker Lendecke2011-12-172-4/+4
| | | | | | | ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
* s4-socket: use set_close_on_exec()Andrew Tridgell2011-12-152-0/+8
| | | | this prevents a fd leak to child processes
* s4:lib/tls - call "gnutls_transport_set_lowat" only on GNUTLS < 3.0Matthias Dieter Wallnöfer2011-11-302-0/+8
| | | | | | | | | | | | | | | | This function call together with the lowat feature has been removed in release 3.0 as described in this mailing list post: http://old.nabble.com/gnutls_transport_set_lowat-deprecated-td32554230.html. Since we do not make any use of lowat (esprimed by each function call) we are free to simply omit it on v3.0 and later. This addresses bug #8537. Reviewed by: abartlet + metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 30 20:11:14 CET 2011 on sn-devel-104
* s4:lib/socket: add socket_connect_multi_ex_*Stefan Metzmacher2011-11-302-10/+147
| | | | | | | | | | | | This add an async establish hook, that gets called before a connection success is detected. This can be used to do a NBT session request and it makes sure that we don't cancel the connection on port 445, just because the tcp connect on port 139 worked. metze
* s4-socket: allow connect_multi_next_socket to try all the IP for a given hostMatthieu Patou2011-11-111-12/+21
| | | | | | This fix an incorrect behavior which was that if a host has 2 IP but was listening on only 1 (and the second one) connect_multi_next_socket was not able to connect because it used only the first result.
* policy/tests: Fix import of TestCase.Jelmer Vernooij2011-11-111-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
* test: fixed several tests to use samba.testsAndrew Tridgell2011-11-101-2/+2
| | | | | | | this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-socket: detect NULL server in socket connection codeAndrew Tridgell2011-11-101-0/+5
| | | | | | return NT_STATUS_NOT_FOUND instead of a segfault Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4:lib/registry - enhance registry tests in respect to default valuesMatthias Dieter Wallnöfer2011-11-031-1/+54
| | | | | | | Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 3 21:41:17 CET 2011 on sn-devel-104
* s4:lib/registry/ldb.c - quit the deletion of a not-existing default value ↵Matthias Dieter Wallnöfer2011-11-031-1/+3
| | | | | | with WERR_BADFILE Reviewed-by: Jelmer
* s4:lib/registry/ldb.c - don't use search filters for base searchesMatthias Dieter Wallnöfer2011-11-031-2/+4
| | | | | | They are not necessary in this case. Reviewed-by: Jelmer
* s4:lib/registry/regf.c - always generate debug messages on error casesMatthias Dieter Wallnöfer2011-11-031-1/+2
| | | | | | We need to know what is going on. Reviewed-by: Jelmer
* s4-socket: do not segfault if the socket is NULLMatthieu Patou2011-11-011-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Nov 1 19:02:52 CET 2011 on sn-devel-104
* s4:lib/socket: don't pass -1 to close()Stefan Metzmacher2011-10-311-1/+4
| | | | metze
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-3/+1
|
* s4:lib/stream: make use of smb_len_tcp()Stefan Metzmacher2011-10-191-1/+7
| | | | metze
* s4-interfaces: allow pure ipv6 to workMatthieu Patou2011-10-161-1/+2
| | | | | This is the complementary part of patch abe5afc580dcaaab70f136904d98fa83bfae7b6e for samba4.
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-131-1/+8
| | | | | | | | This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
* s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett2011-10-135-24/+28
| | | | | | This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
* s4:lib/wmi: avoid '//' commentsStefan Metzmacher2011-10-081-8/+8
| | | | | | The compiler on openindiana doesn't like them. metze
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* s4:lib/messaging: let irpc handles return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-09-141-2/+2
| | | | | | We should return the same in all places. metze
* s4:lib/socket/interface.c - "ifaces" strictly needs to be initialisedMatthias Dieter Wallnöfer2011-09-121-1/+1
| | | | | | | | | | | | Please consider a failing "get_interfaces" call and the "talloc_free()" operation on a possible uninitialised "ifaces" on line 326. https://bugzilla.samba.org/show_bug.cgi?id=8397 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Sep 12 23:49:12 CEST 2011 on sn-devel-104
* s4-messaging ensure we do not segfault on a NULL msg context in cleanupAndrew Bartlett2011-08-261-0/+4
|
* s4/libpolicy: Install header file.Jelmer Vernooij2011-08-214-8/+6
|
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104