1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

20117 Commits

Author SHA1 Message Date
Jelmer Vernooij
cbe286ac11 r17121: Fix maintainer information for pdb_*sql.
This commit was made using Bazaar, using the Subversion support
(see http://bazaar-vcs.org/BzrSvn)
2007-10-10 11:38:13 -05:00
Volker Lendecke
8c7d6cab19 r17116: Jerry, I can't reach you right now, but r17110 broke the build.
Please check.

Volker
2007-10-10 11:38:13 -05:00
Gerald Carter
6c0a690f0a r17111: cleanup the idmap_ad initialization after review by gd 2007-10-10 11:38:13 -05:00
Gerald Carter
2c7448e43e r17110: revert a bad merge from the old trunk 2007-10-10 11:38:12 -05:00
Jeremy Allison
0451a170c9 r17108: Make the default timeout parameter for lock waiting
be lp_lock_spin(). lock spin count is no longer
used. I'll update the man pages.
Jeremy.
2007-10-10 11:38:12 -05:00
Jeremy Allison
98d8d9399b r17107: Make the 200 ms timeout value tunable in local.h...
Might need to be a parameter ?
Jeremy.
2007-10-10 11:38:12 -05:00
Jeremy Allison
b5aaff6659 r17106: Match Windows timing values on locks.
Jeremy.
2007-10-10 11:38:12 -05:00
Jeremy Allison
b81d6d1ae9 r17105: Fix the race Volker found - we had a non-locked
region between detecting a pending lock was needed
and when we added the blocking lock record. Make
sure that we hold the lock over all this period.
Removed the old code for doing blocking locks on
SMB requests that never block (the old SMBlock
and friends).
Discovered something interesting about the strange
NT_STATUS_FILE_LOCK_CONFLICT return. If we asked
for a lock with zero timeout, and we got an error
of NT_STATUS_FILE_LOCK_CONFLICT, treat it as though
it was a blocking lock with a timeout of 150 - 300ms.
This only happens when timeout is sent as zero and
can be seen quite clearly in ethereal. This is the
real replacement for old do_lock_spin() code.
Re-worked the blocking lock select timeout to correctly
use milliseconds instead of the old second level
resolution (far too coarse for this work).
Jeremy.
2007-10-10 11:38:12 -05:00
Günther Deschner
d73d0ec3d0 r17102: Fix segfault in libnss_wins [bugzilla #3937].
Guenther
2007-10-10 11:38:12 -05:00
Jeremy Allison
b21ca265a2 r17100: Ooops. Fix the build...
Jeremy.
2007-10-10 11:38:11 -05:00
Jeremy Allison
f1a9cf075b r17098: Samba3 now cleanly passes Samba4 RAW-LOCK torture
test. Phew - that was painful :-). But what it means
is that we now implement lock cancels and I can add
lock cancels into POSIX lock handling which will fix
the fast/slow system call issue with cifsfs !
Jeremy.
2007-10-10 11:38:11 -05:00
Volker Lendecke
220dd43330 r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to lib/sharesec.c 2007-10-10 11:38:11 -05:00
Volker Lendecke
0a138888ad r17096: Simplify share_access_check a bit: It takes the sharename instead of the snum,
and the decision which token to use (conn or vuser) does not really belong
here, it is better done in the two places where this is called.

Volker
2007-10-10 11:38:11 -05:00
Volker Lendecke
bcb196d21e r17095: Activate RPC-SAMBA3-SHARESEC 2007-10-10 11:38:11 -05:00
Volker Lendecke
b87c495221 r17089: Fix a possible null dereference and some memleaks.
Jerry, please check.

Thanks,

Volker
2007-10-10 11:38:11 -05:00
Günther Deschner
d573e64781 r17086: Re-add ability to contact remote domain controllers with the "net ads"
toolset.

In 3.0.23 all those commands have been limited to the DC of our primary
domain. Also distinguish calls that may go to remote DCs (search, info,
lookup, etc.) from those that should only go to our primary domain
(join, leave, etc.).

Guenther
2007-10-10 11:38:10 -05:00
Jeremy Allison
58e5e270d2 r17080: Remove traces of the wrepld directory (now
deleted).
Jeremy.
2007-10-10 11:38:10 -05:00
Volker Lendecke
1d928f783a r17078: Ouch.... 2007-10-10 11:38:10 -05:00
Volker Lendecke
8c6088f2bd r17077: Activate RPC-SAMBA3-GETUSERNAME in the build farm 2007-10-10 11:38:10 -05:00
Volker Lendecke
03e9924f5c r17075: Even without talloc_steal you can still create memory problems.... ;-) 2007-10-10 11:38:10 -05:00
Volker Lendecke
5cfe482841 r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.

Not activating this test yet until the build farm has picked up the new samba4
revision.

Volker
2007-10-10 11:38:10 -05:00
Simo Sorce
a77b18c781 r17063: Update debian-sarge for 3.0.23 2007-10-10 11:19:22 -05:00
Volker Lendecke
2e7afa9e19 r17060: Some c++ warnings 2007-10-10 11:19:22 -05:00
Volker Lendecke
c0d9114706 r17047: Fix a typo and a possible NULL dereference 2007-10-10 11:19:22 -05:00
Jeremy Allison
a8df1863bf r17046: Ensure we're using the right pointers ...
Jeremy.
2007-10-10 11:19:22 -05:00
Jeremy Allison
1201383e7a r17043: Fix memleak when processing CIFS POSIX lock/unlock
requests. Maybe the Linux kernel OOM killer will
be kinder to smbd now :-). Back to tdbtorture
tests on cifsfs.
Jeremy.
2007-10-10 11:19:21 -05:00
Jeremy Allison
43d24fbd41 r17041: Trying to track down a *big* memory leak in the new lock code.
Fix a small one first.... (easy to valgrind).
Jeremy
2007-10-10 11:19:21 -05:00
Volker Lendecke
c5e393d5ed r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some pstrings.
Volker
2007-10-10 11:19:21 -05:00
Volker Lendecke
6e98f8d6c6 r17033: Restructure init_srv_share_info_ctr so that there's only one loop, not a dozen
or so. Next step will be to eliminate the explicit snum reference.

Volker
2007-10-10 11:19:21 -05:00
Volker Lendecke
c89471e157 r17032: I thought I had already merged this from trunk:
> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line
>
> get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC

Volker
2007-10-10 11:19:21 -05:00
Jeremy Allison
50dbb66d73 r17030: Partially fix standalone build of tdb directory
(tdbtool still fails).
Jeremy.
2007-10-10 11:19:21 -05:00
Jeremy Allison
13e7fe540a r17025: Remove one blank line - test checking in to two
branches simultaneously.....
Jeremy.
2007-10-10 11:19:21 -05:00
Gerald Carter
6eb77442a5 r17023: security = server should not be considerd ROLE_DOMAIN_MEMBER 2007-10-10 11:19:20 -05:00
Volker Lendecke
19d0269000 r17022: Fix the build farm -- maybe this is the real fix, testing more 2007-10-10 11:19:20 -05:00
Gerald Carter
07c67fbfc0 r17021: remove unsupported smbwrapper code 2007-10-10 11:19:20 -05:00
Gerald Carter
8d62188258 r17017: BUG 3916: fix pam config file parsing in pam_winbind.
Patch from Dietrich Streifert <dietrich.streifert@visionet.de>
2007-10-10 11:19:20 -05:00
Volker Lendecke
f6e3ee147f r17016: Different and smaller fix for the valid users = username problem.
If no winbind is around, the best we can do to get the user's token correct is
to ask unix via create_token_from_username. More investigation is needed if
this also fixes the +groupname for unmapped groups problems more cleanly.

Volker
2007-10-10 11:19:20 -05:00
Volker Lendecke
7a629118ee r17011: Back out r17010 after talking to Jerry. Another fix pending...
Volker
2007-10-10 11:19:19 -05:00
Volker Lendecke
5e07ab750a r17010: If winbind is not around, add S-1-22-1-<uid> to the user's token.
See the comment in the patch for the reason.

Volker
2007-10-10 11:19:19 -05:00
Andrew Bartlett
ed51b6293b r17007: Increment winbind protocol version number.
Andrew Bartlett
2007-10-10 11:19:18 -05:00
Andrew Bartlett
967292b713 r17005: Add a new helper mode to ntlm_auth: ntlm-change-password-1
This mode proxies pre-calculated blobs from a remote (probably VPN)
client into the domain.  This allows clients to change their password
over a PPTP connection (where they would not be able to connect to
SAMR directly).

The precalculated blobs do not reveal the plaintext password.

Original patch by Alexey Kobozev <cobedump@gmail.com>
2007-10-10 11:19:17 -05:00
Jeremy Allison
144067783d r17003: Fix coverity #303 - possible null deref. Jerry please
check this is your new code.
Jeremy.
2007-10-10 11:19:17 -05:00
Jeremy Allison
2f8cabe98d r17000: Allow CIFS POSIX locks to coexist with Windows locks.
We shouldn't allow this on the same smbd, but the cifsfs
client negotiates POSIX locks then sends Windows ones.
Doh ! Can't fix shipped client code....
Jeremy.
2007-10-10 11:19:17 -05:00
Gerald Carter
34ad8e183c r16998: patch from Paul Griffith <paulg@cs.yorku.ca> to fix compile of the test.c pdb file 2007-10-10 11:19:17 -05:00
Gerald Carter
6413df8348 r16997: Simo's patch (based on repotr from Seth Elssworth of Quest) to try to be more robust in the precense of more broken /etc/hosts files when determining our fwdn 2007-10-10 11:19:17 -05:00
Jeremy Allison
738b99078c r16994: Fix bug #3923, reported by jason@ncac.gwu.edu. Incorrect type
used.
Jeremy.
2007-10-10 11:19:17 -05:00
Jeremy Allison
f11933b3ac r16992: Fix bug #3922 reported by jason@ncac.gwu.edu, correctly
look at the return code.
Jeremy.
2007-10-10 11:19:17 -05:00
Jeremy Allison
f62c01316e r16990: Fix bug #3921 spotted by jason@ncac.gwu.edu. Correctly
obey blocking/non-blocking request for POSIX locks.
Jeremy.
2007-10-10 11:19:16 -05:00
Jeremy Allison
edd72d37de r16987: Fix the logic errors in ref-counting Windows locks.
Hopefully will fix the build farm. Still a few errors
in RAW-LOCK to look at though...
Jeremy.
2007-10-10 11:19:16 -05:00
Jeremy Allison
53094435d8 r16973: Fix subtle logic error in lock ref counting found by
cifsfs client code.
Jeremy.
2007-10-10 11:19:16 -05:00