summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes to check for wraps which could cause coredumps.Jeremy Allison2003-10-291-0/+1
| | | | | Jeremy. (This used to be commit ad06edd1bb58cc5e2c38a364b1af96a933b770af)
* Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.inRichard Sharpe2003-10-241-0/+4
| | | | | and lib/snprintf. Check for va_copy first, and then look for __va_copy. (This used to be commit 8b592740b6294555c461d7eee003e2bd5f4352a4)
* After a phonecall with jra finally commit this.Volker Lendecke2003-10-232-12/+5
| | | | | | | | | | | | | | | This changes our behaviour when the setresuid call is available. We now not only change the effective uid but also the real uid when becoming unprivileged. This is mainly for improved AFS compatibility, as AFS selects the token to send to the server based on the real uid of the process. I tested this with a W2k server with two non-root 'runas' sessions. They come in via a single smbd as two different users using two session setups. Samba on Linux can still switch between the two uids, proved by two different files created via those sessions. Volker (This used to be commit 556c62f93535c606122b22e7e843d9da9a1cd438)
* Volker's fix for bug #668. Change the \n after the password prompt to goJim McDonough2003-10-231-2/+3
| | | | | to tty instead of stdout. (This used to be commit 3cec478b82359c527065c3a8d44daae96b7ac57e)
* Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison2003-10-226-17/+23
| | | | | | | in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
* Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problemsJeremy Allison2003-10-211-2/+17
| | | | | | when reverse connecting back to a client for printer notify. Jeremy. (This used to be commit 06aa434c3fdb139e3f3143d19413556945cbcd4f)
* Delete unused label to fix compiler warning.Tim Potter2003-10-141-1/+0
| | | | (This used to be commit e34d21af3882a034810737039dbaae4d45e2645c)
* make nt-time <-> unix-time functions nearly reversibleSimo Sorce2003-10-121-2/+5
| | | | (This used to be commit bda64a11f7c11ca303122299c3e41c49e6afd933)
* Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij2003-10-091-99/+1
| | | | | Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
* split some security related functions in their own files.Simo Sorce2003-10-063-151/+1
| | | | | | | | | (no need to include all of smbd files to use some basic sec functions) also minor compile fixes couldn't compile to test these due to some kerberos problems wirh 3.0, but on HEAD they're working well, so I suppose it's ok to commit (This used to be commit c78f2d0bd15ecd2ba643bb141cc35a3405787aa1)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-10-064-0/+1270
|\ | | | | | | used to be commit 096b997588880991af8e07034cc4f041daa87b97)
| * split some security related functions in their own files.Simo Sorce2003-10-067-151/+1271
| | | | | | | | | | | | | | (no need to include all of smbd files to use some basic sec functions) also minor compile fixes (This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
| * Fixed silly typo checking for signal_handler not signal.Jeremy Allison2003-10-011-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 202d4e46527993d359df7cd04fb611c22cc920c3)
| * Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison2003-10-011-62/+86
| | | | | | | | | | Jeremy. (This used to be commit 8a284463458cfaaff9986bbc459dfc113f921c6c)
| * merge of parameter changes from 3.0 and fix for bug 550Gerald Carter2003-10-012-4/+6
| | | | | | | | (This used to be commit b6433f5db77a1d62309946c6f23c18c6c299d0c5)
| * Merge from 3.0:Tim Potter2003-09-291-1/+1
| | | | | | | | | | | | >iconv isn't const safe. Neither should smb_iconv be. >Jeremy. (This used to be commit 7bd450f8b678e835ba4f9cfdc3d096b04da6f8f7)
| * Merge from 3.0:Tim Potter2003-09-291-5/+7
| | | | | | | | | | | | | | | | >Fix for #480. Change the interface for init_unistr2 to not take a length >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 e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)
| * * sync more files from 3.0Gerald Carter2003-09-242-24/+40
| | | | | | | | | | * set version string to "CVS 3.1.0alpha1" (This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
| * fix some warnings found by the Sun C compilerGerald Carter2003-09-221-1/+1
| | | | | | | | (This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
| * 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 546b2271c08735ac1049a453abac996d794aa364)
| * Unregister event fix from metze.Jeremy Allison2003-09-171-3/+6
| | | | | | | | | | Jeremy. (This used to be commit b3b2b3d5e7c9d4995890bf7b156fc1176b042cfc)
| * Alias charset 646 internallyAlexander Bokovoy2003-09-151-0/+1
| | | | | | | | (This used to be commit f4eb7acc7dfc400cc6524dccdd8081acd707f937)
| * Merge from Samba 3.0:Tim Potter2003-09-151-15/+33
| | | | | | | | | | | | | | >Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old >values. >Jeremy. (This used to be commit 9df18a6c4ea30545297f9e5a0b10b440e6a0687e)
| * Merge from Samba 3.0:Tim Potter2003-09-152-28/+65
| | | | | | | | | | | | | | | | | | >Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS ! >(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 67acde75d3569b612f87646ff0740f8020e8fdcf)
| * Merge from Samba 3.0:Tim Potter2003-09-151-1/+1
| | | | | | | | | | | | >For some reason testparm runs at debug level 2 which causes the module probe functions to >display verbose debugs. Increase the probe debugs to level 3. (This used to be commit be91bbd570bd94f67001aab9cfb2baf44b390097)
| * Remove another dead file.Tim Potter2003-09-101-719/+0
| | | | | | | | (This used to be commit a5656a5756b3c1061d683d664a7f087182b39b47)
| * sync 3.0 into HEAD for the last timeGerald Carter2003-09-0920-225/+1158
| | | | | | | | (This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
| * 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)