summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-21Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.Jeremy Allison1-10/+27
If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to NTLMSSP (which we'll do anyway). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 21 00:58:09 CEST 2011 on sn-devel-104
2011-05-20The "workgroup" parameter is not used at all in ↵Jeremy Allison1-7/+4
cli_session_setup_kerberos(). Remove it.
2011-05-20Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file ↵Jeremy Allison1-8/+5
correctly. The parsing code made some strange assumptions about what is a printer name, and what is a comment. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 22:52:23 CEST 2011 on sn-devel-104
2011-05-20Fix bug 8133 - strange behavior for the file (whose filename first character ↵Jeremy Allison1-2/+3
is period ) in SMB2 case. When doing SMB2 renames, we need to match all filetypes (no attributes field in the SMB2 call). By default a file starting with a period is returned as FILE_ATTRIBUTE_HIDDEN in Samba. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 19:26:04 CEST 2011 on sn-devel-104
2011-05-20Optimization. If the attributes passed to can_rename() include both ↵Jeremy Allison1-5/+8
FILE_ATTRIBUTE_HIDDEN and FILE_ATTRIBUTE_SYSTEM then there's no point in reading the source DOS attribute, as we're not going to deny the rename on attribute match.
2011-05-20s3:smbd remove unused codeChristian Ambach2-12/+0
in the early CTDB days, the RELEASE_IP message was defined and some code was added to react on such a message to make smbd exit if the IP address it was using for the server socket is removed by CTDB. Later, it was discovered that we need to stop smbd immediately and logic was added to ctdb_conn to call release_ip() without going through the messaging system. So this code is not used and can be removed Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri May 20 16:18:24 CEST 2011 on sn-devel-104
2011-05-20s3: Fork the echo handler only after SMB1 negprot is doneVolker Lendecke3-7/+8
This enables activating the echo responder also if SMB2 is enabled, albeit it will only be used for SMB1 at this moment. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 15:06:03 CEST 2011 on sn-devel-104
2011-05-20s3: Fix Coverity ID 2573: UNUSED_VALUEVolker Lendecke1-2/+3
Andrew B., please check!
2011-05-20s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2011-05-20s3:testparm: don't return an error for a warning messageStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
2011-05-20s3-epmapper: Fixed endpoint registration.Andreas Schneider1-4/+4
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri May 20 12:03:18 CEST 2011 on sn-devel-104
2011-05-20s3: Remove unused cli_setup_packet()Volker Lendecke2-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
2011-05-20torture-dfs: fix a typo that was causing the test to be flackyMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
2011-05-19Fix Bug 8152 - smbd crash in release_ip()Christian Ambach2-0/+8
release_ip() needs the private_data, but it was never saved away to feed it into release_ip() later Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104
2011-05-19s3: Remove a use of cli_send_smbVolker Lendecke1-46/+53
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104
2011-05-19fix the WAF buildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
2011-05-19s3: Do central cli_set_errorVolker Lendecke9-189/+2
2011-05-19s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke1-45/+53
2011-05-19s3: Add sync read_smbVolker Lendecke2-0/+25
2011-05-19s3: Make read_smb_send/recv publicVolker Lendecke4-87/+145
2011-05-19Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison1-3/+16
When building on IPv6-only, doing: hints.ai_family = AF_INET; getaddrinfo("0.0.0.0", NULL, &hints, &ppres) fails as AF_INET is unavailable on an IPv6-only system. This causes us to fallback to our replacement getaddrinfo code which is IPv4-only. As we're only trying to detect a specific AIX bug here, broaden the tests to find that bug, and also test for working getaddrinfo in an IPv6-only safe way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 19 02:21:54 CEST 2011 on sn-devel-104
2011-05-18packaging(RHEL-CTDB): honour rpm build target options handed in to makerpms.shMichael Adam1-1/+10
This allows to call e.g. "makerpms.sh -bs" to only build the source rpm. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 18 23:10:59 CEST 2011 on sn-devel-104
2011-05-18packaging(RHEL-CTDB): adapt configure.rpmMichael Adam1-0/+2
2011-05-18packaging(RHEL-CTDB): enforce building of libtdb and libtallocMichael Adam1-1/+3
2011-05-18packaging(RHEL-CTDB): build libtdb and libtalloc packages ourselvesMichael Adam2-5/+51
and add appropriate dependencies to the samba-common package. It should also be possible to run with appropriate system talloc and tdb packages.
2011-05-18packaging(RHEL-CTDB): update configure.rpm (--disable-smbtorture4)Michael Adam1-0/+1
2011-05-18packaging(RHEL-CTDB): disable smbtorture4 in the rpm buildMichael Adam1-1/+2
2011-05-18packaging(RHEL-CTDB): Remove the packaging of the winbind-32bit compat packageMichael Adam1-111/+0
2011-05-18packaging(RHEL-CTDB): create the rpm directoriesVolker Lendecke1-0/+8
In RHEL6, rpms are built in /root/rpmbuild, and those directories do not necessarily exist.
2011-05-18Make protocol version 2 the default protocol, and only run on version 1 if ↵Holger Hetterich2-10/+11
V1 is explcitly given as a module option. I haven't received a single line of feedback on protocol v1 for at least 1 1/2 years, whereas protocol v2 has an active userbase and more people developing around it. This patch includes a manpage update, describing the new version handling, as well as documenting the recent changes making the module transfer the IP address of the client machine as submitted with 464c69609aa7e582f484c1d357b7c6d3eb2bcbe3. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 18 21:36:44 CEST 2011 on sn-devel-104
2011-05-18lib/util/charset: Remove unused strcasecmp_w and strncasecmp_wAndrew Bartlett1-32/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 18 17:22:15 CEST 2011 on sn-devel-104
2011-05-18s3-selftest Remove unused and unimplemented info3cache testAndrew Bartlett1-54/+0
2011-05-18lib/util/charset use talloc_stackframe() rather than talloc_tos()Andrew Bartlett1-12/+12
This is common code, and we can't assume a talloc_stackframe() so we must create it. Andrew Bartlett
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett5-86/+76
2011-05-18s3-testparm Warn more on incorrect use of 'password server'Andrew Bartlett1-2/+17
2011-05-18lib/util/charset Don't allow invalid 'dos charset = utf8'Andrew Bartlett2-0/+11
No DOS client used UTF8, and this creates subtle, difficult to disagnose breakage of schannel (domain membership). Andrew Bartlett
2011-05-18s3-selftest Remove unused sambalib.py from comfychair test systemAndrew Bartlett1-39/+0
The test binary t_snprintf has moved to lib/replace
2011-05-18s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett15-140/+79
strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett51-263/+179
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-param: Remove unused snum2params_staticAndrew Bartlett2-13/+0
2011-05-18s3-param: remove unused share_iterator functionsAndrew Bartlett3-55/+0
2011-05-18s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett4-49/+21
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
2011-05-18build: Add 'cap' as a dependency of samba3coreAndrew Bartlett1-1/+1
2011-05-18build: Make POPT_SAMBA3 a libraryAndrew Bartlett1-4/+5
This avoids some duplicate symbols when libnet and libsmbclient are linked into the same binary (smbtorture4). Andrew Bartlett
2011-05-18librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett5-15/+13
There is no longer a reason to leave this source3 specific, and this brings it into a library (avoiding duplicate symbols). Andrew Bartlett
2011-05-18build: Make util_reg subsystem in libcli/registry a libraryAndrew Bartlett1-2/+3
2011-05-18build: Add rpc_client grouping libraryAndrew Bartlett1-0/+7
2011-05-18build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett3-3/+6
2011-05-18build: Make auth_sam_reply a libraryAndrew Bartlett1-5/+6
2011-05-18build: Make msrpc3 a libraryAndrew Bartlett1-4/+5