summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-waf: check for pthread support.Günther Deschner2011-04-271-0/+31
| | | | Guenther
* s3-netapi: Fix Coverity CID #2302: FORWARD_NULLGünther Deschner2011-04-271-1/+1
| | | | Guenther
* s3-winbind Use get_dyn_WINBINDD_SOCKET_DIR() to get the winbind pipe dirAndrew Bartlett2011-04-271-1/+1
| | | | | | | | This ensures we follow the dynconfig convention for the socket directory, and makes it easier to ensure that the client and server both refer to the same socket. Andrew Bartlett
* dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett2011-04-278-198/+12
|
* s3-test Make samba3.blackbox.net.local.registry.roundtrip reliableAndrew Bartlett2011-04-271-2/+2
| | | | | | | | | | | | | | Looking for smb.conf files with find -name \*.conf would find and not find all sorts of things that were just not valid inputs. When restricted to under source3 it then finds no inputs in the top level build, as it only worked on the generated smb.conf files from 'make test' environments. Instead, just run it on the one file we know is valid, and if we want to run it on more files, then we can make this test run against more environments, or specific target files. Andrew Bartlett
* s3-waf Don't enable profiling by defaultAndrew Bartlett2011-04-271-1/+1
| | | | | | This is disabled by default in the s3-autoconf build. Andrew Bartlett
* build: fixed build problems due to implicit library deps in samba3coreAndrew Tridgell2011-04-271-3/+3
| | | | | | | this fixes the top level build on svart and probably other hosts Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 27 08:27:49 CEST 2011 on sn-devel-104
* auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett2011-04-272-1/+2
| | | | | | | | | Not all kerberos distributions have this function. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 07:39:08 CEST 2011 on sn-devel-104
* s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett2011-04-273-5/+33
| | | | | | | | | | This is constant data according to the man pages I find for this fucntion, and causes a segfault to free() when linked to Heimdal. I am advised that while it is constant for gss_mech_krb5, it may not be for other mechanisms, so an assert will ensure this is dealt with by the programmer who extends this code in future. Andrew Bartlett
* auth/kerberos Move all the PAC handling functions to auth/kerberosAndrew Bartlett2011-04-271-1/+1
|
* auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett2011-04-277-98/+19
| | | | | | | | | | | This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
* s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.Andrew Bartlett2011-04-273-1/+43
| | | | | | This allows make test to operate without making real DNS calls. Andrew Bartlett
* s3-libads Don't start a DEBUG with 'time'Andrew Bartlett2011-04-271-1/+1
| | | | | | This strange requirement comes from our subunit test harness. Andrew Bartlett
* libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett2011-04-271-8/+0
| | | | | | This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
* s3: Make cli_session_setup_lanman2 asyncVolker Lendecke2011-04-271-53/+201
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 27 00:25:35 CEST 2011 on sn-devel-104
* s3: Make cli_session_setup_nt1 asyncVolker Lendecke2011-04-261-87/+246
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make plaintext session setup asyncVolker Lendecke2011-04-261-59/+145
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Remove cli_writeVolker Lendecke2011-04-263-209/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-269-103/+169
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add cli_writeallVolker Lendecke2011-04-262-3/+55
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:vfs use gpfs_lib_initChristian Ambach2011-04-263-0/+22
| | | | | | | | | | | | With newer GPFS releases, libgpfs contains a function gpfs_lib_init(). It marks the pseudo-device the lib uses as interface to the GPFS kernel module to not be to destroyed after each call to GPFS. This saves us some microseconds creating and removing the device each time we do a call to libgpfs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 26 20:52:36 CEST 2011 on sn-devel-104
* s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.Günther Deschner2011-04-261-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 26 16:41:17 CEST 2011 on sn-devel-104
* s3: Fix a typoVolker Lendecke2011-04-261-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 26 13:31:08 CEST 2011 on sn-devel-104
* s3: Allow unlimited parallelism in pthreadpoolVolker Lendecke2011-04-262-9/+31
|
* s3-libads Remove KRB5_DNS_HACKAndrew Bartlett2011-04-261-12/+0
| | | | | | | We have winbindd write a custom krb5.conf or use a kdc locator plugin to do this properly now. Andrew Bartlett
* libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srvAndrew Bartlett2011-04-261-36/+1
| | | | | | | | | By reworking the 'fake DNS' file to use struct dns_rr_srv it should be possible to emulate that resolver layer as well as the Samba4 sockaddr_storage* based layer. This will then give us a common DNS emulation for 'make test'. Andrew Bartlett
* build: Invert --enable-s3build into --disable-s3buildAndrew Bartlett2011-04-261-1/+1
| | | | | | | | | | We always want the s3 binaries, except when building an smbtorture4 for the s3-waf and autoconf builds. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 26 04:27:28 CEST 2011 on sn-devel-104
* build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett2011-04-261-11/+0
| | | | | | This allows top level build rules to rely on these names at all times. Andrew Bartlett
* No longer need to call SMB_VFS_LSTAT - check name hasn't changed above is ↵Jeremy Allison2011-04-251-23/+0
| | | | | | | sufficient. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 25 23:35:37 CEST 2011 on sn-devel-104
* Correctly detect and deny symlinks anywhere in a path (not just the last ↵Jeremy Allison2011-04-251-27/+60
| | | | component) if "follow symlinks = no".
* s3: Remove unused codeVolker Lendecke2011-04-251-6/+0
| | | | | | | This is done in name_query_send these days Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
* s3: Move setting the name_query timeoutVolker Lendecke2011-04-251-9/+9
| | | | An async caller might want a different timeout behaviour
* s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383)Stefan Metzmacher2011-04-251-0/+26
| | | | | | | | | | | | | | | | | | This avoids getting IPv4 addresses as mapped IPv6 addresses (e.g. ::ffff:192.168.0.1). Before the bahavior was inconsistent between operating system and distributions. Some system have IPV6_ONLY as default. Now we consistently get AF_INET for IPv4 addresses and AF_INET6 for IPv6 addresses. It also makes it possible to listen only on IPv6 now as "::" doesn't imply "0.0.0.0" anymore. Which also avoids confusing log messages that we were not able to bind to "0.0.0.0". metze
* s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug ↵Stefan Metzmacher2011-04-251-14/+17
| | | | | | #7383) metze
* s3: Some build farm machines do not have /bin/trueVolker Lendecke2011-04-251-4/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
* s3: Fix some typos in dsgetdcnameVolker Lendecke2011-04-251-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
* s3: "port" is not used in dsgetdcnameVolker Lendecke2011-04-251-3/+0
| | | | Günther, please check!
* s3: Check for res_ninitVolker Lendecke2011-04-251-0/+8
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 11:44:58 CEST 2011 on sn-devel-104
* s3: Run pthreadpooltest in make testVolker Lendecke2011-04-252-0/+20
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
* s3: Add pthreadpooltest to main buildVolker Lendecke2011-04-252-1/+13
|
* s3: pthreadpool_sig_fd->pthreadpool_signal_fdVolker Lendecke2011-04-254-7/+7
|
* s3: Tiny doc for pthreadpoolVolker Lendecke2011-04-251-7/+59
|
* s3: Many pthreadpool fixesVolker Lendecke2011-04-256-88/+546
| | | | In particular, this makes it fork-safe
* s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke2011-04-254-5/+17
|
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-246-17/+13
| | | | | | | | | | | | | Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
* s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functionsStefan Metzmacher2011-04-241-11/+20
| | | | metze
* s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functionsStefan Metzmacher2011-04-241-9/+19
| | | | metze
* s3:includes: simplify INO_T_VAL macrosStefan Metzmacher2011-04-241-3/+3
| | | | metze
* s3:includes: simplify BIG_UINT macrosStefan Metzmacher2011-04-241-5/+4
| | | | metze
* s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-241-28/+2
| | | | | | We rely on uint64_t for a long time now... metze