summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-27auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett4-5/+13
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-27s4-gensec: Use new common 'obtain the PAC' functions.Andrew Bartlett1-15/+4
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 05:08:10 CEST 2011 on sn-devel-104
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett4-5/+34
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 Bartlett4-3/+3
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett12-99/+152
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-27selftest: Make bindir_path much less complexAndrew Bartlett4-51/+51
There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
2011-04-27libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett6-48/+54
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-26libcli/auth Allow parsing of a PAC that is already verified.Andrew Bartlett1-44/+50
By making the verification parameters optional, we can parse a PAC that is already verified. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 26 10:06:59 CEST 2011 on sn-devel-104
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 Bartlett5-90/+235
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-26waf: introduce reverse logic for allowing unknown symbolsMatthieu Patou2-0/+9
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to allow them (for special case) we have no to remove linker option *but* to add options to ask the linker to be more relax. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-26build: Invert --enable-s3build into --disable-s3buildAndrew Bartlett2-4/+5
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-26lib/util Define samba-util-common only for s3-wafAndrew Bartlett1-24/+11
It causes too much trouble in the top level build. Andrew Bartlett
2011-04-26build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett2-11/+13
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-25docs-xml/smb.conf.5: %i and %I no longer contain IPv4 mapped IPv6 addressesStefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 25 18:38:16 CEST 2011 on sn-devel-104
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-24lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macrosStefan Metzmacher1-6/+11
They pull and push [u]int64_t values in big endian. 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