summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-10-23Merge from 3_0:Volker Lendecke2-12/+5
After a phonecall with jra finally commit this. 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 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)
2003-10-23Volker's fix for bug #668. Change the \n after the password prompt to goJim McDonough1-2/+3
to tty instead of stdout. (This used to be commit fb503bb418fcbee20d2218650904b26b512106ed)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison6-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 5c050a735f86927c7ef2a98b6f3a56abe39e4674)
2003-10-21Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problemsJeremy Allison1-2/+17
when reverse connecting back to a client for printer notify. Jeremy. (This used to be commit 7fde193efeb856ec325d5d563f1e710c45dc65d7)
2003-10-14Delete unused label to fix compiler warning.Tim Potter1-1/+0
(This used to be commit e982dd5bc4c7c0215bd4f2daf13da506c00b7cb9)
2003-10-13So here it is a non-intrusive patch with my latest work on gums (theSimo Sorce2-4/+19
laternative to the current passdb). Currently it is run through a comatibility module in the passdb layer, with a subset of the functionality it may provide. It is still work in progress, but as someone asked me about it, and as it should make no difference to the normal code, I tought it was a good idea to put it into. It adds a dependency on perl. I know it is not very nice, but I'm sure we will work out a solution for that. As always blame me if I break something, but try to fix yourself, as I am busy-busy-busy :-) Simo. (This used to be commit 7b3c94b5cfc1a9ceb430613353a937345f2eda74)
2003-10-12make nt-time <-> unix-time functions nearly reversibleSimo Sorce1-2/+5
(This used to be commit 98d60dc1c7027a50f720933eb8d6ffbfb4276fa5)
2003-10-09Move sysquotas autoconf tests to a seperate file in tests/Jelmer Vernooij1-99/+1
Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit cd3e4882fcf2437f4140557608e671284d0e92b4)
2003-10-06split some security related functions in their own files.Simo Sorce7-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)
2003-10-01Fixed silly typo checking for signal_handler not signal.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 202d4e46527993d359df7cd04fb611c22cc920c3)
2003-10-01Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison1-62/+86
Jeremy. (This used to be commit 8a284463458cfaaff9986bbc459dfc113f921c6c)
2003-10-01merge of parameter changes from 3.0 and fix for bug 550Gerald Carter2-4/+6
(This used to be commit b6433f5db77a1d62309946c6f23c18c6c299d0c5)
2003-09-29Merge from 3.0:Tim Potter1-1/+1
>iconv isn't const safe. Neither should smb_iconv be. >Jeremy. (This used to be commit 7bd450f8b678e835ba4f9cfdc3d096b04da6f8f7)
2003-09-29Merge from 3.0:Tim Potter1-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)
2003-09-24* sync more files from 3.0Gerald Carter2-24/+40
* set version string to "CVS 3.1.0alpha1" (This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
2003-09-22fix some warnings found by the Sun C compilerGerald Carter1-1/+1
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
2003-09-19Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison1-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)
2003-09-17Unregister event fix from metze.Jeremy Allison1-3/+6
Jeremy. (This used to be commit b3b2b3d5e7c9d4995890bf7b156fc1176b042cfc)
2003-09-15Alias charset 646 internallyAlexander Bokovoy1-0/+1
(This used to be commit f4eb7acc7dfc400cc6524dccdd8081acd707f937)
2003-09-15Merge from Samba 3.0:Tim Potter1-15/+33
>Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old >values. >Jeremy. (This used to be commit 9df18a6c4ea30545297f9e5a0b10b440e6a0687e)
2003-09-15Merge from Samba 3.0:Tim Potter2-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)
2003-09-15Merge from Samba 3.0:Tim Potter1-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)
2003-09-10Remove another dead file.Tim Potter1-719/+0
(This used to be commit a5656a5756b3c1061d683d664a7f087182b39b47)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter20-225/+1158
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce15-336/+462
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16ading new files from 3.0Gerald Carter2-0/+2225
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter16-122/+470
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-29Fix the events API. Patch by metze with some minor modifications.Jelmer Vernooij1-51/+103
(This used to be commit df24c4e839b3de0dc23400463d7489a991f61f49)
2003-05-28Merge of rpcstr_pull() termination fixes from 3.0Tim Potter1-1/+4
(This used to be commit d41705dec6bed752acfe3210c73a949101dc23f6)
2003-05-28Merge of formatting fixups from 3.0Tim Potter1-4/+9
(This used to be commit 43e01fb2306f35931256dfda6803bd887f28059f)
2003-05-28Merge of pull_ascii() and pull_ucs2() termination fixes from 3.0Tim Potter1-0/+4
(This used to be commit bd97a76388b3f16d287c25579f02afe072cdec25)
2003-05-27Fix unused variable warning.Tim Potter1-1/+2
(This used to be commit 0a80db5bde14e19d79411d832d51430d1b1c3454)
2003-05-27Merge from 3.0: Fix set_local_machine_name() for both *SMBSERVER andTim Potter1-0/+11
*SMBSERV as per comments in loadparm.c (This used to be commit a6cb33c5bf0e26d8092c06a2cc01a6678109fb68)
2003-05-27Jelmer was really excited about copyrights this year.Tim Potter1-1/+1
(This used to be commit 30a1b517fca6554c3beb5cc33fa0299d1376a542)
2003-05-14syncing LDAP schema changes with Samba_3_0Gerald Carter1-9/+9
(This used to be commit a1326ea34831bf49942f7bcb954999091c3ea820)
2003-05-14Move some #ifdefs and function prototypes around to avoid a compilerTim Potter1-13/+14
warning when we have a working version of snprintf() (This used to be commit 080a943e24f1dd02ebdf31ec3e76a1c3d19834df)
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)