summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-04-27dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett8-198/+12
2011-04-27s3-test Make samba3.blackbox.net.local.registry.roundtrip reliableAndrew Bartlett1-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
2011-04-27s3-waf Don't enable profiling by defaultAndrew Bartlett1-1/+1
This is disabled by default in the s3-autoconf build. Andrew Bartlett
2011-04-27build: fixed build problems due to implicit library deps in samba3coreAndrew Tridgell1-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
2011-04-27auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett2-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
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett3-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
2011-04-27auth/kerberos Move all the PAC handling functions to auth/kerberosAndrew Bartlett1-1/+1
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett7-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
2011-04-27s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.Andrew Bartlett3-1/+43
This allows make test to operate without making real DNS calls. Andrew Bartlett
2011-04-27s3-libads Don't start a DEBUG with 'time'Andrew Bartlett1-1/+1
This strange requirement comes from our subunit test harness. Andrew Bartlett
2011-04-27libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett1-8/+0
This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
2011-04-27s3: Make cli_session_setup_lanman2 asyncVolker Lendecke1-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
2011-04-26s3: Make cli_session_setup_nt1 asyncVolker Lendecke1-87/+246
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Make plaintext session setup asyncVolker Lendecke1-59/+145
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Remove cli_writeVolker Lendecke3-209/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke9-103/+169
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Add cli_writeallVolker Lendecke2-3/+55
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3:vfs use gpfs_lib_initChristian Ambach3-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
2011-04-26s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.Günther Deschner1-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
2011-04-26s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 26 13:31:08 CEST 2011 on sn-devel-104
2011-04-26s3: Allow unlimited parallelism in pthreadpoolVolker Lendecke2-9/+31
2011-04-26s3-libads Remove KRB5_DNS_HACKAndrew Bartlett1-12/+0
We have winbindd write a custom krb5.conf or use a kdc locator plugin to do this properly now. Andrew Bartlett
2011-04-26libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srvAndrew Bartlett1-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
2011-04-26build: Invert --enable-s3build into --disable-s3buildAndrew Bartlett1-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
2011-04-26build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett1-11/+0
This allows top level build rules to rely on these names at all times. Andrew Bartlett
2011-04-25No longer need to call SMB_VFS_LSTAT - check name hasn't changed above is ↵Jeremy Allison1-23/+0
sufficient. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 25 23:35:37 CEST 2011 on sn-devel-104
2011-04-25Correctly detect and deny symlinks anywhere in a path (not just the last ↵Jeremy Allison1-27/+60
component) if "follow symlinks = no".
2011-04-25s3: Remove unused codeVolker Lendecke1-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
2011-04-25s3: Move setting the name_query timeoutVolker Lendecke1-9/+9
An async caller might want a different timeout behaviour
2011-04-25s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383)Stefan Metzmacher1-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
2011-04-25s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug ↵Stefan Metzmacher1-14/+17
#7383) metze
2011-04-25s3: Some build farm machines do not have /bin/trueVolker Lendecke1-4/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
2011-04-25s3: Fix some typos in dsgetdcnameVolker Lendecke1-3/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
2011-04-25s3: "port" is not used in dsgetdcnameVolker Lendecke1-3/+0
Günther, please check!
2011-04-25s3: Check for res_ninitVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 11:44:58 CEST 2011 on sn-devel-104
2011-04-25s3: Run pthreadpooltest in make testVolker Lendecke2-0/+20
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-25s3: Add pthreadpooltest to main buildVolker Lendecke2-1/+13
2011-04-25s3: pthreadpool_sig_fd->pthreadpool_signal_fdVolker Lendecke4-7/+7
2011-04-25s3: Tiny doc for pthreadpoolVolker Lendecke1-7/+59
2011-04-25s3: Many pthreadpool fixesVolker Lendecke6-88/+546
In particular, this makes it fork-safe
2011-04-25s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke4-5/+17
2011-04-24s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher6-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
2011-04-24s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functionsStefan Metzmacher1-11/+20
metze
2011-04-24s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functionsStefan Metzmacher1-9/+19
metze
2011-04-24s3:includes: simplify INO_T_VAL macrosStefan Metzmacher1-3/+3
metze
2011-04-24s3:includes: simplify BIG_UINT macrosStefan Metzmacher1-5/+4
metze
2011-04-24s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-28/+2
We rely on uint64_t for a long time now... metze
2011-04-23s3: Fix Coverity ID 2478, UNINITVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
2011-04-23s3:include/vfs.h: remove very old hints for vfs modules with interface ↵Stefan Metzmacher1-8/+0
version < 8 The interface version is at 28 now, and this defines cause problem on some systems, e.g. Tru64 defines vfs_init in the system headers. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
2011-04-23Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher3-8/+0
This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze