summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-10-14Delete unused label to fix compiler warning.Tim Potter1-1/+0
(This used to be commit e34d21af3882a034810737039dbaae4d45e2645c)
2003-10-12make nt-time <-> unix-time functions nearly reversibleSimo Sorce1-2/+5
(This used to be commit bda64a11f7c11ca303122299c3e41c49e6afd933)
2003-10-09Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij1-99/+1
Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
2003-10-06split some security related functions in their own files.Simo Sorce3-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)
2003-10-06This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User4-0/+1270
used to be commit 096b997588880991af8e07034cc4f041daa87b97)
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-01Fixed silly typo checking for signal_handler not signal.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6c38a79be796935ab24764302805deea878b360d)
2003-10-01Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison1-62/+86
Jeremy. (This used to be commit 7d79a55d9af517ed63f8a4641bbc34564a4ef889)
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-10-01wrap internals of sys_setgroups() so the sys_XX() call can be done ↵Gerald Carter2-4/+6
unconditionally; bug 550 (This used to be commit 9df3f53e6ae751d522c7ac21deb785f1fa05f225)
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-27iconv isn't const safe. Neither should smb_iconv be.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 238bb74c16417140d85a304890b97e04df389ae9)
2003-09-25Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison1-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)
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-23This only touches the fake kaserver support. It adds two parameters:Volker Lendecke1-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)
2003-09-23Add a descriptive comment to our usage of setresuid. lib/afs.c needsVolker Lendecke1-0/+4
to be changed if we decide to set our real uid. Jeremy? Volker (This used to be commit 1fed55aa781bcf9efdd42f361c972b69152137a4)
2003-09-22fix some warnings found by the Sun C compilerGerald Carter1-1/+1
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
2003-09-22fix some warnings found by the Sun C compilerGerald Carter1-1/+1
(This used to be commit e1fac713e25692a5790c3261ba323732930f5249)
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-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 28b315a7501f42928d73efaa75f74146ba95cf2d)
2003-09-17Unregister event fix from metze.Jeremy Allison1-3/+6
Jeremy. (This used to be commit b3b2b3d5e7c9d4995890bf7b156fc1176b042cfc)
2003-09-17Unregister event fix from metze.Jeremy Allison1-3/+6
Jeremy. (This used to be commit 0aee73d45733a8eca437954e0c9fd54884bbe770)
2003-09-15Alias charset 646 internallyAlexander Bokovoy1-0/+1
(This used to be commit f4eb7acc7dfc400cc6524dccdd8081acd707f937)
2003-09-15Alias charset 646 internally as it is same as ASCII. Should solve Solaris ↵Alexander Bokovoy1-0/+1
problems where ASCII was not detected and 646.so were requested through dynamic loading (This used to be commit c248cd4784ac0f8f16813de36d293ab6bf1d259b)
2003-09-15This ldap_value_free() looks like it was part of Jeremy's recent rampageTim Potter1-2/+0
so I'm putting it back in. (This used to be commit ec49fc8ab73b26f86da155475df90843650f0e63)
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-15I think this is a bugfix that somehow was dropped from the 3.0 tree.Tim Potter1-0/+2
(This used to be commit 299eb0abd36072af51cbcb761fa9fb6a77584585)
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-15For some reason testparm runs at debug level 2 which causes the module probe ↵Tim Potter1-1/+1
functions to display verbose debugs. Increase the probe debugs to level 3. (This used to be commit d71a7470d721be05ecde44010cf278e8de08d9d3)
2003-09-13Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !Jeremy Allison2-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)
2003-09-12Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. ReveredJeremy Allison1-1/+1
condition meant fast-path in strchr_m was not being used. Doh ! Jeremy. (This used to be commit f23c9d36b0cd4083722012e4a94df8295f29d04c)
2003-09-10Still on my mb rampage. Ensure smbldap_make_mod() correctly detects oldJeremy Allison1-15/+13
values. Jeremy. (This used to be commit 41e4479aa9f186d68300086984d6f4c8f9fd2a27)
2003-09-10Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not convertingJeremy Allison1-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)
2003-09-10Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann ↵Jeremy Allison1-0/+1
<ungermann@elzet80.de> Jeremy. (This used to be commit c5ed59b37be1bf779e0d0e61c31227b520430afd)
2003-09-10Remove another dead file.Tim Potter1-719/+0
(This used to be commit a5656a5756b3c1061d683d664a7f087182b39b47)
2003-09-10Fix mb bug in fast path code. strlen_w() returns number of *characters*Jeremy Allison1-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)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter20-225/+1158
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-09-08Don't double-increment p in hash calculation. Found by valgrind.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 514d9361c7be8cb8ef1a1309773baab1d982eea6)
2003-09-08Fix valgrind-found read of uninit variable (ensure length is right).Jeremy Allison1-3/+3
Jeremy. (This used to be commit 6fc0e529f70253244628017a372257e8dc053294)
2003-09-08fix compile error on HP-UX 10.20Gerald Carter1-0/+5
(This used to be commit 15d53fd53c622de316d0ff41f1b60f0e2c69f908)
2003-09-08Reformat debug.Tim Potter1-4/+5
(This used to be commit 3aab7a3bc7920b6e479700c176ac7a7b80262f42)
2003-09-07Nobody complained on the team-list, so commit it ...Volker Lendecke1-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)
2003-09-06Use djb-algorithm string hash - faster than the tdb one we used to use.Jeremy Allison1-8/+7
Jeremy. (This used to be commit f094555ed9d4f72841869e79037d6ff980ebe324)
2003-09-05More cachegrind tuning, plus fix an error message.Jeremy Allison1-11/+32
Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison4-74/+81
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-09-05fix bug 397: use a variant of alloc_sub_basic() for string lists.Gerald Carter1-0/+30
(This used to be commit 62d5611df0cf86c267d7fe820822d4d019ae28bd)