summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r2715: Swat-i18n-Patch from Björn Jacke <bjacke@sernet.de>:Günther Deschner16-459/+423
"Unify charset-handling in Content-Type:-headers to UTF-8 (fixes #1766), making UTF-8 the only supported (but fully functional) charset. Also remove html-header-files for ja and tr that have become obsolete now. Reformat msgstr in msg-files to UTF-8." Guenther (This used to be commit 0f8e1a0d0083ffb25b1888f5cae2613f7a7dbc46)
2007-10-10r2708: Don't look for bzero, we don't use it.Jeremy Allison2-2/+12
Samba4 torture tester treates maxentries = 0 as maxentries ==1. Jeremy. (This used to be commit 38f3d3e263f59f94f243907447b5a82f67d3e3f7)
2007-10-10r2706: The code that prints the remote MAC address (from the statistics sectionChristopher R. Hertel1-4/+7
of the response packet) was outside of the if() that determined whether the query was successful or not. As a result, the MAC address would print out even if there was no MAC address. At least the garbage it printed was relatively consistent. :) I moved the MAC printing into the if() block and added an 'else' to print "No reply..." if the query fails. Chris -)----- (This used to be commit 2a5d66791fa5e1b19e0ec9072af254142245d0c2)
2007-10-10r2703: Fix typo noticed by Igor Belyi <sambauser@katehok.ac93.org>Jeremy Allison1-1/+1
Jeremy. (This used to be commit ba69c7229c27e917a24e6d608d59e7c0bdd47551)
2007-10-10r2700: Fix bug where we could incorrectly set sparse attribute. Don't useJeremy Allison1-2/+2
st_blksize, it isn't what you think.... Jeremy. --his line, and those below, will be ignored-- M source/smbd/dosmode.c (This used to be commit 0a40c1a50f0e4b1b7efc9a53d22ceac14841bccf)
2007-10-10r2697: Fix for bugzilla #1732, patch by Satoh Fumiyasu, fumiya@samba.gr.jpJim McDonough1-3/+8
Limit share names returned by RAP based on windows character width, not unix character width. (This used to be commit 5d57058d912a42d55879352e904f0bcaa6531075)
2007-10-10r2691: Increase a debug level for a quite frequent operation.Volker Lendecke2-2/+29
Optimization for 'idmap backend = ldap': When asking sid2id for the wrong type, don't ask ldap when we have the opposite mapping in the local tdb. Volker (This used to be commit c91cff3bd38c1a8e23628b032f09829f9abf792d)
2007-10-10r2665: Ensure the UNIX info level returned enough data.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 8a7741dddf17dca136144fb26e2d7a42d313467a)
2007-10-10r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison4-27/+309
info level. Outputs data on the file in the same format the the stat command in Linux. Should be useful to people wanting to learn how to parse the UNIX extension output. Yes I will add the docs later :-). Jeremy. (This used to be commit b25cc596417d29815814c3968ac2627bf59ffc0b)
2007-10-10r2637: Fix the roundup problem (returning 1mb roundup) for non-WindowsJeremy Allison2-15/+38
clients. This upsets the smb client in the Linux kernel (and Linus :-). Jeremy. (This used to be commit dad699ce0b36d23b80fe70b74d5e98df568a0495)
2007-10-10r2619: Only issue the ldap extended password change operation if the ldap serverVolker Lendecke1-0/+75
supports it. This might be a fix for bugs 1823 and 1545, notifying both. Also ignore object class violation errors from the extended operation. We don't have the userPassword field in sambaSamAccount, and if we have such broken setup with user in /etc/passwd and only samba attribs in ldap, we fail this :-) Volker (This used to be commit a32ea3bc881f516fb733cb4767ae5cf22d658b12)
2007-10-10r2610: Even if we only use the fast-path (ascii only) thenJeremy Allison1-0/+21
we still need to set errno = E2BIG when we overflow. Jeremy. (This used to be commit 7b0560dcccbd44f1f7b67ba1d46f6a5680b6b47c)
2007-10-10r2605: Fix stupid typo in back-port of Samba4 fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ca9516520ffe007a7dccd4d6cbf1c5d77fc4ce29)
2007-10-10r2599: avoid free()ing our static unalloceted memory that ends up in memory ↵Simo Sorce1-1/+6
corruption. (This used to be commit 557e12d1b593b582ea1157d278bcdde6aba5a879)
2007-10-10r2584: After talking to jerry, commit the strlower patch to getent username andVolker Lendecke2-0/+3
groupnames. In template homedir, leave %D alone uppercased. Volker (This used to be commit dcb577f1cd8cf60557c0d061afeec206f58a6b31)
2007-10-10r2578: Pick up optimisation from Samba4 - thanks tridge !Jeremy Allison1-0/+12
- I recently found out that charaters below 0x3F are guaranteed not to occur as secondary bytes in any multi-byte character set. This allows for a very simple optimisation in strchr_m() and strrchr_m(). It might be a good idea to pick this up for Samba3. Jeremy. (This used to be commit 0465e2d23d27e535bad4652037b37041049bfa96)
2007-10-10r2575: Return correct error codes on old SEARCH call (from Samba4 torture ↵Jeremy Allison4-19/+17
tester). Jeremy. (This used to be commit fc51c97ea86bd1a86830d4ab2c6c7c4ec9fccc88)
2007-10-10r2570: minor fix with Rob's patch. use dos_errstr() instead of W_ERROR_V() ↵Gerald Carter1-2/+2
when using %s in the format string (This used to be commit b26e4dbd7fd616e672331fd36441b8bf74157904)
2007-10-10r2569: Patch from Rob Foehl <rwf@loonybin.net>:Gerald Carter4-129/+182
- fix typo in libads/ldap_printer.c:39, ads_find_printer_on_server() (originally libads-typo.patch) - fix leak in printing/nt_printing.c, is_printer_published() (originally is_printer_published-leak.patch) - fix double print_backend_init() calls, now only called from main() - restructuring in printing/nt_printing.c - replaced (un)publish_it() with ads-specific functions - moved common code to nt_printer_publish() - improved error handling in several places - added check_published_printers() in printing/nt_printing.c, to verify that each published printer is actually in the directory at startup - changed calling semantics of mod_a_printer, dump_a_printer, and update_driver_init to be more consistent with the rest of the api and reduce some copying (This used to be commit 50a5a3dbd02acb0d09133b6e42cc37d091ea901d)
2007-10-10r2567: Patches from Lars Mueller <lmuelle at suse dot de>:Gerald Carter3-6/+6
trivial fix for autoconf and autoheader versions with a letter in the version string. This happens in our current beta named distribution tree. trivial patch to fix the build with the upcoming libtool version. It will be mandatory to use --mode while using libtool. (This used to be commit 80d591f8cc62d513eb99112e6533b93ee901d27d)
2007-10-10r2566: Fix creation of aliases via usrmgr. Winbind was too strict checking ↵Volker Lendecke1-2/+10
the type of sids. Volker (This used to be commit d3b2921a8fd86beb77eae45ef9cf1a846a93b199)
2007-10-10r2564: resurrecting smbd/tdbutil.cGerald Carter1-0/+85
(This used to be commit e61986a11ec69e2510ae1de38ea9c5df4d4804d9)
2007-10-10r2548: Fix for bug reported by Edward Spragins <spragins@gmail.com> - don't ↵Jeremy Allison1-2/+3
try to set security descriptors on shares where this has been turned off. Jeremy. (This used to be commit 9cbe685d02fa1d3778958a3ade4965b64e5d0169)
2007-10-10r2540: Fix it the way Henrik Nordstrom (the patch author) wants :-).Jeremy Allison1-5/+3
Jeremy. (This used to be commit 45707b5700f8a7c422fca2d7c95f9fab50740f35)
2007-10-10r2528: Ensure MIN is defined as a macro so it's not undefined in the .so.Jeremy Allison1-0/+4
Fix from Andreas <andreas@conectiva.com.br>. Jeremy. (This used to be commit b5edad8b6098abac9b197d70fe29fb514e625b34)
2007-10-10r2482: Fix from Arthur van Dongen <avdongen@xs4all.nl> to fix acces -> ↵Jeremy Allison2-5/+5
access typos. Jeremy. (This used to be commit a278dca1b2c103f368d154aee2d3a1edd5604687)
2007-10-10r2481: Patch from Igor Belyi <sambauser@katehok.ac93.org>. Ensure pdbJeremy Allison1-8/+9
user is deleted first before deleting UNIX user (LDAP backend needs this ordering). Jeremy. (This used to be commit 2815b31e013e517a58027ba74f118209caf4d85f)
2007-10-10r2479: Stop attribute "modifyTimestamp" from being deleted.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 0351bf8b03306246efc17e532ebe78ecdafb645d)
2007-10-10r2477: Document "--destination" for "net rpc [printer|share] migrate".Günther Deschner1-1/+3
Guenther (This used to be commit 4aa670385f81ab3d90a2c5dd8ba6e0190f947452)
2007-10-10r2476: now that PRINTER_ATTRIBUTE_PUBLISHED does not get reset anymore, migrateGünther Deschner2-4/+43
the publishing-state for migrated printers as well. Therefor added client-side-support for setprinter level 7. Next will be a "net rpc printer publish"-command (just for completeness). Guenther (This used to be commit 224920738fdc65ef170152062177421cfed85bbf)
2007-10-10r2475: A more helpful debug-message when a connection to a dfs-proxy-share isGünther Deschner1-1/+2
failing. Guenther (This used to be commit 486bcff17faf8c7ecd9bf4bb9af244bc4bcdf843)
2007-10-10r2474: (re-)fix memleak (initially found by jra).Günther Deschner1-6/+0
heimdal 0.6.1rc3 had a bug causing winbindd to die, heimdal version 0.6.1 and higher have that fixed (thanks to Love from Heimdal). SuSE has been informed about this possible pitfall, any other vendors that ship with heimdal-0.6.1rc3 to be notified ? Guenther (This used to be commit 6239a5bec99c62032e0cde20679a71622dd7a059)
2007-10-10r2473: Convert internal data to UTF-8 before calling libxml2Jelmer Vernooij1-26/+47
(This used to be commit 8be3fa5bfa80b51f30f1c93a7fc9e95e2b1996a7)
2007-10-10r2472: Fixed krb5_krbhost_get_addrinfo()-parameters and make failureGünther Deschner1-3/+3
of this call non-critical. Thanks to Love for the patch and explaining the inner workings of heimdal. Guenther (This used to be commit 4bd9d8240b571fdd8546af4eea3f4f148987d57c)
2007-10-10r2470: Fix bug 1797: winbind and nmbd ignored "-l" option.Volker Lendecke2-4/+12
Thanks to Igor Zhbanov bsg@uniyar.ac.ru. Volker (This used to be commit 8a28475a0b7659cb0cdefe57edf801d9958c3755)
2007-10-10r2466: Fix memleak found by sean.chandler@verizon.net.Volker Lendecke1-1/+6
Thanks! Volker (This used to be commit 587d863ae87042e0193b8d27b52ab3f75c58974b)
2007-10-10r2453: I think this is the last lot of fixes to get shared libraries working onTim Potter2-34/+34
HPUX. This is Richard Allen's suggestion to get HPUX to use cc instead of ld. Also he added some missing $(DYNEXP) on link lines and removed the definition of $(LINK) as it is no longer used in the Makefile. (This used to be commit 9481f2a79e83b0dae9141f65ccc59e59bcf682e7)
2007-10-10r2451: Fix from Henrik Nordstrom <hno@squid-cache.org> to allowJeremy Allison1-13/+26
winbindd to return the correct number of groups when the groups array must be enlarged. Jeremy. (This used to be commit bcc769de4d60205209633887f2fb2f0ab6088cae)
2007-10-10r2450: don't limit the number of groups returned by winbindd_getgroups()Gerald Carter1-4/+1
(This used to be commit 4ba98cb469ad938bbc2e46cffaa48cc1c46b8e4e)
2007-10-10r2444: Based on jmcd's patch, implement special lists for the ldap user ↵Volker Lendecke3-6/+77
attributes to delete. Richard, IMHO this is the better solution to the problem you currently have. Please review. Thanks, Volker (This used to be commit 6957d6a8921fbd97747258249d99b505a79cfcb4)
2007-10-10r2440: Use sys_fork instead of fork for the dual daemon so that we get theVolker Lendecke1-1/+1
correct debug pid in the logfiles. Volker (This used to be commit 410d2c3ebba71434ad92d4572fec64eea7b952cd)
2007-10-10r2420: Way back at the 1st SambaXP, Simo pointed out a subtle bug related to theChristopher R. Hertel2-18/+81
interaction between the splay tree code and the code used to find a leaf node. The problem is rare, and with most sites using the newer hashing algorithm it's probably not important to fix it. I have fixed it, however. (This used to be commit b3997aeaf47d5cf0d5ed63038f3b22c9dfcdff4c)
2007-10-10r2413: Arggg. Stupid, stupid, stupid me ! I added a paranoia testJeremy Allison1-13/+0
case when I was developing the deferred open case and made it too tight. It will fire (incorrectly) and panic when a client does a second open for a file with a different mid (multiplex-id) request. Doh ! This is a perfectly valid thing for a client to do (have two pending opens with different mids outstanding on the same file) and currently when the first pending open expires with a share violation the paranoia code will panic smbd. It's a rare condition, but obvious now I've looked at the code. Fix for bug #1743. Jeremy. (This used to be commit e1bf108ae965ae730c67524164fa36497ea905b5)