summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor existing sock_exec() and socketpair_tcp() functions into their ownPaul Green2003-04-302-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.
* 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.
* Two character tabs - I don't think so.Tim Potter2003-04-281-10/+9
|
* round three of CIDR fixes; spotted by Tomoki AONOGerald Carter2003-04-261-3/+2
|
* Complain about duplicate charsets at debug level 0 instead of 2Jelmer Vernooij2003-04-241-1/+1
|
* Get rid of module_path_get_name()Jelmer Vernooij2003-04-241-10/+5
|
* 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.
* Merge case handling table changes from 3.0 to HEAD.Andrew Bartlett2003-04-231-10/+8
|
* Limit the number of outstanding print notify messages for a process toJeremy Allison2003-04-231-0/+31
| | | | | 1000. Jeremy.
* Merge from 3.0 - try harder to get our real DNS domain name, and send thisAndrew Bartlett2003-04-221-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
* Address gcc warnings.Volker Lendecke2003-04-191-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
* some readline completion exancementsSimo Sorce2003-04-191-0/+24
| | | | still need working, does not complete remote names yet
* fixesSimo Sorce2003-04-191-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
* fix byte ordering when using CIDR notation in hosts allow/deny; spotted by ↵Gerald Carter2003-04-181-0/+4
| | | | Eloy Paris
* Only use backtrace variables when we can use themJelmer Vernooij2003-04-161-0/+2
|
* Remove SAFE_FREE() definition, which is not needed in this file.Martin Pool2003-04-141-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.
* Add selected parts of the changelog to this file, to make merging intoMartin Pool2003-04-141-0/+21
| | | | other projects easier.
* Merge test cases from rsync.Martin Pool2003-04-141-3/+3
|
* Doc.Martin Pool2003-04-141-1/+9
| | | | | Add additional test case for a bug recently found in rsync by Paul Green. Appparently it was fixed here a while ago.
* smbcquota patch from metzeGerald Carter2003-04-111-3/+3
|
* workaround streams leak on SCO openserver 5.0.xGerald Carter2003-04-111-0/+4
|
* A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter2003-04-111-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.
* unix_strupper, unix_strlower: Remove fixed-length static buffer thatMartin Pool2003-04-091-10/+31
| | | | | makes these functions fail for strings over 512 characters. Now we use convert_string_allocate, which grows a buffer as necessary.
* Merge from 3_0: Build a lookup table of valid DOS characters justMartin Pool2003-04-082-5/+59
| | | | | once, when init_iconv is first called. Use this in check_dos_char rather than doing the conversion every time. Much faster.
* BUGS.txt -> Bugs Appendix in HOWTO collectionJelmer Vernooij2003-04-071-1/+1
|
* Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter2003-04-071-0/+5
| | | | | | same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init().
* Fix the interface of pull_ucs2_charcnv() to take a (char **) arg, not a ↵Andrew Bartlett2003-04-061-2/+2
| | | | (void **)
* Fix memory leak of the key.Andrew Bartlett2003-04-061-0/+1
|
* strequal() returns True for equal, not an intAndrew Tridgell2003-04-061-2/+4
|
* don't rely on realloc() working on NULLAndrew Tridgell2003-04-061-3/+3
|
* The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):Jim McDonough2003-04-031-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.
* Add constJelmer Vernooij2003-04-021-1/+1
|
* 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.
* 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
* - 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)
* Fix formatting of back traces - pathc by metzeJelmer Vernooij2003-03-311-2/+3
|
* - 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
* fix CIDR hosts allow/deny notationGerald Carter2003-03-281-1/+1
|
* Use SAFE_FREE() instead of plain free() - pointed out by metzeJelmer Vernooij2003-03-261-1/+2
|
* Output backtrace to logfile in smb_panic(), as suggested by mbpJelmer Vernooij2003-03-261-8/+27
| | | | (only on systems that support it, of course)
* We need to 'preprocess' in popt_common_samba as wellJelmer Vernooij2003-03-251-1/+1
|
* 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.
* Add modules support to charsetJelmer Vernooij2003-03-241-29/+55
|
* Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2003-03-241-60/+35
|
* 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
* Use True, not TRUEJelmer Vernooij2003-03-231-2/+2
|
* Don't crash when initialising tdb failsJelmer Vernooij2003-03-231-2/+2
|
* Add -U, -N, -i, -A, -W to popt.Jelmer Vernooij2003-03-221-9/+231
|
* - Use FUNCTION_MACRO, not __FUNCTION__.Jelmer Vernooij2003-03-222-2/+2
| | | | - Add some const
* Valgrind found a few memory leaks!Andrew Bartlett2003-03-221-0/+4
| | | | Andrew Bartlett