summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23407: While verifying a bug I found out that for some reasonSimo Sorce1-17/+14
the code to add a machine was different then the one used to add a user, the old code led to the machine SID not being built out correctly allocationg a new RID out of the passdb but instead by using the old algorithmic method. This may easily end up in creating duplicated SID when the RID counter get close to the values built by the algorithmic method. Simo. (This used to be commit e077142aa39ad927a16e0d04874857bbc171ce07)
2007-10-10r23379: Whitespace cosmetics, to reduce irritating diffs...Michael Adam1-1/+1
Michael (This used to be commit df30f8d5c2999590aabe1e87f92fbdbafa7052aa)
2007-10-10r23323: merged ldb changes from 3.0.26Andrew Tridgell2-1/+3
(This used to be commit 7c9a5c2a3f012a06e9550dc0de7df460c2fd943b)
2007-10-10r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter1-10/+10
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r23223: Convert a leftover direct tdb access to sessionid.tdbVolker Lendecke1-12/+13
(This used to be commit 201c8952a812fe0c9be95a71fbc55c12ba8daa55)
2007-10-10r23207: merge net help test fix from SAMBA_3_0_26Gerald Carter1-0/+1
(This used to be commit dbee1088bb06a4ccb440d372102eb5c105cc4294)
2007-10-10r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzrVolker Lendecke1-0/+30
branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd. (This used to be commit 7e39d77c1f90d9025cab08918385d140e20ca25b)
2007-10-10r23195: Add void *private_data to brl_forallVolker Lendecke1-2/+3
(This used to be commit c91b2bdc160d76bf0b0770fe7f92cbc7124d6c3c)
2007-10-10r23183: Check in a change made by Tridge:Volker Lendecke1-6/+23
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)
2007-10-10r23171: Convert connections.tdb to dbwrapVolker Lendecke3-6/+7
(This used to be commit 80a1f43825063bbbda896175d99700ede5a4757a)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke1-36/+28
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r23010: Make the output of "smbcontrol --help" match that of "smbcontrol help".James Peach1-5/+30
Bug #3181. (This used to be commit 94b0997ef1bd993587dfeef4e0a8d366c5371e9f)
2007-10-10r23009: Both contains a strchr_m(server,'/') few lines after replacing all / ↵James Peach2-10/+4
with \. This patch removes this dead code. Patch from Pascal Terjan <pterjan@mandriva.com> for bug #2313. (This used to be commit 04b84baef344206d97776e04a25f4bd214eea28f)
2007-10-10r23005: If we're running on a system where time_t is 8 bytesJeremy Allison1-2/+2
we have to take care to preserve the "special" values for Windows of 0x80000000 and 0x7FFFFFFF when casting between time_t and uint32. Add conversion functions (and use them). Jeremy. (This used to be commit 4e1a0b2549f7c11326deed2801de19564af0f16a)
2007-10-10r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy1-2/+6
smb4k uses 'net rap server domain' to list servers in domain. Previously we just ignored all arguments in net_rap_server() but now we don't as 'net rap server name' has added an explicit check on arguments. Allow 'net rap server domain' to aid smb4k. Any other arguments will cause help message. (This used to be commit 8f78b6ce3a635110ba7afe32f3536097d51cb4fc)
2007-10-10r22954: More messaging_registerVolker Lendecke1-6/+0
(This used to be commit 9b8df24107ffe3016031e5257c5680689f061886)
2007-10-10r22934: Change smbcontrol to use messaging_register instead of message_registerVolker Lendecke1-23/+35
(This used to be commit e3d985c581ffc597aea932858d27c421643d2868)
2007-10-10r22932: Use the same symbol in sizeof and cast for talloc.Michael Adam1-1/+1
(This used to be commit 550498e68db9305e31da38dbc9c642961418a8b0)
2007-10-10r22911: Pass a messaging_context to message_send_allVolker Lendecke1-1/+1
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
2007-10-10r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke1-3/+0
(This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)
2007-10-10r22906: Some more message_send_pidVolker Lendecke1-33/+46
(This used to be commit 8abf9f396375b42d838e992b3a4e40e68e550ab2)