summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:eventlogadm reimplement addsource using reg_apiGregor Beck2012-04-251-95/+91
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-waf: Cleanup smbregistry.Andreas Schneider2012-04-251-10/+4
|
* s3:registry: remove usage of reg_objects from srv_spoolss_nt.cGregor Beck2012-04-251-1/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: remove usage of reg_objects from libads/ldap_printer.cGregor Beck2012-04-251-89/+56
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* 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
* s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2012-04-256-116/+141
| | | | | | This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-2518-26/+75
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* s3: Simplify check_reduced_name a bitVolker Lendecke2012-04-241-9/+5
| | | | | | | | It's pointless to do a talloc_asprintf with a SMB_STRDUP on the result. Use asprintf directly. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 24 18:18:05 CEST 2012 on sn-devel-104
* s3: Fix a typoVolker Lendecke2012-04-241-1/+1
|
* s3: Introduce variable "indyniov" for easier readingVolker Lendecke2012-04-241-8/+10
|
* s4:libnet: pass an explicit mem_ctx to libnet_rpc_userinfo_send() (bug #8889)Stefan Metzmacher2012-04-243-7/+10
| | | | | | | | | This hopefully fixes the flakey autobuild. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 24 16:43:03 CEST 2012 on sn-devel-104
* s3: Attempt to fix the build without kerberosVolker Lendecke2012-04-244-9/+12
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 24 15:04:14 CEST 2012 on sn-devel-104
* s3: Fix Coverity ID 2751: REVERSE_INULLVolker Lendecke2012-04-241-1/+1
|
* talloc: Fix copy&paste errorsVolker Lendecke2012-04-241-2/+2
|
* Talloc doc: talloc_strdup_append does not return duplicated stringPavel Březina2012-04-241-4/+4
|
* Talloc doc: when s == NULL in _append functionsPavel Březina2012-04-241-0/+12
|
* s4-s3upgrade: print the error message from passdb.error exceptionsAndrew Bartlett2012-04-241-6/+6
| | | | | | | | | This gives more information on why a group membership lookup failed. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 24 04:34:44 CEST 2012 on sn-devel-104
* Fix pam_winbind build against newer iniparser librarySimo Sorce2012-04-241-4/+4
| | | | | | | | iniparser_getstr is deprecated and has been removed in newer libraries available in Fedora. Use iniparse_getstring instead. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 24 02:56:10 CEST 2012 on sn-devel-104
* Avoid warning about KRB5_DEPRECATE with MIT libsSimo Sorce2012-04-231-0/+4
|
* Cracknames: use krb wrapper functions so it works with MITSimo Sorce2012-04-231-25/+29
| | | | | | | Also avoid a silly game with directly modifying the principal and then calling krb5_principal_unparse_flags to get out a string. If we already assume it is a 2 components name and know what outcome we are going to get, just go ahead and talloc_asprintf the linearized string.
* krb5_samba: Add support for krb5_princ_size when using HeimdalSimo Sorce2012-04-232-0/+9
|
* Make krb5 wrapper library common so they can be used all overSimo Sorce2012-04-2325-522/+470
|
* For now just disable this Heindal specific stuff in the MIT buildSimo Sorce2012-04-235-3/+29
|
* Make krb5 context initialization not heimdal specificSimo Sorce2012-04-233-23/+55
| | | | | Turn the logging data to an opaque pointer. Ifdef code and use MIT logging function when built against system MIT.
* Make sure krb5_principal_get_num_comp is identified as present for Heimdal buildAlexander Bokovoy2012-04-231-0/+1
| | | | | | | | Common wrappers for MIT / Heimdal use krb5_principal_get_num_comp() to replace krb5_princ_size but rely on krb5_principal_get_num_comp() identified by the build. As we know it exists in Heimdal, define it for waf build. Signed-off-by: Simo Sorce <idra@samba.org>
* waf: rename SAMBA4_INTERNAL_HEIMDAL to SAMBA4_USES_HEIMDALAlexander Bokovoy2012-04-231-1/+1
| | | | | | | | | | SAMBA4_INTERNAL_HEIMDAL is defined unconditionally regardless where Heimdal comes from, system-wide or embedded version. This define is not used anywhere. We'll use it to distinguish between Heimdal and MIT Krb5 builds. Signed-off-by: Simo Sorce <idra@samba.org>
* waf: move krb5 checks to a separate waf fileAlexander Bokovoy2012-04-236-191/+205
| | | | | | | | | | | | | | | | | With PROCESS_SEPARATE_RULE in wafsamba it is now possible to simplify configuration and checks for MIT/Heimdal Kerberos implementations. 1. Move MIT krb5 checks from source3/wscript to wscript_configure_krb5 2. Make sure they are called same way (--with-mit-krb5-checks) 3. If no configure checks identified MIT krb5 in system (or were disabled), make sure Heimdal build is selected, embedded (default) or system-provided. This makes logic of configuration unchanged for Heimdal builds but adds less hacky way to use MIT krb5 builds. The latter does not work yet as we need to untangle more subsystems from HDB/Heimdal-specific details but lays out a foundation for that. Signed-off-by: Simo Sorce <idra@samba.org>
* Fix bug #8882 - Broken processing of %U with vfs_full_audit when force user ↵Jeremy Allison2012-04-231-0/+11
| | | | | | | | | | is set. When doing a "force user" we need to remember what the "sanitized_username" was from the original connect. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 23 19:52:19 CEST 2012 on sn-devel-104
* Add complete test program for Linux kernel aio inside configure.in (I ↵Jeremy Allison2012-04-231-6/+28
| | | | discovered yesterday there are systems with only half the glibc changes needed to implement userspace kaio.
* s4-libnet Always return after composite_error()Andrew Bartlett2012-04-234-1/+8
| | | | | | | | | | These instances should not cause a problem, but make it easier to audit for this kind of problem in the future with grep. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 14:29:45 CEST 2012 on sn-devel-104
* s4-libnet Always return after composite_error()Andrew Bartlett2012-04-233-0/+3
| | | | | | | This can and does cause crashes as multiple conflicting sets of callbacks run on memory that may have been destroyed. Andrew Bartlett
* s4-libnet: Fix continue_groupinfo_openuser to check correct state infoAndrew Bartlett2012-04-231-2/+2
| | | | | | | | This meant that we would attempt to query the user that we could not open. This is a mirror of 4ba1647d5db59e5bb4911c399111e9286aac1a8e. Andrew Bartlett
* build: Remove support for a system libsmbclientAndrew Bartlett2012-04-232-10/+0
| | | | | | | | | | | | | | | With the new --private-libraries option, there is no longer the need to have this support, which was aimed at avoiding the duplication between two different libsmbclient binaries in a packaged distribution. By using --private-libraries instead, we do not introduce a dependency between Samba 4.0 packages and whatever other packages are on the system. This effectivly reverts part of e3ffb31554927a24df35576bd753ee4eb2dc2a3c while kpeeing the improved SAMBA_LIBRARY declaration. Andrew Bartlett
* build: Remove support for system libwbclientAndrew Bartlett2012-04-232-9/+19
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* s4:librpc/rpc: directly return after composite_error()Stefan Metzmacher2012-04-231-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 23 12:17:08 CEST 2012 on sn-devel-104
* s4:libnet_become_dc: add missing 'return' after composite_error()Stefan Metzmacher2012-04-231-0/+2
| | | | metze
* selftest: Add test for bug #8884: wbinfo --group-info=administrator ↵Andrew Bartlett2012-04-231-0/+2
| | | | | | | segfaults s4-winbindd Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 07:44:50 CEST 2012 on sn-devel-104
* s4-libnet: Fix continue_groupinfo_opengroup to check correct state infoAndrew Bartlett2012-04-231-2/+2
| | | | | | This meant that we would attempt to query the group that we could not open. Andrew Bartlett
* s4-libnet: Fix segfault shown by wbinfo --group-info=administratorAndrew Bartlett2012-04-231-0/+1
| | | | | | | | The issue was that after the LookupNames call indicated that this was not a group, the call paths diverged, with both sucess and failure paths running. Andrew Bartlett
* s3-dbwrap: A void function can not return a valueAndrew Bartlett2012-04-231-1/+1
| | | | | | | | | Only non-gcc compilers seem to notice this as an error. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104
* dlz_bind9: Also produce and install binary plugin for bind 9.9Andrew Bartlett2012-04-221-1/+1
| | | | | | | | | Thanks to Alexander Bokovoy <ab@samba.org> for the fix! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Apr 22 10:51:57 CEST 2012 on sn-devel-104
* idl: fix the charset for the source_dsa_address in DsReplicaDel callMatthieu Patou2012-04-221-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 22 03:00:06 CEST 2012 on sn-devel-104
* s3: Implement db_id for dbwrap_cacheVolker Lendecke2012-04-211-0/+9
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 21 13:46:00 CEST 2012 on sn-devel-104
* s3: Initialize "stored_callback" in dbwrap_cacheVolker Lendecke2012-04-211-0/+1
| | | | This should fix one of the recent flaky tests
* s3: Remove two unused variablesVolker Lendecke2012-04-211-2/+0
|
* s3:smbcontrol: remove an unused variableMichael Adam2012-04-211-4/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 21 00:55:13 CEST 2012 on sn-devel-104
* s3:memcache: remove the idmap-part from memcacheMichael Adam2012-04-201-4/+0
| | | | | | This was useful before the idmap cache was moved to gencache. Nowadays it is available to smbd through gencache, so we can remove the extra caching layer.
* s3:id_cache: do not use the in-memory idmap cache (it is going to be removed)Michael Adam2012-04-204-110/+4
| | | | This also removes the ID_CACHE_FLUSH message.
* s3:passdb: do not use the in-memory idmap cache (it will be removed)Michael Adam2012-04-203-156/+0
|
* s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok...Stefan Metzmacher2012-04-201-0/+3
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104