summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2003-02-27- Rename 'modules = ' to 'preload modules = 'Jelmer Vernooij2-2/+7
- Add smb_probe_module() - Add init_modules() - Call these functions (This used to be commit f8f21653225792c0001d183c6efe8b7d89a0785d)
2003-02-25Fix compiler warning.Tim Potter1-1/+1
(This used to be commit 0308f24ad209a28799b36d041be2dc2be2b2dac8)
2003-02-25For some reason some attributes in ADS do not appear (and are not available)Andrew Bartlett1-1/+63
in general searches, but only if searching for the DN only. In my case, it was the tokenGroups attribute that caused me trouble, hence this patch. Andrew Bartlett (This used to be commit 8a0cc4c2beb5d6ad7e44bf47bf0f9ec4a3ffdb96)
2003-02-24Whenever we have a password, use the in-memory ccache. This fixes a bug whereAndrew Bartlett1-2/+3
we were overwriting the user's ccache with the machine password (the -P option). Andrew Bartlett (This used to be commit 231d2f84ef36b30be98baf3b56ebf4a5cd8dad11)
2003-02-22Add staticAndrew Bartlett1-7/+7
(This used to be commit d0365f20c242bcfc4f5d8286c6c5654e310a9d45)
2003-02-22With assuptions about unixsam gone, we can forget about looking upAndrew Bartlett1-4/+1
the user a second time now. Andrew Bartlett (This used to be commit a1e27a02f52315df0dd05ab8a94ae5a2bf398655)
2003-02-21Fixed another compiler warning.Tim Potter1-1/+1
(This used to be commit d15b7425d408f17505c4f3a91ec68bcfc4472c16)
2003-02-20Added Volkers "print server role" patch.Jeremy Allison1-0/+22
Jeremy. (This used to be commit e81d72ac221023ded9e0932be7dd303ad5280665)
2003-02-18Add -V option (to print out version) to utilities where possibleJelmer Vernooij3-0/+3
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-16Add the 'session key' output of the NTLMSSP exchange to the cli struct, soAndrew Bartlett1-7/+1
it can be used for 'net rpc join'. Also fix a bug in our server-side NTLMSSP code - a client without any domain trust links to us may calculate the NTLMv2 response with "" as the domain. Andrew Bartlett (This used to be commit ddaa42423bc952e59b95362f5f5aa7cca10d1ad4)
2003-02-16Recover much of my changes to editreg.c. Add some const and start codingRichard Sharpe1-8/+203
the regedit file parser etc. (This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett1-2/+14
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-07Revert Flag testing upon abartlet's request ;-)Volker Lendecke1-3/+5
Volker (This used to be commit e8f751fe84cbd20934116d5213f9bb1850aa9dfa)
2003-02-06Make account flags editable with pdbedit.Volker Lendecke1-4/+22
Volker (This used to be commit 597c50550955c5bdc0c646d5b751d377b40f3485)
2003-02-03Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)
2003-02-01Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett1-1/+7
blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett (This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-1/+1
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
2003-01-30The REQ_DEBUGLEVEL message returns a string not a list of integers.Tim Potter1-4/+1
(This used to be commit 08050a93d9c5b2276c4eaf933974607cf11a1876)
2003-01-29Make the vampire code use just pdb calls - allowing better operation on systemsAndrew Bartlett1-22/+15
that are not configured with an add user script, and have an _nua backend for storage. We really need to get the PDB backends out of the IDMAP game... Andrew Bartlett (This used to be commit dceb7820d71ce624de60ce8f729d5d3711b64152)
2003-01-29Use new interface for cli_samr_query_dispinfo().Tim Potter1-2/+9
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)
2003-01-21Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough1-2/+3
other progs. (This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
2003-01-21Deleted arguments to help output - they didn't work.Tim Potter1-1/+1
(This used to be commit 8b167a45a6ae041cd35dbf2a25d7a300f86440a2)
2003-01-17the 'static' keyword here is useless as we are not declaring aAndrew Tridgell1-1/+1
variable or function (This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)
2003-01-16Fix an error where the SK Offset was truncated to 16 bits. Variables neededRichard Sharpe1-1/+1
to be unsigned int (DWORD) not unsigned int (WORD). (This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)
2003-01-16Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett1-29/+150
of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-15* removed unused variable from rpcclient codeGerald Carter4-8/+11
* added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
2003-01-14add help text for 'net ads lookup'Andrew Tridgell1-0/+2
(This used to be commit 2a642a1169a3c09988daa9623dcb4f21b0a2ad1f)
2003-01-13Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett1-1/+2
name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett (This used to be commit 71f4d8efd36351ddb2180103c160a6d737da62b1)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett2-4/+4
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-08Some fixes to editreg. Clientgen should not be touched, and an update to ↵Richard Sharpe1-3/+0
configure that Herb needs. (This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
2003-01-07Fix memory leak. Thanks, Herb!Volker Lendecke1-0/+1
Volker (This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)
2003-01-07this makes it compile, but I'm not sure if it is correct. Are we reallyHerb Lewis1-1/+1
testing a pointer value to be equal to 0x19 ??? (This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
2003-01-07Create a machine account correctly if the unix account exists.Volker Lendecke1-4/+14
With this, my test for W2kSP3 join after pdbedit -a -m works fine. Volker (This used to be commit c9d0c5254c7d4ddb343f405652c609a0128e60f9)
2003-01-07'index' is the name of a libc function. Rename to 'ndx' to avoid compilerTim Potter1-4/+4
warnings. (This used to be commit 431ac28b5b7ea688ec342b5834c25eca059e7a16)
2003-01-02WITH_SENDFILE #ifdef merged from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit 5023aec5ada4a0d84878440ed67411b6a6b97ca2)
2003-01-02Add a dash of static.Andrew Bartlett1-3/+3
(This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5)
2003-01-02BIG patch...Andrew Bartlett15-86/+83
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-30fix also net rpc shutdownSimo Sorce1-10/+1
sorry (This used to be commit 1eff36ff2fd20ff1844800acefb31972ad865527)
2002-12-28Revert by Simo's request. HEAD and 3.0 should be in sync forJeremy Allison1-10/+2
this except for the modules load. Jeremy. (This used to be commit c7c3afbd0de8bd8797f91d350368a2419fcede0e)
2002-12-28Patch for coredump with missing arg from "Bradley W. Langhorst" ↵Jeremy Allison1-1/+8
<brad@langhorst.com> Jeremy. (This used to be commit 5914c38a54fcfdb007352b152dc2206708d59af6)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison6-13/+51
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-17Start adding code to allow the in memory version of the registry treeRichard Sharpe1-23/+168
structure to be manipulated. Keys can be partially deleted now. (This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)
2002-12-16fix usage messageGerald Carter1-2/+3
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)
2002-12-16We now read in the whole of the registry, including security bits.Richard Sharpe1-13/+21
Still have to make sure that the datastructure is correct, though. Then on to writing it out and editing/changing keys, values and sec_descriptors (This used to be commit 8686b551cd0158a72c1ba4dfea6af5d0d7049210)
2002-12-15Fix fnum leak under error condition in cacl_dump.Tim Potter1-6/+13
(This used to be commit ab337572b82a0b40b56f055cdbb2f5864ef10c87)
2002-12-15All the code for reading in the registy is done, but I have a malloc'dRichard Sharpe1-21/+83
area overrun somewhere :-( (This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)
2002-12-15Almost finished processing the registry encoded SEC DESC ...Richard Sharpe1-1/+102
Soon to move onto writing these things out. (This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)
2002-12-14More code to read in and create security descriptor entries ...Richard Sharpe1-28/+121
(This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)
2002-12-13Begin to handle Security descriptors for keys.Richard Sharpe1-0/+95
(This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)