summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3008: when checking for the existance of a lock we are only doing a singleAndrew Tridgell1-3/+0
tdb call, so there is no need to get the chainlock. This reduces the number of tdb locking calls made on file IO (This used to be commit 78e904c27b31d7123b521c446247d6ff558c84cc)
2007-10-10r3002: Fix for bug #1886 - prevent delete on close being setJeremy Allison2-18/+43
for readonly files (and return the correct error code). We now pass the Samba4 test suite on this. Jeremy. (This used to be commit 6ae417f12cc6f8d2ad00bea27ce0a20242f76325)
2007-10-10r2999: Remove lockedkeys code. Not used.Jeremy Allison2-72/+0
Jeremy. (This used to be commit c3e87f9fa53b0be1dea5dad5cddd71d2617c3cf6)
2007-10-10r2996: readability fix for length check; no semantic changesGerald Carter1-1/+1
(This used to be commit 668ab6984afa7d9e0c15e87c5d45df7560e467e6)
2007-10-10r2979: Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys().Jeremy Allison1-4/+4
Spotted by Taj Khattra <taj.khattra@gmail.com>. Jeremy. (This used to be commit 365b203164bc813579013afb5dbb74f3604906c9)
2007-10-10r2978: Fix #1926 typo in debug. Found by Bill McGonigle ↵Jeremy Allison1-1/+1
<bill+samba@bfccomputing.com>. Jeremy. (This used to be commit 4fd314243e82d9c55bc9849a722424d45553013e)
2007-10-10r2959: If we want to support writes >= 65536 with cli_write, then it had betterRichard Sharpe1-4/+4
return a size_t, not an ssize_t, and we had better left shift the upper part of the write count, not right shift it. (This used to be commit 3eb33fbc64415600d62ff7b1f2edd67d2dac05b4)
2007-10-10r2955: fixing a segfault uncovered by the changes for BUG 1519Gerald Carter3-4/+8
(This used to be commit 1664395257eb2425246e200ebde4384aa54484a4)
2007-10-10r2942: Add client-side support of triggering ads printer publishing over msrpcGünther Deschner5-0/+295
setprinter calls inside the net-tool. This is usefull to mimic the same queries a windows-client does. At least win2k returns WERR_IO_PENDING when printer is published via setprinter, samba returns WERR_OK but this does not hurt. Guenther (This used to be commit 69b745fb98b8054d1f52e8a3fe3b933fb04336db)
2007-10-10r2935: This is a long-standing one in my patch-queue: A pair of net commandsVolker Lendecke4-3/+878
(usersidlist/allowedusers) to scan a file server's share and list all users who have permission to connect there. Volker (This used to be commit f7f84aa1ded70af3882e4122f34d5c7eed746993)
2007-10-10r2924: Another #if that should be an #ifdef.Tim Potter1-2/+2
(This used to be commit b6193f6d52a148c05b6b7cc33553f3b8ff94b64e)
2007-10-10r2923: Fix some obvious copy/paste leftover debug-messages.Günther Deschner1-8/+8
Guenther (This used to be commit 94f48d06c774eb137fef70063e6f29e5d5a6ba9d)
2007-10-10r2918: BUG 1907: fix getprinterdriverdir_1(). have to make sure we don't ↵Gerald Carter1-2/+11
add unnecessary double slashes to the servername (This used to be commit 859599dbcaa9e39a7902cc959955fcea2dad334b)
2007-10-10r2917: Fix ip address override in mount.cifs mount helper and clean up ↵Steve French1-45/+61
warning messages from the sparse tool and expand syntax help (This used to be commit 1052eabf29f6c197b126f44d32fd5c5bc8f4a9c3)
2007-10-10r2905: Apply the patch for bug #1822. Add -D_REENTRANT to CPPFLAGS and -lthreadRichard Sharpe1-3/+6
to LDFLAGS. Patch supplied by Sean McGrath ... (This used to be commit d704272b0a27c51dbe9c5c5f04134ce559bea2c4)
2007-10-10r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD.Tim Potter4-4/+4
Bugzilla #1903. (This used to be commit 1327d83d902b6a39096d387d734e73d85ed53f85)
2007-10-10r2894: Certain versions of GNU ld the default is not to have theTim Potter1-1/+20
--allow-shlib-undefined flag defined. This causes a stackload of warnings when building modules. Fix by Michel Gravey which closes bugzilla #1776. (This used to be commit ad53c555131634ba29deea448e4fd184e78e8d4a)
2007-10-10r2868: Well, I'm not quite sure what I'm doing back in Samba 3.0, but anyway...Andrew Bartlett4-142/+104
I've been grumbling about under-efficient calls in SAMR, and finally got around to fixing some of them. We now call sys_getgroups() (which in turn calls initgroups(), until glibc 3.4 is released) to figure out a user's group membership. This is far, far more efficient than scanning all the groups looking for a match, and is still the 'posix way', just using an effiecient call. The seperate issue of 'who is in this group' remains, but this one has been biting some people. I need to talk to VL about how best to exersise nasty corner cases, but my initial tests hold strong. (The code is also much simpiler than before, which has to count for something :-) Andrew Bartlett (This used to be commit dc19f161698dab5b71d61fa2bacc7e7b8da5fbba)
2007-10-10r2865: Add static and remove unused functions that only cload the blame-gameAndrew Bartlett2-289/+3
in finding out who is causing the massive performance problems with large LDAP directories. Andrew Bartlett (This used to be commit f16ed2616a67c412bc9b78354a5faf673e64cf42)
2007-10-10r2852: Oh. Allow to migrate win2k3/xp-drivers as well.Günther Deschner1-0/+1
Thanks to Bjoern Jacke for his moral support :) Guenther (This used to be commit ab875d3ecf3a80f5648432f7f4573f57442e6698)
2007-10-10r2837: Fix printer-migration w.r.t. to new naming-convention forGünther Deschner1-40/+37
policy-handles. Also remove some unused vars. Guenther (This used to be commit 5181c1b2192d1802616e8c30cd9458c00a306a46)
2007-10-10r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter33-35/+35
'..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10r2834: Netapps can return NT_STATUS_ACCESS_DENIED when trying to return theTim Potter1-0/+3
security descriptor for a file. Return an error in this case instead of panicing trying to unpack a zero length buffer. Found by Brett Funderburg. (This used to be commit 588de0d4a84a5228d0f99f743ad327ad3b70ead1)
2007-10-10r2832: Readd WKGUID-binding to match the correct default-locations of newGünther Deschner4-7/+87
User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther (This used to be commit 8836621694c95779475fa9a1acf158e5e0577288)
2007-10-10r2828: Fix for bugzilla #1864 from Brett again.Tim Potter1-1/+12
Add sd->type field to security descriptor Python representation. (This used to be commit b157a1b7c3e15a960fbc943d37abbb1bf5053a63)
2007-10-10r2826: Complain if 'password chat' doesn't contain the %u variable. based on ↵Jelmer Vernooij1-1/+8
a patch by Ronan Waide (This used to be commit a48b3b291cfe5883da1a36b368ddf725b5ff9375)
2007-10-10r2824: restored the is_case_sensitive option to ms_fnmatch() in Samba3. It isAndrew Tridgell3-12/+23
very rarely used, but we sohuldn't be removing a feature in a minor release of this kind. (This used to be commit 4ce0505bc369243aa77013519ce4e4f6e50f5a48)
2007-10-10r2823: Patch from Brett Funderburg to pass create options parameter toTim Potter1-2/+3
nt_create_andx() function. (This used to be commit fa3e8365641e84ca361dc95bac33a9d56e9d799b)
2007-10-10r2822: Fix parameter confusion in priming of name-to-sid cache. Found byTim Potter1-1/+1
Qiao Yang. (This used to be commit 30ae13cb9fbe5f04e46bcbd5e0c19da9b33341d5)
2007-10-10r2821: Adding "Windows x64" as architecture string and driverdir "x64" for theGünther Deschner5-1/+8
64bit AMD platform. (This used to be "Windows AMD64" and "AMD64" in one of the release candidates of SP2 for Windows XP. AMD64 is obviously still supported but not documented.) Guenther (This used to be commit cc5892f0411b8eb5daebe746164a2cf21d3d4c68)
2007-10-10r2819: Make 'password history'-behaviour in ldapsam more consistent.Günther Deschner1-0/+3
Currently we cannot store more then 15 password history entries (windows NT4 allows to store 24) in ldapsam. When choosing more then "15" with pdbedit -P "password history", we fail to initialize the password history upon password change and overwrite the history, effectively using a password history of "1". We do already decrease any history-policy larger then 15 to 15 while storing the password history list attribute in ldap. Guenther (This used to be commit a4b47e71475a06c2e2287613b00648c5f53ae52c)
2007-10-10r2814: Exactly the same as "main" build fix.Rafal Szczesniak1-1/+1
rafal (This used to be commit 7fa94c38951fcd803a8e769a867a008e47f4129a)
2007-10-10r2813: Fix the build.Rafal Szczesniak1-1/+1
At least temporarily, since I've got the impression that _real_ fix is more complex... rafal (This used to be commit 982912f0c8547b0f0edc8d0b26e36e9701cdee82)
2007-10-10r2779: Some fixes to pam_winbind.c.:Andrew Bartlett1-7/+8
Allow 'require_membership_of' and 'require-membership-of'. Really use a different struct for the SID->Name lookup. Andrew Bartlett (This used to be commit 83dadcd089905aa8ff3392010177ffa1dc8237ba)
2007-10-10r2778: merged the new samba4 ms_fnmatch code to Samba3. Thanks to RustyAndrew Tridgell1-176/+131
Russel for some help in designing the new algorithm. (This used to be commit 38144f8d2cda32edacf90725f28e763689128d0d)
2007-10-10r2772: Check correct string length when verifying password-policies. Do notGünther Deschner1-2/+3
allow e.g. two umlauts and one ascii char to comply with account-policy "min password length" of 5. Thanks to Uwe Morgenroth from CC Compunet and Volker. TODO: we do check the length against AP_MIN_PASSWORD_LEN *and* lp_min_passwd_length() - both can have differing values. (This used to be commit d03683772942e8c32507be210b8fd35bfba2c048)
2007-10-10r2771: Second (and last) part of Swat-i18n-Patch from Björn JackeGünther Deschner3-311/+318
<bjacke@sernet.de> "Do not use display charset for swat output. In HTML we do not care about the "locale charmap" because HTML code is UTF-8 only now. Additionally take care that we convert files from statuspage from unix charset to UTF-8. Thus we have correct HTML output under all circumstances. We now also convert the share names correctly from unix encoding to web encoding and vice vera. " Guenther (This used to be commit 6d9f77c2bb95db4939b8ef375e22b188168b70ab)
2007-10-10r2770: oops; internal_resolve_name() should stay static in 3.0Gerald Carter1-1/+1
(This used to be commit 316302ca4a79cfc201311e12df71fdbb974c09c4)
2007-10-10r2768: BUG 1519: save the hostname used in the open_printer_ex() for later ↵Gerald Carter8-161/+240
reuse when filling in the spolss replies (also gets rid of get_called_name() (This used to be commit 57db8ca91f52329c7f8985c04463b6b69015b0c4)
2007-10-10r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix theAndrew Bartlett5-83/+49
naming of the require_membership_of parameter in pam_winbind and fix the error code for 'you didn't specify a domain' in ntlm_auth. Andrew Bartlett (This used to be commit 4bf0b94011fe6bfbec5635e58cafbfe3dc898569)
2007-10-10r2761: Print the decrypted, not encrypted key.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 1833d0ab724d88411ebd79ac26f5642e7c8cfee3)
2007-10-10r2760: Another patch from The Written Word. Don't declare function prototypesTim Potter1-1/+2
inside a function. Bugzilla #1762. (This used to be commit 002cdd4a5b34611983a32018248f9fe122c4111a)
2007-10-10r2759: Fix for winbindd on AIX 5.1. Apparently it doesn't have as many methodsTim Potter2-0/+14
in struct secmethod_table as AIX 5.2. Patch from The Written Word. (This used to be commit 4f8496ad626478c31e9372e07652d50f581256d0)
2007-10-10r2755: Fix NTLMv2 for use with pam_winbind, the plaintext ntlm_auth modes,Andrew Bartlett2-10/+97
and the wbinfo -a test tool. If 'client ntlmv2 auth' is set, then we will send an NTLMv2, rather than an NT/LM response to the server. Andrew Bartlett (This used to be commit ce2456e436c5d57cd95cd10c6edf759592d0e843)
2007-10-10r2753: Workaround for the (rather broken) _samr_query_useraliases rpc-call.Günther Deschner1-14/+1
_samr_query_useraliases shows up with all kind of very weird memberships (global-groups, machine-accounts, etc.). Sometimes even if there is no alias-membership at all. One of the biggest mistakes is to convert any unix-group the user is a member of, into an alias by default in get_group_from_gid. get_alias_user_groups should be rewritten to use pdb_enum_alias_memberships. Guenther (This used to be commit 73ab2d2a74d3992167d9304dd41f60ad0805dd67)
2007-10-10r2752: Fix the paranoia-check to ensure the ldap-attribute and theGünther Deschner1-1/+1
smb.conf-parameter for samba's "algorithmic rid base" in ldapsam are identical. It tried to get the value of LDAP_ATTR_ALGORITHMIC_RID_BASE via get_userattr_key2string() for a very long time now. This just can not work because LDAP_ATTR_ALGORITHMIC_RID_BASE is neither in attrib_map_v22 nor in attrib_map_v30. Instead, get it directly from dominfo_attr_list. Ldapsam will now correctly refuse to initialize when admins tried manually to have differing values for "algorithmic rid base" in ldap and smb.conf. idmap_ldap is another story... Guenther (This used to be commit c5b8bc6c2e9a3f789f41742438b31152721c0bf4)
2007-10-10r2746: Fix typos in net's usage-output.Günther Deschner2-2/+2
Guenther (This used to be commit 4886d6663d7479978e2c395602392accb5939fa0)
2007-10-10r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.Tim Potter1-1/+1
(This used to be commit 8ec28d613d6dcade135b314c6764fbafcc8ed79c)
2007-10-10r2732: Fixed typo.Günther Deschner1-2/+2
Guenther (This used to be commit 8521891ee87551e62fedecef2f5efa49f6c90a99)
2007-10-10r2729: Fix ldapsam_compat homeDrive. Thanks to jason@env.leeds.ac.ukVolker Lendecke1-1/+1
Volker (This used to be commit ef057e9534cc3713d3bcd7427cf34c74f7e3ea13)