summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893.Tim Potter1-1/+1
(This used to be commit 26539ddd7290860831e0bda62e1126945420b06f)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2-4/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r8564: Sometimes we're too dumb to live... Fix samr calls where we wereJeremy Allison1-5/+5
using USER_INFO_XX structs and functions where XX was sometimes in hex and sometimes in decimal. Now it's all in decimal (should be no functionality change). Jeremy. (This used to be commit 84651aca04cbcbf50ab2e78333cc9d9e49dd92f5)
2007-10-10r8396: fix some compile warnings.Günther Deschner1-8/+11
Guenther (This used to be commit af1aa09cde91078496a29f3a73c69a65ca2c3f6a)
2007-10-10r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison1-31/+41
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10r8189: commit vampire ldif patch, mostly from Don Watson ↵Jim McDonough3-3/+1016
(dwatson@us.ibm.com). Yes, that's my copyright...that's just how we have to do things at big blue. Adds subcommand to vampire to allow data to be put into an ldif file instead of actually writing to the passdb. See "net rpc help vampire" for usage info. This should be added to docs as well. (This used to be commit cb5634a305256a70daa2fcbd85d9a5459b4aeaa3)
2007-10-10r7998: Fix usage messageVolker Lendecke1-1/+1
(This used to be commit 1e9a8854b1f3bd640096923dc79991654da7e845)
2007-10-10r7902: Fix the buildVolker Lendecke1-11/+11
(This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison7-23/+23
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r7876: Now that we have "net rpc share migrate security" completly remove theGünther Deschner1-6/+3
share-acl from "net rpc share migrate shares". God, how ugly does this syntax get. Guenther (This used to be commit 6f4d4acc868ee67f8434d904fa51c57d1b847135)
2007-10-10r7852: Correct fix from Lars for the argv issue.Jeremy Allison2-16/+12
Jeremy. (This used to be commit a667d9e474302e888a0cc009a342da471318928c)
2007-10-10r7849: Dodgy fix - we shouldn't be assuming argc++ points to a valid argv.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 5fbabaef8cab894c6d349b0535a06c2c9d1437db)
2007-10-10r7703: Fix the problem with MAP_PRIVATE not updating the file.Richard Sharpe1-1/+1
(This used to be commit 55038d931863a1c44794a7df4c8badbecfb382c7)
2007-10-10r7691: * add .gdbinit to the svn:ignore filesGerald Carter1-3/+0
* start adding write support to the Samba registry Flesh out the server implementations of RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue() I can create a new key using regedit.exe now but the 'New Key #1' key cannot be deleted yet. (This used to be commit e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1)
2007-10-10r7636: Docu for "net rpc share migrate security" is now valid.Günther Deschner1-2/+2
Guenther (This used to be commit a11bb4476c8607a497ed09d2411ee8ef3f458390)
2007-10-10r7632: Cleanup "net share migrate"-code.Günther Deschner1-122/+334
* Allow to copy share security descriptors to already existing shares separatly. * Added abstraction function to enum all or a single share info Guenther (This used to be commit 97097497ae42d7a03286bbe16bcffb8224137688)
2007-10-10r7609: Move top level dir handling in from of the loop. This makes the codeLars Müller3-27/+57
much straither. copy_top_level_perms() is jra's work. I modified the copy_top_level_perms() function to use the copy_clistate. And I don't forget trunk. Lars (This used to be commit 2c68568e5232c057d4f76f4bb044c54d18272602)
2007-10-10r7607: Some minor fixes (typos, const)Günther Deschner1-8/+5
Guenther (This used to be commit 11504681861c9c8b509589d6d22551202d98e390)
2007-10-10r7532: compile fix.Günther Deschner1-1/+1
Guenther (This used to be commit 1815e0745e4707f608a4803e67c7a3bd0c0b844a)
2007-10-10r7512: Fix net share migrate files to also migrate the ACLs of the top levelLars Müller3-80/+122
dir of a share. Till now we excluded '.' and '..' in general. For the fix the information about top or lower level dir is stored in the copy_clistate. src and dst share are now also part of this struct and we only pass a pointer to the struct to the functions. This bug was found by Bill Calero of Novell. Thanks Bill! With this checkin no new functionality was added. But the copy_clistate already knows about a mode. Later beside the migrate an additional report mode will be added. This changes are coordinated with Günther <gd>. Lars (This used to be commit 506aaefa3716c7683eef9afe0d1bb5b6e2533c4b)
2007-10-10r7511: Add three new command line switches to testparm:Lars Müller1-1/+40
--show-all-parameters Enumerates all available parameters, grouped in to sections [local] and [global] by the class of the parameter. Each line is formated name=type[,enum values],flags --parameter-name Display the setting of the named parameter. The global section is assumed if no other is set with --section-name --section-name Limit the view of testparm to the named section. Use 'global' to only view the settings of the global section. This fixes bug #2767. Lars (This used to be commit a1b82624d739b1066c356dd4b689233f3c36814e)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter3-11/+60
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r7391: - Added client-support for various lsa_query_trust_dom_info-calls and aGünther Deschner1-10/+199
rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther (This used to be commit 512585293963a1737f831af697ea1dc092d63cb0)
2007-10-10r7143: removing unused fileGerald Carter1-0/+0
(This used to be commit 8c3886515683735c7449e409f8aa2ee9e6ac14fb)
2007-10-10r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter3-4156/+7
version to 3.0.20pre1 (This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)
2007-10-10r7130: remove 'winbind enable local accounts' code from the 3.0 treeGerald Carter1-7/+1
(This used to be commit 318c3db4cb1c85be40b2f812f781bcf5f1da5c19)
2007-10-10r6995: * fixing segfault when writing out registry values of zero lengthGerald Carter1-12/+8
* add RegSaveKey() client function * add 'net rpc registry save' subcommand (This used to be commit f35e0a0a8d8df5c39e61ebd34c4aecbc5c9bb635)
2007-10-10r6943: missed in last syncGerald Carter1-1/+3
(This used to be commit 3002aa22505d4604f7919bf7207477e737372404)
2007-10-10r6942: * merging the registry changes back to the 3.0 treeGerald Carter2-66/+495
* removing the testprns tool (This used to be commit 81ffb0dbbbd244623507880c323a3c37e2b8dc4d)
2007-10-10r6940: fixing debug messagesGerald Carter1-3/+3
(This used to be commit 81c1ac255ebf0adf3bdb96b077a34dcfab1812cf)
2007-10-10r6900: Fix bug 2725. Thanks, John, for finding it.Volker Lendecke1-1/+3
Volker (This used to be commit 913c06ad3e752f2b185faa411d90a2f7aaf42291)
2007-10-10r6880: Fix bug 2070 after positive feedback from Leon Vernikov. Thanks!Volker Lendecke1-8/+16
Volker (This used to be commit f25da82ffd8cdaf9ba773352b6f35d5390ee4aad)
2007-10-10r6834: Fix bug #2703, found by John Antonishek <ant@nist.gov>. Add NULLJeremy Allison1-6/+8
guard for disp_fields[0]. Jeremy. (This used to be commit ee45f4b17e4131a9e0779046c49b24d1e35256d8)
2007-10-10r6823: Add deletion confirmation / error message.John Terpstra1-0/+5
(This used to be commit 11804521f9cf8cdfb8c1526ea81dfb8a2c16c194)
2007-10-10r6820: Remove claim that password can be set with account creation (RPC).John Terpstra1-1/+1
(This used to be commit 2529d615a6fcd09e494b445ee7a4acec78005ac2)
2007-10-10r6769: Fix bugzilla #2538 and #2527. Unused variables found by Jason Mader.Tim Potter1-2/+1
(This used to be commit 68b1c1f533e5c91634f5da21659c8e5793cb77f7)
2007-10-10r6706: * fix bug that prevented smbclient from creating directoriesGerald Carter1-3/+1
on non-dfs paths * add patch from James Peach to remove use of uninitialized variables (This used to be commit c71f20f1ae5ccfd49cf81af0299c96fe27351222)
2007-10-10r6640: Attempt to fix 'make everything' with the paranoid malloc checker.Volker Lendecke1-0/+5
Volker (This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
2007-10-10r6601: fixing query and set alias info calls (level 1 from theGerald Carter1-4/+3
MMC manage computer plugin. (This used to be commit c43c1ec80cb52569ccabcdf95e4004386ecb29d6)
2007-10-10r6488: net rpc printer migrate should not try to set stuff that's not there. ↵Volker Lendecke1-16/+28
This fixes two segfaults. Thanks to Karolin Segger <ks@sernet.de> to find the bug and test the patch. Volker (This used to be commit 5fa5454218acf9975578dee1386d530f09ac7339)
2007-10-10r6450: * fix typo in htlm_auth help messageGerald Carter1-2/+2
* add synonym for idmap_rid in better lining with other idmap backend names * remove old debug messages when idmap {uid|gid} options are not defined (This used to be commit 03ebf3ebfe83897d8c18e57ed378154d1377874b)
2007-10-10r6277: This implements a new caching API for enumerating the pdb elements. It isVolker Lendecke1-48/+24
modeled after query_displayinfo and should hide the differences between users, groups and aliases while allowing a cache analog load_sampw_entries: struct pdb_search *pdb_search_users(uint16 acct_flags); struct pdb_search *pdb_search_groups(void); struct pdb_search *pdb_search_aliases(const DOM_SID *sid); uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx, uint32 max_entries, struct samr_displayentry **result); void pdb_search_destroy(struct pdb_search *search); Why this API? Eventually we will need to apply the work gd has started on enumerating users with paged ldap searches to groups and aliases. Before doing that I want to clean up the search routines we have. The sample application (more to follow) is 'net maxrid'. Volker (This used to be commit 8b4f67a1e9d459145cde10b1064781d58d62b805)
2007-10-10r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not ↵Volker Lendecke1-7/+11
gone mad, this is to test future changes to enumeration functions... This can successfully list users from nt4 and w2k3sp1. Volker (This used to be commit c73f2656fd89e227a8a3e2ab20f7393ff2c515c7)
2007-10-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke2-16/+0
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10r6261: Tidyup message str printf. Ensure tvs struct is zeroed.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6c9f227ef400f32def85268f411691b569d29889)
2007-10-10r6256: Fix fprintf errors in smbpasswd. Fix for bug #2585 Ulf Härnhammar ↵Jeremy Allison1-3/+3
<metaur@telia.com> Jeremy. (This used to be commit 3dfa6c40fc726ddf38d4cfc6e0604ceed0035d18)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis1-1/+1
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman3-4/+5
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman3-3/+3
"qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated. (This used to be commit 5b19ede88ed80318e392f8017f4573fbb2ecbe0f)
2007-10-10r6080: Port some of the non-critical changes from HEAD to 3_0. The main one ↵Volker Lendecke1-10/+42
is the change in pdb_enum_alias_memberships to match samr.idl a bit closer. Volker (This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)