summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett2012-06-026-40/+34
| | | | | | | I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
* s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett2012-06-025-167/+6
|
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-024-1/+172
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* lib/replace: We cannot use strchr_m in lib/replaceAndrew Bartlett2012-06-021-6/+6
| | | | | | In any case, it is always safe to search for . even in a multibyte string. Andrew Bartlett
* lib/replace: DEBUG is not acceptable here, as this may not be linked into SambaAndrew Bartlett2012-06-021-7/+0
|
* lib/replace: Copy lib/system.c xattr wrappers to lib/replaceAndrew Bartlett2012-06-021-0/+703
|
* waf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal ↵Alexander Bokovoy2012-06-011-0/+4
| | | | | | | | | versions Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jun 1 11:23:21 CEST 2012 on sn-devel-104
* Remove an unused variable.Jeremy Allison2012-06-011-3/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104
* lib/dbwrap: make it possible to delete/store the current record during traverseStefan Metzmacher2012-05-311-9/+71
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 31 02:50:09 CEST 2012 on sn-devel-104
* lib/dbwrap: don't alter the record on failure in db_rbt_store()Stefan Metzmacher2012-05-311-9/+10
| | | | metze
* lib/dbwrap: fix db_rbt_store and update the per record node pointerStefan Metzmacher2012-05-311-0/+1
| | | | metze
* lib/dbwrap: remove unused per db_record pointer in dbwrap_rbtStefan Metzmacher2012-05-311-10/+9
| | | | metze
* lib/krb5_wrap: Move krb5_princ_size helper to source4 as it is only used thereAndrew Bartlett2012-05-301-8/+0
| | | | | | | | | | This is also where the related krb5_princ_component is declared. Also fix the configure check to use the correct name This helps the autoconf build on Heimdal. Andrew Bartlett
* lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett2012-05-303-256/+257
| | | | | | | This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
* lib/param: Add a few more s3 parametersAndrew Bartlett2012-05-301-0/+4
|
* lib/param: Import s3 parameters into lib/param to allow the parameter lists ↵Andrew Bartlett2012-05-301-0/+164
| | | | | | | | | | | | merge This will allow us to create just one list of the FN_ macros, included into both parameter systems. This will in turn allow the actual parameter definitions to be merged in a similar way. Andrew Bartlett
* lib/param: Mark a few more parameters const (matching s3)Andrew Bartlett2012-05-301-12/+13
| | | | | | | While this makes no difference in the lib/param code, this allows the C files to be compared and merged. Andrew Bartlett
* param: mark realm parameter as constAndrew Bartlett2012-05-301-1/+1
|
* param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett2012-05-301-81/+78
| | | | | | | This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
* lib/param: Add .flags to max/min protocol to match s3Andrew Bartlett2012-05-301-4/+8
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Add .flags to wins parameters to match s3Andrew Bartlett2012-05-301-2/+4
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett2012-05-301-3/+3
|
* build: Remove unused release scripts for teventAndrew Bartlett2012-05-305-426/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* build: Remove unused release scripts for tdbAndrew Bartlett2012-05-306-497/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* build: Remove unused release scripts for tallocAndrew Bartlett2012-05-306-518/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* lib: add tevent_req_poll_werrorVolker Lendecke2012-05-302-0/+16
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* build: Remove all references to libuuidAndrew Bartlett2012-05-271-7/+0
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* Eliminate dependency on an external uuid library.Andriy Syrovenko2012-05-274-19/+10
|
* dns_hosts_file: move to a separate subsystemAlexander Bokovoy2012-05-251-1/+1
| | | | | | | | | | | After discussion with Kai move dns_hosts_file to a separate subsystem and merge it into libaddns private library for s3/s4 client use. Also remove dependency in libcli/nbt, the code from libcli/dns subsystems is not used there at all. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104
* krb5samba: Add smb_gss_oid_equal wrapper.Andreas Schneider2012-05-233-2/+89
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* libcli/dns: make 'clidns' private library out of DNS code in WAF buildAlexander Bokovoy2012-05-231-1/+1
| | | | | | | | | | | | | | | | After consolidating DNS resolver code to lib/addns, there is one piece that still needs to be moved into a common DNS resolver library: DNS_HOSTS_FILE subsystem. Unfortunately, direct move would require lib/addns to depend on libcli/util/{ntstatus.h,werror.h} (provided by errors subsystem). In addition, moving libcli/dns/* code to lib/addns/ would make conflicting the dns_tkey_record struct. The conflict comes from source4/dns_server/ and is due to use of IDL to define the struct. lib/addns/ library also provides its own definition so we either need to keep them in sync (rewrite code in lib/addns/ a bit) or depend on generated IDL headers. Thus, making a private library and subsystem clidns is an intermediate step that allows to buy some time fore refactoring.
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-235-9/+13
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* dns: fix comments and make s4/libcli/resolve dns resolver workingAlexander Bokovoy2012-05-231-3/+3
| | | | | | | | After migrating to use libaddns, reply_to_addrs() needed to change the way answers are iterated through. Originally libroken implementation gave all answers as separate records with last one being explicitly NULL. libaddns unmarshalling code gives all non-NULL answers and should be iterated with explicit reply->num_answers in use.
* lib/krb5_wrap: implement krb5_cc_get_lifetime for MIT KerberosAlexander Bokovoy2012-05-231-19/+22
| | | | | | | In case krb5_cc_get_lifetime is not available, iterate over existing tickets in the keytab, find the one marked as TKT_FLAG_INITIAL, and use its lifetime. This is how it is implemented in Heimdal and how it was suggested to be done by MIT Kerberos developers.
* gensec_gssapi: Make it possible to build with MIT krb5Simo Sorce2012-05-231-0/+3
| | | | | | | | | | We need to ifdef out some minor things here because there is no available API to set these options in MIT. The realm and canonicalize options should be not interesting in the client case. Same for the send_to_kdc hacks. Also the OLD DES3 enctype is not at all interesting. I am not aware that Windows will ever use DES3 and no modern implementation relies on that enctype anymore as it has been fully deprecated long ago, so we can simply ignore it.
* s4-resolve: Remove dependency on librokenSimo Sorce2012-05-231-7/+2
| | | | Use available native samba resolver functions
* addns: Make ads_dns_lookup_srv pulicSimo Sorce2012-05-232-1/+6
|
* Move source3/libads/dns.c to lib/addnsSimo Sorce2012-05-233-0/+976
|
* addns: Fix talloc hiereachySimo Sorce2012-05-231-1/+1
| | | | Attach request to local memory context not to potentially long lived connection
* dbwrap: Fix Coverity ID 242750 Incorrect sizeof expressionVolker Lendecke2012-05-151-1/+1
| | | | Taking the size of "db" is correct, but a bit fishy. Silence Coverity.
* lib/ccan: add a missing dependency to 'execinfo' for 'backtrace()'Stefan Metzmacher2012-05-151-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 16:12:54 CEST 2012 on sn-devel-104
* s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher2012-05-152-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | "security=server" has a lot of problems in the world with modern security (ntlmv2 and krb5). It was also not very reliable, as it needed a stable connection to the password server for the lifetime of the whole client connection! Please use "security=domain" or "security=ads" is you authentication against remote servers (domain controllers). metze -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SERVER | | security=server | | | | | | 12 May | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.cStefan Metzmacher2012-05-142-0/+16
| | | | metze
* lib/util: add missing 'errors' dependency to 'tevent-util'Stefan Metzmacher2012-05-141-1/+1
| | | | metze
* lib/tevent/testsuite: no longer use 'compat' symbolsStefan Metzmacher2012-05-141-12/+12
| | | | metze
* move the dbwrap library to the top levelMichael Adam2012-05-1413-0/+2821
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
* tevent: fix indentation in the wscriptMichael Adam2012-05-131-1/+1
| | | | (accidentially commited in 5e8dee8d96a7522cdcde57dbbf93fbe9c614992e)
* lib/socket_wrapper only enable python_socket and socket.py with socket_wrapperAndrew Bartlett2012-05-131-8/+10
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 13 10:41:27 CEST 2012 on sn-devel-104
* libreplace: Fix symbol names for snprintf/asprintf/vasprintf.Jelmer Vernooij2012-05-131-6/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 13 05:16:28 CEST 2012 on sn-devel-104
* smbconf: remove python shebang from wscript_buildMichael Adam2012-05-111-2/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 11 22:05:32 CEST 2012 on sn-devel-104