summaryrefslogtreecommitdiffstats
path: root/source4/include
Commit message (Collapse)AuthorAgeFilesLines
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* lib/util: new merged debug systemAndrew Bartlett2011-03-011-1/+1
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* lib/util move debug.[ch] out of the wayAndrew Bartlett2011-03-011-1/+1
| | | | | | | This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
* developer: only do the C++ reserved name checking on LinuxAndrew Tridgell2010-11-171-1/+1
| | | | | this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
* s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer2010-02-051-9/+0
| | | | | | | The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
* Revert "s4:include/includes.h - Need to include "system/network.h""Matthias Dieter Wallnöfer2010-01-291-1/+0
| | | | | | This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52. This obviously broke the build. Revert it for now.
* s4:include/includes.h - Need to include "system/network.h"Matthias Dieter Wallnöfer2010-01-291-0/+1
| | | | Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
* s4 includes: Include system/locale.h to get access to <ctype.h>Kai Blin2010-01-251-0/+1
|
* s4:cmdline: setup talloc log and abort functionsStefan Metzmacher2009-08-241-5/+0
| | | | metze
* make the UID_WRAPPER skip checks at runtimeAndrew Tridgell2009-08-051-1/+5
| | | | | | | This fixes two issues pointed out by Andrew. It adds a runtime uwrap_enabled() call that wraps the skips needed for uid emulation. It also makes the skip in the directory_create_or_exist() function only change the uid checking code, not the permissions code
* added a uid_wrapper libraryAndrew Tridgell2009-08-051-0/+5
| | | | | | | | | | | | | | | | | | | | This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
* Try and fix the S4 build - include thread includes.Jeremy Allison2009-04-141-0/+4
| | | | Jeremy.
* Remove unused CONST_DISCARD macro.Jelmer Vernooij2009-03-151-4/+0
|
* Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison2009-02-131-0/+4
| | | | | | and it still doesn't build you know it's messed up. Jeremy.
* s4:includes: copy #error DONT_USE_CPLUSPLUS_RESERVED_NAMES from source3Stefan Metzmacher2009-02-021-0/+16
| | | | | | We should not use c++ reserved names in source4 too. metze
* s4:includes.h: stdlib.h and stdbool.h are already included by replace.hStefan Metzmacher2009-02-021-2/+0
| | | | metze
* Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij2008-11-011-1/+3
|
* Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij2008-10-242-53/+0
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-6/+0
|
* Remove unused constants from local.h.Jelmer Vernooij2008-10-231-11/+2
|
* Repel pstring to nsswitch/.Jelmer Vernooij2008-10-221-39/+0
|
* Remove pstring usages.Jelmer Vernooij2008-10-221-2/+0
|
* Fix include, clean up .o files in ../lib and ../libcliJelmer Vernooij2008-10-111-0/+1
| | | | | | Conflicts: source4/Makefile
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-2/+2
| | | | | | Conflicts: source4/Makefile
* Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij2008-09-161-1/+1
|
* Change our module code to not use the special symbol name init_module()Andrew Tridgell2008-06-171-0/+6
| | | | | | | | | | Current glibc libraries include a function called init_module(). If we use the same name, then a dlsym() can find the glibc function if the module doesn't have an initialisation function. In ldb, none of our modules have an init_module(), so we end up calling the libc functions with bogus arguments. (This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
* r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gccAndrew Bartlett2007-12-211-1/+1
| | | | | | | | | | compilers. Instead, as jelmer suggests, remove the depricated marker on fstring, for as long as it is used in the samba3 winbind protocol. Andrew Bartlett (This used to be commit b15df834ae6506a5c585ec1ede8bf513339d9b13)
* r25555: Remove support for BOOL, True and False.Jelmer Vernooij2007-10-101-5/+0
| | | | (This used to be commit 18a2bcfa9e7d4718648f401821259d1dbf5a3ff4)
* r25301: Merge my includes.h cleanups.Jelmer Vernooij2007-10-101-4/+0
| | | | (This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
* r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij2007-10-101-16/+3
| | | | (This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
* r25265: Move attribute definitions to lib/util.Jelmer Vernooij2007-10-101-57/+0
| | | | (This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24816: Move the rest of the contents of core.h to more appropriate places.Jelmer Vernooij2007-10-102-71/+3
| | | | | | include/ now only contains build system related headers, all other headers are now near the source code they're related to. (This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
* r24814: Fix headers, trim core.h even more.Jelmer Vernooij2007-10-102-22/+2
| | | | (This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
* r24812: Fix headers for external users.Jelmer Vernooij2007-10-101-4/+0
| | | | (This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
* r24780: More work allowing libutil to be used by external users.Jelmer Vernooij2007-10-101-15/+0
| | | | (This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
* r24715: Mark fstring and pstring as deprecated.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit c8118f156129cbd173693157e6648ed5e01813f3)
* r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij2007-10-102-5/+6
| | | | (This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-103-9/+6
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij2007-10-101-7/+35
| | | | | | _NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
* r21297: Remove the GTK+ tools and library from the main repository. They are ↵Jelmer Vernooij2007-10-101-0/+2
| | | | | | | | now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. (This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
* r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
* r20647: add cluster codeAndrew Tridgell2007-10-101-1/+0
| | | | (This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
* r20298: Fix pidl tests (missing symlink..).Jelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
* r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett2007-10-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
* r19242: merge from samba3:Stefan Metzmacher2007-10-101-3/+2
| | | | | | | handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
* r18448: this gives nicer output...Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 6bdb329da5771b4be792d8889d3ece8f93a495b0)
* r18447: make sure we bail out if the config.h is not generatedStefan Metzmacher2007-10-101-0/+7
| | | | | | | | | | by samba's configure. this could happen when you have done a standalone build in lib/replace/, lib/talloc, ... metze (This used to be commit d8e88386748d3952c6a82726c9d36cad870992fd)
* r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell2007-10-101-14/+2
| | | | (This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
* r18169: Remove accidentally committed bitsJelmer Vernooij2007-10-101-0/+5
| | | | (This used to be commit 51faeff2fa8050190ce0c3608f7936414fe2ea15)