summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add -V option (to print out version) to utilities where possibleJelmer Vernooij2003-02-189-1/+9
| | | | | | | | | | (pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
| * Use the new modules stuff to load dynrpc modules. Basically this means:Jelmer Vernooij2003-02-189-33/+14
| | | | | | | | | | | | | | | | | | | | - calling the initialization function in the module init_module() instead of rpc_pipe_init() - calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls I'll merge this to 3.0, together with the smb_load_module() function. Discussed with Anthony. (This used to be commit 3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
| * Fix of two warnings.Rafal Szczesniak2003-02-181-5/+3
| | | | | | | | | | | | | | | | | | pull_ucs2_talloc function takes char** pointer, not (here explicitly casted) void** one. Rafal (This used to be commit e77c44efd95d42a8194f5c3d36c043f8e84dfd1d)
| * We don't use mkproto stuff for the python extensions anymore.Tim Potter2003-02-181-29/+0
| | | | | | | | (This used to be commit 8d166ae093655a5a14a7478c7a84474b43e8ee97)
* | Merge of waider's rpcclient return type patch.Tim Potter2003-03-1810-203/+223
| | | | | | | | (This used to be commit fb91bfa7a28f548dcc549f7e09805e4485c83538)
* | Merge of enumdomusers rpcclient command.Tim Potter2003-03-181-0/+75
| | | | | | | | (This used to be commit 8cabdd635df2455d9b25604f2ea0fb85efa067e2)
* | Merge of popt help cleanups.Tim Potter2003-03-181-5/+5
| | | | | | | | (This used to be commit 067810ed4a38c567e64e683a24cdd405479b5ee1)
* | Merge of #ifdef'ed out auth_smbd wrapper.Tim Potter2003-03-181-1/+71
| | | | | | | | (This used to be commit fc0b2fcf977b9014d2478296168b22e9faa22108)
* | Merge in the developer string options from HEAD. We need to ensure 3.0Jeremy Allison2003-03-185-181/+240
| | | | | | | | | | | | | | is as stable as possible in the string department and some pain now will help later :-). Jeremy. (This used to be commit 86e3eddac698d90f4666b8492b4603a4efbbd67b)
* | Merge from HEAD - make winbindd locking sane again:Andrew Bartlett2003-03-173-58/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original message: This patch attemptes to clean up winbindd's mutex locking. The current locking scheme in winbind is a complete mess - indeed, the next step should be to push the locking into cli_full_connection(), but I'll leave it for now. This patch works on the noted behaviour that 2 parts of the connection process need protection - and independent protection. Tim Potter did some work on this a little while back, verifying the second case. The two cases are: - between connect() and first session setup - during the auth2 phase of the netlogon pipe setup. I've removed the counter on the lock, as I fail to see what it gains us. This patch also adds 'anonymous fallback' to our winbindd -> DC connection. If the authenticated connection fails (wbinfo -A specifed) - say that account isn't trusted by a trusted DC - then we try an anonymous. Both tpot and mbp like the patch. Andrew Bartlett (This used to be commit b5283c00a900393b83f0edb2785c5caf402404eb)
* | Merge from HEAD:Andrew Bartlett2003-03-179-50/+50
| | | | | | | | | | | | | | | | | | signed/unsigned (mostly i counters) a little bit of const. Andrew Bartlett (This used to be commit 50f0ca752e5058c4051f42a9337361373ba1f727)
* | Merge from HEAD:Andrew Bartlett2003-03-173-37/+45
| | | | | | | | | | | | | | | | | | net ads password Heimdal compile fixes. Andrew Bartlett (This used to be commit 3aa4f923e99f453310bb4a8d43ce43757591909d)
* | Merge from HEAD:Andrew Bartlett2003-03-1710-29/+39
| | | | | | | | | | | | | | | | | | | | | | - Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
* | The kerberos_verify compoenent of the SessionSetup sync with HEAD.Andrew Bartlett2003-03-171-6/+26
| | | | | | | | | | Andrew Bartlett (This used to be commit 64796ed27a3842be1dde52dd4f46698e95961767)
* | Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard'sAndrew Bartlett2003-03-177-49/+143
| | | | | | | | | | | | | | session key and auth verifier patches. Andrew Bartlett (This used to be commit 3f9616a68a855acbae3f405c27ee2358fbe7ba2c)
* | Merge from HEAD - doxygenAndrew Bartlett2003-03-171-2/+2
| | | | | | | | (This used to be commit 7a2566f2e922191e691b6dafb1a09e22913cccd6)
* | Mege from HEAD - doxygen.Andrew Bartlett2003-03-172-8/+8
| | | | | | | | (This used to be commit 04a5cbc8964386774acdca759b4cfaded068c8f2)
* | Merge from (earlier) HEAD - doxygen.Andrew Bartlett2003-03-171-6/+8
| | | | | | | | | | I'm not merging the current HEAD string stuff quite yet. (This used to be commit 9b8d12e081462566043bb51e9c95605609572a54)
* | merge from HEAD - dump tokenGroups as sids.Andrew Bartlett2003-03-171-0/+1
| | | | | | | | (This used to be commit f0daa15521e6352e25aa998f7e682f448e0fe51a)
* | pstrcpy_base merges for client-side smbpasswd.Andrew Bartlett2003-03-171-9/+9
| | | | | | | | | | Andrew Bartlett (This used to be commit 980f2eb7c2efa1a2c83098aebecf0e25a05724cb)
* | Merge from HEAD:Andrew Bartlett2003-03-173-4/+69
| | | | | | | | | | | | | | | | | | new 'net ads dn' doxygen fixes net help fixes. (This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)
* | Merge new statcache.c from HEAD.Andrew Bartlett2003-03-171-61/+126
| | | | | | | | (This used to be commit 3b9db928fcaec322698d046db3a8a042b9a1d30c)
* | Fix memory leak.Volker Lendecke2003-03-171-0/+2
| | | | | | | | | | Volker (This used to be commit 115cd4b27f84343c7f98622717edda6da4866a6b)
* | Fix building --with-smbwrapper.Tim Potter2003-03-172-24/+6
| | | | | | | | (This used to be commit 1fb5c92bfb96d966a31d5a4d882a411b9c0b497c)
* | fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before ↵Gerald Carter2003-03-143-21/+39
| | | | | | | | | | | | dereferencing (This used to be commit 7bc5fc729f67ae16e09ea67efa9e2b8e2ba41c8f)
* | Fix off by one bug noticed by Andrew Bartlett.Jeremy Allison2003-03-141-2/+2
| | | | | | | | | | Jeremy. (This used to be commit 759aab9944e8dc5c38e224ace738b75ded07ee54)
* | Merge from HEAD. 'win2000 can take much longer than the specified time to ↵Jeremy Allison2003-03-131-1/+1
| | | | | | | | | | | | | | | | | | respond to a lock - so to make the torture tests valid I give it a grace time of 10 seconds instead of 2' Jeremy. (This used to be commit 41571a69e04838c00de7d4a528c59cd1e88919d0)
* | Merge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'Jeremy Allison2003-03-131-2/+6
| | | | | | | | | | Jeremy. (This used to be commit 40def80d43b14a853045a31b382226fe0381f38a)
* | Merge of tdb_unlockeys() crash fix.Tim Potter2003-03-131-0/+2
| | | | | | | | (This used to be commit 0eee7a4b1ea437b5f1376fc9c7063b117f5027c6)
* | Merge of added locking functions from HEAD.Tim Potter2003-03-131-1/+81
| | | | | | | | (This used to be commit c7593929681ad9aed4b9d2025d33071b9751185f)
* | Merge of some commentary for getprinter info levels supported by win2k+Tim Potter2003-03-131-0/+16
| | | | | | | | (This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)
* | In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,Martin Pool2003-03-131-0/+4
| | | | | | | | | | | | etc. So check for that as well as the old names when including macros and conditionally defining -DVALGRIND. (This used to be commit 054ed6d86d0ca61623d61db7bc31999c19269176)
* | Change size parameters from signed to unsigned to fix up warnings.Jeremy Allison2003-03-135-96/+191
| | | | | | | | | | Jeremy. (This used to be commit 33b11d5eb53bdeb9d279d221fd5c01579253e1c7)
* | Merge of Andrew Bartlett's SID limit fix from HEAD.Jeremy Allison2003-03-131-0/+5
| | | | | | | | | | Jeremy. (This used to be commit 98ed7e0cbbc693b486bb91855cb3331e51daef6c)
* | fixed a strcat noticed by metzeAndrew Tridgell2003-03-121-1/+1
| | | | | | | | (This used to be commit 533fe94db95fbb819b35251d9832c925584b7eca)
* | Ensure we count the length correctly in mangle_map.Jeremy Allison2003-03-121-6/+15
| | | | | | | | | | Jeremy. (This used to be commit 8e956bc1d63425b0e1ca9410bf82a0a5d3e36ac7)
* | adding some initiaial code to sert %a to Win2K3 (using Native LanMan string ↵Gerald Carter2003-03-123-1/+6
| | | | | | | | | | | | from .NET RC2) (This used to be commit e074cab810f9299d0b27881cddf8a74f10fe233e)
* | We use unsigned now, so use %u.Jeremy Allison2003-03-111-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 65c2a361a4a3461ccbed9b5c968f95281295faab)
* | Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.Jeremy Allison2003-03-111-1/+2
| | | | | | | | | | Jeremy. (This used to be commit 289e2e25b91da20ac02b90e5a9d6de3619ad308d)
* | When opening an existing DB, don't require the hash_size specified toMartin Pool2003-03-111-2/+1
| | | | | | | | | | | | | | | | | | the open call to be the same as that of the existing tdb. The specified hash_size is only used if the tdb needs to be (re)created. With this patch in place, tdbtool can open the printing tdbs, which are created with a hash_size of 5000. Before it would fail with EIO. (This used to be commit 7090d9f6939b3c6334fba40b0741f8f899aba31a)
* | Patch from Ronan Waide:Martin Pool2003-03-111-1/+1
| | | | | | | | | | | | > when doing "enumdomusers", rpcclient prints each one preceded by the > word "group" instead of "user" (This used to be commit 0e9a2f41df932585bbff2a1a53d3dadc9a3dac62)
* | Remove obsolete file.Tim Potter2003-03-111-13/+0
| | | | | | | | (This used to be commit 560deeb4ece9dd4a65e10b0aae20f8ab1fe0d24c)
* | strcpy_base from HEAD and trivial fix for smbclient -LVolker Lendecke2003-03-102-8/+17
| | | | | | | | | | Volker (This used to be commit 54c99ee1fbaf4541fb3fa10a9b764da1367af6d3)
* | check a pointer before dereferencing it; not sure why userdata == NULL thoughGerald Carter2003-03-101-1/+1
| | | | | | | | (This used to be commit 944752024ba6ab762b12c29ee867e37401dac12b)
* | Use "$@" to preserve shell quoting in case somebody passes an escapedMartin Pool2003-03-101-1/+1
| | | | | | | | | | string as a configure parameter. (This used to be commit 10b2de7ebd204a940bd15bff9cca611e4ba8dcd3)
* | Fix typo in earlier fix, caught by Ranjit @ HP.Jeremy Allison2003-03-081-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 11077368ec30313c2e7ee1d23f9f348910aa36bf)
* | Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-073-3/+3
| | | | | | | | | | Jeremy. (This used to be commit 723e9ee31cc1f5eb4b7aefefd58f7f13d0abda05)
* | Extra const committed by mistake - revert.Jeremy Allison2003-03-071-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 183ce97d3719080b1b01932b96206b8ee4c5f5b0)
* | Missed parentheses around complex logic.Jeremy Allison2003-03-071-1/+2
| | | | | | | | | | Jeremy. (This used to be commit 7f8d3a49b2cebab4b94db3cda54b3923442378c8)
* | Patch from Michael Steffens. In his own words :Jeremy Allison2003-03-073-82/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------- I think there are basically two problem: 1. Windows clients do not always send ACEs for SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, and SMB_ACL_OTHER. The function ensure_canon_entry_valid() is prepared for that, but tries to "guess" values from group or other permissions, respectively, otherwise falling back to minimum r-- for the owner. Even if the owner had full permissions before setting ACL. This is the problem with W2k clients. 2. Function set_nt_acl() always chowns *before* attempting to set POSIX ACLs. This is ok in a take-ownership situation, but must fail if the file is to be given away. This is the problem with XP clients, trying to transfer ownership of the original file to the temp file. The problem with NT4 clients (no ACEs are transferred to the temp file, thus are lost after moving the temp file to the original name) is a client problem. It simply doesn't attempt to. I have played around with that using posic_acls.c from 3.0 merged into 2.2. As a result I can now present two patches, one for each branch. They basically modify: 1. Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or SMB_ACL_OTHER as "preserve current value" instead of attempting to build one ourself. The original code is still in, but only as fallback in case current values can't be retrieved. 2. Rearrange set_nt_acl() such that chown is only done before setting ACLs if there is either no change of owning user, or change of owning user is towards the current user. Otherwise chown is done after setting ACLs. It now seems to produce reasonable results. (Well, as far as it can. If NT4 doesn't even try to transfer ACEs, only deliberate use of named default ACEs and/or "force group" or the crystal ball can help :) ------------------------------------------------------------------------- Jeremy. (This used to be commit 1d3b8c528bebfa1971d1affe454a03453335786e)