summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24125: use TALLOC_FREE()Stefan Metzmacher1-2/+2
metze (This used to be commit 4c21ebae95f7c07bdde55a9d686af044f2effba4)
2007-10-10r24115: try to get the file name and share patch for printingStefan Metzmacher1-4/+17
brlocks from the share_mode db, as the same fileid is used. metze (This used to be commit 8cccf470cbce87618753bc205a0c9cac1edf4d9c)
2007-10-10r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>Volker Lendecke1-1/+1
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
2007-10-10r24057: Fix some uninitialized variables found by the IBM checkerVolker Lendecke1-0/+11
(This used to be commit d74bbc53c2cf41e7e92309e81bb9c1b3f805cdd1)
2007-10-10r24047: With -Wmissing-prototypes these two always generate warnings. TheyVolker Lendecke1-0/+14
should be properly prototyped. For now, gloss over the warning. (This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)
2007-10-10r24044: Fix an uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 69326a56e7fe2681eef3d58a9107765496756de4)
2007-10-10r24021: use MSG_BROADCAST_PID_STR as value for broadcast messagesStefan Metzmacher1-1/+1
to fix the cluster case vl: please check, if this works with clustering = no metze (This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)
2007-10-10r24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher1-8/+23
use a timed event to make sure the timelimit is correctly handled in smbcontrol when waiting for messages metze (This used to be commit 68c786dafacb187dfea83c45b7fd84127dc02e43)
2007-10-10r24005: Attempt to fix the build on host deckchairVolker Lendecke1-1/+1
(This used to be commit cdc8ca57a7eb3e7e33a243e705be8a33c538253a)
2007-10-10r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, ↵Günther Deschner1-0/+111
renew, pac). Guenther (This used to be commit 4cada7c1485c9957e553d6e75cb6f30f4338489f)
2007-10-10r23968: Harmonize net's password prompts.Günther Deschner2-16/+35
Guenther (This used to be commit 7e2fb14d6e4f58fe6645b7e7468f925c21cb4c9d)
2007-10-10r23954: merge from 3_0-ctdb-tridge:Stefan Metzmacher1-0/+4
don't display dead share mode entries in smbstatus metze (This used to be commit b52bb1e1556d2f4c2bfbd21e12782420bc26a029)
2007-10-10r23888: move elements belonging to the current ldap connection to aStefan Metzmacher1-13/+13
substructure. metze (This used to be commit 00909194a6c1ed193dfdb296f50f58a53450583c)
2007-10-10r23874: Some more minor edits for net ads gpo.Günther Deschner1-27/+88
Guenther (This used to be commit cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
2007-10-10r23834: Allow to pass an ADS_STRUCT pointer down to the dump function ↵Günther Deschner1-1/+1
callback in libads. Guenther (This used to be commit 311bbbafa6d860b7b632beac6d9249b0a2fafb86)
2007-10-10r23804: here tooAndrew Tridgell1-1/+1
(This used to be commit e5d18768a014753c439ba6be24a52b04fed63b31)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell11-22/+11
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell1-2/+2
not GNU Library General Public License (This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit c14aba93c06348a1f84fc1dd9791ff1159d22c4b)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell41-82/+41
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23782: I tested this against NT4 PDC, W2K Server, W2K3 Dc, and a Win XP std ↵Simo Sorce1-6/+1
alone client and they all work with this code. (This used to be commit 44e22581d731572d3fa260b92063922c59ce75db)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison51-51/+51
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23772: Add ads_find_samaccount() helper function.Günther Deschner1-61/+6
Guenther (This used to be commit 6fafa64bea4ce6a7a5917fa02ed9c564a7c93ffb)
2007-10-10r23770: Some minor cleanups in libgpoGünther Deschner1-3/+3
(including some valgrind errors, uninitialized vars, etc.) Guenther (This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
2007-10-10r23760: Untangle use of strrchr_m and strequal and add some checksMichael Adam1-2/+11
for the validity of the given registry key name. Michael (This used to be commit 4b4ba7724ee77a93e32cd7f3c5884d965fe9bcaa)
2007-10-10r23757: Fix Coverity id 386Volker Lendecke1-1/+5
(This used to be commit 91be38f7ab42991e04a41e91132137a834c10996)
2007-10-10r23750: Change the behaviour of net conf import when there is a global sectionMichael Adam1-8/+24
in the current registry and there is no global section in the input file (or only global options with default values): In that case the existing global section is now not touched. Before, it would have been deleted and recreated empty. The new behaviour is how other shares are treated too. Note that since the input file is parsed by lp_load, there is currently no way to distinguish between a section with only default parameters and a non-existing section in net conf import. Michael PS: A couple of trailing white-spaces have been eliminated and a line was broken to be not longer than 80 chars, too. (This used to be commit ec21a0cf9f01986d333b50b883f2105e32cf7fc9)
2007-10-10r23749: Simplify prototype of reg_setvalue_internal:Michael Adam1-22/+9
eliminate "type" parameter since we store only REG_SZ. Michael (This used to be commit 65ce4633171eabd6fc94677cb7d884d6125d0745)
2007-10-10r23748: Clean use of talloc in import_process_service:Michael Adam1-4/+13
create a temporary talloc ctx for the function. Michael (This used to be commit 39df7faaa9472d565653b36203860eee8a259f2c)
2007-10-10r23747: Move formatting of a parameter's value into a value stringMichael Adam1-80/+82
to a function of its own. (for storing it in registry), Eliminate the valtype variable : store everything as "sz". Eliminate some trailing white spaces on the way. Michael (This used to be commit 76f4f224aa65b1414222818996e215ec80d117a4)
2007-10-10r23746: Fix missing assignments to target string of asprintf in import function.Michael Adam1-2/+2
Michael (This used to be commit 6b1bf7c1f49f737ca3cbee96b184e3b21fdc4931)
2007-10-10r23745: Fix: Check whether top subkeyname instead of whole registry key nameMichael Adam1-2/+3
is equal to GLOBAL_NAME. Michael (This used to be commit fdcdcacf0a9513829ad474605879ef55ce8b389e)
2007-10-10r23744: Remove TODO-comment. lp_load returns False if openingMichael Adam1-2/+0
of the config file fails. That's enough of checking for existence and readbility to my taste. Michael (This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)
2007-10-10r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam1-1/+1
Michael (This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
2007-10-10r23657: Prevent setting of a global option in a share definitionMichael Adam1-1/+10
in "net conf setparm". Michael (This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
2007-10-10r23656: Add initial checking of the validity of a paramterMichael Adam1-0/+14
given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael (This used to be commit 639051e58d4da9fb1116c19f0790250640b6ac7a)
2007-10-10r23655: Fix a comment and adjust some code formatting.Michael Adam1-2/+3
Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
2007-10-10r23652: Use the recursive delete function instead of the original oneMichael Adam1-1/+1
when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
2007-10-10r23648: Allow to list a custom krb5 keytab file with:Günther Deschner1-3/+10
net ads keytab list /path/to/krb5.keytab Guenther (This used to be commit a2befee3f240543ea02ea99cebad886b54ae64eb)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner6-7/+7
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r23612: Revert 'net idmap dump' to the 3.0.24 behaviour.Volker Lendecke1-31/+32
(This used to be commit 56a32f217a183f956ad1c57a62d61a43646aa391)
2007-10-10r23593: Mention "net conf" in top level net usage.Michael Adam1-2/+3
Michael (This used to be commit ae7e3c9708a16fe70acf609d9a9370a9e3f2ab37)
2007-10-10r23585: Add a "drop" function to "net conf" that clears theMichael Adam1-0/+81
whole configuration stored in registry. Michael (This used to be commit 6d8973762ef2773ec64ed790f900253120e00d38)
2007-10-10r23563: Add dump-event-list command to smbcontrol.Günther Deschner1-0/+17
Guenther (This used to be commit 0d956a8e45cd4421cddb8e077e1960dafac3a4d0)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2-3/+7
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r23549: Make "net conf setparm" always use registry data type "sz".Michael Adam1-7/+4
This simplifies the usage of this command from "net conf setparm <section> <param> <type> <value>" to "net conf setparm <section> <param> <value>". Micheal (This used to be commit 41a8f8ec5f5361f536d047c4ca5d90203b16ff06)
2007-10-10r23543: Adjust comments.Michael Adam1-13/+3
(This used to be commit ec22c30581f0809b6a008982abceb97b4f9cd12e)
2007-10-10r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam1-18/+11
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-10r23474: Here's a small patch that disables the libkrb5.so replay cacheGerald Carter1-1/+1
when verifying a ticket from winbindd_pam.c. I've found during multiple, fast, automated SSH logins (such as from a cron script) that the replay cache in MIT's krb5 lib will occasionally fail the krb5_rd_req() as a replay attack. There seems to be a small window during which the MIT krb5 libs could reproduce identical time stamps for ctime and cusec in the authenticator since Unix systems only give back milli-seconds rather than the micro-seconds needed by the authenticator. Checked against MIT 1.5.1. Have not researched how Heimdal does it. My thinking is that if someone can spoof the KDC and TDS services we are pretty hopeless anyways. (This used to be commit cbd33da9f78373e29729325bbab1ae9040712b11)
2007-10-10r23410: Merge the core of the cluster code.Volker Lendecke1-0/+7
I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker (This used to be commit 15553d6327a3aecdd2b0b94a3656d04bf4106323)