summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * port latest changes from SAMBA_3_0 treeSimo Sorce2003-08-0215-336/+462
| | | | | | | | (This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
| * ading new files from 3.0Gerald Carter2003-07-162-0/+2225
| | | | | | | | (This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
| * trying to get HEAD building again. If you want the codeGerald Carter2003-07-1616-122/+470
| | | | | | | | | | prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
| * Fix the events API. Patch by metze with some minor modifications.Jelmer Vernooij2003-05-291-51/+103
| | | | | | | | (This used to be commit df24c4e839b3de0dc23400463d7489a991f61f49)
| * Merge of rpcstr_pull() termination fixes from 3.0Tim Potter2003-05-281-1/+4
| | | | | | | | (This used to be commit d41705dec6bed752acfe3210c73a949101dc23f6)
| * Merge of formatting fixups from 3.0Tim Potter2003-05-281-4/+9
| | | | | | | | (This used to be commit 43e01fb2306f35931256dfda6803bd887f28059f)
| * Merge of pull_ascii() and pull_ucs2() termination fixes from 3.0Tim Potter2003-05-281-0/+4
| | | | | | | | (This used to be commit bd97a76388b3f16d287c25579f02afe072cdec25)
| * Fix unused variable warning.Tim Potter2003-05-271-1/+2
| | | | | | | | (This used to be commit 0a80db5bde14e19d79411d832d51430d1b1c3454)
| * Merge from 3.0: Fix set_local_machine_name() for both *SMBSERVER andTim Potter2003-05-271-0/+11
| | | | | | | | | | *SMBSERV as per comments in loadparm.c (This used to be commit a6cb33c5bf0e26d8092c06a2cc01a6678109fb68)
| * Jelmer was really excited about copyrights this year.Tim Potter2003-05-271-1/+1
| | | | | | | | (This used to be commit 30a1b517fca6554c3beb5cc33fa0299d1376a542)
| * syncing LDAP schema changes with Samba_3_0Gerald Carter2003-05-141-9/+9
| | | | | | | | (This used to be commit a1326ea34831bf49942f7bcb954999091c3ea820)
| * Move some #ifdefs and function prototypes around to avoid a compilerTim Potter2003-05-141-13/+14
| | | | | | | | | | warning when we have a working version of snprintf() (This used to be commit 080a943e24f1dd02ebdf31ec3e76a1c3d19834df)
| * fixed bug #75; add check for non-zero destlenGerald Carter2003-05-081-1/+1
| | | | | | | | (This used to be commit bfcec106d00355d32eb40dde99ddd5d5bed4cedb)
| * Merge from distcc:Martin Pool2003-05-071-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)
| * Add metze's exit and idle event patchJelmer Vernooij2003-05-061-1/+106
| | | | | | | | (This used to be commit e599eba851db40816c684da2b7b1be4b978166e0)
| * Fixed typo introduced when reverting patch from revision 1.19Tim Potter2003-05-051-1/+1
| | | | | | | | (This used to be commit a102734263a2cbd5b9eafbddf036e173b507a7fd)
* | Fixed silly typo checking for signal_handler not signal.Jeremy Allison2003-10-011-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 6c38a79be796935ab24764302805deea878b360d)
* | Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison2003-10-011-62/+86
| | | | | | | | | | Jeremy. (This used to be commit 7d79a55d9af517ed63f8a4641bbc34564a4ef889)
* | wrap internals of sys_setgroups() so the sys_XX() call can be done ↵Gerald Carter2003-10-012-4/+6
| | | | | | | | | | | | unconditionally; bug 550 (This used to be commit 9df3f53e6ae751d522c7ac21deb785f1fa05f225)
* | iconv isn't const safe. Neither should smb_iconv be.Jeremy Allison2003-09-271-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 238bb74c16417140d85a304890b97e04df389ae9)
* | Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison2003-09-251-5/+7
| | | | | | | | | | | | | | but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. (This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
* | This only touches the fake kaserver support. It adds two parameters:Volker Lendecke2003-09-231-24/+36
| | | | | | | | | | | | | | | | | | | | afs share -- this is an AFS share, do AFS magic things afs username map -- We need a way to specify the cell and possibly weird username codings for several windows domains in the afs cell Volker (This used to be commit 4a3f7a9356cd5068d9ed4fd6e2336d9bf7923fbd)
* | Add a descriptive comment to our usage of setresuid. lib/afs.c needsVolker Lendecke2003-09-231-0/+4
| | | | | | | | | | | | | | to be changed if we decide to set our real uid. Jeremy? Volker (This used to be commit 1fed55aa781bcf9efdd42f361c972b69152137a4)
* | fix some warnings found by the Sun C compilerGerald Carter2003-09-221-1/+1
| | | | | | | | (This used to be commit e1fac713e25692a5790c3261ba323732930f5249)
* | Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison2003-09-191-2/+2
| | | | | | | | | | | | | | | | me to expose a type arguement to make_sec_desc(). We weren't copying the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on auto inherited checks. Jeremy. (This used to be commit 28b315a7501f42928d73efaa75f74146ba95cf2d)
* | Unregister event fix from metze.Jeremy Allison2003-09-171-3/+6
| | | | | | | | | | Jeremy. (This used to be commit 0aee73d45733a8eca437954e0c9fd54884bbe770)
* | Alias charset 646 internally as it is same as ASCII. Should solve Solaris ↵Alexander Bokovoy2003-09-151-0/+1
| | | | | | | | | | | | problems where ASCII was not detected and 646.so were requested through dynamic loading (This used to be commit c248cd4784ac0f8f16813de36d293ab6bf1d259b)
* | This ldap_value_free() looks like it was part of Jeremy's recent rampageTim Potter2003-09-151-2/+0
| | | | | | | | | | so I'm putting it back in. (This used to be commit ec49fc8ab73b26f86da155475df90843650f0e63)
* | I think this is a bugfix that somehow was dropped from the 3.0 tree.Tim Potter2003-09-151-0/+2
| | | | | | | | (This used to be commit 299eb0abd36072af51cbcb761fa9fb6a77584585)
* | For some reason testparm runs at debug level 2 which causes the module probe ↵Tim Potter2003-09-151-1/+1
| | | | | | | | | | | | | | functions to display verbose debugs. Increase the probe debugs to level 3. (This used to be commit d71a7470d721be05ecde44010cf278e8de08d9d3)
* | Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !Jeremy Allison2003-09-132-27/+63
| | | | | | | | | | | | | | | | (rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Also add MacOSX/Darwin configure fixes. Jerry - can we put this in 3.0 release ? :-). Jeremy. (This used to be commit f23acb4ca5feac8ad2acfa1baf7df31283aba3ea)
* | Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. ReveredJeremy Allison2003-09-121-1/+1
| | | | | | | | | | | | condition meant fast-path in strchr_m was not being used. Doh ! Jeremy. (This used to be commit f23c9d36b0cd4083722012e4a94df8295f29d04c)
* | Still on my mb rampage. Ensure smbldap_make_mod() correctly detects oldJeremy Allison2003-09-101-15/+13
| | | | | | | | | | | | values. Jeremy. (This used to be commit 41e4479aa9f186d68300086984d6f4c8f9fd2a27)
* | Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not convertingJeremy Allison2003-09-101-0/+20
| | | | | | | | | | | | | | to/from utf8 for some calls. The libads code gets this right. Wonder why the passdb code doesn't use it ? Jeremy. (This used to be commit 910d21d3164c2c64773031fddaad35ea88e72a04)
* | Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann ↵Jeremy Allison2003-09-101-0/+1
| | | | | | | | | | | | | | <ungermann@elzet80.de> Jeremy. (This used to be commit c5ed59b37be1bf779e0d0e61c31227b520430afd)
* | Fix mb bug in fast path code. strlen_w() returns number of *characters*Jeremy Allison2003-09-101-3/+3
| | | | | | | | | | | | | | | | not number of bytes. Reproduce this by trying to rename the file named : sibréseau -> sibréseaU from Windows 2000 explorer. Jeremy. (This used to be commit 035f59599514491609078ac0fe5804278c43a9b3)
* | Don't double-increment p in hash calculation. Found by valgrind.Jeremy Allison2003-09-081-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 514d9361c7be8cb8ef1a1309773baab1d982eea6)
* | Fix valgrind-found read of uninit variable (ensure length is right).Jeremy Allison2003-09-081-3/+3
| | | | | | | | | | Jeremy. (This used to be commit 6fc0e529f70253244628017a372257e8dc053294)
* | fix compile error on HP-UX 10.20Gerald Carter2003-09-081-0/+5
| | | | | | | | (This used to be commit 15d53fd53c622de316d0ff41f1b60f0e2c69f908)
* | Reformat debug.Tim Potter2003-09-081-4/+5
| | | | | | | | (This used to be commit 3aab7a3bc7920b6e479700c176ac7a7b80262f42)
* | Nobody complained on the team-list, so commit it ...Volker Lendecke2003-09-071-0/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements some kind of improved AFS support for Samba on Linux with OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile into secrets.tdb with 'net afskey'. If this is done, on each tree connect smbd creates a Kerberos V4 ticket suitable for use by the AFS client and gives it to the kernel via the AFS syscall. This is meant to be very light-weight, so I did not link in a whole lot of libraries to be more platform-independent using the ka_SetToken function call. Volker (This used to be commit 5775690ee8e17d3e98355b5147e4aed47e8dc213)
* | Use djb-algorithm string hash - faster than the tdb one we used to use.Jeremy Allison2003-09-061-8/+7
| | | | | | | | | | Jeremy. (This used to be commit f094555ed9d4f72841869e79037d6ff980ebe324)
* | More cachegrind tuning, plus fix an error message.Jeremy Allison2003-09-051-11/+32
| | | | | | | | | | Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
* | More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-054-74/+81
| | | | | | | | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
* | fix bug 397: use a variant of alloc_sub_basic() for string lists.Gerald Carter2003-09-051-0/+30
| | | | | | | | (This used to be commit 62d5611df0cf86c267d7fe820822d4d019ae28bd)
* | Hand optimisatinos for strrchr_m using the properties we know about MBJeremy Allison2003-09-051-11/+47
| | | | | | | | | | | | character sets and how we use this call. Jeremy. (This used to be commit a9709700eea3bb48ab4a79d74e0b8d22dc98576f)
* | Fastpath strchr_m for ASCII.Jeremy Allison2003-09-041-0/+13
| | | | | | | | | | Jeremy. (This used to be commit b3176f2ec246441dd483dc9757a487535b1656e6)
* | More hand-tuning of the fastpath. Don't do strlen() when we're doingJeremy Allison2003-09-041-12/+27
| | | | | | | | | | | | to walk to the end anyway. Jeremy. (This used to be commit 467cafdb1f7ddfb4278824f385b732975246a4f5)
* | Remove convert_string_internal completely from fast path when processingJeremy Allison2003-09-041-10/+18
| | | | | | | | | | | | NBENCH calls. Requires fixed buffer size for strdup_upper(). Jeremy. (This used to be commit e98fbfaf384bd2d3ebb002b0b981366377fb5ac0)
* | Quieten level 0 debug when probing for modules. We shouldn't display so loudTim Potter2003-09-041-6/+22
| | | | | | | | | | | | | | an error when a smb_probe_module() fails. Also tidy up debugs a bit. Bug 375. (This used to be commit 24a1720472f1340778dea76a88770520dca26f12)