summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-20Move svc_status_string() out of rpc_client/cli_svcctl.cGünther Deschner1-0/+37
Guenther (This used to be commit 2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb)
2008-03-20No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore.Günther Deschner1-34/+6
Guenther (This used to be commit b5291d477381521cd4b71674616f8c9899007002)
2008-03-19ntlm_auth: Improve compliance to the Squid helper protocolKai Blin1-31/+44
This fixes bug #4235. Patch from Pawel Worach <pawel.worach@gmail.com> with some linebreaks added by me. Also fix one BH message that the original patch didn't fix. (This used to be commit 098380760d20bad2a45c3b12ab2a5e4d2b856175)
2008-03-18Bind Group Policy processing closer to the samba registry.Günther Deschner1-37/+157
Guenther (This used to be commit e9c56250eb7a2dc4e69962c5b48875834941ccfc)
2008-03-18testparm: only check for %u und passwd program when passwd program is given.Michael Adam1-5/+10
Michael (This used to be commit af12b24c4f5e3b77d482a011b62a5a3e13be7d67)
2008-03-18testparm: correctly check for empty lp_passwd_prog().Michael Adam1-1/+3
Michael (This used to be commit 0567f506986746173d67172cb610c10bacf0ceb9)
2008-03-18testparm: fix irritating indentation.Michael Adam1-2/+1
Michael (This used to be commit a74f07243d80294167766dfc6bcad02a96afc079)
2008-03-18testparm: fix a segfault triggered by setting "unix password sync = yes".Michael Adam1-1/+0
(introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael (This used to be commit 46a021f27c60dc579c9193606997142f5cbeba9e)
2008-03-17Some simplificationsVolker Lendecke1-1/+1
(This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
2008-03-17Coverity fixesMarc VanHeyningen3-4/+13
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-17libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam1-48/+46
Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
2008-03-17In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRSTVolker Lendecke1-2/+2
This is needed to inform ctdb that it's not a persistent database, with the O_RDONLY the tdb backend ignores this. Merge from 491f902098d33f in 3-0-ctdb (This used to be commit 065938ccb7bb0052746267c433637f0e05b95d85)
2008-03-17Add "net idmap aclmapset"Volker Lendecke1-0/+65
This is a merge from 3-0-ctdb that goes along with 1daad835, the option nfs4:sidmap option (This used to be commit f5e26d28be6581149bed0b599c38b82d1a44444e)
2008-03-15Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit e12721f73db72b99aa0e4be35c51aa8636eb3f59)
2008-03-11The attached patch removes some global variables, and make them local to main().Charles1-8/+9
(This used to be commit 50cab87d3ee6d701dd8847f4e0a058f5e2d80e0f)