summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23950: unlink before rename is superfluous.Michael Adam1-1/+0
Michael (This used to be commit 63c4c40cf7055ab7cf413a23e306cf209a1dd0a1)
2007-10-10r23938: Add a debug message.Michael Adam1-0/+2
(This used to be commit 6bd2c48921dd8dbf2885a8135ba01a1324e020c8)
2007-10-10r23932: Fill extended status with information in case the validation traverseMichael Adam1-1/+5
functions did not do so but returned an error. (This is the case when error occurred deeper than at the level of the content checking done by the per entry validate_fn.) Michael (This used to be commit e56be59947a29d0a5692f3f3bc6c089dd8b4b5d9)
2007-10-10r23930: Introduce tdb_validate_and_backup:Michael Adam1-1/+239
This is a wrapper around tdb_validate, that does backup handling: * if the given tdb is valid, a backup is created (name.bak) * if the tdb is invalid, if a valid bakup is found (validated with the same validation function) under the name "name.bak" the orignal tdb is moved to name.corrupt and the backup is restored. For the backup handling, a variant of the backup_tdb function from lib/tdb/tools/tdbbackup.c is included in lib/util_tdb.c. The copy function for the traverse action eliminates the need to maintain a global success state by using a struct wrapping the target tdb and a success flag as the private data. Michael (This used to be commit ca63a99b6188c0976603dc2852e478cc7a6b2f8b)
2007-10-10r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a ↵Günther Deschner1-0/+65
sid_array_from_info3() function. Guenther (This used to be commit 1e1e480115e37b3f4c85f979ddd800b8de0b9c57)
2007-10-10r23925: Use NULL instead of 0 for a void * argument.Michael Adam1-1/+1
(This used to be commit 864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc)
2007-10-10r23865: Fix a type-punned errorVolker Lendecke1-1/+1
(This used to be commit a40d3a566af88464fc6afd2c6e6e8b6e3a98aac2)
2007-10-10r23863: handle NT_STATUS_RETRY and always print out the NTSTATUS stringStefan Metzmacher1-2/+13
before calling ctdb_fatal() metze (This used to be commit 48ece3c21e3a5e9aa434c847eefaab59274a4e6f)
2007-10-10r23858: Added srvstr_pull_buf_talloc() and srvstr_pull_talloc()Jeremy Allison1-16/+234
calls and converted reply_tcon and reply_tconX to use them - to show the boilerplate usage (valgrind tested). In conjunction with Volker's srvstr_get_path_talloc() work this should allow us to start eliminating all pstrings/fstrings out of the main path processing code. I'll watch the build farm tonight... Jeremy. (This used to be commit b4eff3f68089f082781afcf90d43faa317949566)
2007-10-10r23853: Fix a very misleading error message in tdbbackup.Michael Adam1-1/+1
Michael (This used to be commit 3a2a032a44502eebdb61faf9cfdb3e54f5072514)
2007-10-10r23847: As Dr. Volker says, "A pstring a day....".Jeremy Allison1-7/+9
Jeremy. (This used to be commit 8adf81696aee99c5090e1b827ceb14929ec4aeda)
2007-10-10r23845: Second part of the fix for #4777. Looks like on AIX opendirJeremy Allison1-0/+3
returns an errno of ELOOP for a symlink of msdfs:server\path\to\link. Cope with this by mapping to a known error NT_STATUS_OBJECT_PATH_NOT_FOUND that we know dfs_path_lookup should ignore. Jeremy. (This used to be commit d4a7411c4886c601a917b0f0e53facc7e10dd18e)
2007-10-10r23841: Show all acl types when displaying a security descriptor.Günther Deschner1-7/+14
Guenther (This used to be commit 06418a63a0bf5df0e0e76172137d5dff026feaa6)
2007-10-10r23829: Add ads_get_attrname_by_guid().Günther Deschner1-0/+16
Guenther (This used to be commit a84fd8300661fd895ed7a8a104b743628718dfc8)
2007-10-10r23828: Add entry and exit debug statments to tdb_validateMichael Adam1-0/+5
at a lower debug level. Michael (This used to be commit b636f8cdad72a9a9bc1d302d8d681dca2da6105a)
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)