summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2003-04-24groupmap delet should take a name or a SIDGerald Carter1-2/+13
(This used to be commit d9277bd06401cb040390739ae730c8991736c886)
2003-04-23More fun with Sun CC needing constant initializersAndrew Bartlett1-1/+1
(This used to be commit ce3dd8fd69231798185e3e3bb988775e5671e070)
2003-04-23Fix up non-constant initialisers for Sun's CC.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)
2003-04-23This const isn't quite vaild C.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit de96c1aaca9006696d61aa3d07151c0f74516e63)
2003-04-23allow the unix group in a mapping to be changed; doesn't work with LDAP ↵Gerald Carter1-1/+21
right now but should be ok with tdb's (This used to be commit fdacad185c4f78958d56bccbd69a0f2628f1b792)
2003-04-22don't reset the group type unless specifiedGerald Carter1-14/+8
(This used to be commit 541f40a144461ca139ac53837d3f31ce6972d18c)
2003-04-22default new groups to domain groupsGerald Carter1-3/+3
(This used to be commit 665d21b8656bf85f9b372b44ff1f4af414551e5a)
2003-04-22Fix up bugs in the new 'store sec_channel type' code - we were always joiningAndrew Bartlett2-6/+4
as a BDC. Andrew Bartlett (This used to be commit f35674e7552dcfece342e7bece10bbfb0e81cbf8)
2003-04-22support referencing group by sid in all operations; allow group name to be ↵Gerald Carter1-13/+60
changed (This used to be commit b6ccdb8f7b72eed4c4248db43fefa09b6f084852)
2003-04-22removing some ifdef'd out codeGerald Carter1-8/+0
(This used to be commit 43942398af7e7589fcf8534099eccf277f6e4295)
2003-04-21Fixup a few typos for Jerry.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 1e5fe87d75ef4bb9d6af787abc501dcf105c9c6c)
2003-04-21* fix segfault when no vfs objects definedGerald Carter1-5/+15
* add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)
2003-04-21Make it easier to select which domain to show the sid for.Andrew Bartlett1-2/+2
(This used to be commit 4c7efe25c3f2336938050086ffe5f4cfe462e6f6)
2003-04-21Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett6-58/+151
This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett (This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
2003-04-19Merging smbgroupedit into 'net groupmap'. Not entirely done.Gerald Carter3-0/+461
Need to check on where the privilege code is sitting and update the docs. Examples: root# bin/net help groupmap net groupmap add Create a new group mapping net groupmap modify Update a group mapping net groupmap delete Remove a group mapping net groupmap list List current group map # bin/net groupmap add Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>] # bin/net groupmap delete Usage: net groupmap delete name=<string|SID> # bin/net groupmap modify Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local> (This used to be commit f2fd0ab41ffbc0355db95529b6bda1b21aa4860a)
2003-04-17This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+2976
used to be commit a50dc3f836a898d1aef08afbd12e7221db24440a)
2003-04-17More updates ...Richard Sharpe1-2/+64
(This used to be commit 410451f9478ff1e73cabc8ee2213ded4f08315c6)
2003-04-17Updates to editreg.c to provide more functionality ...Richard Sharpe1-261/+1119
Hopefully more coming ... (This used to be commit 22d1819011de02351976bad778837a28ab45a449)
2003-04-16Fixes to make SCHANNEL work in 3.0 against a W2K DC. Still need to fixJeremy Allison1-0/+2
multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC. Jeremy. (This used to be commit ff66d4097088409205b6bad5124a78ef9946010d)
2003-04-16Check whether return status of poptGetNextOpt is -1, not EOFJelmer Vernooij1-1/+1
(This used to be commit 1fefb776eec94efc7ea1b760dc4b80f61d61a158)
2003-04-16Check for -1 not EOF as return value of poptGetNextOptJelmer Vernooij1-1/+1
(This used to be commit 84fba11ff0a649932e1f812408017ae4c5611083)
2003-04-16Fix segfault by getting this the right way aroundAndrew Bartlett1-1/+1
(This used to be commit 8ba6148c69031e9a82687d4d006e1fa7ada21e91)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett6-56/+151
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-15Use the new modules system for passdb (merge from HEAD)Jelmer Vernooij1-4/+4
(This used to be commit 1755d5f66221a910863cfc8a197f8d792e6b6e3d)
2003-04-14- Change ADS CHOSTPASS -> ADS CHANGETRUSTPWJelmer Vernooij3-6/+20
- Add general CHANGETRUSTPW function that calls ADS CHANGETRUSTPW or RPC CHANGETRUSTPW (Merged from HEAD) (This used to be commit f0982e1102276453d79e438ffb90c9fa305ff98b)
2003-04-14Add some more functions for the modules (backport from HEAD):Jelmer Vernooij1-0/+6
- init_modules() - smb_probe_module() (This used to be commit b3328dab2fa069af300b4076695bf6c359501111)
2003-04-14Change ADS CHOSTPASS to ADS CHANGETRUSTPW and add aJelmer Vernooij3-6/+20
general CHANGETRUSTPW that calls ADS CHANGETRUSTPW or RPC CHANGETRUSTPW depending on what we have. (This used to be commit 17d27db5c9d3511444fc2770d4452647284e8014)
2003-04-14Merge: remove unused variables.Tim Potter1-3/+0
(This used to be commit dfa9412da567d2477ee5b1e6ecdc96b8dea3c21d)
2003-04-14Remove unused variables.Tim Potter1-3/+0
(This used to be commit 26901af91eaa119df0e1192be95b514ecf26c6a6)
2003-04-14Merge of Jelmer's usage updates for net.Tim Potter4-5/+8
(This used to be commit 6a5b88c95b3fd17431cda79e9aa2a593fef85100)
2003-04-14Merge of bugfix for cli_lsa_query_info_policy() usage.Tim Potter1-5/+7
(This used to be commit ab64a0b1e7666b6612659b5720eda451c0ab4857)
2003-04-14Merge rewrite of smbcontrol.Tim Potter1-549/+572
(This used to be commit 30ac37efec0698998ada135655eac8933bd3647f)
2003-04-14Merge:Tim Potter6-337/+220
- Jelmer's latest popt changes (This used to be commit 6a54d9a0a77c71664dc6cdbed1adf492c28c0cce)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter3-170/+36
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-04-13Some small changes - typos, adding usage for some commandsJelmer Vernooij4-7/+7
and removing -j because it was not used at all. (This used to be commit e3e2c1b27128f7b5a1f4bbc8093c75b0c12549b4)
2003-04-13This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+545
used to be commit 381649916ecbaddefbb6ee0e6137b7cc73eb54b1)
2003-04-11smbcquota patch from metzeGerald Carter1-0/+545
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke1-10/+8
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing against platforms different from NT4SP6. Volker (This used to be commit eaef0d8aeff1aa5a067679be3f17e08d7434e1e8)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke1-10/+8
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-04-09Use fprintf(f, ...) instead of plain printf() - patch by Ronan WaideJelmer Vernooij1-2/+2
(This used to be commit 49926d706f9d24dbdd7a878e2362a27667175a5c)
2003-04-09Use fprintf(f, ...) instead of plain printf() - patch by Ronan WaideJelmer Vernooij1-2/+2
(This used to be commit 890cc17c41b3940dcb7d4c2a52ab292bca7d18be)
2003-04-09Rewrite of smbcontrol - it was a bit of a mess. It should now be muchTim Potter1-530/+573
nicer to use and more hackable. - converted to popt - text message destinations (except for broadcast smbd) are resolved using files in piddir so the string 'winbindd' is now a destination - added --timeout option to specify timeout value - deleted complicated handling of debug args as separate command line arguments: use shell quoting instead - deleted interactive mode as punishment for using strtok() (-: - much improved command line argument checking Some of this stuff was broken before I started (print notify, profiling) but the basics still work (ping, pool-usage, debug, debuglevel). (This used to be commit 269f838dee257ee9badcae190f2c70b898676bc5)
2003-04-07Merge the ntlm_auth updates (refactor, add --diagnostics) into Samba 3.0Andrew Bartlett1-121/+425
Andrew Bartlett (This used to be commit d711a1c95c92f5a89b43bf29bba8460b870d3b3a)
2003-04-07Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter1-21/+1
same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init(). (This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
2003-04-04Some more good stuff from coolo.Richard Sharpe1-61/+0
(This used to be commit 41b320ffc560117c0184999e30cc69723f40acbe)
2003-04-04Fix compiler warning - cli_lsa_query_info_policy actually returns theTim Potter1-3/+5
domain name. We were passing in an already initialised string which was causing the warning. (This used to be commit 18685d137e2db6e4e93c655f1c4a97116a36c02c)
2003-04-03Give warning if 'drvupgrade' doesn't get an argumentJelmer Vernooij1-0/+5
(This used to be commit 38d03f4f1a23963fbbb9046ac9f5ccfa5e3ee7b7)
2003-04-03Give warning if 'drvupgrade' doesn't get a parameterJelmer Vernooij1-0/+5
(This used to be commit 55d9ef08a7585f69466cd4c0b30ce33841d52b33)
2003-04-02Print out the 'freindly' error message from winbind. Also print usefulAndrew Bartlett1-4/+6
information into it re the privilaged pipe. Also clean up some bugs in winbindd_pam.c Andrew Bartlett (This used to be commit e73b01204a8625946ff0fb5f9fc99dd959eb801c)
2003-04-02Fix searching master ip by bcast when old master has gone away (based on ↵Jelmer Vernooij1-11/+18
patch by Stephan Kulow <coolo@kde.org>) (This used to be commit 5c0e4b4dc630bd304f53c37f2340f954190b7aef)