summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-04-23Merge case handling table changes from 3.0 to HEAD.Andrew Bartlett1-10/+8
(This used to be commit 263407e132dcb1f7fc85cded9842e60918f8ef4b)
2003-04-23Limit the number of outstanding print notify messages for a process toJeremy Allison1-0/+31
1000. Jeremy. (This used to be commit aabaac05c6adbb510ed27f87115de3e83e27158c)
2003-04-22Merge from 3.0 - try harder to get our real DNS domain name, and send thisAndrew Bartlett1-6/+21
to the client when it asks for our DNS name and forest name. (needed for win2k to trust us as a trusted domain). Andrew Bartlett (This used to be commit 2a1015eb57da7b69caafd1221b871b6bff1af2fb)
2003-04-19Address gcc warnings.Volker Lendecke1-1/+1
I could not fix the "passing arg 5 of `ldap_search_s'" completely with gcc -Wall. A non-developer compile does not complain though. Volker (This used to be commit dcbbbd66a9be799998476701a9e1059c14e4f061)
2003-04-19some readline completion exancementsSimo Sorce1-0/+24
still need working, does not complete remote names yet (This used to be commit 625eee8e03c3905a245e078ef9f1c26200e33d7c)
2003-04-19fixesSimo Sorce1-0/+1
fix debug, add "idmap" string to the list of classes fix idmap, check init failures, and enhance debugging fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that before) fix smbd/uid.c, use gid_t for gids and uid_t for uids (This used to be commit bc95de4ebb014080bc70173e7df94c672cea8df6)
2003-04-18fix byte ordering when using CIDR notation in hosts allow/deny; spotted by ↵Gerald Carter1-0/+4
Eloy Paris (This used to be commit c2580e15d6e7ad7c8dde81753e35670fa52636ff)
2003-04-16Only use backtrace variables when we can use themJelmer Vernooij1-0/+2
(This used to be commit 17243c61b56c20c86b5d10be294d06addffedb6a)
2003-04-14Remove SAFE_FREE() definition, which is not needed in this file.Martin Pool1-13/+18
In TEST_SNPRINTF mode, always compile all the functions in this file even if they're normally available on this system. Fix typo in comment. (This used to be commit 95f4b5828862155407069fc4dc1b879b45588ded)
2003-04-14Add selected parts of the changelog to this file, to make merging intoMartin Pool1-0/+21
other projects easier. (This used to be commit 0f3c2bfbd2de0e759e3083afabee0538528d7a65)
2003-04-14Merge test cases from rsync.Martin Pool1-3/+3
(This used to be commit a0d841a59ea745bf48b0d705ad6c81e4172552ea)
2003-04-14Doc.Martin Pool1-1/+9
Add additional test case for a bug recently found in rsync by Paul Green. Appparently it was fixed here a while ago. (This used to be commit a0033cc83c837bc075dd689fdf7a69a6aa4ecd18)
2003-04-11smbcquota patch from metzeGerald Carter1-3/+3
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-11workaround streams leak on SCO openserver 5.0.xGerald Carter1-0/+4
(This used to be commit 31eaf11d2e9c38e0f479b41c00e0db92987ae6d0)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter1-44/+0
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-09unix_strupper, unix_strlower: Remove fixed-length static buffer thatMartin Pool1-10/+31
makes these functions fail for strings over 512 characters. Now we use convert_string_allocate, which grows a buffer as necessary. (This used to be commit a55dc493ca212bde22d9e68ea8a4cc16a142c69d)
2003-04-08Merge from 3_0: Build a lookup table of valid DOS characters justMartin Pool2-5/+59
once, when init_iconv is first called. Use this in check_dos_char rather than doing the conversion every time. Much faster. (This used to be commit e8f1399323745a93ba9df97553effcf2d7629850)
2003-04-07BUGS.txt -> Bugs Appendix in HOWTO collectionJelmer Vernooij1-1/+1
(This used to be commit 1e1ef7a7b52f34ab784a7bac570235de221a64b6)
2003-04-07Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter1-0/+5
same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init(). (This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
2003-04-06Fix the interface of pull_ucs2_charcnv() to take a (char **) arg, not a ↵Andrew Bartlett1-2/+2
(void **) (This used to be commit dc04b732baa0848e391baf7f148218a10e0af032)
2003-04-06Fix memory leak of the key.Andrew Bartlett1-0/+1
(This used to be commit 9daf41c41f901b46d6016c6ec63773d0b7cec617)
2003-04-06strequal() returns True for equal, not an intAndrew Tridgell1-2/+4
(This used to be commit b96590ad092e32259ce24a20a6a8a30d98dfae7d)
2003-04-06don't rely on realloc() working on NULLAndrew Tridgell1-3/+3
(This used to be commit bd00355c1d5ca4ce77fa28c53ea46834365f22d7)
2003-04-03The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):Jim McDonough1-0/+718
This patch moves the ldap routines out of passdb into a generic library and implements an LDAP backend for IDMAP. THe backend can be enabled with "idmap backend = ldap" in smb.conf. THere are also schema changes to make sure to update teh ldap schema files. (This used to be commit 87c7c582c60521da3a93d997386fe79935012aea)
2003-04-02Add constJelmer Vernooij1-1/+1
(This used to be commit 7dccd144b74d8c752a4b8c80fa5b3e6b2d11eaa2)
2003-04-02THE Idmap patch :-)Simo Sorce1-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)
2003-04-02OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that usingAndrew Bartlett1-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)
2003-03-31- Support absolute paths in vfs and charset modulesJelmer Vernooij2-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)
2003-03-31Fix formatting of back traces - pathc by metzeJelmer Vernooij1-2/+3
(This used to be commit 9cc17bcfe633496ba6270fd82963ff768ae017b0)
2003-03-30- Point users at the HOWTO Collection instead of 'README' in modules/mysql.cJelmer Vernooij1-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)
2003-03-28fix CIDR hosts allow/deny notationGerald Carter1-1/+1
(This used to be commit 0dc611569427c8b63b752d0f62f2127dc1479754)
2003-03-26Use SAFE_FREE() instead of plain free() - pointed out by metzeJelmer Vernooij1-1/+2
(This used to be commit b49436d020f8d88d42428c83ea9a278d3433d134)
2003-03-26Output backtrace to logfile in smb_panic(), as suggested by mbpJelmer Vernooij1-8/+27
(only on systems that support it, of course) (This used to be commit bf439d733df6a11a25ff561a853c3382a3b34b96)
2003-03-25We need to 'preprocess' in popt_common_samba as wellJelmer Vernooij1-1/+1
(This used to be commit 37ee8aecf4ae570c3d08e9fa94724bc9c917108f)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij1-7/+18
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Add modules support to charsetJelmer Vernooij1-29/+55
(This used to be commit cf3d31b9801d7ccb30334a92d4dc8a0ced2ecd31)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij1-60/+35
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-23NTLM Authentication:Andrew Bartlett1-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)
2003-03-23Use True, not TRUEJelmer Vernooij1-2/+2
(This used to be commit eeeeb37fc6de60928f7efdeb05bb2c6516f24441)
2003-03-23Don't crash when initialising tdb failsJelmer Vernooij1-2/+2
(This used to be commit b18d02891be1ea3728239eee15a4aed3c3be2fea)
2003-03-22Add -U, -N, -i, -A, -W to popt.Jelmer Vernooij1-9/+231
(This used to be commit 5a88d78f67fd7853d6f7d5042807afa56091d52c)
2003-03-22- Use FUNCTION_MACRO, not __FUNCTION__.Jelmer Vernooij2-2/+2
- Add some const (This used to be commit e149e70717f38e082ce35d55f9b4d84ba8419af7)
2003-03-22Valgrind found a few memory leaks!Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit fb680f610ceb9a0f350c99456cf7ab1a507543fe)
2003-03-22Small clenaup patches:Andrew Bartlett2-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)
2003-03-20Patch from Samuel Thibault to convert messages from unix to dos charset. WorksJelmer Vernooij1-1/+1
on 2000. sending messages to 9x needs to be fixed, but that didn't work anyway (This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison1-1/+3
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
2003-03-20Cleanup bogus initialisation in SID_NAME_USE enum.Tim Potter1-1/+2
Added new sid type = 9 for "computer" from MSDN. (This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)
2003-03-19use strnlen to prevent coredumpsJim McDonough1-3/+3
(This used to be commit 1960a650c1546323708ed6bea615dc7215a97b4f)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij1-0/+2
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-18Step one of optimizations for StrCaseCmp:Martin Pool1-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)