Jeremy Allison [Thu, 3 Mar 2005 03:43:57 +0000 (03:43 +0000)]
r5636: Re-add the allocation size - parameterized by share as
"allocation roundup size", by default set as 1Mb. From
advice by BlueArc about Windows client behaviour. VC++
people can set this to zero to turn it off.
Jeremy.
(This used to be commit
833ca101772bfab65dbd79eb64f63464177f144e)
Jeremy Allison [Thu, 3 Mar 2005 02:07:00 +0000 (02:07 +0000)]
r5634: Fix 64-bit overflow problems found by BlueArc torture tester.
We still have a few strange bugs with 64-bit locking values. I will
get traces.
Jeremy.
(This used to be commit
ff4c201d93e1f59ce61e9341f7f94ce92389ed7b)
Jeremy Allison [Thu, 3 Mar 2005 02:04:36 +0000 (02:04 +0000)]
r5632: Fix infinite looping bug found by nasty BlueArc test :-).
When finding a singleton directory remember that we're
at the end and don't continuously return the same name.
Jeremy.
(This used to be commit
3da50060279609f534aeffe6338b0a2b07d0e8f1)
Jeremy Allison [Wed, 2 Mar 2005 21:43:54 +0000 (21:43 +0000)]
r5630: This may be a mistake ... needs more cthon investigation.
Jeremy.
(This used to be commit
0322c5884666bf62a37de069a1cd0ae888ac4285)
Jeremy Allison [Wed, 2 Mar 2005 20:30:37 +0000 (20:30 +0000)]
r5628: Deprecate the write cache parameter - this code will go away soon.
Jeremy.
(This used to be commit
743cd4a53627cc2be5271fa78f6b0980a4407862)
Jeremy Allison [Wed, 2 Mar 2005 20:19:10 +0000 (20:19 +0000)]
r5625: Reformat (tidy).
(This used to be commit
b94db3a75806f1b09a8a0366029812ba2195727c)
Jeremy Allison [Wed, 2 Mar 2005 18:19:32 +0000 (18:19 +0000)]
r5623: Horrible band-aid patch to fix Blue-Arc torture tester.
I know this isn't right but will work until I can refactor
the deny mode code with the Samba4 algorithm.
Jeremy.
(This used to be commit
f38f464c722a441402e2d6e2622bcce9227c33b5)
Jeremy Allison [Wed, 2 Mar 2005 03:41:44 +0000 (03:41 +0000)]
r5616: Forgot about the sticky bit on directories (commonly set on /tmp). If this is set
then only the owner or root can delete a file. We now use
the same algorithm to check file delete.
Jeremy.
(This used to be commit
eb18104d10428a5daef2316088edc3dbaff58708)
Gerald Carter [Wed, 2 Mar 2005 03:24:40 +0000 (03:24 +0000)]
r5614: fix proto for copy_fn() after changes to cli_list()
(This used to be commit
fb8e746ed65fa3aacda3d6be0e3f28f690fbdacb)
Tim Potter [Wed, 2 Mar 2005 00:33:40 +0000 (00:33 +0000)]
r5612: Add -Wdeclaration-after-statement to CFLAGS for --enable-developer.
(This used to be commit
f952da9efbd11d2c84d9fe4993f70e4ceda7d9ae)
Gerald Carter [Tue, 1 Mar 2005 21:48:34 +0000 (21:48 +0000)]
r5608: BUG 2399 - removing dead code (not finished with bug yet).
(This used to be commit
48353c199cfbfd56760b34ccf99b089bb627e2ed)
Jeremy Allison [Tue, 1 Mar 2005 21:26:01 +0000 (21:26 +0000)]
r5607: Fix for bug #2399 - ensure we use SMB_VFS_STAT instead of stat
when checking for existance of a pathname.
Jeremy.
(This used to be commit
08aac40e3ac0911673ea7e6ef35ba7fe9822d2fd)
Gerald Carter [Tue, 1 Mar 2005 17:28:25 +0000 (17:28 +0000)]
r5605: only display the publish check box on printer if
we are a member of an AD domain
clean up some hardcoded constands with the REG_XXX constant.
(This used to be commit
a1d0be740d9ea8c9ea8c04950da826dd84bbc51b)
Jim McDonough [Tue, 1 Mar 2005 14:00:25 +0000 (14:00 +0000)]
r5600: Bring IBM Directory Server schema up to date with openldap schema
(This used to be commit
639de6afc09709774fbcce1a8149bde172bd542e)
Gerald Carter [Mon, 28 Feb 2005 19:14:07 +0000 (19:14 +0000)]
r5597: full fix for BUG 2394 (unresolved symbols on IRIX)
(This used to be commit
cb08dd5f9087ac2e965dec8ba24c9e908fd6fcd3)
Gerald Carter [Mon, 28 Feb 2005 17:14:18 +0000 (17:14 +0000)]
r5596: BUG 2394: fix nmbd linking issue on IRIX
(This used to be commit
0a07f2b1d91e071618e67c4e9ee8274763eaf5aa)
Jim McDonough [Mon, 28 Feb 2005 11:17:13 +0000 (11:17 +0000)]
r5594: Fix comment to read "remove" instead of "add"
(This used to be commit
6884a2fa6e3d19a436edfb428056978ae127f442)
Jim McDonough [Mon, 28 Feb 2005 11:13:22 +0000 (11:13 +0000)]
r5593: More reversal of accidental commit.
(This used to be commit
ec78c3f2a2e38abe96132475a22bfd52c850b001)
Jim McDonough [Mon, 28 Feb 2005 11:11:55 +0000 (11:11 +0000)]
r5592: Oops, accidentally committed test version of rpcclient. Reverting changes.
(This used to be commit
a5fe34ca7d57c18f510b9cc68e75c4db370fe052)
Jim McDonough [Mon, 28 Feb 2005 10:55:13 +0000 (10:55 +0000)]
r5591: Implement "net rpc trustdom del", including client side of
samr_remove_sid_from_foreign_domain.
(This used to be commit
8360695fc02dfb09aff92a434bf9d411e65c478c)
Jeremy Allison [Mon, 28 Feb 2005 07:01:52 +0000 (07:01 +0000)]
r5589: Ensure the torture code that uses cli_list and cli_list_old
matches the new MS-DFS function prototypes. Should fix the
build farm tests.
Jeremy.
(This used to be commit
3d4d8bb6544abc4959f75bb962d8e1fb3d37a55e)
Jim McDonough [Sat, 26 Feb 2005 15:26:55 +0000 (15:26 +0000)]
r5580: Fix "net rpc trustdom add". Much closer to what windows does. Also stop
referencing unknown_6 from sam, because it's just fixed at 1260, the max
len of LOGON_HRS. Need to go in and mark it as "remove me" from passdb.
(This used to be commit
ffac752875938d510446ebbeba6fc983f65cda1e)
Gerald Carter [Sat, 26 Feb 2005 15:03:16 +0000 (15:03 +0000)]
r5578: get 'recurse; dir' working across multiple levels of dfs referrals
note that this does not handle the situation where the same \\server\share
is mounted mutliple times in the dfs tree since I store a single mount
path per struct cli_state *
(This used to be commit
52c82b51ba9729cc53a049d8e9fbb7365d652c51)
Gerald Carter [Sat, 26 Feb 2005 14:42:55 +0000 (14:42 +0000)]
r5577: get recurse; dir working across single level dfs referrals
(This used to be commit
d4443807bc7a5a8615c69517365a92709db7ce29)
Gerald Carter [Fri, 25 Feb 2005 19:26:07 +0000 (19:26 +0000)]
r5571: fix another breakage on gcc 2.96
(This used to be commit
cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10)
Gerald Carter [Fri, 25 Feb 2005 18:49:42 +0000 (18:49 +0000)]
r5568: fix more breakage on gcc 2.96
(This used to be commit
3eeecff05efec9310cf2bed7c6fe9a6d80dd6d0d)
Gerald Carter [Fri, 25 Feb 2005 18:38:19 +0000 (18:38 +0000)]
r5565: fix breakage on gcc 2.96
(This used to be commit
67f8a1e3bc545d4ebbe0f7d05ea16c6231f2e82c)
Gerald Carter [Fri, 25 Feb 2005 15:56:13 +0000 (15:56 +0000)]
r5562: * bump version to 3.0.12pre2
* change special character in gd's valid workstation
check to a '+' to be more in line with the characters
used by valid users
(This used to be commit
8bff0486508b9952c192345302b9313ac0b2270e)
Gerald Carter [Fri, 25 Feb 2005 15:22:49 +0000 (15:22 +0000)]
r5560: make sure session setup message is displayed after changes to client.c
(This used to be commit
3f5e52e90861d071870a369fac246a822f4ff2ce)
Günther Deschner [Fri, 25 Feb 2005 14:12:05 +0000 (14:12 +0000)]
r5556: Fix the build on AIX.
use AF_UNIX instead of AF_LOCAL (thanks to Doug VanLeuven
<roamdad-at-sonic.net>) and make smbldap_open() a bit more readable.
Guenther
(This used to be commit
526d6a9493cd091f2a9b8e072f11e673133fe5c1)
Jeremy Allison [Fri, 25 Feb 2005 02:22:44 +0000 (02:22 +0000)]
r5548: Stop lying about allocation sizes to Windows clients. It was a nice
idea, and aparently improved performance in some circumstances, but it
breaks the VC++ compiler :-(. Not cool. Fix bug #2146.
Jeremy.
(This used to be commit
b9f147634df0126320ffe3b9a23068e76f6c1681)
Günther Deschner [Thu, 24 Feb 2005 23:30:47 +0000 (23:30 +0000)]
r5547: Fix compile warning.
Guenther
(This used to be commit
a5e215650e09f087f8aede96475bd26649aa244e)
Günther Deschner [Thu, 24 Feb 2005 23:25:35 +0000 (23:25 +0000)]
r5546: Fix some comments in "net rpc printer migrate settings"
Guenther
(This used to be commit
67552103ee77013d08e06ed651f6ca6b3b76813e)
Gerald Carter [Thu, 24 Feb 2005 21:54:52 +0000 (21:54 +0000)]
r5545: move cli_cm_XXX() connection handling code to clidfs and out of client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
(This used to be commit
d6a05ffd664e2e304f6e481af34a4c5d640fc3f9)
Jeremy Allison [Thu, 24 Feb 2005 21:06:11 +0000 (21:06 +0000)]
r5543: Fix for bug #962 - using MB sharenames containing a ']' character.
Processing a share name is now MB safe so long as the correct
unix charset is in scope.
Jeremy.
(This used to be commit
5bd027e9ed095c01fc176178ff51b5839fe0c140)
Gerald Carter [Thu, 24 Feb 2005 19:10:28 +0000 (19:10 +0000)]
r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs root
shares.
(This used to be commit
5d2624c453b0bc961302edd9f2421a7c3d504d1f)
Günther Deschner [Thu, 24 Feb 2005 17:00:24 +0000 (17:00 +0000)]
r5541: Fix crash bug in the client-spoolss enumdataex-call.
With Windows2003 it's perfectly legal to receive no data when querying a
value-less subkey. Found while migrating printer settings.
Guenther
(This used to be commit
3e04def03377b2eae2987c87b18ccadf5b48a6fe)
Andrew Bartlett [Thu, 24 Feb 2005 03:45:09 +0000 (03:45 +0000)]
r5536: Avoid intermediate copy of NT and LM responses in NETLOGON client.
This copy was length-limited, which broke when the NTLMv2 response was
more than 128 bytes in length.
Andrew Bartlett
(This used to be commit
bae18aaaff7f9eff90db566b9a254a11d281aa01)
Jeremy Allison [Thu, 24 Feb 2005 02:19:17 +0000 (02:19 +0000)]
r5535: Reformat so I can actually maintain this code and eventually convert to MB safe.
Jeremy.
(This used to be commit
0285754c1408b4155e115a5f76b1f5ff481c9d7e)
Jeremy Allison [Thu, 24 Feb 2005 01:07:09 +0000 (01:07 +0000)]
r5532: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
(This used to be commit
f997c28bb8ca253dca943a578a617b3c20ccfa5e)
Jeremy Allison [Thu, 24 Feb 2005 01:03:35 +0000 (01:03 +0000)]
r5530: Keep the TRANS call up to date with the NTCreateX call.
Jeremy.
(This used to be commit
98a07e1520d6fb1f6f5320bc70ac33d4c5052ea6)
Günther Deschner [Thu, 24 Feb 2005 00:26:24 +0000 (00:26 +0000)]
r5528: Expand the invalid-workstation-scheme. Workstation-Names with leading
'@'-sign are expanded on-the-fly as posix-groups of workstations. This
allows optional, more flexible login-control in larger networks.
Guenther
(This used to be commit
8f143b6800e0b6964c8ba4ba9607dc74da12ae59)
Günther Deschner [Thu, 24 Feb 2005 00:11:42 +0000 (00:11 +0000)]
r5527: Allow own netbios name to be set in smbclient's session setup.
Guenther
(This used to be commit
3660b7e64d9a17bcaa4f43c6d782b0b1d52ed6ab)
Jeremy Allison [Wed, 23 Feb 2005 23:41:15 +0000 (23:41 +0000)]
r5525: Add extra case to torture to test this (we currently fail with the wrong
error message but we correctly deny the open).
Jeremy.
(This used to be commit
99b89867c33a2209c42b6610d62ead0cf2af05af)
Jeremy Allison [Wed, 23 Feb 2005 23:39:51 +0000 (23:39 +0000)]
r5524: Don't do share mode checks on can_delete if open, the rest of the open
code will do this correctly. More for bug #2201.
Jeremy.
(This used to be commit
faecf639efdecf949e91184d041489aa54e8664f)
Günther Deschner [Wed, 23 Feb 2005 20:38:29 +0000 (20:38 +0000)]
r5522: Better handling of LDAP over IPC connections that have expired on the
LDAP-Server.
Guenther
(This used to be commit
8017a7a150023dc3353181f7737b2363d38593fa)
Gerald Carter [Wed, 23 Feb 2005 20:00:26 +0000 (20:00 +0000)]
r5521: allow smbclient to follow multiple leveles of dfs referrals (no loop checking currently)
(This used to be commit
3c09b1f30f8b85036c487fdaf7fca11886bc90d7)
Gerald Carter [Wed, 23 Feb 2005 19:26:32 +0000 (19:26 +0000)]
r5520: fix last remaining dfs issues with smbclient.
* all the unix extension commands should work
* send the correct TRANS2_FINDFIRST format to 2k to
get a listing from a msdfs root share (tested against
smbd as well).
* mkdir, rmdir, etc... all seem ok.
I'm sure bugs will pop up so keep testing.
Last thing I plan on doing is to clean up the horrible
mess with connection management in smbclient and global
variables (so i can move the cli_cm_xx() routines to a
separate file).
(This used to be commit
53d6a5f9d16aef4afc60b4b37b296b256da00dfd)
Gerald Carter [Wed, 23 Feb 2005 18:27:13 +0000 (18:27 +0000)]
r5519: fix msdfs support for [m]get and [m]put
(This used to be commit
6a9e4d6af1a4a4f426189e71aac5a4e7e217d6f7)
Gerald Carter [Wed, 23 Feb 2005 17:29:28 +0000 (17:29 +0000)]
r5518: Add initial msdfs support to smbclient. Currently I can only
cd up and down the tree and get directory listings.
Still have to figure out how to get a directory listing on a
2k dfs root. Also have to work out some issues with relative paths
that cross dfs mount points.
We're protected from the new code paths when connecting to
a non-dfs root share ( the flag from the tcon&X is stored
in the struct cli_state* )
(This used to be commit
e57fd2c5f00de2b11a2b44374830e89a90bc0022)
Gerald Carter [Wed, 23 Feb 2005 16:36:44 +0000 (16:36 +0000)]
r5517: code cleanup; rename the sorted_tree to pathtree (used by registry code)
I was going to use this for tracking dfs mounts in smbclient
but found another way. Still the cleanup is valid so commiting it.
should be minimally disruptive since it is not widely used.
(This used to be commit
00738dca3b07083c91545910486a1f30f2b17281)
Jeremy Allison [Wed, 23 Feb 2005 02:20:54 +0000 (02:20 +0000)]
r5513: Fix for bug #2201 - use same logic with "delete readonly"
when setting the delete on close flag as we do in SMBunlink
calls.
Jeremy.
(This used to be commit
7a94eaf1811c79ae52ee78b1cd9cfc691e1d65a0)
Günther Deschner [Tue, 22 Feb 2005 23:55:31 +0000 (23:55 +0000)]
r5511: Fix pipe-mismatch for NETDFS.
Guenther
(This used to be commit
1c8616618cf35a5aaef03b6e570d95d1a3e34e4e)
Jeremy Allison [Tue, 22 Feb 2005 20:55:48 +0000 (20:55 +0000)]
r5510: Optimisation to only do can_delete check if client asks for FILE_SHARE_DELETE.
Not completely correct but will catch the XP SP2 problem.
Jeremy.
(This used to be commit
1e2d0fcdbb72735f8b53d9faaec07d711ae236d0)
Jeremy Allison [Tue, 22 Feb 2005 20:54:06 +0000 (20:54 +0000)]
r5508: Typo - ZERO_STRUCT -> ZERO_STRUCTP.
Jeremy.
(This used to be commit
76e1d90aef45ccc089492d962e0f284e2e4d8e7a)
Jeremy Allison [Tue, 22 Feb 2005 05:11:37 +0000 (05:11 +0000)]
r5497: Fix for DIR1 failures in build farm. It struck me that we
only care about failing with ACCESS_DENIED if we can't delete
with DELETE access requested. All other errors will be processed
as normal.
Jeremy.
(This used to be commit
360800592c55c9dd8fd787944b3d482f2b9eb951)
Gerald Carter [Tue, 22 Feb 2005 03:31:22 +0000 (03:31 +0000)]
r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopen
and SMBsplclose commands (BUG 2010)
* clarify some debug messages in smbspool (also from Mike)
my changes:
* start adding msdfs client routines
* enable smbclient to maintain multiple connections
* set the CAP_DFS flag for our internal clienht routines.
I actualy have a dfs referral working in do_cd() but that code
is too ugly to live so I'm not checking it in just yet.
Further work is to merge with vl's changes in trunk to support multiple
TIDs per cli_state *.
(This used to be commit
0449756309812d854037ba0af631abad678e670e)
Volker Lendecke [Mon, 21 Feb 2005 11:21:11 +0000 (11:21 +0000)]
r5484: Fix a memleak
(This used to be commit
7b9cb0601ce465361618fcc2c88f8195d93f130a)
Volker Lendecke [Mon, 21 Feb 2005 11:11:13 +0000 (11:11 +0000)]
r5481: Fix a memleak
(This used to be commit
36bcfc5dae99868fc94ca01f902fec3d19926f5e)
Volker Lendecke [Sun, 20 Feb 2005 15:15:33 +0000 (15:15 +0000)]
r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 rejects
everything but 1000 here, so there's no point in exposing that to the caller.
Thanks,
Volker
(This used to be commit
03ec1bd9e54b065c0494bc57a3d78ac0ae28e234)
Volker Lendecke [Sun, 20 Feb 2005 14:26:58 +0000 (14:26 +0000)]
r5469: Fix error codes of samr_lookup_rids: There's also STATUS_SOME_UNMAPPED.
Thanks,
Volker
(This used to be commit
43dcf0f5cb5dc2dd37ab3cdc2905970d9cc50ba4)
Volker Lendecke [Sun, 20 Feb 2005 13:47:16 +0000 (13:47 +0000)]
r5467: Optimize _samr_query_groupmem with LDAP backend for large domains.
Could someone else please look at this patch, verifying that I did not break
the ldapsam:trusted = False fallback to the old behaviour? It works fine for
me, but you never know. You're certainly free to review the new code as well :-)
Thanks,
Volker
(This used to be commit
e1c3ca182b299dc65da1fa39aadb69876b5e16b8)
Gerald Carter [Sat, 19 Feb 2005 16:40:19 +0000 (16:40 +0000)]
r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix trunction of service names
(This used to be commit
440a4ecc1641658a2553312b759b6b97a8e5c981)
Jim McDonough [Sat, 19 Feb 2005 11:09:52 +0000 (11:09 +0000)]
r5460: Fix "restrict anonymous = 1". If we have schannel connection, we must be
validated with a user, so allow it even if pipe itself had an anonymous
connection.
(This used to be commit
469a649ad7271159960335419fd3ce2633cf2c8b)
Jim McDonough [Sat, 19 Feb 2005 10:56:40 +0000 (10:56 +0000)]
r5458: Generate a sane response to exceeding lookupsids limit. Truncate list to zero
and return NT_STATUS_NONE_MAPPED. This does not crash windows and maintains
the benefit of not overallocating memory. The previous response of
truncating to the MAX limit was not useful because it crashed lsass.exe on
windows (bug opened with MS), and it was also misleading the client to
believe that a complete answer was received.
(This used to be commit
c03a93957404663bbd026668fb95d6c253524fe9)
Jim McDonough [Sat, 19 Feb 2005 10:41:51 +0000 (10:41 +0000)]
r5456: Increase limit of mapped SIDS to 0x5000, which is what 2k and later do.
NT has no limit. We still don't respond the way 2k would to requests
larger, which is to actually allocate the memory and send back the entire
response, plus a return status of NT_STATUS_NONE_MAPPED. Still looking
into ways of doing this without crashing windows.
(This used to be commit
9afe5acdc22adaed4b4b3d70ba3a1a7898256282)
Andrew Bartlett [Sat, 19 Feb 2005 09:27:06 +0000 (09:27 +0000)]
r5455: Remove bogus DEBUG messages (dump for a failure to parse NTLMSSP,
before trying the alternate format).
This only caused confusion and bug reports...
Andrew Bartlett
(This used to be commit
5cb02b569b39aa7a9dc6692a79ff1d1dfa69aee6)
Günther Deschner [Fri, 18 Feb 2005 16:43:20 +0000 (16:43 +0000)]
r5444: Add adssearch.pl utility (on volkers request).
Added to samba3 due to some header and machine-account dependencies,
although it's possibly of more interest to samba4 developers.
adssearch.pl is a kind of ldapsearch + dump-filters for various
ADS-attributes. It can also register asynchronous change notifications.
./adssearch.pl -h w2k3host -D administrator@MY.REALM.NET -x -w mypass -n
and *any* change in your entire DIT will show up immediately (after a
second change of an object even as object diff). It's very interesting
to see the interaction of GPOs, the various steps of account
modification with dsa.msc, etc.
Gracefully ignore some parts of adssearch.pl that are rather immature...
Guenther
(This used to be commit
fd947b5ee060a48597bc1166614a05f81457e5e0)
Gerald Carter [Thu, 17 Feb 2005 22:46:41 +0000 (22:46 +0000)]
r5436: small merges from trunk
(This used to be commit
f17ffdf805ef8afad2b8d63b619c52540001a546)
Gerald Carter [Thu, 17 Feb 2005 15:32:19 +0000 (15:32 +0000)]
r5432: compile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS 2340
(This used to be commit
3fd86a1f9d5b63aa066aed3347209913cdf782a8)
Gerald Carter [Thu, 17 Feb 2005 15:17:16 +0000 (15:17 +0000)]
r5431: couple of cimpile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS 2341 & 2342
(This used to be commit
0edcfc7fa20fd8e3273b29c8f1a97cb7c7179fb6)
Volker Lendecke [Thu, 17 Feb 2005 14:27:34 +0000 (14:27 +0000)]
r5428: Apply some const. LDAP attribs should now be declared const char *attr[]. This
gives some new warnings in smbldap.c, but a the callers are cleaned up.
Volker
(This used to be commit
543799fc0ddc3176469acc1fab7093c41556d403)
Volker Lendecke [Wed, 16 Feb 2005 21:31:40 +0000 (21:31 +0000)]
r5421: Fix a memleak
(This used to be commit
a7df3b5f06085d55cbf1e491aa606312b87e0448)
Volker Lendecke [Wed, 16 Feb 2005 19:51:16 +0000 (19:51 +0000)]
r5419: Fix some unitialized variable warnings
(This used to be commit
9004b7897416d142ab9e3bee60c7bda589f94750)
Gerald Carter [Mon, 14 Feb 2005 02:41:34 +0000 (02:41 +0000)]
r5385: when operating in security = domain, allow domain admins to manage rigths assignments
(This used to be commit
fec9cb7daa9b780aab019c0e0d7f2692c168019f)
Gerald Carter [Mon, 14 Feb 2005 01:13:14 +0000 (01:13 +0000)]
r5383: add missing checks to allow root to manage user rights
(This used to be commit
ead54b14f6b34f087d3affc2853e16bbbaceb7cc)
Günther Deschner [Sun, 13 Feb 2005 22:56:42 +0000 (22:56 +0000)]
r5379: Build-Fix (#2343)
Guenther
(This used to be commit
61ec0b4cf002cfb43ac137bf3e8f8b4877f25e50)
Gerald Carter [Sat, 12 Feb 2005 14:41:00 +0000 (14:41 +0000)]
r5359: BUG 2333: use the lpq command to pass in the correct printer name for cups_queue_get(). See comments in code for details
(This used to be commit
3eee00e0d0e9b58cdd35209691072b625813681c)
Jeremy Allison [Sat, 12 Feb 2005 01:05:49 +0000 (01:05 +0000)]
r5355: Fill in the access check code for POSIX ACLs to *really* fix bug #2227.
Jeremy.
(This used to be commit
ecc134a2e3546ed77ab6f1dafc0249c78897e1f3)
Günther Deschner [Sat, 12 Feb 2005 00:51:31 +0000 (00:51 +0000)]
r5349: After talking with Jerry, reverted the addition of account policies to
passdb in 3_0 (they are still in trunk).
Guenther
(This used to be commit
fdf9bdbbac1d8d4f3b3e1fc7e49c1e659b9301b1)
Jeremy Allison [Fri, 11 Feb 2005 20:00:30 +0000 (20:00 +0000)]
r5343: Fix for bug#1525. Timestamps interpreted incorrectly on 64-bit time_t values.
Jeremy.
(This used to be commit
00f8ac509aaf2f40a067f5fe5c7699ae6f26571e)
Jeremy Allison [Fri, 11 Feb 2005 19:31:48 +0000 (19:31 +0000)]
r5342: Reformat some very old code.
Jeremy.
(This used to be commit
08553faeeb77aef46264f4dfe738bc202e87ea23)
Jim McDonough [Fri, 11 Feb 2005 16:03:40 +0000 (16:03 +0000)]
r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the
right pipe FID. Fixes NT_STATUS_INVALID_HANDLE error.
(This used to be commit
bfd9b9e99711abcaac80d98160723f5dc37b6917)
Gerald Carter [Fri, 11 Feb 2005 14:58:33 +0000 (14:58 +0000)]
r5337: BUG 1439: make sure to initialize pointer to prevent invalide free()'s on exit
(This used to be commit
a882a349df1488a4d64c892dbd1ec1ee3624ea42)
Gerald Carter [Fri, 11 Feb 2005 14:31:14 +0000 (14:31 +0000)]
r5336: BUG 2329: fix to re-enable winbindd to locate DC's when 'disable netbios = yes'
(This used to be commit
75a223f1188ae0041c9e3c748af107d642f73810)
Volker Lendecke [Fri, 11 Feb 2005 10:32:46 +0000 (10:32 +0000)]
r5331: Support SIDs as %s replacements in the afs username map parameter.
Add 'log nt token command' parameter. If set, %s is replaced with the user
sid, and %t takes all the group sids.
Volker
(This used to be commit
e7dc9fde45c750013ad07f584599dd51f8eb8a54)
Jeremy Allison [Fri, 11 Feb 2005 02:14:49 +0000 (02:14 +0000)]
r5324: In order to process DELETE_ACCESS correctly and return access denied
to a WXPSP2 client we must do permission checking in userspace first
(this is a race condition but what can you do...). Needed for bugid #2227.
Jeremy.
(This used to be commit
da23577f162b6bdca7d631fca256a9b3b04043e4)
Richard Sharpe [Thu, 10 Feb 2005 18:27:23 +0000 (18:27 +0000)]
r5318: Fix a small problem in where we ignore the response from a SamrGetGroupsForUser
that says the user is in 0 groups, and we issue an RPC to LookupIds for 0 RIDs.
The printing that there are no groups the user is a member of might be overkill
in that it might upset existing scripts that don't expect that output.
(This used to be commit
d3482e118f99002c0460291d41708fdf7708c41f)
Volker Lendecke [Thu, 10 Feb 2005 17:38:49 +0000 (17:38 +0000)]
r5316: Get 'net afskey' into a subcommand of its own, 'net afs key'.
Implement 'net afs impersonate', generate a token for a specified user. You
obviously need to be root for this operation.
Volker
(This used to be commit
5818b092e6e50d38238b0520329eb8912125c90a)
Volker Lendecke [Thu, 10 Feb 2005 13:36:18 +0000 (13:36 +0000)]
r5314: Some const, and an uninitialized variable fix.
Volker
(This used to be commit
b48a46162d7971be3d44d403a2d62247ef2321f7)
Gerald Carter [Thu, 10 Feb 2005 03:34:25 +0000 (03:34 +0000)]
r5295: fix compile issue with MIT 1.4 due to broken gssapi.h
(This used to be commit
f88f5e12187ed87934ae2cafbf9e9599d4fd7f6c)
Jeremy Allison [Wed, 9 Feb 2005 23:46:14 +0000 (23:46 +0000)]
r5290: Fix for bug #2323 - plaintext problem with WinXP.
Jeremy.
(This used to be commit
3e10c36cb50462d1f220029e8fa64c3b6e554e6c)
Herb Lewis [Wed, 9 Feb 2005 21:23:33 +0000 (21:23 +0000)]
r5287: fix build problem when HAVE_POSIX_ACL not defined
(This used to be commit
2bd0253c11977122b195dc2f685d5367869973fd)
Tim Potter [Tue, 8 Feb 2005 23:17:44 +0000 (23:17 +0000)]
r5283: Merge -r5279 and-r5280 from trunk.
(This used to be commit
74d872287b5cf5b13512091827a9d065f1fef122)
Gerald Carter [Tue, 8 Feb 2005 19:27:18 +0000 (19:27 +0000)]
r5278: BUG 2327: fix compile bug in idmap_rid.c
(This used to be commit
dd55ef25d1b24401a743d0367544e535cd17815c)
Gerald Carter [Mon, 7 Feb 2005 22:42:43 +0000 (22:42 +0000)]
r5272: BUG 2132, 2134: patch from Jason Mader <jason@ncac.gwu.edu> to remove unused variables
(This used to be commit
82c4e2f37f1f4c581cd7c792808c9a81ef80db94)
Gerald Carter [Mon, 7 Feb 2005 22:30:56 +0000 (22:30 +0000)]
r5271: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to add idmap_rid.so to the Fedora and RedHat packaging
(This used to be commit
ba0c711a4386833da7cdf15bfd0f90177eb41bad)
Gerald Carter [Mon, 7 Feb 2005 22:21:49 +0000 (22:21 +0000)]
r5270: fixing some bashism's in autogen.sh
(This used to be commit
c8b79cd78cff6f5f784d16e6c3168c9ac2c1cf1a)
Gerald Carter [Mon, 7 Feb 2005 22:20:03 +0000 (22:20 +0000)]
r5269: BUG 858: fix order of popt args evalution so we don't crash when given no command line args
(This used to be commit
aff2fb7a65a9fc40220d971fba8ba3cf1eeeee9f)
Jeremy Allison [Mon, 7 Feb 2005 22:06:49 +0000 (22:06 +0000)]
r5268: Fix bug #2310, only do 16-bit normalization on small dfree
request.
Jeremy.
(This used to be commit
96dfec739a7ab6ac082d530ca2b771f9d6acabc6)