summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-27Minor fix for net rpc samdump.Günther Deschner1-4/+5
Guenther (This used to be commit 2f5e25be276135e9cb4cc0c44ec573d466def66e)
2008-03-27net_conf: fix non-testmode import function.Michael Adam1-1/+11
Michael (This used to be commit cd17cc745a35db8ee158f59a5fff1f0f26cf9c6e)
2008-03-26net_conf: reformat - re-indent one function call.Michael Adam1-2/+5
Michael (This used to be commit 9ef9d4c4e77523d7f3cc5fdac199559896e585bd)
2008-03-26net_conf: add casts to avoid compiler warnings.Michael Adam1-6/+6
Michael (This used to be commit 1c6b9a0ac34c4a7b4e000300db8dffdbb09fe7da)
2008-03-26net_conf: rename "ctx" to "mem_ctx" for clarity.Michael Adam1-22/+22
There are also smbconf contexts arount... Michael (This used to be commit 5171df66eb54c9819b3b40045755f5e9b2cf36c2)
2008-03-26net_conf: use talloc_stackframe() instead of talloc_init().Michael Adam1-5/+5
Michael (This used to be commit ab4fd03705c61114742d8438dece69b9c37c3b38)
2008-03-26net_conf: fix import function by using the new text backend of smbconf.Michael Adam1-195/+59
Originally, lp_load() was used to import files to registry. This had several bugs. Most notably, options explicitly set to default values were silently dropped, and all parametric options were ignored. This new implementation reads config from the text backend and stuffs everything verbatim in to the registry backend. Michael (This used to be commit e41c6650f805eaf8bb009e34468dd2d311e52858)
2008-03-25Fix usage message for 'net idmap dump'.Karolin Seeger1-1/+1
Karolin (This used to be commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
2008-03-23Fix Coverity ID 479Volker Lendecke1-1/+1
(This used to be commit 70b33397ba6e18f40087fb642a1be62ee68d5f3a)
2008-03-23Fix Coverity ID 480Volker Lendecke1-1/+1
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
2008-03-21libsmbconf: add a "path" variable to the conf context.Michael Adam1-1/+1
This is passed to the module init routines. In case of the registry, this is the path of the basekey in registry, that is to be used, defaulting to KEY_SMBCONF (HKLM\software\samba\smbconf), when NULL is given. This is the only case currently used. In order to support other keys, registry initialization for smbconf has to be changed to support different keys. Michael (This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
2008-03-21libsmbconf: add backend specific init function.Michael Adam1-1/+1
Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam1-1/+1
Michael (This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
2008-03-21libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam1-1/+1
That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
2008-03-21libsmbconf: change the API to always take the smbconf_ctx parameter first.Michael Adam1-4/+4
..for consistency. Exception: the open/init function, where the smbconf_ctx is created from the given talloc context. Michael (This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)