summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2005-03-313-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.
* r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman2005-03-303-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.
* r6080: Port some of the non-critical changes from HEAD to 3_0. The main one ↵Volker Lendecke2005-03-271-10/+42
| | | | | | | | is the change in pdb_enum_alias_memberships to match samr.idl a bit closer. Volker
* r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )Gerald Carter2005-03-261-13/+37
| | | | | | * add some backwards compatibility to 'net rpc rights list' * verify privilege name in 'net rpc rights privileges <name>' in order to give back better error messages.
* r6051: finish off Gerald Carter2005-03-251-9/+289
| | | | | | | net rpc service stop net rpc service start net rpc service pause net rpc service resume
* r6046: $ net -S block -U % -W VALE rpc service status spoolerGerald Carter2005-03-241-2/+98
| | | | | | | | | | | | | | spooler service is SVCCTL_RUNNING. Configuration details: Service Type = 0x110 Start Type = 0x2 Error Control = 0x1 Tag ID = 0x0 Executable Path = C:\WINNT\system32\spoolsv.exe Load Order Group = SpoolerGroup Dependencies = RPCSS/ Start Name = LocalSystem Display Name = Print Spooler
* r6041: cleaning up output from 'rpc service list'Gerald Carter2005-03-241-1/+1
|
* r6040: finish out 'net rpc service list'Gerald Carter2005-03-241-3/+24
|
* r6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to ↵Gerald Carter2005-03-241-63/+3
| | | | 'net rpc service'
* r6038: adding more flesh to 'net rpc service'Gerald Carter2005-03-241-34/+72
| | | | | | open and close the service control manager. Also experimenting with ideas for cli_xxx() interface.
* r6029: adding files necessary to support 'net rpc service' functions; will ↵Gerald Carter2005-03-242-0/+155
| | | | fill in tomorrow
* r5971: Check for the correct cli-struct when copying files.Günther Deschner2005-03-221-1/+1
| | | | | | Good catch from Lars Mueller <lmuelle@suse.de>. Guenther
* r5955: BUG 2517: use the realm from smb.conf for 'net ads info' when ↵Gerald Carter2005-03-221-1/+6
| | | | 'disable netbios = yes'
* r5954: Fix some compiler warnings and add missing exclude-block in "net rpcGünther Deschner2005-03-221-7/+16
| | | | | | share migrate" (found by Lars Mueller <lmuelle@suse.de>). Guenther
* r5918: Fix typo.John Terpstra2005-03-211-1/+1
|
* r5912: - Enhance net rpc rights utilitySimo Sorce2005-03-201-23/+131
| | | | | | | - Make it possible to list users that are given a specific privilege - Make the lisitng interface a bit more usable by distinguishing between "keys" and "names", using user names directly still supported for backward compatibility
* r5910: Partial fix for bug 2438. I'll leave the debug message in place, that ↵Volker Lendecke2005-03-201-36/+16
| | | | | | | | | | | fix is a bit more effort. The real fix for this would be to open an schannel netlogon connection to the remote DC and change the trust account password... Volker
* r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.Tim Potter2005-03-202-2/+2
|
* r5888: fix incorrect test - don't print anything if user is not in any groupsHerb Lewis2005-03-181-4/+1
|
* r5862: And some more constVolker Lendecke2005-03-171-1/+1
|
* r5790: Added ability to set account description.John Terpstra2005-03-151-2/+8
|
* r5776: Fix typo (found by lieschen).Günther Deschner2005-03-121-1/+1
| | | | Guenther
* r5653: Fixiing typos.John Terpstra2005-03-041-1/+1
|
* r5650: add help lines for net rpc group addmem and delmem commandsHerb Lewis2005-03-031-0/+2
| | | | | partial fix for Bug 2417 - we need to look for other missing commands
* r5614: fix proto for copy_fn() after changes to cli_list()Gerald Carter2005-03-021-1/+1
|
* r5594: Fix comment to read "remove" instead of "add"Jim McDonough2005-02-281-1/+1
|
* r5591: Implement "net rpc trustdom del", including client side of Jim McDonough2005-02-281-5/+114
| | | | samr_remove_sid_from_foreign_domain.
* r5580: Fix "net rpc trustdom add". Much closer to what windows does. Also stopJim McDonough2005-02-261-10/+24
| | | | | referencing unknown_6 from sam, because it's just fixed at 1260, the max len of LOGON_HRS. Need to go in and mark it as "remove me" from passdb.
* r5547: Fix compile warning.Günther Deschner2005-02-241-1/+1
| | | | Guenther
* r5546: Fix some comments in "net rpc printer migrate settings"Günther Deschner2005-02-241-14/+5
| | | | Guenther
* r5541: Fix crash bug in the client-spoolss enumdataex-call.Günther Deschner2005-02-241-1/+1
| | | | | | | With Windows2003 it's perfectly legal to receive no data when querying a value-less subkey. Found while migrating printer settings. Guenther
* r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 ↵Volker Lendecke2005-02-201-2/+2
| | | | | | | | | | rejects everything but 1000 here, so there's no point in exposing that to the caller. Thanks, Volker
* r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter2005-02-191-1/+1
| | | | trunction of service names
* r5349: After talking with Jerry, reverted the addition of account policies toGünther Deschner2005-02-122-44/+16
| | | | | | passdb in 3_0 (they are still in trunk). Guenther
* r5318: Fix a small problem in where we ignore the response from a ↵Richard Sharpe2005-02-102-16/+21
| | | | | | | | | SamrGetGroupsForUser that says the user is in 0 groups, and we issue an RPC to LookupIds for 0 RIDs. The printing that there are no groups the user is a member of might be overkill in that it might upset existing scripts that don't expect that output.
* r5316: Get 'net afskey' into a subcommand of its own, 'net afs key'.Volker Lendecke2005-02-102-5/+43
| | | | | | | Implement 'net afs impersonate', generate a token for a specified user. You obviously need to be root for this operation. Volker
* r5269: BUG 858: fix order of popt args evalution so we don't crash when ↵Gerald Carter2005-02-071-2/+2
| | | | given no command line args
* r5264: Log with loglevel 0 when account-administration scripts fail.Günther Deschner2005-02-071-1/+1
| | | | Guenther
* r5234: Do not use the "Local Unix Group"-default description for all kinds ofGünther Deschner2005-02-041-2/+16
| | | | | | group-mappings. Guenther
* r5203: additional changes for BUG 2291 to restrict who can join a BDC and ↵Gerald Carter2005-02-031-1/+1
| | | | add domain trusts
* r5176: Warn the user that print command is ignored when using cups librariesSimo Sorce2005-02-021-0/+7
|
* r5046: mark 'winbind enable local accounts' and testprns as depcrecatedGerald Carter2005-01-271-0/+3
|
* r4972: Fix a warning and some debugging-outputs.Günther Deschner2005-01-253-6/+6
| | | | Guenther
* r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).Günther Deschner2005-01-222-16/+44
| | | | | | | | Does automated migration from account_policy.tdb v1 and v2 and offers a pdbedit-Migration interface. Jerry, please feel free to revert that if you have other plans. Guenther
* r4921: Typo.Jeremy Allison2005-01-221-2/+2
|
* r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.Jeremy Allison2005-01-221-2/+2
| | | | | Added text explaining units in pdbedit time fields. Jeremy.
* r4877: When vampiring account policy AP_LOCK_ACCOUNT_DURATION honour "LockoutGünther Deschner2005-01-201-1/+4
| | | | | | Duration: Forever". Guenther
* r4868: Add "net rpc user RENAME"-command.Günther Deschner2005-01-202-0/+131
| | | | | | Note that Samba3 does not yet support it server-side. Guenther
* r4850: Fix remaining pdb_setsampwent-calls. Günther Deschner2005-01-191-3/+2
| | | | | | To get all entries use a 0 acb_mask. Guenther
* r4849: * finish SeAddUsers support in srv_samr_nt.cGerald Carter2005-01-192-13/+47
| | | | | | | | | * define some const SE_PRIV structure for use when you need a SE_PRIV* to a privilege * fix an annoying compiler warngin in smbfilter.c * translate SIDs to names in 'net rpc rights list accounts' * fix a seg fault in cli_lsa_enum_account_rights caused by me forgetting the precedence of * vs. []