summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23822: Clean some debugging output (as well in content andMichael Adam1-34/+19
amount as in source code formatting...) Michael (This used to be commit 9794b94ebf79686da2e1b3ae343953581e3459a1)
2007-10-10r23819: It is currently unnecessary to pass the extended validation statusMichael Adam1-42/+10
from the validating child process down to the parent though the pipe. All the parent evaluates is the overall success, so the exit status should do. Michael (This used to be commit 9415ea0fde2ff0c801d043ce77b778fceedb6592)
2007-10-10r23814: Fix a couple of comments and debug messages.Michael Adam1-7/+7
(This used to be commit ef40ef67649c8793921619c128e2923e20aa68da)
2007-10-10r23802: fixed URL in XMLAndrew Tridgell1-1/+1
(This used to be commit 256301a21a1f393b5a2b89d4dce47b7d4f7bf9be)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell22-44/+22
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell7-14/+14
not GNU Library General Public License (This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell10-30/+10
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell88-177/+88
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING fileAndrew Tridgell1-3/+2
(This used to be commit e87bb12093dc78eb539fac0a171379a8cb5cd416)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit c14aba93c06348a1f84fc1dd9791ff1159d22c4b)
2007-10-10r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell4-20/+12
(This used to be commit f3df6cd87e1927f41e95af51d750a71278282e15)
2007-10-10r23791: found some more v2->v3 conversionsAndrew Tridgell2-2/+2
(This used to be commit b6cbac3db3b478d5c7991cee78c6695fc8d22681)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell89-89/+89
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in theAndrew Tridgell1-1/+3
Samba3 tree. This is neater, plus it avoids the need to get legal approval from SGI to use their GPLv2-only code under GPLv3. If/when SGI legal sort things out, we could consider adding back this header for very old systems where linux/dqblk_xfs.h is not available. (This used to be commit cb435543f84955be75368a3294bc6b627414d876)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell82-164/+82
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison11-11/+11
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison99-99/+99
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23769: Move removal of the tdb from the generic tdb_validate functionMichael Adam1-6/+0
to the caller (winbindd_validate_cache in this case). Next, there will be a backup handling for the tdb files. Michael (This used to be commit 821bc84109625c9d85edee38fa26d16f9f0a0fe2)
2007-10-10r23756: Fix Coverity id 388Volker Lendecke1-0/+1
(This used to be commit 91af086823265ed66bbd0bdc1cced070b7dd0629)
2007-10-10r23751: Call tdb_close even when validation was not successful.Michael Adam1-9/+1
Michael (This used to be commit b68856d9902f41079224ba11c7d0ab811b082201)
2007-10-10r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke1-2/+10
checkin will pull this up to srvstr_get_path. At that point we can get more independent of the inbuf, the base_ptr in pull_string will only be used to satisfy UCS2 alignment constraints. (This used to be commit 836782b07bf133e9b2598c4a089f1c810e4c7754)
2007-10-10r23673: Check for integer wrap on incoming data.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 77a46c7aee2ad4c402527cf78e5ae70a792d65d4)
2007-10-10r23669: Move a variable into the only block where it is used.Michael Adam1-1/+1
(This used to be commit 82be4137b7bba6a9a433ec011e7f47587935ae61)
2007-10-10r23668: When creating a new string value, win2k regedit deliversMichael Adam1-8/+22
one byte of data despite characters being two-byte. This modifies registry_pull_value, to change the data to the correct two-byte version of the empty string, (as delivered by winxp), when only one byte of data is received. Michael (This used to be commit a4c2b20296d6853cd1578601f17330cde75c4038)
2007-10-10r23665: Remove two unneeded global variablesVolker Lendecke1-13/+6
(This used to be commit 51a3933b3d367e3693daa6842f5a286328f4fd39)
2007-10-10r23662: According to simo, check_dos_char is neededVolker Lendecke2-1/+52
(This used to be commit c195eccefea69c17169c350a13bbfe845fc6fc44)
2007-10-10r23660: Anybody know what check_dos_char() was used for? It wasn't called atVolker Lendecke2-52/+1
all, so it's gone. With it 8k bss went away. (This used to be commit 7e9a4c39a5ce620f8eac74d0ae4dd80b96c81aca)
2007-10-10r23659: file_pload is not used outside of util_file.cVolker Lendecke1-1/+1
(This used to be commit 3ec43e18a4ffc46700de484251ea0bb2a18cde78)
2007-10-10r23658: One pstring a day....Volker Lendecke1-16/+39
This one was particularly tasty, it was a static one. So 1k less footprint per process. (This used to be commit 83865e32889e2d29086ae9d9701713fc74b09175)
2007-10-10r23641: Put check for forbidden values in smbconf into a function.Michael Adam1-0/+22
(This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael (This used to be commit 00be68a8416405e12a27186506f9eb15bca055b3)
2007-10-10r23639: Eliminate trailing whitespaces in the new tdb_validate functions...Michael Adam1-8/+7
Michael (This used to be commit d4accdbb5285216d532f57f545a846734a2fe774)
2007-10-10r23610: Move some winbindd_cache specific flags and actionsMichael Adam1-7/+1
back to winbindd_cache.c. The generic mechanism should open the cache tdb readonly and with default flags. Michael (This used to be commit 062d8c61294a1e9f8588fa8af31954dd286c7bde)
2007-10-10r23600: First step in abstracting the winbindd cache validationMichael Adam1-0/+203
code into a generic tdb validation code. In lib/util_tdb.c for a start. Michael (This used to be commit 527edfa0cbcb233218ebabc395666d1d7228ee37)
2007-10-10r23595: One pstring a day...Volker Lendecke1-7/+19
(This used to be commit 669eff902a20f3023360918ede6672d37b1f7d44)
2007-10-10r23594: Fix parsing of local pids if cluster support is compiled in but noVolker Lendecke1-0/+4
cluster is used (This used to be commit 6beaa87da938f2a530939714b732fa769a28a008)
2007-10-10r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.Jeremy Allison1-1/+5
Jeremy. (This used to be commit d7b39e4534d85c84e8b24668ab7d7a93d5647c23)
2007-10-10r23576: Fix some confusion between HAVE_BROKEN_GETGROUPS and USE_BSD_SETGROUPS.James Peach1-4/+4
(This used to be commit 8f6cf4b8c2568c737fa31494b844ae021a42a4fc)
2007-10-10r23572: Ensure we obey Unicode consortium restrictions. CodeJeremy Allison1-15/+22
based on patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>. Jeremy. (This used to be commit 0f10d2ed312115998d5ce1dc88a8d9207c9e4959)
2007-10-10r23569: Also dump fd_event in dump_event_list().Günther Deschner1-1/+10
Guenther (This used to be commit 27fdf995d13611ebc9e57895f886c184e9027c4d)
2007-10-10r23566: Fix the sys_bsd_setgroups function. The actual workaround was inactive.Michael Adam1-3/+1
Michael (This used to be commit 4b5d9b2ba773e6ce57c38e3c0d5af72ad5a98b51)
2007-10-10r23562: Add dump_event_list() for debugging the event list.Günther Deschner1-0/+24
Guenther (This used to be commit 4e1e697ac48513719bd3a2152f17871bc00df796)
2007-10-10r23550: Add more UNIX error -> NT status mappings.Jeremy Allison1-0/+25
Jeremy. (This used to be commit 1e66a8340e7db9c42507d93d67ad33abadabd2a1)
2007-10-10r23528: Two changes to make the valgrind massif (heap profiler) output readable:Volker Lendecke1-1/+1
Remove the allocated inbuf/output. In async I/O we copy the buffers explicitly now, so NewInBuffer is called exactly once. This does not reduce memory footprint, but removes one of the larger chunks that clobber the rest of the massif output In getgroups_unix_user on Linux 2.6 we allocated 64k groups x 4 bytes per group x 2 (once in the routine itself and once in libc) = 512k just to throw it away directly again. This reduces it do a more typical limit of 32 groups per user. We certainly cope with overflow fine if 32 is not enough. Not 100% sure about this one, a DEVELOPER only thing? (This used to be commit 009af0909944e0f303c5d496b56fb65ca40a41d5)
2007-10-10r23518: Remove the silly assumption that string_replace requires a pstring.Volker Lendecke1-19/+44
Jeremy, I am always very confused about the different length arguments in convert_string and friends. Can you take a look at the change in string_replace and verify it's ok? Thanks! While at it, remove the pstring limit for strhasupper and strhaslower. (This used to be commit e6e5703658aeaeb0cca5d7281095e17553001d4b)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach8-31/+28
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r23507: Split one general function normalize_dbkey from reg_db.c into util_reg.cMichael Adam1-0/+7
(To be used in other place in subsequent commit.) Michael (This used to be commit 6fd71140499e30b8fd0f083301512db7b8c2f236)
2007-10-10r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam6-602/+828
activation of global registry options in loadparm.c, mainly to extract functionality from net_conf.c to be made availabel elsewhere and to minimize linker dependencies. In detail: * move functions registry_push/pull_value from lib/util_reg.c to new file lib/util_reg_api.c * create a fake user token consisting of builtin administrators sid and se_disk_operators privilege by hand instead of using get_root_nt_token() to minimize linker deps for bin/net. + new function registry_create_admin_token() in new lib/util_reg_smbconf.c + move dup_nt_token from auth/token_util.c to new file lib/util_nttoken.c + adapt net_conf.c and Makefile.in accordingly. * split lib/profiles.c into two parts: new file lib/profiles_basic.c takes all the low level mask manipulation and format conversion functions (se_priv, privset, luid). the privs array is completely hidden from profiles.c by adding some access-functions. some mask-functions are not static anymore. Generally, SID- and LUID-related stuff that has more dependencies is kept in lib/profiles.c * Move initialization of regdb from net_conf.c into a function registry_init_regdb() in lib/util_reg_smbconf.c. Michael (This used to be commit efd3e2bfb756ac5c4df7984791c67e7ae20a582e)
2007-10-10r23475: Fix the prototype for sys_broken_setgroups and log *BSD group listJames Peach1-2/+2
truncation a bit more verbosely. (This used to be commit e3ea997289f9f2613c304c016b42b2d35af48c84)
2007-10-10r23470: Fix supplementary group list truncation for *BSD. We need to passJames Peach1-2/+8
the correct group list length and only truncate to NGROUPS_MAX if it is too long. (This used to be commit 07f562be7a64a2ded7ec0e6f5910447dc5b8b85f)
2007-10-10r23411: We were missing displayName and that was preventing usSimo Sorce1-0/+1
from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories. (This used to be commit e6399f1aa1c98d2d6e700245bb95c84f7e173236)