summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file ↵Jeremy Allison2011-05-201-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
* Fix bug 8133 - strange behavior for the file (whose filename first character ↵Jeremy Allison2011-05-201-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
* Optimization. If the attributes passed to can_rename() include both ↵Jeremy Allison2011-05-201-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.
* s3:smbd remove unused codeChristian Ambach2011-05-202-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
* s3: Fork the echo handler only after SMB1 negprot is doneVolker Lendecke2011-05-203-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
* s3: Fix Coverity ID 2573: UNUSED_VALUEVolker Lendecke2011-05-201-2/+3
| | | | Andrew B., please check!
* s3: Fix an uninitialized variableVolker Lendecke2011-05-201-1/+1
|
* s3:testparm: don't return an error for a warning messageStefan Metzmacher2011-05-201-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
* s3-epmapper: Fixed endpoint registration.Andreas Schneider2011-05-201-4/+4
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri May 20 12:03:18 CEST 2011 on sn-devel-104
* s3: Remove unused cli_setup_packet()Volker Lendecke2011-05-202-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
* torture-dfs: fix a typo that was causing the test to be flackyMatthieu Patou2011-05-201-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
* Fix Bug 8152 - smbd crash in release_ip()Christian Ambach2011-05-192-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
* s3: Remove a use of cli_send_smbVolker Lendecke2011-05-191-46/+53
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104
* fix the WAF buildVolker Lendecke2011-05-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
* s3: Do central cli_set_errorVolker Lendecke2011-05-199-189/+2
|
* s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke2011-05-191-45/+53
|
* s3: Add sync read_smbVolker Lendecke2011-05-192-0/+25
|
* s3: Make read_smb_send/recv publicVolker Lendecke2011-05-194-87/+145
|
* Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison2011-05-191-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
* packaging(RHEL-CTDB): honour rpm build target options handed in to makerpms.shMichael Adam2011-05-181-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
* packaging(RHEL-CTDB): adapt configure.rpmMichael Adam2011-05-181-0/+2
|
* packaging(RHEL-CTDB): enforce building of libtdb and libtallocMichael Adam2011-05-181-1/+3
|
* packaging(RHEL-CTDB): build libtdb and libtalloc packages ourselvesMichael Adam2011-05-182-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.
* packaging(RHEL-CTDB): update configure.rpm (--disable-smbtorture4)Michael Adam2011-05-181-0/+1
|
* packaging(RHEL-CTDB): disable smbtorture4 in the rpm buildMichael Adam2011-05-181-1/+2
|
* packaging(RHEL-CTDB): Remove the packaging of the winbind-32bit compat packageMichael Adam2011-05-181-111/+0
|
* packaging(RHEL-CTDB): create the rpm directoriesVolker Lendecke2011-05-181-0/+8
| | | | | In RHEL6, rpms are built in /root/rpmbuild, and those directories do not necessarily exist.
* Make protocol version 2 the default protocol, and only run on version 1 if ↵Holger Hetterich2011-05-182-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
* lib/util/charset: Remove unused strcasecmp_w and strncasecmp_wAndrew Bartlett2011-05-181-32/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 18 17:22:15 CEST 2011 on sn-devel-104
* s3-selftest Remove unused and unimplemented info3cache testAndrew Bartlett2011-05-181-54/+0
|
* lib/util/charset use talloc_stackframe() rather than talloc_tos()Andrew Bartlett2011-05-181-12/+12
| | | | | | | This is common code, and we can't assume a talloc_stackframe() so we must create it. Andrew Bartlett
* selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett2011-05-185-86/+76
|
* s3-testparm Warn more on incorrect use of 'password server'Andrew Bartlett2011-05-181-2/+17
|
* lib/util/charset Don't allow invalid 'dos charset = utf8'Andrew Bartlett2011-05-182-0/+11
| | | | | | | No DOS client used UTF8, and this creates subtle, difficult to disagnose breakage of schannel (domain membership). Andrew Bartlett
* s3-selftest Remove unused sambalib.py from comfychair test systemAndrew Bartlett2011-05-181-39/+0
| | | | The test binary t_snprintf has moved to lib/replace
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-1815-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
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-1851-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
* s3-param: Remove unused snum2params_staticAndrew Bartlett2011-05-182-13/+0
|
* s3-param: remove unused share_iterator functionsAndrew Bartlett2011-05-183-55/+0
|
* s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett2011-05-184-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
* build: Add 'cap' as a dependency of samba3coreAndrew Bartlett2011-05-181-1/+1
|
* build: Make POPT_SAMBA3 a libraryAndrew Bartlett2011-05-181-4/+5
| | | | | | | This avoids some duplicate symbols when libnet and libsmbclient are linked into the same binary (smbtorture4). Andrew Bartlett
* librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett2011-05-185-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
* build: Make util_reg subsystem in libcli/registry a libraryAndrew Bartlett2011-05-181-2/+3
|
* build: Add rpc_client grouping libraryAndrew Bartlett2011-05-181-0/+7
|
* build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett2011-05-183-3/+6
|
* build: Make auth_sam_reply a libraryAndrew Bartlett2011-05-181-5/+6
|
* build: Make msrpc3 a libraryAndrew Bartlett2011-05-181-4/+5
|
* build: Expand dcerpc-samba grouping libraryAndrew Bartlett2011-05-182-43/+46
| | | | | | | This is possible in common now because the generated RPC code does not rely on a particular dcerpc layer. Andrew Bartlett
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-184-14/+17
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett