summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-10Use rpccli_srvsvc_NetFileEnum in net and rpcclient.Günther Deschner1-19/+27
Guenther (This used to be commit 348af272f7c0dc0cb316cc06780339dd13eafd0f)
2008-03-10Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.Günther Deschner1-182/+119
Guenther (This used to be commit 3b21ee37388627c47177f79c16f003da06e8fdd9)
2008-03-10Use rpccli_srvsvc_NetShareAdd in net.Günther Deschner1-11/+45
Guenther (This used to be commit 6686d97617cc0a630ea1ab1c30f741943f151db6)
2008-03-10Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".Günther Deschner1-24/+23
Guenther (This used to be commit 2ce76ce2bccefb4a072bed039a4837ae334dea55)
2008-03-10Use rpccli_srvsvc_NetShareEnumAll in smbtree.Günther Deschner1-15/+21
Guenther (This used to be commit 0cf761f604975930f38213233e4bbf48d7ae7283)
2008-03-09Fix return code.Charles1-1/+1
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)
2008-03-09smbget: Make global variables static.Charles1-6/+6
(This used to be commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d)
2008-03-07Use rpccli_srvsvc_NetShareDel in net.Günther Deschner1-4/+13
Guenther (This used to be commit 10d457152e8547646353f0f37f51ac92561505ef)
2008-03-07Enable libnetjoin debugging for now but avoid printing passwords.Günther Deschner1-2/+2
The gen_ndr needs proper fixing still. Guenther (This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
2008-03-05Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testJelmer Vernooij12-1538/+999
(This used to be commit 3482cd9b0e81bbc801f1cec33fca82fc45a3ddef)