Gerald Carter [Sat, 22 Apr 2006 22:43:24 +0000 (22:43 +0000)]
r15170: don't check for ccache
Gerald Carter [Sat, 22 Apr 2006 22:42:32 +0000 (22:42 +0000)]
r15169: openldap2-devel is a suse package (not on RHEL)
Gerald Carter [Sat, 22 Apr 2006 22:39:46 +0000 (22:39 +0000)]
r15168: last minute spec file fix for some change with the using_samba install path
Gerald Carter [Sat, 22 Apr 2006 21:43:31 +0000 (21:43 +0000)]
r15165: updates for RH 9 packages (merged from RHEL fixes)
Gerald Carter [Sat, 22 Apr 2006 17:28:01 +0000 (17:28 +0000)]
r15163: packaging updates for RHEL/Fedora and break out 'pre' tag to the RPM release number
Jeremy Allison [Sat, 22 Apr 2006 02:33:11 +0000 (02:33 +0000)]
r15162: Patch for bug #3668. Windows has a bug with LARGE_READX
where if you ask for exactly 64k bytes it returns 0.
Jeremy.
Jeremy Allison [Sat, 22 Apr 2006 01:59:23 +0000 (01:59 +0000)]
r15160: Fix from William Jojo I thought had already been added (but
hadn't).
Jeremy.
Gerald Carter [Thu, 20 Apr 2006 22:15:17 +0000 (22:15 +0000)]
r15154: bump version to 3.0.23pre2
Alexander Bokovoy [Thu, 20 Apr 2006 14:14:12 +0000 (14:14 +0000)]
r15152: Fix a case when target is offline. Jerry, this needs to be in 3.0.23pre1
Günther Deschner [Thu, 20 Apr 2006 13:51:43 +0000 (13:51 +0000)]
r15150: Adding winbind debug class to the main daemon.
Guenther
Jeremy Allison [Thu, 20 Apr 2006 00:47:46 +0000 (00:47 +0000)]
r15141: Fix for #3592 inspired by Justin Best <justinb@pdxmission.org>.
Ignore a file in a tar output if the first read fails. Also
cope with <2GB read fail.
Jeremy.
Jeremy Allison [Wed, 19 Apr 2006 18:48:14 +0000 (18:48 +0000)]
r15138: Teach Samba the difference between exclusive and batch oplocks.
Pass Samba4 oplock test (with kernel oplocks off).
Jeremy.
Volker Lendecke [Wed, 19 Apr 2006 15:43:48 +0000 (15:43 +0000)]
r15137: Refuse to join if our netbios name is longer than 15 chars. I think this is
sufficient to fix bug #3659.
Volker
Volker Lendecke [Wed, 19 Apr 2006 15:38:43 +0000 (15:38 +0000)]
r15136: Fix join consistency check
Volker Lendecke [Wed, 19 Apr 2006 14:11:51 +0000 (14:11 +0000)]
r15133: in_server is not used anywhere
Volker Lendecke [Wed, 19 Apr 2006 13:14:14 +0000 (13:14 +0000)]
r15132: Fix some shadowed variable warnings
Jeremy Allison [Tue, 18 Apr 2006 18:00:57 +0000 (18:00 +0000)]
r15129: Separate out mechanism and policy for NTLMSSP auth/sign/seal.
With this change (and setting lanman auth = no in smb.conf)
we have *identical* NTLMSSP flags to W2K3 in SPNEGO auth.
Jeremy
Günther Deschner [Tue, 18 Apr 2006 13:22:14 +0000 (13:22 +0000)]
r15123: Don't even try to join with an inproper configuration.
Guenther
Volker Lendecke [Tue, 18 Apr 2006 09:02:58 +0000 (09:02 +0000)]
r15119: Initialize our global sam sid first, quite a lot of the other initialization
routines further down depend on it.
Fix bug 3696.
Volker
James Peach [Tue, 18 Apr 2006 06:26:23 +0000 (06:26 +0000)]
r15116: Allow the user to set winbind nss timeouts in seconds on IRIX. Don't
convert the default timeout to milliseconds twice.
Jeremy Allison [Tue, 18 Apr 2006 03:45:09 +0000 (03:45 +0000)]
r15115: Fix error return on sessionsetup. Ensure no
data blob is added if the logon call failed.
Jeremy.
Jeremy Allison [Mon, 17 Apr 2006 22:32:38 +0000 (22:32 +0000)]
r15112: Move strict locking default to auto. Fix up the error
return for one of the Samba4 torture tests.
Jeremy.
Jeremy Allison [Mon, 17 Apr 2006 17:16:46 +0000 (17:16 +0000)]
r15107: 64 bit fixes. size_t on a 64-bit box is not uint32.
Jeremy.
Volker Lendecke [Mon, 17 Apr 2006 13:06:57 +0000 (13:06 +0000)]
r15104: Implement Samba4's tdb_name().
Volker
Volker Lendecke [Mon, 17 Apr 2006 12:27:35 +0000 (12:27 +0000)]
r15103: Okay, looking closer: Samba4 tdb not exporting u32 is a bug in samba4's
tdb. tdb_open_ex needs it. Can someone from samba4 tell me how this should be
handled?
Thanks,
Volker
Volker Lendecke [Mon, 17 Apr 2006 12:23:38 +0000 (12:23 +0000)]
r15102: u32 is a tdb-only thing that's not exported by samba4 tdb. Replace by uint32.
Volker
Volker Lendecke [Mon, 17 Apr 2006 11:49:06 +0000 (11:49 +0000)]
r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring does not
have the timeout argument in Samba4. Add a new routine
tdb_lock_bystring_with_timeout.
Volker
Volker Lendecke [Sun, 16 Apr 2006 11:47:26 +0000 (11:47 +0000)]
r15098: Make smbclient -L use RPC to list shares, fall back to RAP. This should list
long share names.
Volker
Lars Müller [Sat, 15 Apr 2006 21:24:32 +0000 (21:24 +0000)]
r15094: Replace ; by # where we have a comment and remove superfluous spaces at
the end of lines.
Lars Müller [Sat, 15 Apr 2006 13:45:27 +0000 (13:45 +0000)]
r15093: Align to the last winbind changes.
Jeremy Allison [Sat, 15 Apr 2006 04:07:10 +0000 (04:07 +0000)]
r15088: Remove all time() and gettimeofday() calls out of the mainline
packet processing code. Only do these when needed (ie. in the
idle timeout code). We drop an unneccessary global here too.
Jeremy.
Gerald Carter [Fri, 14 Apr 2006 19:36:36 +0000 (19:36 +0000)]
r15086: Get defensive about creating user accounts when winbindd
fails (but is present).
Jeremy Allison [Fri, 14 Apr 2006 03:55:42 +0000 (03:55 +0000)]
r15084: Try and squeeze more out of the non-read/write code path.
Jeremy.
Jeremy Allison [Thu, 13 Apr 2006 22:22:54 +0000 (22:22 +0000)]
r15083: Using talloc with destructors is nice and all, but in this
case it's in a performace critical path and it *hurts* us.
Go back to plain malloc/free with an explicit destructor
call.
Jeremy.
Günther Deschner [Thu, 13 Apr 2006 15:53:51 +0000 (15:53 +0000)]
r15080: As discussed with Jerry, remove the CAP_LIBS again (we don't need that
handling anymore when we remove $(LIBS) from pam_winbind again.
Also make sure to build our own copy of iniparser with -fPIC.
Guenther
Gerald Carter [Thu, 13 Apr 2006 12:06:01 +0000 (12:06 +0000)]
r15074: Remove -lcap from pam_winbind (not needed)
Temporary linking fix for --with-included-iniparser
(gd will do a proper fix later).
Gerald Carter [Thu, 13 Apr 2006 12:03:12 +0000 (12:03 +0000)]
r15072: Last bit of 32/64 bit portabilities fixes for winbind
clients and aservers. Strange compiler-fu on 64-bit
SLES9 says sizeof(time_t) == 4 but the memory alignment
is on 8 bytes. Change time_t to uint32 to fix alignment.
Remove 'char **gr_mem' from struct winbindd_gr since
it was not being used.
Volker Lendecke [Thu, 13 Apr 2006 10:14:07 +0000 (10:14 +0000)]
r15068: Fix a shadowed variable warning
Jeremy Allison [Wed, 12 Apr 2006 23:00:58 +0000 (23:00 +0000)]
r15060: The brlock code gets called a lot. Ensure we keep the
key around while we're using it - saves many calls to
locking_key() (now deleted).
Jeremy.
Günther Deschner [Wed, 12 Apr 2006 17:36:13 +0000 (17:36 +0000)]
r15058: Add sample pam_winbind.conf file.
Guenther
Gerald Carter [Wed, 12 Apr 2006 14:10:39 +0000 (14:10 +0000)]
r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server
James Peach [Wed, 12 Apr 2006 00:07:40 +0000 (00:07 +0000)]
r15047: Add support for using libunwind to generate a backtrace. This is
primarily intended for ia64 systems where libunwind knows more about
the different ways of walking the stack that just about anything else.
James Peach [Tue, 11 Apr 2006 23:32:04 +0000 (23:32 +0000)]
r15046: Fix bug #3490 reported by Jason Mader. Do not continue to check for LDAP
and AD requirements if --without-ldap and --without-ads have been given
to configure.
Günther Deschner [Tue, 11 Apr 2006 17:00:08 +0000 (17:00 +0000)]
r15044: Fix the build. (void returning non-void).
Guenther
Günther Deschner [Tue, 11 Apr 2006 16:57:16 +0000 (16:57 +0000)]
r15043: Only build our copy of iniparser when the system doesn't have one.
Guenther
Günther Deschner [Tue, 11 Apr 2006 15:47:24 +0000 (15:47 +0000)]
r15041: Adding rpc client calls to manipulate auditing policies on remote CIFS
servers. Also add a new "net rpc audit" tool. The lsa query infolevels
were taken from samb4 IDL, the lsa policy flags and categories are
partly documented on msdn. I need to cleanup the double
lsa_query_info_policy{2}{_new} calls next.
Guenther
Günther Deschner [Tue, 11 Apr 2006 15:18:46 +0000 (15:18 +0000)]
r15040: Stripping the parametric options in pam_winbind and use
/etc/security/pam_winbind.conf as config file for the PAM module by
default.
Guenther
Volker Lendecke [Tue, 11 Apr 2006 15:11:27 +0000 (15:11 +0000)]
r15039: Fix an uninitialized variable. I _think_ this should default to
PAM_SUCCESS. Günther, could you take a look?
Thanks,
Volker
Günther Deschner [Tue, 11 Apr 2006 14:40:53 +0000 (14:40 +0000)]
r15038: Replace all code in pam_winbind that relied on access to samba
internals, mostly with the code that was in pam_winbind before.
Also switch from using loadparm to use iniParser to read the new
pam_winbind options from a configuration file. That still uses the old
(parametric) option names which will be replaced next (as iniParser does
not support parametric options).
Guenther
Günther Deschner [Tue, 11 Apr 2006 14:34:40 +0000 (14:34 +0000)]
r15037: Adding iniParser (ndevilla.free.fr/iniparser/), a free inifile
parsing library under the MIT licence.
This is required to have a configuration ini-file for pam_winbind
without using loadparm in the next step.
Guenther
Volker Lendecke [Tue, 11 Apr 2006 06:39:51 +0000 (06:39 +0000)]
r15035: It seems that many preprocessors do not like comments in macro args..
Volker Lendecke [Tue, 11 Apr 2006 06:35:36 +0000 (06:35 +0000)]
r15034: Attempt to make the build farm happy
Jeremy Allison [Tue, 11 Apr 2006 01:43:13 +0000 (01:43 +0000)]
r15030: On a performace hunt... Remove as many extraneous
memset's as possible.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 23:32:05 +0000 (23:32 +0000)]
r15028: Fix logic error checking valid args to POSIX lock
call.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 23:29:47 +0000 (23:29 +0000)]
r15026: Fix warning until POSIX locking finished.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 22:57:12 +0000 (22:57 +0000)]
r15025: Fix exit_server_cleanly call.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 22:47:09 +0000 (22:47 +0000)]
r15022: Fix core dumps on normal server exit.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 18:44:27 +0000 (18:44 +0000)]
r15020: Fix issue with samba4 netbench torture tester,
it sends break replies to "break to none from level2"
requests and it shouldn't. Just don't log a debug
level zero message.
Jeremy.
Jeremy Allison [Mon, 10 Apr 2006 15:33:04 +0000 (15:33 +0000)]
r15018: Merge Volker's ipc/trans2/nttrans changes over
into 3.0. Also merge the new POSIX lock code - this
is not enabled unless -DDEVELOPER is defined.
This doesn't yet map onto underlying system POSIX
locks. Updates vfs to allow lock queries.
Jeremy.
Jeremy Allison [Sun, 9 Apr 2006 19:39:38 +0000 (19:39 +0000)]
r15012: Fix bug #2715. Fix suggested by ISHIKAWA Tomonori <toishika@fsi.co.jp>
No need to null terminate early, pull_ascii_fstring will do this.
Jeremy.
Volker Lendecke [Sun, 9 Apr 2006 17:01:59 +0000 (17:01 +0000)]
r15011: Fix bug # 2413. net rpc info can't reliably work anonymously anymore.
Volker
Volker Lendecke [Sun, 9 Apr 2006 10:17:43 +0000 (10:17 +0000)]
r15009: Add a check for NULL
Andrew Tridgell [Sun, 9 Apr 2006 08:51:35 +0000 (08:51 +0000)]
r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work
Jeremy Allison [Sun, 9 Apr 2006 01:20:26 +0000 (01:20 +0000)]
r15005: Fix printf args to remove warnings.
Jeremy.
Gerald Carter [Sat, 8 Apr 2006 17:25:31 +0000 (17:25 +0000)]
r15003: patch based on code from Arkady Glabek <aglabek@centeris.com> to ensure that global memory is freed when unloading pam_winbind.so (needs more testing on non-linux platforms)
Jeremy Allison [Sat, 8 Apr 2006 05:09:12 +0000 (05:09 +0000)]
r14989: Fix from Mathias Dietz <MDIETZ@de.ibm.com>. EPERM can be
a valid return from getting an xattr. Don't disable if
we get it.
Jeremy.
Jeremy Allison [Sat, 8 Apr 2006 05:00:04 +0000 (05:00 +0000)]
r14986: Fix OS/2 directory delete bug found by kukks.
(Thanks a lot for all your hard work on this).
We were caching the results of *all* directory
scans, not just the results that match the
client wildcard. This actually made no sense,
as only matches on the client wildcard can be
returned to the client and so might need to
be searched for in the cache. This fixes the
directory cache to only cache entries that we
return to the client.
Jeremy.
Jeremy Allison [Thu, 6 Apr 2006 22:31:45 +0000 (22:31 +0000)]
r14954: Fix #3569 based on William Jojo's work. AIX also
has the linear posix locking issue which causes
CLEAR_IF_FIRST to cause performance problems.
As we know we're in a daemon architecture with
long-lived parent we can avoid this in the Samba
case. Add a comment explaining this.
Jeremy.
Günther Deschner [Thu, 6 Apr 2006 09:23:34 +0000 (09:23 +0000)]
r14940: Remove pam_winbind's ability to create home directories on it's own.
Guenther
Jim McDonough [Thu, 6 Apr 2006 01:46:01 +0000 (01:46 +0000)]
r14931: Fix #1374: can't join an OU with name that contains '#'
I had to eliminate "\" as an OU path separator, because it is the escape
char in LDAP. We still accept "/", but using the escape char is just
not a good choice.
Lars Müller [Wed, 5 Apr 2006 07:44:14 +0000 (07:44 +0000)]
r14923: Return False in the case a parametrical option is not configured in
the config file.
For a "somesettings: foo = " we still return an empty line.
Lars Müller [Wed, 5 Apr 2006 07:29:22 +0000 (07:29 +0000)]
r14922: Use BOOL for the returned value.
James Peach [Tue, 4 Apr 2006 01:07:28 +0000 (01:07 +0000)]
r14900: Separate words in error message.
James Peach [Tue, 4 Apr 2006 00:59:50 +0000 (00:59 +0000)]
r14899: Add missing semi-colon.
James Peach [Tue, 4 Apr 2006 00:27:50 +0000 (00:27 +0000)]
r14898: This change is an attempt to improve the quality of the information that
is produced when a process exits abnormally.
First, we coalesce the core dumping code so that we greatly improve our
odds of being able to produce a core file, even in the case of a memory
fault. I've removed duplicates of dump_core() and split it in two to
reduce the amount of work needed to actually do the dump.
Second, we refactor the exit_server code path to always log an explanation
and a stack trace. My goal is to always produce enough log information
for us to be able to explain any server exit, though there is a risk
that this could produce too much log information on a flaky network.
Finally, smbcontrol has gained a smbd fault injection operation to test
the changes above. This is only enabled for developer builds.
Volker Lendecke [Mon, 3 Apr 2006 19:14:12 +0000 (19:14 +0000)]
r14896: Remove unused files
Volker Lendecke [Mon, 3 Apr 2006 19:08:23 +0000 (19:08 +0000)]
r14895: Merge the 3.0.22 change
Stefan Metzmacher [Mon, 3 Apr 2006 14:57:48 +0000 (14:57 +0000)]
r14892: allow:
CC_CHECKER=mycheker make
metze
Volker Lendecke [Mon, 3 Apr 2006 13:53:57 +0000 (13:53 +0000)]
r14889: Fix smbwrapper compile
Stefan Metzmacher [Mon, 3 Apr 2006 11:34:17 +0000 (11:34 +0000)]
r14886: reenable BASE-DENY2 and BASE-DENY3
metze
Stefan Metzmacher [Mon, 3 Apr 2006 11:32:57 +0000 (11:32 +0000)]
r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
Stefan Metzmacher [Mon, 3 Apr 2006 10:43:34 +0000 (10:43 +0000)]
r14883: add 'smbd:sharedelay' option, so that we can speed up BASE-DENY2 in make test
as done in samba4
metze
Lars Müller [Sun, 2 Apr 2006 21:12:23 +0000 (21:12 +0000)]
r14869: Allow to dump a paramatrical option.
Flaw: We print an empty line if the paramatrical option is not defined
in the requested section.
Gerald Carter [Sun, 2 Apr 2006 19:45:42 +0000 (19:45 +0000)]
r14868: I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
...
Fix my brain dead inverted logic for turning winbindd on and off
when run on a DC or when calling pdb functions from within winbindd.
Stefan Metzmacher [Sun, 2 Apr 2006 12:52:59 +0000 (12:52 +0000)]
r14865: - enforce timelimits for the tests
- and skip some long tests for now
metze
Stefan Metzmacher [Sun, 2 Apr 2006 12:29:13 +0000 (12:29 +0000)]
r14863: try to make the generation of bin/timelimit more portable
jerry: can you test that please
metze
Gerald Carter [Sun, 2 Apr 2006 06:25:11 +0000 (06:25 +0000)]
r14855: Various fixes:
* depreacte 'acl group control' after discussion with Jeremy
and implement functionality as part of 'dos filemode'
* fix winbindd on a non-member server to expand local groups
* prevent code previously only used by smbd from blindly
turning _NO_WINBINDD back on
Jeremy Allison [Sat, 1 Apr 2006 18:22:31 +0000 (18:22 +0000)]
r14849: Fix >= that should be >. Too strict condition
checked by Volker.
Jeremy.
Jeremy Allison [Sat, 1 Apr 2006 05:41:34 +0000 (05:41 +0000)]
r14847: Tell static checkers that exit_server() doesn't
return.
Jeremy.
Günther Deschner [Fri, 31 Mar 2006 11:48:01 +0000 (11:48 +0000)]
r14841: Fix IRIX build --with-pam.
Guenther
Jeremy Allison [Fri, 31 Mar 2006 00:50:09 +0000 (00:50 +0000)]
r14833: Fix resource leak on error code path. Coverity #280.
Jeremy.
Jeremy Allison [Fri, 31 Mar 2006 00:47:08 +0000 (00:47 +0000)]
r14831: Fix possible null deref. Coverity #279.
Jeremy.
Jeremy Allison [Fri, 31 Mar 2006 00:44:24 +0000 (00:44 +0000)]
r14829: Fix reversed test in coverity fixes.
Jeremy.
Gerald Carter [Thu, 30 Mar 2006 14:28:33 +0000 (14:28 +0000)]
r14825: add support for max connections parameter
Stefan Metzmacher [Thu, 30 Mar 2006 13:11:08 +0000 (13:11 +0000)]
r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4
metze
Stefan Metzmacher [Thu, 30 Mar 2006 09:34:02 +0000 (09:34 +0000)]
r14809: - add my email address
- fix usage()
- remove unused var
metze
Jeremy Allison [Wed, 29 Mar 2006 23:45:08 +0000 (23:45 +0000)]
r14790: Fix possible null deref. Coverity #277.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2006 23:42:03 +0000 (23:42 +0000)]
r14788: Fix coverity bug #276. null deref.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2006 23:35:16 +0000 (23:35 +0000)]
r14786: Fix coverity #275. null deref.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2006 23:32:40 +0000 (23:32 +0000)]
r14784: Fix coverity bug #274. Null deref.
Jeremy.