summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* Spelling.Tim Potter2002-04-071-1/+1
| | | | (This used to be commit 423985ed569ac9692f3cb5872a15c74f983121b6)
* Use the new ads_do_search_all2 function. It provides sorted results. We nowJim McDonough2002-04-051-30/+18
| | | | | | also filter out users that end in '$', which gives us the same results as the net rpc user and net rap user. (This used to be commit e3a813831276ec2aafa0caa4f4fed0785dcdb749)
* Lots more net consistency work:Jim McDonough2002-04-055-117/+470
| | | | | | | | | - Added net_help.c for unified help when possible - Added net rpc user listing, delete, info commands - Unified net user command to autodetect ads/rpc/rap (try in that order) - Added generic routine for detecting rpc (protocol > PROTOCOL_NT1) - I'm sure I forgot something. (This used to be commit 9daa5788c822cf1ad20dc703e7f03b9ee82987bf)
* Multiple changes:Jim McDonough2002-04-041-11/+16
| | | | | | | | | | | - Get rid of improper "Invalid option: d (100)" message when setting debug from commandline. - Eliminate got_pass global and only use opt_password. This enables re-use of password that may have been enetered in failed ads connect. - Auto-detect method for net user command - use new net_ads_check rather than lp_security==ADS test on net join - Get rid of annoying debug level 0's (This used to be commit 1280968000595c28ed62d9e74acecfdc84e33710)
* Cleanups to make auto-detection of method on net user smoother.Jim McDonough2002-04-041-5/+10
| | | | (This used to be commit 84ab1042a65e3c41a76f4726914140d505ef4625)
* More updates for auto-detecting server connection method. Added net_ads_check()Jim McDonough2002-04-041-5/+38
| | | | | | | to make a connection (which stores the password in a global so it can be used by rpc or rap function if ads fails) and close it to verify if ads method should be used. (This used to be commit 093297a27db9834cf8aea34302246af8997d9c66)
* Add non-ads version of net_ads_help for build on non-ads machines.Jim McDonough2002-04-041-0/+6
| | | | (This used to be commit dd7c20e5331116fd8cf9656a0f2406957b812bbb)
* Correct error string function call to ads_errstr()Jim McDonough2002-04-041-3/+3
| | | | (This used to be commit d7317ca8da4b04804f4d01752cef56ec5a9c3418)
* Add ability to get specific net ads subcommand help. Not all have beenJim McDonough2002-04-041-1/+1
| | | | | implemented yet... (This used to be commit 24c6bf4e8b6d519340d5f9f3353ffc6b5f7520b3)
* Add net ads user subcommands: add delete info. Also make user listing formatJim McDonough2002-04-041-12/+169
| | | | | consistent with rap version. (This used to be commit f6eb7c0c7ec83a3674d56f0e222b900887327319)
* reorder useage message a little. -L is not a root-only or local mode option.Herb Lewis2002-04-031-7/+8
| | | | (This used to be commit 020d6fa2f780099d662de1a456838ec0ac4d3ca7)
* readd -c config file change from 2.2 - works with -L mode now as well.Herb Lewis2002-04-021-180/+178
| | | | (This used to be commit af4c3734b5d617352597b1b964745f5b0d334b2d)
* reverted Herbs smbpasswd commit as it completely broke setting aAndrew Tridgell2002-04-011-178/+181
| | | | | password (This used to be commit a5807d5784dc903f1ea38a9825240a505688b7be)
* merge from 2.2 - allow -c option to specify smb.conf fileHerb Lewis2002-03-301-181/+178
| | | | (This used to be commit fc15b56d29b4474032f4d9136313afee60e70cbf)
* Re-implemented net ads user and net ads group to use the newJim McDonough2002-03-292-22/+54
| | | | | | ads_process_results function. Also made sure net rap user and net ads user display the same thing, to make auto-transport-detection smoother. (This used to be commit 4cf42c07ec5deb14921fabfbd52a8a3345a730c9)
* added a shutdown command to smbcontrol.Jean-François Micouleau2002-03-291-0/+6
| | | | | | | have to add the server side now. J.F. (This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)
* merge from 2.2 - don't check local passdb if -r option usedHerb Lewis2002-03-271-1/+3
| | | | (This used to be commit 15df51e8def01009f2ec1e2d08c3129ac39dabdf)
* Join as a server trust account if the server role is either PDC or BDC.Andrew Bartlett2002-03-231-1/+1
| | | | (This used to be commit 0784ab67addb3422a2d17363b4c3328d2e4b1008)
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-2/+3
| | | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* There is no reason we can't join a domain with secuirty=user. In fact weAndrew Bartlett2002-03-211-5/+0
| | | | | | | need to when we are a BDC or a PDC doing a self-join. Andrew Bartlett (This used to be commit 996cd3a0979a92b087003982bc61796a8090a787)
* make net ads info work with -SAndrew Tridgell2002-03-211-4/+5
| | | | (This used to be commit 57645fd85b7789d7807a5ffb5b2572c6d5f9e3de)
* make "net ads user" and "net ads group" also use the new paged interfaceAndrew Tridgell2002-03-191-30/+16
| | | | (This used to be commit 98769f08e723c616a98a2f0c427e9b0e22b28be9)
* second step to gain free uid<->rid mappingSimo Sorce2002-03-191-0/+2
| | | | | we still need to free gid<->rid mapping and few other stuff (This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f)
* more verbose checking in talloc and util_pwSimo Sorce2002-03-181-9/+10
| | | | | | fixed tdbsam memory corruption (and segfault) reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules. (This used to be commit 9836af7cd623357feaec07bc49cfb78f0aa01fc3)
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-173-13/+13
| | | | (This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
* Fix build for non-ads caseJim McDonough2002-03-161-0/+5
| | | | (This used to be commit 7ba235c0fb4755092605743d575357602fd1ce05)
* Don't use // even temporarily, lest ye forget it and check it in...Jim McDonough2002-03-161-3/+3
| | | | (This used to be commit 936df31df5bad9d457d3775d11b4e96a58093282)
* Change new style join function name for clarity in net_rpc.cJim McDonough2002-03-151-1/+1
| | | | (This used to be commit 539d0cc03035c126e2de82523a07ed91997100b8)
* Change net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle ↵Jim McDonough2002-03-151-16/+17
| | | | | | subcommand \n\t3) try oldstyle first, then more secure method\n to allow for autodetect between ads and rpc on net join (This used to be commit c8a4a09b5648af2f1669a5a30acdf0a088077af9)
* Expose net_ads_join to allow for auto-transport-detection for net joinJim McDonough2002-03-151-1/+1
| | | | (This used to be commit 87ee4832312c9c65377500efd617bac086164834)
* Add autodetect for net join, as well as some more help updatesJim McDonough2002-03-151-1/+18
| | | | (This used to be commit 951006374e48d80a5128d870bdc255bf8c22cb6a)
* Some help cleanups. Formatting and consistency issues. Line up text ↵Jim McDonough2002-03-155-83/+108
| | | | | | nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that (This used to be commit 17775dae28c724b11cc73f2aeac5f07f9656046c)
* the SEC_DOMAIN tests also apply to SEC_ADSAndrew Tridgell2002-03-151-2/+2
| | | | (This used to be commit 775404fe46f72925fb302e149b6f96fab0dbfcb8)
* nicer output from "net rpc user add"Andrew Tridgell2002-03-151-0/+6
| | | | (This used to be commit a21ba95897531e7964c9e80a81cd5faa7394db77)
* Add paged search requests to net ads user and net ads group commands, ↵Jim McDonough2002-03-141-21/+32
| | | | | | allowing more than 1000 (or whatever the query limit is on the server) objects to be returned. Printers will come next. (This used to be commit 9c447920dfbae2e2d2343600401c1d860dad863b)
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
| | | | (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
* Yet another build fix for popt. I gotta get me one of these picky systems...Jim McDonough2002-03-121-1/+1
| | | | (This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)
* Another program converted to popt...smbstatus this time.Jim McDonough2002-03-111-30/+23
| | | | (This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
* try to use our workstation account password for ADS leaveAndrew Tridgell2002-03-101-4/+11
| | | | (This used to be commit 2a42e91397d7871d326abed0e99af297e71dd77e)
* Allow Samba to trust NT4 Domains.Andrew Bartlett2002-03-021-1/+3
| | | | | | | | | | | | | | | | | This commit builds on the auth subsystem to give Samba support for trusting NT4 domains. It is off by default, but is enabled by adding 'trustdomain' to the 'auth methods' smb.conf paramater. Tested against NT4 only - there are still some issues with the join code for Win2k servers (spnego stuff). The main work TODO involves enumerating the trusted domains (including the RPC calls to match), and getting winbind to run on the PDC correctly. Similarly, work remains on getting NT4 to trust Samba domains. Andrew Bartlett (This used to be commit ac8c24a9a888a3f916e8b40238b936e6ad743ef7)
* The beginning of trusted and trusting domain support fromAndrew Bartlett2002-03-012-15/+411
| | | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> This adds the 'net' tools to manipulate the trusted domains. Andrew Bartlett (This used to be commit 770c8a31d9804d3339ffa0de8b5072a5c7eb02df)
* Fixup the sending of printer change messages from job changes.Jeremy Allison2002-02-261-2/+8
| | | | | Jeremy. (This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
* dont strdup() possibly null values.Andrew Bartlett2002-02-161-1/+3
| | | | (This used to be commit 0511589088dc3e990f7b1a38a06489814c49ec1b)
* int -> uint32 fixes from andreasTim Potter2002-02-161-4/+4
| | | | (This used to be commit 84c811ca57f7e1b7d9ee498d95b3b21bea47eb5e)
* Subject:Andrew Bartlett2002-02-151-1/+1
| | | | | | | | | | | | | | | | [PATCH] net ads error Date: Fri, 15 Feb 2002 20:03:32 +0200 From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: samba-technical@samba.org Greetings! Attached patch fixes a problem with non-working 'net ads -Uuser%pass' in CVS HEAD. (This used to be commit a21a951ff9493a6e33e4ff8388a95facdeacf7b4)
* Make smbgroupedit a little easier on the user.Andrew Bartlett2002-02-031-15/+59
| | | | | | | | | | | | We now have error messages for most of the failure cases, and the 'sid' arguments for delete and change can now take the nt group name as a string. Also fix up all the internal functions to be static, keeping the namespace clean. Andrew Bartlett (This used to be commit f1687587010a2390b65bd5efa37cc199b67587f8)
* Add support for net ads printer to publish, remove, or display printer info ↵Jim McDonough2002-02-021-0/+167
| | | | | | in the directory. Only publishes required fields right now. (This used to be commit 1d326f8b7e68bcad6c35488f77b05c598ebaad5d)
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-2/+2
| | | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
* Initialise some SAM_ACCOUNT structs to NULL, and add some more error checking.Andrew Bartlett2002-01-311-6/+14
| | | | | Andrew Bartlett (This used to be commit f3f375dc6b7175d4dd4ce401815e5dfdd9747083)
* Removed version number from file header.Tim Potter2002-01-3021-32/+13
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)