summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-05-08fixed bug #75; add check for non-zero destlenGerald Carter1-1/+1
(This used to be commit bfcec106d00355d32eb40dde99ddd5d5bed4cedb)
2003-05-07Merge from distcc:Martin Pool1-2/+8
Put in a prototype for dummy_snprintf() to quiet compiler warnings. Move #endif to make sure VA_COPY, LDOUBLE, etc are defined even if the C library has some snprintf functions already. (This used to be commit c49cfe1677b8daba4e2e73813ee712b2d0ec92cd)
2003-05-06Add metze's exit and idle event patchJelmer Vernooij1-1/+106
(This used to be commit e599eba851db40816c684da2b7b1be4b978166e0)
2003-05-05Fixed typo introduced when reverting patch from revision 1.19Tim Potter1-1/+1
(This used to be commit a102734263a2cbd5b9eafbddf036e173b507a7fd)
2003-04-30Refactor existing sock_exec() and socketpair_tcp() functions into their ownPaul Green2-93/+115
source file. I will be making changes to sock_exec to work on VOS, which has a blocking connect() call, but first I want to get it in its own source file so that it can be called from a test program. (This used to be commit 2dd18ca0cfd4d793067b9b712554565965db0af1)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2-18/+19
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-28Two character tabs - I don't think so.Tim Potter1-10/+9
(This used to be commit 40d370bec6ef14cfa85e75cdb2f9122110ae9f1d)
2003-04-26round three of CIDR fixes; spotted by Tomoki AONOGerald Carter1-3/+2
(This used to be commit 920958a392b41c23ecd4db3ca32ae90a2e09bff9)
2003-04-24Complain about duplicate charsets at debug level 0 instead of 2Jelmer Vernooij1-1/+1
(This used to be commit d29407d41eb2ed9cf370e278cb4c95c6c341a08d)
2003-04-24Get rid of module_path_get_name()Jelmer Vernooij1-10/+5
(This used to be commit 9f9bdd97dbbabde7b2979c62dfdf150fae8670ec)
2003-04-24Check for absolute paths by only checking the first character of the module ↵Jelmer Vernooij1-1/+1
name. Don't use strchr_m, which caused race conditions. (This used to be commit 9411e3336ebe781da2b418219dd5803fecfc42fe)
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)