summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-06-02ccan: fix autoconf test for isblank()Andrew Bartlett1-6/+6
The define in the C code is HAVE_ISBLANK Andrew Bartlett
2012-06-02libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAPAndrew Bartlett1-0/+10
2012-06-02libreplace: Fix autoconf build on platforms needing xattrsAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 07:23:32 CEST 2012 on sn-devel-104
2012-06-02lib/replace: Relicence xattr.c to LGPLv3Andrew Bartlett1-11/+14
By the kind consent of the copyright holders. (There wasn't any code from tridge in the code brought in from source3/lib/system.c). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 04:00:42 CEST 2012 on sn-devel-104
2012-06-02lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett6-40/+34
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
2012-06-02s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett5-167/+6
2012-06-02lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett4-1/+172
This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
2012-06-02lib/replace: We cannot use strchr_m in lib/replaceAndrew Bartlett1-6/+6
In any case, it is always safe to search for . even in a multibyte string. Andrew Bartlett
2012-06-02lib/replace: DEBUG is not acceptable here, as this may not be linked into SambaAndrew Bartlett1-7/+0
2012-06-02lib/replace: Copy lib/system.c xattr wrappers to lib/replaceAndrew Bartlett1-0/+703
2012-06-01waf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal ↵Alexander Bokovoy1-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
2012-06-01Remove an unused variable.Jeremy Allison1-3/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104
2012-05-31lib/dbwrap: make it possible to delete/store the current record during traverseStefan Metzmacher1-9/+71
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 31 02:50:09 CEST 2012 on sn-devel-104
2012-05-31lib/dbwrap: don't alter the record on failure in db_rbt_store()Stefan Metzmacher1-9/+10
metze
2012-05-31lib/dbwrap: fix db_rbt_store and update the per record node pointerStefan Metzmacher1-0/+1
metze
2012-05-31lib/dbwrap: remove unused per db_record pointer in dbwrap_rbtStefan Metzmacher1-10/+9
metze
2012-05-30lib/krb5_wrap: Move krb5_princ_size helper to source4 as it is only used thereAndrew Bartlett1-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
2012-05-30lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett3-256/+257
This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
2012-05-30lib/param: Add a few more s3 parametersAndrew Bartlett1-0/+4
2012-05-30lib/param: Import s3 parameters into lib/param to allow the parameter lists ↵Andrew Bartlett1-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
2012-05-30lib/param: Mark a few more parameters const (matching s3)Andrew Bartlett1-12/+13
While this makes no difference in the lib/param code, this allows the C files to be compared and merged. Andrew Bartlett
2012-05-30param: mark realm parameter as constAndrew Bartlett1-1/+1
2012-05-30param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett1-81/+78
This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
2012-05-30lib/param: Add .flags to max/min protocol to match s3Andrew Bartlett1-4/+8
This reduces the difference in the parameter tables. Andrew Bartlett
2012-05-30lib/param: Add .flags to wins parameters to match s3Andrew Bartlett1-2/+4
This reduces the difference in the parameter tables. Andrew Bartlett
2012-05-30lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett1-3/+3
2012-05-30build: Remove unused release scripts for teventAndrew Bartlett5-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
2012-05-30build: Remove unused release scripts for tdbAndrew Bartlett6-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
2012-05-30build: Remove unused release scripts for tallocAndrew Bartlett6-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
2012-05-30lib: add tevent_req_poll_werrorVolker Lendecke2-0/+16
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-27build: Remove all references to libuuidAndrew Bartlett1-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
2012-05-27Eliminate dependency on an external uuid library.Andriy Syrovenko4-19/+10
2012-05-25dns_hosts_file: move to a separate subsystemAlexander Bokovoy1-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
2012-05-23krb5samba: Add smb_gss_oid_equal wrapper.Andreas Schneider3-2/+89
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-05-23libcli/dns: make 'clidns' private library out of DNS code in WAF buildAlexander Bokovoy1-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.
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy5-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.
2012-05-23dns: fix comments and make s4/libcli/resolve dns resolver workingAlexander Bokovoy1-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.
2012-05-23lib/krb5_wrap: implement krb5_cc_get_lifetime for MIT KerberosAlexander Bokovoy1-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.
2012-05-23gensec_gssapi: Make it possible to build with MIT krb5Simo Sorce1-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.
2012-05-23s4-resolve: Remove dependency on librokenSimo Sorce1-7/+2
Use available native samba resolver functions
2012-05-23addns: Make ads_dns_lookup_srv pulicSimo Sorce2-1/+6
2012-05-23Move source3/libads/dns.c to lib/addnsSimo Sorce3-0/+976
2012-05-23addns: Fix talloc hiereachySimo Sorce1-1/+1
Attach request to local memory context not to potentially long lived connection
2012-05-15dbwrap: Fix Coverity ID 242750 Incorrect sizeof expressionVolker Lendecke1-1/+1
Taking the size of "db" is correct, but a bit fishy. Silence Coverity.
2012-05-15lib/ccan: add a missing dependency to 'execinfo' for 'backtrace()'Stefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 16:12:54 CEST 2012 on sn-devel-104
2012-05-15s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher2-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-05-14lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.cStefan Metzmacher2-0/+16
metze
2012-05-14lib/util: add missing 'errors' dependency to 'tevent-util'Stefan Metzmacher1-1/+1
metze
2012-05-14lib/tevent/testsuite: no longer use 'compat' symbolsStefan Metzmacher1-12/+12
metze
2012-05-14move the dbwrap library to the top levelMichael Adam13-0/+2821
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104