Volker Lendecke [Mon, 31 Jul 2006 04:30:55 +0000 (04:30 +0000)]
r17334: Some C++ warnings
(This used to be commit
8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b)
Volker Lendecke [Mon, 31 Jul 2006 03:53:39 +0000 (03:53 +0000)]
r17333: Some C++ warnings
(This used to be commit
be9aaffdaccae06c8c035eaf31862e34b7cfbe38)
Volker Lendecke [Sun, 30 Jul 2006 16:36:56 +0000 (16:36 +0000)]
r17316: More C++ warnings -- 456 left
(This used to be commit
1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
Volker Lendecke [Sun, 30 Jul 2006 10:42:11 +0000 (10:42 +0000)]
r17315: Make talloc and tdb C++-warning-free. Would this also be interesting in talloc
and tdb "upstream"?
Volker
(This used to be commit
68c43191c8aa4faa9801e0ab084a216ceaf4379d)
Jeremy Allison [Sat, 29 Jul 2006 19:14:24 +0000 (19:14 +0000)]
r17314: Optimisation for POSIX locking. If we're downgrading
a POSIX lock (applying a read-lock) and we overlap
pending read locks then send them an unlock message,
we may have allowed them to proceed.
Jeremy.
(This used to be commit
a7a0b6ba50f4cf7c5a0a29809fdff9e1266a29e7)
Volker Lendecke [Sat, 29 Jul 2006 17:33:48 +0000 (17:33 +0000)]
r17313: Non-Ascii attribute values need to be encoded as base64, with an attribute
name attr:: instead of attr:
German domains tend to have umlauts in group names.
More to come tomorrow.
Volker
(This used to be commit
94cdd5d64cfaa5228209eebbb76244da0bf4b518)
Volker Lendecke [Sat, 29 Jul 2006 15:45:19 +0000 (15:45 +0000)]
r17312: Do some reformatting on net rpc samsync ldif. Not doing this checkin easily,
as this puts me into svn blame in places I'm not sure I want my name to show
up....
Volker
(This used to be commit
d00e73c49b5227db61d41a017eb9b71d9e7e2620)
Jelmer Vernooij [Sat, 29 Jul 2006 11:33:04 +0000 (11:33 +0000)]
r17307: Add datarootdir setting (required for newer autoconfs)
(This used to be commit
86687b804a60973883965700e755686e7d7d24f3)
Jeremy Allison [Fri, 28 Jul 2006 23:16:52 +0000 (23:16 +0000)]
r17296: Replace the understandable parts of the quota
code with become_root_uid_only()/unbecome_root_uid_only()
pairs. This code needs working on.....
Jeremy.
(This used to be commit
0661d4e26614180636bc57de0c48adf8b9ce7a21)
Jeremy Allison [Fri, 28 Jul 2006 23:09:12 +0000 (23:09 +0000)]
r17295: Back out the become_root_uid_only change on the POSIX
acls code. I'm pretty sure this was safe, but become_root()
does other things to the token stack that become_root_uid_only()
does not, and as we're going into a vfs redirectred function
I decided it wasn't safe for now.
Jeremy.
(This used to be commit
b3e0f45488595aa96c852dab8e1349631a85dded)
Jeremy Allison [Fri, 28 Jul 2006 22:56:41 +0000 (22:56 +0000)]
r17294: Make the code a little cleaner. Instead of using the two
calls make it :
become_root_uid_only()
operation
unbecome_root_uid_only()
saving errno across the second call. Most of our internal
change calls can be replaced with these simple calls.
Jeremy
(This used to be commit
4143aa83c029848d8ec741d9218b3fa6e3fd28dd)
Jeremy Allison [Fri, 28 Jul 2006 22:42:39 +0000 (22:42 +0000)]
r17293: After the results from the cluster tests in Germany,
fix the messaging code to call the efficient calls :
save_re_uid()
set_effective_uid(0);
messaging_op
restore_re_uid();
instead of using heavyweight become_root()/unbecome_root()
pairs around all messaging code. Fixup the messaging
code to ensure sec_init() is called (only once) so that non-root
processes still work when sending messages.
This is a lighter weight solution to become_root()/unbecome_root()
(which swaps all the supplemental groups) and should be more
efficient. I will migrate all server code over to using this
(a similar technique should be used in the passdb backend
where needed).
Jeremy.
(This used to be commit
4ace291278d9a44f5c577bdd3b282c1231e543df)
Jeremy Allison [Fri, 28 Jul 2006 21:23:53 +0000 (21:23 +0000)]
r17292: Try and fix bug #3967 - signing problems on trans
calls introduced by signing code simplification.
Please test if you've seen signing problems with
3.0.23a.
Jeremy.
(This used to be commit
f462daf02c12cfba634f92e681eb23a09e7d0acf)
Jeremy Allison [Fri, 28 Jul 2006 20:35:00 +0000 (20:35 +0000)]
r17291: Fix memory leaks on early exit path.
Jeremy.
(This used to be commit
deaac5bd463e5b8fd0b9915b553fdac3a4271293)
Volker Lendecke [Thu, 27 Jul 2006 17:23:57 +0000 (17:23 +0000)]
r17279: conn->cnum is the tid we've given to the client. This has nothing to do with
our internal share number.
Funny that it worked at all :-)
Volker
(This used to be commit
afa6e9094604afe1ef929cd936fbfa07b5473fd2)
Jeremy Allison [Thu, 27 Jul 2006 15:23:46 +0000 (15:23 +0000)]
r17276: Don't change the POSIX lock ref count if posix locking = no.
Jeremy.
(This used to be commit
42dec2192c1261090f2fac7a123c384f5c133587)
Gerald Carter [Thu, 27 Jul 2006 12:20:19 +0000 (12:20 +0000)]
r17271: Fix a regression in the ldapsam uri syntax.
Allow multiple LDAP URIs to be grouped by ""
(This used to be commit
21d69dcb3c5361f94d15b2d186e1aae6e246a24e)
Jeremy Allison [Wed, 26 Jul 2006 17:24:54 +0000 (17:24 +0000)]
r17262: After messages from Metze and traces from Karolin Seeger,
turns out that EDQUOTA must map to NT_STATUS_DISK_FULL
for Windows apps to work correctly. My mistake.
Jeremy.
(This used to be commit
de1e3f7a7ae9e8a41b45130e2cdfc22f43cf53b5)
Gerald Carter [Wed, 26 Jul 2006 16:47:58 +0000 (16:47 +0000)]
r17260: remove extra ;SAMBA_3_0_23/source/utils/netlookup.c
(This used to be commit
c152d20e9073eb741047cc4b5f8e8086e2bc9ddd)
Gerald Carter [Wed, 26 Jul 2006 15:26:51 +0000 (15:26 +0000)]
r17258: Cleanup the 'net ads help join' output and document createupn
and createcomputer options
(This used to be commit
87be77bf35635fc925e1be36073571f8c6ec3e81)
Volker Lendecke [Wed, 26 Jul 2006 08:08:48 +0000 (08:08 +0000)]
r17254: Simple flattening of an if-statement, no logic change.
Jeremy, I'm sure you will look at this nevertheless :-)
Volker
(This used to be commit
3ef34468b55771b6f6b54454fa6c9decc183c565)
Jeremy Allison [Wed, 26 Jul 2006 04:42:18 +0000 (04:42 +0000)]
r17249: Ensure we only set the FILE_WRITE_DATA on O_TRUNC
in one place.
Jeremy.
(This used to be commit
f326bae3e269046b6f087626240cddbb5dafb0e4)
Jeremy Allison [Wed, 26 Jul 2006 02:15:01 +0000 (02:15 +0000)]
r17248: Ensure we definately add the WRITE_DATA on O_TRUNC.
Jeremy.
(This used to be commit
8eed82d5d5ba34cc0a6b99b9d0df45eec5f788fa)
Jeremy Allison [Wed, 26 Jul 2006 01:53:23 +0000 (01:53 +0000)]
r17247: When we map generic to specific we need to remember
to copy over the copy of the access_mask, open_access_mask.
Jerry - this is a definate fix for a 3.0.23b and should also
be on the patches page. CIFSFS breaks without this.
Jeremy.
(This used to be commit
d11e71ebcccf6907f2404a04aa6bf61b12ab2709)
Gerald Carter [Tue, 25 Jul 2006 21:48:13 +0000 (21:48 +0000)]
r17246: BUG 3964: lower case username prior to getpwnam() call in smbpasswd
(This used to be commit
dc4fec1f7d196cf7e18d4dd58149853011380ef9)
Jeremy Allison [Tue, 25 Jul 2006 21:33:13 +0000 (21:33 +0000)]
r17245: Second part of fix for #3962. Don't do a double
free in the infolevel2 case. Free both queue and
NT_PRINTER_INFO_LEVEL in the same place.
Jeremy.
(This used to be commit
6ac3a4ce78f42949013ae7bd675ff292fb0383ca)
Jeremy Allison [Tue, 25 Jul 2006 21:23:34 +0000 (21:23 +0000)]
r17244: There were several error paths where NT_PRINTER_INFO_LEVEL
wasn't being freed - also one enum jobs case where the
NT_PRINTER_INFO_LEVEL and queue weren't being freed.
Strange that Coverity or Klokwork didn't pick these up.
Hopefully will fix #3962.
Jeremy.
(This used to be commit
bb264123872bfec42ad85ec0c8afa3a8c7d1811e)
Gerald Carter [Tue, 25 Jul 2006 20:11:03 +0000 (20:11 +0000)]
r17242: BUG 3957: make sure to zero memory in the SRV hostlist in case there is not an A record for each SRV name
(This used to be commit
42608b8bb974e1bd88cf2105bf1774622c045458)
Gerald Carter [Tue, 25 Jul 2006 19:59:35 +0000 (19:59 +0000)]
r17239: BUG 3959: patch from William Charles <william@charles.name> to fix a segv in the DNS SRV lookups dur to calling rand()
(This used to be commit
be12519fd8a7ccd8400fd298e05921eda56b4e16)
Jeremy Allison [Tue, 25 Jul 2006 16:48:08 +0000 (16:48 +0000)]
r17234: Fix error mappings for EQUOTA and ENOBUFS.
Based on an idea from Shlomi Yaakobovich <Shlomi@exanet.com>.
Jeremy.
(This used to be commit
9c440925f879d1e4ef99d04e2dfbe41077869204)
Volker Lendecke [Tue, 25 Jul 2006 14:59:32 +0000 (14:59 +0000)]
r17231: Some patch cosmetics
(This used to be commit
736e55101b1e7cc22f043b836be877afbb031edf)
Volker Lendecke [Tue, 25 Jul 2006 08:51:54 +0000 (08:51 +0000)]
r17229: Indent-style reformatting -- getting used to the code again :-)
(This used to be commit
2e400fb0077ccef38fff28ef037f982624b7815b)
Volker Lendecke [Tue, 25 Jul 2006 08:40:04 +0000 (08:40 +0000)]
r17228: Modest reformatting
(This used to be commit
640b4297a400fe23418e9c1c01d4c14ce3bde5b4)
Jeremy Allison [Tue, 25 Jul 2006 00:16:45 +0000 (00:16 +0000)]
r17220: If we're going to fail a write with an errno, make
sure we return -1.
Jeremy.
(This used to be commit
89b83237b03066785ca4bf3b9d120519bddeffad)
Gerald Carter [Mon, 24 Jul 2006 12:05:20 +0000 (12:05 +0000)]
r17217: Fix a couple of "smbldap_open(): Cannot open when not root" bugs
when viewing or modifying local group membership.
(This used to be commit
41e30a9666e1fb736cd2ba8a5ad9285fcde50d47)
Andrew Bartlett [Mon, 24 Jul 2006 05:02:38 +0000 (05:02 +0000)]
r17216: From Kai Blin <kai.blin@gmail.com>:
A patch to make ntlm_auth recognize three new commands in
ntlmssp-client-1 and squid-2.5-ntlmssp:
The commands are the following:
Command: SF <hex number>
Reply: OK
Description: Takes feature request flags similar to samba4's
gensec_want_feature() call. So far, only NTLMSSP_FEATURE_SESSION_KEY,
NTLMSSP_FEATURE_SIGN and NTLMSSP_FEATURE_SEAL are implemented, using the same
values as the corresponding GENSEC_FEATURE_* flags in samba4.
Command: GF
Reply: GF <hex number>
Description: Returns the negotiated flags.
Command: GK
Reply: GK <base64 encoded session key>
Description: Returns the negotiated session key.
(These commands assist a wine project to use ntlm_auth for signing and
sealing of bulk data).
Andrew Bartlett
(This used to be commit
bd3e06a0e4435f1c48fa3b7862333efe273119ee)
Volker Lendecke [Sun, 23 Jul 2006 08:18:31 +0000 (08:18 +0000)]
r17199: Add comment to the RID/SID miracle
(This used to be commit
4c4ae01c671bd35687af686a34824a96828e6b25)
Alexander Bokovoy [Sun, 23 Jul 2006 03:33:28 +0000 (03:33 +0000)]
r17198: Fix wins_nss dependencies
(This used to be commit
c005049043b01e85d42a9c230ed3c41f1a1e185e)
Volker Lendecke [Sat, 22 Jul 2006 20:46:02 +0000 (20:46 +0000)]
r17194: To run rpc-samba3-lsa in the build farm, we can't rely on geteuid()==0. Adapt
it to other "Am I root?" checks.
Jerry, Jeremy, please check this!
Thanks,
Volker
(This used to be commit
f777b2d294f7258e676976d7807adbb644c85a2f)
Volker Lendecke [Sat, 22 Jul 2006 19:44:17 +0000 (19:44 +0000)]
r17192: Make this actually survive valgrind. We NEED pidl here...
Maybe bzr is not such a bad idea, then you would probably see less spam on
samba-cvs, sorry for that... :-)
Volker
(This used to be commit
41456b498a181c70707ca1ea80288bd7bdcadcdf)
Volker Lendecke [Sat, 22 Jul 2006 19:34:10 +0000 (19:34 +0000)]
r17191: Forgotten file, sorry!
(This used to be commit
32fbf66a4be3d1cc0251f00e54020bf2dbd0dfb0)
Volker Lendecke [Sat, 22 Jul 2006 19:29:02 +0000 (19:29 +0000)]
r17190: Remove a warning from "opi", a 64-bit machine
(This used to be commit
844c98eab475ea047aeaae3ef1250897413cc823)
Volker Lendecke [Sat, 22 Jul 2006 19:15:22 +0000 (19:15 +0000)]
r17188: Dump lsa_lookupsids3. I could not make it work at all against W2k3, the
rpc-lsa test even considers NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED not to be an
error.
Before someone re-activates this, show me a working sniff please :-)
Volker
(This used to be commit
b185fb9fa61d89b612870c2fdd9e112c9e7ae57c)
Volker Lendecke [Sat, 22 Jul 2006 16:40:58 +0000 (16:40 +0000)]
r17184: Attempt to get rid of some warnings on HP/UX. Without _XOPEN_SOURCE_EXTENDED
#defined getsockopt uses an int* as socklen parameter.
Volker
(This used to be commit
0b78da62f7481c6b3d46eb2f1b586d20b0b10ca5)
Gerald Carter [Sat, 22 Jul 2006 00:53:19 +0000 (00:53 +0000)]
r17183: LsaLookupSids() shoudl return the string form of a SID when
it cannot be mapped and not the hex of the RID. Who wrote that?
(This used to be commit
4e51cf34cf4cbe77957d754952369df3a180f974)
Jeremy Allison [Fri, 21 Jul 2006 22:02:54 +0000 (22:02 +0000)]
r17181: Fix the build farm RAW-READ bug. When making a copy
of the lock array in order to delete them individually
it's also important to make a copy of the *size* of
this array. Otherwise the unlock decrements the termination
index of your for loop :-). Doh ! Big thanks to Volker
for showing me how to set up the build farm to track
this one down. This is not a 3.0.23a issue.
Jeremy.
(This used to be commit
2c82a159ae6a4cc83989f2b453508358db516d67)
Jim McDonough [Fri, 21 Jul 2006 15:51:34 +0000 (15:51 +0000)]
r17179: Merge the vl-posixacls tmp branch into mainline. It
modularizes our interface into the special posix API used on
the system. Without this patch the specific API flavor is
determined at compile time, something which severely limits
usability on systems with more than one file system. Our
first targets are AIX with its JFS and JFS2 APIs, at a later
stage also GPFS. But it's certainly not limited to IBM
stuff, this abstraction is also necessary for anything that
copes with NFSv4 ACLs. For this we will check in handling
very soon.
Major contributions can be found in the copyright notices as
well as the checkin log of the vl-posixacls branch. The
final merge to 3_0 post-3.0.23 was done by Peter Somogyi
<psomogyi@gamax.hu>
(This used to be commit
ca0c73f281a2a65a988094a46bb3e46a94011a53)
Volker Lendecke [Fri, 21 Jul 2006 14:13:30 +0000 (14:13 +0000)]
r17177: Get rid of a global variable by adding a private data pointer to
share_mode_forall().
Volker
(This used to be commit
f97f6cedffdc4d10afcac90a163b93a801acf514)
John Terpstra [Fri, 21 Jul 2006 01:58:17 +0000 (01:58 +0000)]
r17172: Fix typo.
(This used to be commit
421cb6f728be7821b537d00cdd05d05f1490eb3f)
Gerald Carter [Thu, 20 Jul 2006 20:23:04 +0000 (20:23 +0000)]
r17162: Fix typo small typos noticed by Paul Green.
(This used to be commit
1a5874588686fb4ece9be70059ff75b975ed2bd5)
Gerald Carter [Thu, 20 Jul 2006 18:02:51 +0000 (18:02 +0000)]
r17159: Bug 3920: Restore wnibind use default domain behavior for domain groups.
This break local users and 'winbind nested groups' on domain members.
Cannot be helped.
My plans is to move the default domain crud to the client code (pam and
nss libraries) in 3.0.24.
(This used to be commit
8ee22eeab5d06008b363f8bb250dc767ddfbb86a)
Gerald Carter [Thu, 20 Jul 2006 14:39:06 +0000 (14:39 +0000)]
r17158: Add two new options to 'net ads join'
* createupn=[host_upn@realm]
* createcomputer=<ou path top to bottom> (this was previously
the only arg)
(This used to be commit
75054e984e5ca7249b1327630db9d09da974a54e)
Jeremy Allison [Wed, 19 Jul 2006 21:03:03 +0000 (21:03 +0000)]
r17152: Don't handle the delete pending here, await
reschedule.
Jeremy.
(This used to be commit
11bab9d57958659c71f053fe8dc0f9156c9f3c1f)
Gerald Carter [Wed, 19 Jul 2006 21:02:03 +0000 (21:02 +0000)]
r17151: revert a few accidental commits to the Makefile
(This used to be commit
3fea233802dd2f6a5528fdb183a2ff30d572020d)
Gerald Carter [Wed, 19 Jul 2006 20:59:04 +0000 (20:59 +0000)]
r17150: MMC User & group plugins fixes:
* Make sure to lower case all usernames before
calling the create, delete, or rename hooks.
* Preserve case for usernames in passdb
* Flush the getpwnam cache after renaming a user
* Add become/unbecome root block in _samr_delete_dom_user()
when trying to verify the account's existence.
(This used to be commit
bbe11b7a950e7d85001f042bbd1ea3bf33ecda7b)
Gerald Carter [Wed, 19 Jul 2006 20:56:11 +0000 (20:56 +0000)]
r17149: Fail the join if we cannot set any SPNs for the machine account.
Disable the one we created and whine.
(This used to be commit
1a7e81a4a8955e643d1c8a54365221a9e2ed8a12)
Gerald Carter [Wed, 19 Jul 2006 20:54:39 +0000 (20:54 +0000)]
r17148: the wins service should not accept any controls so that a GUI can grey it out as not remotely manageable
(This used to be commit
859c51cf25a2bb80787a5060156f09c2f0142dfb)
Gerald Carter [Wed, 19 Jul 2006 20:54:02 +0000 (20:54 +0000)]
r17147: Install fixes for libraries
(This used to be commit
72bac13f21bf2c71538e3b3bafa0fc447e1e8af8)
Gerald Carter [Wed, 19 Jul 2006 20:53:10 +0000 (20:53 +0000)]
r17146: Starting to cleanout my local tree some
* add code to lookup NS records (in prep for later coe that
does DNS updates as part of the net ads join)
(This used to be commit
36d4970646638a2719ebb05a091c951183535987)
Jeremy Allison [Wed, 19 Jul 2006 18:45:25 +0000 (18:45 +0000)]
r17142: Ensure we record the correct can_read/can_write
from the client requested access mask.
Jeremy.
(This used to be commit
12490fafc7f98952bf709c4c504f8f2b5646f197)
Jeremy Allison [Wed, 19 Jul 2006 18:34:19 +0000 (18:34 +0000)]
r17140: Get rid of the lock release/reacquire code ! Turns out
that create dispositions that cause O_TRUNC break
oplocks. This simplifies the code - although we have
to keep separate the client requested access mask and
the access mask we actually use to open the file.
Jeremy.
(This used to be commit
3bcd52a4752ec6c2a8f678afa3b7b3646103ad60)
Volker Lendecke [Wed, 19 Jul 2006 16:28:20 +0000 (16:28 +0000)]
r17138: In preparation for the cluster merge, add an empty configure option :-)
Volker
(This used to be commit
906720649b4a6c9de9fb6e248e573d3e8fd00ead)
Volker Lendecke [Wed, 19 Jul 2006 15:05:06 +0000 (15:05 +0000)]
r17136: Fix alignment on lsaquery. This broke in particular level 6, where the client
tried to figure out which role we are.
Needs to go into 23a.
Thanks to Karolin for insisting and setting up the test case :-)
Volker
(This used to be commit
3482bb1ef57e60397df8dcf1b29999161359c42a)
Volker Lendecke [Wed, 19 Jul 2006 10:42:50 +0000 (10:42 +0000)]
r17134: Fix a debug message
(This used to be commit
40e267981174840f4f36d1863985ee010ef5074a)
Jeremy Allison [Wed, 19 Jul 2006 05:32:12 +0000 (05:32 +0000)]
r17131: Optimisation - when doing a stat open don't open the
file unless we really have to (ie. O_CREAT and file
doesn't exist).
Jeremy.
(This used to be commit
788aa15ea24e6dfb61820465b5b881829a64297a)
Jeremy Allison [Wed, 19 Jul 2006 05:26:51 +0000 (05:26 +0000)]
r17130: Remove unneeded unlock call.
Jeremy.
(This used to be commit
b3b5aec0eef3bdcae75ce79ffd3ecf21fb1279e7)
Jeremy Allison [Wed, 19 Jul 2006 01:30:30 +0000 (01:30 +0000)]
r17128: Missed a logic error in my last patch. Ensure we deal with any
oplocks that were granted when we had released the lock. Fix
strange case where stat open grants a batch oplock on file
create, but grants no oplock on file open.
Jeremy.
(This used to be commit
b7374835e6ec0c98fc4020623f0a37c0c173b8aa)
Jeremy Allison [Wed, 19 Jul 2006 00:13:28 +0000 (00:13 +0000)]
r17125: Drastic problems require drastic solutions. There's
no way to get all the cases where kernel oplocks are
on and we can't open the file and get the correct
semantics (think about the open with truncate with
an attribute only open - we'd need a vfs change to
add the truncate(fname, len) call). So always drop
the share mode lock before doing any real fd opens and
then re-acquire it afterwards. We're already dealing
with the race in the create case, and we deal with
any other races in the same way. Volker, please
examine *carefully* :-). This should fix the problems
people reported with kernel oplocks being on.
Jeremy.
(This used to be commit
8171c4c404e9f382880c65daa0232f89e560f399)
Andrew Tridgell [Wed, 19 Jul 2006 00:13:01 +0000 (00:13 +0000)]
r17124: fixed a bug which caused resolve_ads() to spin forever if one of the
DCs isn't resolvable in DNS. The fix is to leave that DC out of the
returned list of DCs. I think the original code intended that anyway,
just didn't quite get it right ('i' wasn't incremented in that code
path, so the loop didn't terminate)
(This used to be commit
d7ec9f3cc0439e9e0f4c98988b14ae2155d931b9)
Gerald Carter [Tue, 18 Jul 2006 20:19:55 +0000 (20:19 +0000)]
r17123: Fix 32bit/64bit portability issues again.
NO NOT change the winbindd response or request structures
*unless* you test a 32bit wbinfo against a 64bit winbindd.
The structure sizes MUST be the same on 32bit and 64 bit
platforms.
The way to test is to build a 64bit version of Winbind as normal.
Then build a 32bit version using gcc -m32. Now install the 64bit and
32bit versions of libnss_winbindd.so and launch the 64bit winbindd.
Make sure that the responses from both 32bit and 64bit versions
of wbinfo match.
If you don't understand the previous paragraph you don't need to
be changing nsswitch/winbindd_nss.h
(This used to be commit
bc03141429273703c540d6120b0c5ca4d0949266)
Gerald Carter [Tue, 18 Jul 2006 20:16:44 +0000 (20:16 +0000)]
r17122: remove unused global var from idmap_ad
(This used to be commit
c8b7952843adb75d0b9bb42cfbcfb80e070e8f45)
Jelmer Vernooij [Tue, 18 Jul 2006 20:05:59 +0000 (20:05 +0000)]
r17121: Fix maintainer information for pdb_*sql.
This commit was made using Bazaar, using the Subversion support
(see http://bazaar-vcs.org/BzrSvn)
(This used to be commit
cbe286ac114dc079506eb028221d0ffa8cf2e14d)
Volker Lendecke [Tue, 18 Jul 2006 14:33:02 +0000 (14:33 +0000)]
r17116: Jerry, I can't reach you right now, but r17110 broke the build.
Please check.
Volker
(This used to be commit
8c7d6cab19a3b0e68ebb5fe9abb22bcb42703d37)
Gerald Carter [Tue, 18 Jul 2006 11:56:46 +0000 (11:56 +0000)]
r17111: cleanup the idmap_ad initialization after review by gd
(This used to be commit
6c0a690f0a8ec4539b06ad75da0fd91abeb15fa4)
Gerald Carter [Tue, 18 Jul 2006 11:54:49 +0000 (11:54 +0000)]
r17110: revert a bad merge from the old trunk
(This used to be commit
2c7448e43ea82138cdb7f3f6d61372e2027ddc83)
Jeremy Allison [Tue, 18 Jul 2006 01:29:43 +0000 (01:29 +0000)]
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.
(This used to be commit
0451a170c9be88399202abd225af35ddc45023f0)
Jeremy Allison [Tue, 18 Jul 2006 01:20:26 +0000 (01:20 +0000)]
r17107: Make the 200 ms timeout value tunable in local.h...
Might need to be a parameter ?
Jeremy.
(This used to be commit
98d8d9399bb287319578daaf2a2fb42f3c48f858)
Jeremy Allison [Tue, 18 Jul 2006 01:17:54 +0000 (01:17 +0000)]
r17106: Match Windows timing values on locks.
Jeremy.
(This used to be commit
b5aaff665937313370e0e87225e146f9af7b7e67)
Jeremy Allison [Tue, 18 Jul 2006 01:05:51 +0000 (01:05 +0000)]
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.
(This used to be commit
b81d6d1ae95a3d3e449dde629884b565eac289d9)
Günther Deschner [Mon, 17 Jul 2006 22:19:54 +0000 (22:19 +0000)]
r17102: Fix segfault in libnss_wins [bugzilla #3937].
Guenther
(This used to be commit
d73d0ec3d074f1acc4fe1c78d218aabd0fe4118a)
Jeremy Allison [Mon, 17 Jul 2006 21:24:56 +0000 (21:24 +0000)]
r17100: Ooops. Fix the build...
Jeremy.
(This used to be commit
b21ca265a25b3d1e4f154ce0ee4b8757b41cf910)
Jeremy Allison [Mon, 17 Jul 2006 21:09:02 +0000 (21:09 +0000)]
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.
(This used to be commit
f1a9cf075b87c76c032d19da0168424c90f6cb3c)
Volker Lendecke [Mon, 17 Jul 2006 19:53:15 +0000 (19:53 +0000)]
r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to lib/sharesec.c
(This used to be commit
220dd4333032aea238066e3fbec9fca51ed16ddf)
Volker Lendecke [Mon, 17 Jul 2006 19:50:59 +0000 (19:50 +0000)]
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
(This used to be commit
0a138888adf7a0f04a38cd911e797e1a379e908b)
Volker Lendecke [Mon, 17 Jul 2006 19:31:01 +0000 (19:31 +0000)]
r17095: Activate RPC-SAMBA3-SHARESEC
(This used to be commit
bcb196d21ea7eb13af02bb0c2fa85f0d363b55a1)
Volker Lendecke [Mon, 17 Jul 2006 15:00:49 +0000 (15:00 +0000)]
r17089: Fix a possible null dereference and some memleaks.
Jerry, please check.
Thanks,
Volker
(This used to be commit
b87c4952216b6302b0e1f22689b5a36b6aa65349)
Günther Deschner [Mon, 17 Jul 2006 11:04:47 +0000 (11:04 +0000)]
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
(This used to be commit
d573e64781667993478a289580fa65c34e847f64)
Jeremy Allison [Mon, 17 Jul 2006 03:53:39 +0000 (03:53 +0000)]
r17080: Remove traces of the wrepld directory (now
deleted).
Jeremy.
(This used to be commit
58e5e270d2957cdf07c29757a83b53f73372d62a)
Volker Lendecke [Sun, 16 Jul 2006 06:33:41 +0000 (06:33 +0000)]
r17078: Ouch....
(This used to be commit
1d928f783a78b3e957b675f12f1ad56e84c2fcfb)
Volker Lendecke [Sun, 16 Jul 2006 06:32:35 +0000 (06:32 +0000)]
r17077: Activate RPC-SAMBA3-GETUSERNAME in the build farm
(This used to be commit
8c6088f2bd0a5e3a854a31fe428d841d61055a30)
Volker Lendecke [Sat, 15 Jul 2006 20:39:00 +0000 (20:39 +0000)]
r17075: Even without talloc_steal you can still create memory problems.... ;-)
(This used to be commit
03e9924f5c82537ca72c03e3b0f70ea002e76934)
Volker Lendecke [Sat, 15 Jul 2006 17:55:01 +0000 (17:55 +0000)]
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
(This used to be commit
5cfe482841b77208b68376f9e2b8a4a62271f7c9)
Simo Sorce [Sat, 15 Jul 2006 16:51:23 +0000 (16:51 +0000)]
r17063: Update debian-sarge for 3.0.23
(This used to be commit
a77b18c78197f40ab51462f3a35d27f300a8359c)
Volker Lendecke [Sat, 15 Jul 2006 10:55:24 +0000 (10:55 +0000)]
r17060: Some c++ warnings
(This used to be commit
2e7afa9e19b117d7a8ce1238c1b9b80ececec729)
Volker Lendecke [Sat, 15 Jul 2006 08:36:44 +0000 (08:36 +0000)]
r17047: Fix a typo and a possible NULL dereference
(This used to be commit
c0d9114706345c6bc1fa392bbf9ee81b146cba85)
Jeremy Allison [Sat, 15 Jul 2006 00:34:08 +0000 (00:34 +0000)]
r17046: Ensure we're using the right pointers ...
Jeremy.
(This used to be commit
a8df1863bf2817a82a55c816ba1f685828c5b6ec)
Jeremy Allison [Sat, 15 Jul 2006 00:05:47 +0000 (00:05 +0000)]
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.
(This used to be commit
1201383e7ab2413795a395491af0a4d3877b1c8b)
Jeremy Allison [Fri, 14 Jul 2006 23:23:39 +0000 (23:23 +0000)]
r17041: Trying to track down a *big* memory leak in the new lock code.
Fix a small one first.... (easy to valgrind).
Jeremy
(This used to be commit
43d24fbd41ed745a5b21514b526e655663c509ee)
Volker Lendecke [Fri, 14 Jul 2006 22:06:38 +0000 (22:06 +0000)]
r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some pstrings.
Volker
(This used to be commit
c5e393d5eda4e13a844171d9ff319d1f1bac3d84)
Volker Lendecke [Fri, 14 Jul 2006 17:53:45 +0000 (17:53 +0000)]
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
(This used to be commit
6e98f8d6c6cc126b0d27ac574c128be96e50abf3)