summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add constJelmer Vernooij2003-04-021-1/+1
| | | | | | | | (This used to be commit 7dccd144b74d8c752a4b8c80fa5b3e6b2d11eaa2)
| * THE Idmap patch :-)Simo Sorce2003-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes a --with-idmap=no switch to disable idmap usage if you find problems. cosmetic fixes and param aliases to separate winbind from idamp roles. A temporarily remote idmap winbind compatibility backend. As I have time I will further change code to not call directly winbind (partly done but not tested) and a specilized module will be built in place for the current glue hack. The patch has been tested locally in my limited time, the patch is simple and clear and should not reserve problems, if any just disable it. As usual, comments and fisex are welcome :-) Simo. (This used to be commit 02781320476ed1b7ee5d943fa36f9a66ab67f208)
| * OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that usingAndrew Bartlett2003-04-021-2/+2
| | | | | | | | | | | | | | | | decoded.length after it's been zero'ed out by data_blob_free() doesn't give you the original length... Andrew Bartlett (This used to be commit 647a720cfb06bdf0dfc8fcdcab50aadcceb0494d)
| * - Support absolute paths in vfs and charset modulesJelmer Vernooij2003-03-312-4/+7
| | | | | | | | | | | | | | | | - Fix typo in Makefile.in - Fix compatibility with older vfs modules (from patch by metze) - Build some modules shared by default and some static (and fall back to static when dlopen() is not available) (This used to be commit aa36f462d95f8a3a3a81a89c210b98a6f9fd295f)
| * Fix formatting of back traces - pathc by metzeJelmer Vernooij2003-03-311-2/+3
| | | | | | | | (This used to be commit 9cc17bcfe633496ba6270fd82963ff768ae017b0)
| * - Point users at the HOWTO Collection instead of 'README' in modules/mysql.cJelmer Vernooij2003-03-301-2/+26
| | | | | | | | | | - Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow (This used to be commit 794d3ed03619a4e41558d9ff65783a1aa1b2be90)
| * fix CIDR hosts allow/deny notationGerald Carter2003-03-281-1/+1
| | | | | | | | (This used to be commit 0dc611569427c8b63b752d0f62f2127dc1479754)
| * Use SAFE_FREE() instead of plain free() - pointed out by metzeJelmer Vernooij2003-03-261-1/+2
| | | | | | | | (This used to be commit b49436d020f8d88d42428c83ea9a278d3433d134)
| * Output backtrace to logfile in smb_panic(), as suggested by mbpJelmer Vernooij2003-03-261-8/+27
| | | | | | | | | | (only on systems that support it, of course) (This used to be commit bf439d733df6a11a25ff561a853c3382a3b34b96)
| * We need to 'preprocess' in popt_common_samba as wellJelmer Vernooij2003-03-251-1/+1
| | | | | | | | (This used to be commit 37ee8aecf4ae570c3d08e9fa94724bc9c917108f)
| * Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij2003-03-241-7/+18
| | | | | | | | | | some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
| * Add modules support to charsetJelmer Vernooij2003-03-241-29/+55
| | | | | | | | (This used to be commit cf3d31b9801d7ccb30334a92d4dc8a0ced2ecd31)
| * Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2003-03-241-60/+35
| | | | | | | | (This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
| * NTLM Authentication:Andrew Bartlett2003-03-231-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a 'privileged' mode to Winbindd. This is achieved by means of a directory under lockdir, that the admin can change the group access for. - This mode is now required to access with 'CRAP' authentication feature. - This *will* break the current SQUID helper, so I've fixed up our ntlm_auth replacement: - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a challenge. - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5 servers. - Tested - works for Win2k clients, but not Win9X at present. NTLMSSP updates are needed. - Now uses fgets(), not x_fgets() to cope with Squid environment (I think somthing to do with non-blocking stdin). - Add much more robust connection code to wb_common.c - it will not connect to a server of a different protocol version, and it will automatically try and reconnect to the 'privileged' pipe if possible. - This could help with 'privileged' idmap operations etc in future. - Add a generic HEX encode routine to util_str.c, - fix a small line of dodgy C in StrnCpy_fn() - Correctly pull our 'session key' out of the info3 from th the DC. This is used in both the auth code, and in for export over the winbind pipe to ntlm_auth. - Given the user's challenge/response and access to the privileged pipe, allow external access to the 'session key'. To be used for MSCHAPv2 integration. Andrew Bartlett (This used to be commit dcdc75ebd89f504a0f6e3a3bc5b43298858d276b)
| * Use True, not TRUEJelmer Vernooij2003-03-231-2/+2
| | | | | | | | (This used to be commit eeeeb37fc6de60928f7efdeb05bb2c6516f24441)
| * Don't crash when initialising tdb failsJelmer Vernooij2003-03-231-2/+2
| | | | | | | | (This used to be commit b18d02891be1ea3728239eee15a4aed3c3be2fea)
| * Add -U, -N, -i, -A, -W to popt.Jelmer Vernooij2003-03-221-9/+231
| | | | | | | | (This used to be commit 5a88d78f67fd7853d6f7d5042807afa56091d52c)
| * - Use FUNCTION_MACRO, not __FUNCTION__.Jelmer Vernooij2003-03-222-2/+2
| | | | | | | | | | - Add some const (This used to be commit e149e70717f38e082ce35d55f9b4d84ba8419af7)
| * Valgrind found a few memory leaks!Andrew Bartlett2003-03-221-0/+4
| | | | | | | | | | Andrew Bartlett (This used to be commit fb680f610ceb9a0f350c99456cf7ab1a507543fe)
| * Small clenaup patches:Andrew Bartlett2003-03-222-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. Andrew Bartlett (This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)
| * Patch from Samuel Thibault to convert messages from unix to dos charset. WorksJelmer Vernooij2003-03-201-1/+1
| | | | | | | | | | | | on 2000. sending messages to 9x needs to be fixed, but that didn't work anyway (This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)
| * lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison2003-03-201-1/+3
| | | | | | | | | | | | Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
| * Cleanup bogus initialisation in SID_NAME_USE enum.Tim Potter2003-03-201-1/+2
| | | | | | | | | | Added new sid type = 9 for "computer" from MSDN. (This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)
| * use strnlen to prevent coredumpsJim McDonough2003-03-191-3/+3
| | | | | | | | (This used to be commit 1960a650c1546323708ed6bea615dc7215a97b4f)
| * Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij2003-03-191-0/+2
| | | | | | | | | | put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
| * Step one of optimizations for StrCaseCmp:Martin Pool2003-03-181-7/+72
| | | | | | | | | | | | | | | | | | First of all, do a char-by-char walk through both buffers until we get to a non-ascii character, or a difference between the strings. This prefix can be directly compared without needing to call into iconv. This should be much faster for strings that are either all ascii, or differ near the start. (This used to be commit f7f692b2db4dd513068d6d8fed2792186933ddda)
* | Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2003-04-282-18/+19
| | | | | | | | | | function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
* | Whitespace syncup.Tim Potter2003-04-282-8/+2
| | | | | | | | (This used to be commit 7fd7af121ee8ba4f9540394f64fe3c78e2e96cd2)
* | round three of CIDR fixes; spotted by Tomoki AONOGerald Carter2003-04-261-3/+2
| | | | | | | | (This used to be commit 554026b2084e2371c1ddae7316fbb0b9b76472d4)
* | Get rid of module_path_get_name() and use the find backend functionJelmer Vernooij2003-04-241-10/+5
| | | | | | | | | | to find duplicates (This used to be commit 871cad7e9ac38e6f8e4391fcb2894d91300cbe94)
* | Check for absolute paths by only checking the first character of the module ↵Jelmer Vernooij2003-04-241-1/+1
| | | | | | | | | | | | | | name. Don't use strchr_m, which caused race conditions. (This used to be commit 69ec6be90f889686641b997d3d5cd616e1d0db6d)
* | When possible, store the IP address of the connecting client, not just theAndrew Bartlett2003-04-241-0/+13
| | | | | | | | | | | | | | | | | | | | | | hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett (This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
* | Patch by Metze to ensure that we always at least initialize our output stringAndrew Bartlett2003-04-232-1/+8
| | | | | | | | | | | | | | | | for rpc_pull_string. If we had a NULL or zero-length string, we would use uninitialised data in the result string. Andrew Bartlett (This used to be commit df10aee451b431a8a056a949a98393da256185da)
* | Merge HEAD's winbind into 3.0.Andrew Bartlett2003-04-231-0/+18
| | | | | | | | | | | | | | | | | | This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett (This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)
* | Don't try to continue if initialisation fails (merge from HEAD)Andrew Bartlett2003-04-231-2/+4
| | | | | | | | (This used to be commit ff3ec67e120d29db2b85ce444ce89a205ea7a067)
* | Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.Andrew Bartlett2003-04-231-1/+9
| | | | | | | | | | Andrew Bartlett (This used to be commit c6d416541be5349254a63e30fa29b022516b094e)
* | Try to avoid setting *SMBSERVER as a 'local name'.Andrew Bartlett2003-04-231-0/+3
| | | | | | | | | | Andrew Bartlett (This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)
* | Limit the number of outstanding print notify messages for a process toJeremy Allison2003-04-231-0/+31
| | | | | | | | | | | | 1000. Jeremy. (This used to be commit 2e5e4c10d2377493913554e7dab79d97a4d16d87)
* | Merge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,Andrew Bartlett2003-04-221-12/+33
| | | | | | | | | | | | | | which can restrict things like unix_strupper() to 512 byte strings. Andrew Bartlett (This used to be commit 341d6affa474262654f83c075f186d985cbcb9a0)
* | Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn'tAndrew Bartlett2003-04-221-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | include a domain portion, do a gethostbyname() lookup on that name. Use this name in our PolicyPrimaryDomainInformation reply (_lsa_query_info2) that Win2k uses when trying to trust us as a trusted domain. (We need to do a better mapping between our Netbios and Win2k domain names, but this will do for now - particularly annoying is the way this possibly needs to map with our kerberos realm). Andrew Bartlett (This used to be commit 3be03271030208a69da29c6e2a7b92cdbaa8c6aa)
* | Merge whitespace and const from HEADAndrew Bartlett2003-04-211-9/+9
| | | | | | | | (This used to be commit 88fdc36f9373c63706907e48be317007aeba06d6)
* | fix byte ordering when using CIDR notation in hosts allow/deny; spotted by ↵Gerald Carter2003-04-181-0/+4
| | | | | | | | | | | | Eloy Paris (This used to be commit 6155144b9f6a8d41675ff8f0564f86420431c142)
* | Only declare backtrace variables when using themJelmer Vernooij2003-04-161-0/+2
| | | | | | | | (This used to be commit 429b373453a04fa6871324dd0a3ff8a203c519f8)
* | Add support for the new modules system to lib/iconv.c (merge from HEAD)Jelmer Vernooij2003-04-161-151/+130
| | | | | | | | (This used to be commit 64a357017a897d1920c06fc19453470ee517470d)
* | merge in metze' smbcquotas patch from HEADGerald Carter2003-04-151-3/+3
| | | | | | | | (This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
* | Add some more functions for the modules (backport from HEAD):Jelmer Vernooij2003-04-141-9/+88
| | | | | | | | | | | | - init_modules() - smb_probe_module() (This used to be commit b3328dab2fa069af300b4076695bf6c359501111)
* | Backport my backtrace patch from HEADJelmer Vernooij2003-04-141-0/+21
| | | | | | | | (This used to be commit 66fcf6b4938a87e5ded7c7e5830a6a54e4439544)
* | Merge across tridge's Realloc fix.Jeremy Allison2003-04-141-3/+3
| | | | | | | | | | Jeremy. (This used to be commit df214d18817467fbe3023a412bceec325f73b518)
* | Merge from HEAD 1.36.Martin Pool2003-04-141-12/+46
| | | | | | | | (This used to be commit 25a01e3247ab8e52dc6c2d1f211ce10e09da5e70)
* | Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-32/+240
| | | | | | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)