summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2008-04-15net conf: adapt output of NULL share params in net conf list.Michael Adam1-2/+7
don't list NULL share name and don't indent these parameters Michael (This used to be commit 0212b38913945ce3c8b14734804d81f1cd315621)
2008-04-15net conf: simplify logic in test output of net conf import.Michael Adam1-9/+5
Michael (This used to be commit 367c8b133b2f3e73155f20f689602909eef9827b)
2008-04-15net conf: fix output of out-of-share parameters in test mode importMichael Adam1-4/+12
Michael (This used to be commit 5424e07e7d3e842488cba7ae389124f01221c5ba)
2008-04-14libnetjoin/net: Fix lp_config_backend_is_registry() handling.Günther Deschner1-6/+12
Thanks obnox, now we can net ads join and net ads leave with zero configuration changes if "config backend = registry". Guenther (This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)
2008-04-14net: abort when lp_realm is not set in net_ads_leave().Günther Deschner1-0/+5
Guenther (This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)
2008-04-14net: exit early in net_ads_join() if the domain is not set.Günther Deschner1-0/+6
Guenther (This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)
2008-04-14net: use WERROR for check_ads_config().Günther Deschner1-9/+7
Guenther (This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)
2008-04-14net: the success of secrets_init is checked by libnetjoin now.Günther Deschner1-6/+0
Guenther (This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
2008-04-13net conf: use the new smbconf_init() dispatcher instead of explicit backend ↵Michael Adam1-2/+9
init. Michael (This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)
2008-04-13libsmbconf: remove the bool verbatim parameter from txt backend init function.Michael Adam1-1/+1
Always be verbatim for now. Backend config options may be added later via some private data pointer. Michael (This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
2008-04-13Fix the build of eventlogadm.Günther Deschner1-1/+1
Guenther (This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)
2008-04-13net registry: remove superfluous regdb_close().Michael Adam1-2/+0
Michael (This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)
2008-04-13registry: change registry_init_basic() to return WERROR instead of boolMichael Adam1-1/+1
Michael (This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
2008-04-11net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher1-19/+27
metze (This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)
2008-04-11Cleanup size_t return values in convert_string_allocateTim Prouty1-4/+3
This patch is the first iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
2008-04-10objectclass -> objectClassKarolin Seeger1-3/+3
Karolin (This used to be commit b865b8a79afd8f3b43bb3adcdcbcbca623dc76a2)
2008-04-10net conf: use talloc and talloc_strdup_lower throughout all net conf functions.Michael Adam1-17/+59
Michael (This used to be commit 977cc9898970a0c07c30264e91754740c640e235)
2008-04-10net conf: implement "net conf delincludes".Michael Adam1-0/+40
usage: "net conf delincludes <servicename>" This is equivalent to "net conf setincludes <servicename>" (without further arguments). Michael (This used to be commit a1d09f34ec39b614d738c6f795fe8eafaf634105)
2008-04-10net conf: implement a "net conf setincludes" command.Michael Adam1-0/+50
given zero or more filenames as command line parameters Michael (This used to be commit ab51e4d44c3dcd00697c8ffb2ce628c4072c7a53)
2008-04-10net conf: implement "net conf getincludes".Michael Adam1-0/+47
Michael (This used to be commit 30bc48623cf4f9ee17ff9c3e7a9fd98840a01d92)
2008-04-10net conf: add diagnostic message for failure to load text file.Michael Adam1-0/+2
Michael (This used to be commit 8f2c3efa679d44acc900fb90f03319e830a7dcf4)
2008-04-10net conf: reduce indentation by grouping testmode code together.Michael Adam1-39/+37
Michael (This used to be commit 97f9cb857532328999589062ceb0b229bcaf93a3)
2008-04-10net conf: don't drop config in testmodeMichael Adam1-3/+5
Michael (This used to be commit 74e87b977514df79e49613a0b1c5157469b3cb93)
2008-04-10net conf: fix import to correctly add includes (at the end)Michael Adam1-6/+34
Michael (This used to be commit 3e81db83707e30ad46a565c9a118e7293b6cdf50)
2008-04-10libsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().Michael Adam1-1/+1
Michael (This used to be commit b9e72b402de412c23702715ead96c20e9b3248cc)
2008-04-09net rpc registry: add getvalue command.Michael Adam1-0/+100
This is the same as already implemented for "net registry". usage: net rpc registry getvalue <key> <valuename> Michael (This used to be commit ba59383437aed9058a58bdeedcf61a0076a94924)
2008-04-09net registry: add a getvalue subcommand that prints a single given value.Michael Adam1-0/+41
usage: "net registry getvalue <keyname> <valuename>" Michael (This used to be commit 77f049943e133986dc47d25fff2415def1cec32f)
2008-04-09net (registry util): refactor printing of value without name out.Michael Adam4-7/+14
This renames print_registry_value() to print_registry_value_with_name(). The new function is called print_registry_value(). Michael (This used to be commit 88c4851ad7240bc4f72a5ef92e21629e6a4c99c6)
2008-04-09Fix typos.Karolin Seeger1-1/+1
Karolin (This used to be commit 6cee34703503fbf3629057345fe221b866560648)
2008-04-09Fix parameters string for rpc_trustdom_add_internals().Günther Deschner1-2/+4
Guenther (This used to be commit e161bb64a8348ecf7929dbc04d5923d8bd3542ad)
2008-04-08Fix lsa_TrustedDomainInfo callers.Günther Deschner1-7/+3
Guenther (This used to be commit e0eae3901750c7b76560bbab9a86f24a64d42c8b)
2008-04-08Move is_valid_policy_hnd() out of net.Günther Deschner1-7/+0
Guenther (This used to be commit aae4d91e726ef8dcad173cdd1d6f719d94462948)
2008-04-06net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and ↵Stefan Metzmacher1-51/+47
wbcGetGroups() metze (This used to be commit 31375c02631cb3f37a8bbd4ea17d3ef69c4d07bf)
2008-04-06net_rpc: let get_user_tokens() use wbcListUsers()Stefan Metzmacher1-38/+22
metze (This used to be commit 4f712452e911db1f0aa74e3ccd636c1a18bdf9ef)
2008-04-06Remove external refs to winbindd_fdVolker Lendecke1-2/+0
(This used to be commit 18bf2b2028e64403a79b7cc06d3185a3e526d97d)
2008-04-04net_rpc_registry: return available error code on failure in deletevalue.Michael Adam1-1/+1
Michael (This used to be commit 0dc9840cefb08b2732d294eb45508ce687ded324)
2008-04-04net_rpc_registry: consistently return error upon wrong use.Michael Adam1-5/+5
Michael (This used to be commit 26e3d71cd0b2d1bb31c50627ea71267328d52448)
2008-04-04net: change split_hive_key() to properly allocate subkeynameMichael Adam4-6/+11
instead of returning a pointer into another string. Michael (This used to be commit 68d08ecf92be3444b759300237b2b7cf5238d022)
2008-04-04net_rpc_registry: use split_hive_key to normalize hive befor open.Michael Adam1-28/+39
THis allows to specify keys in the form "HKLM/Software/samba", i.e. "/" instead of "\\". Michael (This used to be commit 61d09caef340d2fee303e429f6f25d011cb3023c)
2008-04-04net_rpc_registry: use utility function print_registry_value().Michael Adam1-30/+1
Michael (This used to be commit 3d039b518f04b9dd3c87b9af2ec816e049554e27)
2008-04-04net_rpc_registy: use function print_registry_keyMichael Adam1-5/+2
Michael (This used to be commit cc1da3ee2c369181efa6d150c966571d0aff0728)
2008-04-04net_registry: split utility function of common interest out into util module.Michael Adam3-87/+150
Michael (This used to be commit 3bf890783fadd245c59280173627a6caca2dbefe)
2008-04-02Fix "net rpc trustdom establish" for win2k8 trusts.Günther Deschner1-14/+52
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails with some exotic RAP failure. Let's just try a netlogon getdcname call in that case to convince ourselve we're talking to a proper machine. Rafael, looks ok? Guenther (This used to be commit b12edbeffee1f7d1fd971cde9189e5137ddeb35b)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner2-3/+3
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-04-01Fix SRVSVC NetShareInfo level 502 client-side.Günther Deschner1-2/+2
Guenther (This used to be commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
2008-03-29Fix a segfault (an uninitialized variable)Volker Lendecke1-3/+3
(This used to be commit 75eb30884a83266fd7331d8f1e3905a0245bb3d8)
2008-03-29Zero initial return_authenticator in net rpc samdump.Günther Deschner1-0/+2
Guenther (This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-28net: add a "net registry" subcommand to locally access the registry.Michael Adam2-0/+531
The interface is like that of net rpc registry. Access is direct local access to the registry tdb through reg_api. Michael (This used to be commit 3250068eb980bd0489f814f702401cdc9c925a8d)
2008-03-28Fix blob used in pull_netr_AcctLockStr().Günther Deschner1-1/+1
Thanks metze. Guenther (This used to be commit 565a30ac3208d89de617b28f4553911484033253)
2008-03-27Re-add support for display and vampire of account policies in "net".Günther Deschner1-25/+78
Guenther (This used to be commit c61499ce02355f5969fa0475ed6e3c278995ecdb)