summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
1999-10-30NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1-0/+23
(This used to be commit 37f4aac06fec3fbb34ed40d1010829b2e1f28558)
1999-10-30general, drastic improvements to rpcclient.Luke Leighton1-0/+18
added samgroup <groupname> command added samgroupmem <groupname> command added proper registry key completion added sam command user-completion (e.g samuser [tab]) added sam command group-completion (e.g samgroup [tab]) (This used to be commit bc5d021916a2f070c62011870a80b3b2707aff3b)
1999-10-29rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1-2/+2
(This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)
1999-10-29added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supportedLuke Leighton1-1/+9
in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test. (This used to be commit b0aa933ef4c0b58840430cf3b3cb3cbeb5c7f704)
1999-10-25- typecast malloc / Realloc issues.Luke Leighton7-17/+37
- signed / unsigned issues. (This used to be commit c8fd555179314baf1672a23db34dc8ad9f2d02bf)
1999-10-21the dynamic memory alloc blood-fest goes on...Luke Leighton1-1/+1
(This used to be commit 134b20e2a7b5ddfa4cc9bf100de5025c7b98f594)
1999-10-21turning some of the rpcclient functions dynamic. this is likely toLuke Leighton1-0/+16
break a few things... (This used to be commit 4b06f303235d36903b6e9f55ee45b987d98256b0)
1999-10-07- added rudimentary CAP_UNICODE support because i thought it was part ofLuke Leighton2-3/+4
a problem i was having. - added rudimentary CAP_STATUS32 support for same reason. - added hard-coded, copy-the-same-data-from-over-the-wire version of CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate GSSAPI which encodes SPNEGO which is used to negotiate Kerberos or NTLMSSP. i have implemented NTLMSSP which negotiates NTLMv1 or NTLMv2 and 40-bit or 128-bit etc. i have implemented NTLMv1 / 40-bit. *whew*. (This used to be commit e5b80bd2f76fda70e41e4a9007eb035dab92ed8e)
1999-09-08bertl <bs@niggard.org> patch for making samba listen on port 445, just likeLuke Leighton1-0/+3
nt 5 does. cool! (This used to be commit 727e1421b2c0f8c72c428776593498103304082b)
1999-08-18patch from michael glauche to add session enum code into smbd.Luke Leighton1-8/+75
(This used to be commit e90e38c66d51dc1808f716c016299b1604636ce9)
1999-08-18debug info display (netbios layer).Luke Leighton1-1/+11
(This used to be commit 5c974cc4a4cdcb9fd3fe01e93aa577b81cf2d18b)
1999-08-18added back test to exclude unused connections.Luke Leighton1-1/+3
(This used to be commit 6218d986c7cc9d8789b340adf1ca9a07ddc18a9a)
1999-08-18use read() instead of fread() as fread() fails on redhat 6.Luke Leighton1-14/+24
(This used to be commit b1025d499ba81233634daf78c3345b9620f9b3a6)
1999-08-17patch from Michael Glauche to list connections from STATUS..LCK.Luke Leighton1-0/+81
(This used to be commit 91a66dd5c3a551691fbf91e782cb6ff16dfea37b)
1999-08-03reverted jeremy's c++-like security descriptor modifications as theLuke Leighton1-20/+0
simplest method to get rpcclient's reggetsec command working. the buffers passed as arguments in do_reg_get_key_sec() do need to be locally allocated not dynamically allocated, as two calls to reg_get_key_sec() are needed. on the first, the server fills in the size of the security descriptor buffer needed. on the second, the server fills in the security descriptor buffer. (This used to be commit b2d9cbef6f65bb696df8d8f49aa0c240e0bb1f50)
1999-07-26Jean-Francois spotted bug in use of file_modified() routine submittedLuke Leighton1-1/+1
recently. (This used to be commit 717af2d55d4f964c0449a1e502b6e77d1c3f3f30)
1999-07-21BDC support.Luke Leighton4-2/+40
(This used to be commit 2331aa32ab36c3ee5fd8cfbe972e57299939e33d)
1999-07-16check to see if copy_passwd_struct() ever receives its own internalLuke Leighton1-0/+7
buffer as an argument :-) :-) (This used to be commit 0d1f5e5a6d1cbceda3be3d5626842116e6e91809)
1999-07-14code from bertl to allow remap of default built-in names to anything.Luke Leighton3-48/+262
parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at> (This used to be commit 80d36778432d42eb265ed9428f27a27250ba5e08)
1999-07-13renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()Luke Leighton1-8/+7
as they are generic "file line-by-line" reading routines. lines with "#" at the front are ignored (as comments). this code started out as the password file reading code. (This used to be commit ef6df590fdf65a6d94b343998bac3a4d48ae07e0)
1999-07-08allow safe_strcpy() to pass 0 for max length of string, resulting in noLuke Leighton1-0/+5
effect. (This used to be commit 47e54d049a4de3c2154b1e5edc3234b88bcc065f)
1999-07-07use of dos_mkdir() in generate_sam_sid() should be unix mkdirLuke Leighton1-1/+1
(This used to be commit 16371d8fe130f89bedebc63fdc4bf0f6f993f309)
1999-07-07added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()Luke Leighton1-1/+1
(This used to be commit baab30815238a803badeafa1ed8f029d7782242f)
1999-07-06using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam().Luke Leighton2-114/+20
made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper around it, too. TODO: replace all calls of getpwnam() with sys_getpwnam(). (This used to be commit 436a89145524d3539b3a247f98c1e71f0616dd70)
1999-07-06added jeremy's sys_getpwnam() and sys_getpwuid() routines from 2_0 tree.Luke Leighton1-0/+57
(This used to be commit df756f37230bcc47ef6a2067b6ddd8a0e2a125d1)
1999-07-06patch from michael stockman <pgmtekn-micke@algonet.se> to provide a staticLuke Leighton1-15/+25
struct passwd in _Get_Pwnam(). _Get_Pwnam() is responsible for malloc/ freeing the string pointers to this struct passwd, NOT the callers of _Get_Pwnam(). (This used to be commit 41f071642dce994335e0ef180fa2d2503e216393)
1999-06-29improving authentication code (tidyup).Luke Leighton2-5/+6
(This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
1999-06-24#ifdef'd out hashed_getpwnam.Luke Leighton1-0/+4
(This used to be commit 1d2557cc27b146aa88f70d4b973fd2178f90718b)
1999-06-13Moved code that changes the pw_passwd entry (i.e shadow password andTim Potter3-8/+90
weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug. Note that the Get_Pwnam() function now returns a const struct passwd * as a hint to other developers not to change entries in the struct passwd. (This used to be commit 36d7cb4ccc42268e8e6a7b783c945d1853624958)
1999-05-07had to move day display names into lib/util, to get rpctorture to compile.Luke Leighton1-0/+2
(This used to be commit 8c80742e4e5604bc667314e51c47924efd65df49)
1999-05-06clean-up of cache-getpw-hash code needed (make proto showed up loadsLuke Leighton1-12/+13
of functions that should be static). (This used to be commit 06fce76e535f151ff819210faf39dd77b9fcae08)
1999-05-06Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hackLuke Leighton2-14/+271
(This used to be commit 899fc053c50448db65092d9f25fea99433cfb29f)
1999-04-30md5 and hmac_md5Luke Leighton2-0/+434
(This used to be commit 5777c1fb12edca8e57e9d5911428f70db2cf9a62)
1999-04-28use /dev/urandom not /dev/random in head branch.Andrew Tridgell1-6/+9
also got rid of /tmp time based random source. I saw a system with a huge number of files in /tmp and logging in was taking a _long_ time. (This used to be commit d48e452915ab92ba431ca8b40838a6bb8ed31640)
1999-04-12Fix compile warning in nametouid().Tim Potter1-1/+1
(This used to be commit deb6dfb4e0c975a93a7bb3f93265c678eb35bd76)
1999-04-08Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. AMatthew Chapman1-2/+3
BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. (This used to be commit 7ef76320b79b3ca4e04dcf809ac6388b6c47a3d8)
1999-04-04#ifdef'ed out functions obsoleted by VFS:Tim Potter1-4/+14
dos_opendir dos_readdirname dos_file_exist Added warning comments to dos_mkdir() as it's used in client code. (This used to be commit 666afcdf1d794959ea0de75205bb8024c95753b8)
1999-03-25* client/client.c (dir_total): use SMB_BIG_UINTAlexandre Oliva1-2/+26
* client/clitar.c (ttarf): ditto * * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's patch <cloyce@headgear.org> (This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
1999-03-25SAM database "set user info".Luke Leighton1-2/+19
---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers. (This used to be commit 2e58ed742435befe419aa366c4052019fede8c23)
1999-03-23Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent halfMatthew Chapman1-4/+4
an hour tracking it down in HEAD so I'm going to commit it here as well. (This used to be commit 9a482aedb2c4eb7439e2edc092642d315d2a595b)
1999-03-19Beau Kuiper: provided patch so that passwords could only be changed byLuke Leighton1-0/+2
root if the ACB_PWLOCK bit is set (on a per-user basis). he also added an extra smbpasswd option so that this bit can be modified from command-line. (This used to be commit 534fe319d9de8da2ed7e911dbba3c7df08193efa)
1999-03-12Stefan Walter: spotted *p_group == NULL which should be p_group == ↵Luke Leighton1-2/+14
NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL. (This used to be commit 81b5304fe5ea518680b2516e2da39f31c1d05afb)
1999-03-09mods to allow inter-domain trust accounts to be added to SAM databaseLuke Leighton1-30/+36
using smbpasswd command. (This used to be commit 62d499f83256c6e8b3308dc4bd8e9f5df873b14b)
1999-02-23added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1-0/+20
(This used to be commit ec1b7000fd88c5a08e438c7033f60e49b9ec44a8)
1999-02-16bitmap to stringsLuke Leighton1-0/+70
(This used to be commit ba5919bcaefa792bae503c7ab19d4b7bbf9bb954)
1999-02-15Always null-terminate strings.Matthew Chapman1-16/+33
(This used to be commit b314430b2102e47529b093b1b98b5b6f3b6ea74f)
1999-02-12const cast issues. [p.s - tidy work, matt!]Luke Leighton1-16/+31
(This used to be commit dad5baef194b18c674c0d908a0e0714c0a1aefa4)
1999-02-12UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1-196/+114
No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size). (This used to be commit a1d39af1ce1d451b811dbd7c2ba391214851b87e)
1999-02-11UNICODE issues.Luke Leighton1-7/+7
(This used to be commit 6a437cfb33f24913e0c1f8484c0b08ef317e513b)
1999-02-11the UNICODE issue...Luke Leighton1-1/+27
(This used to be commit 73db80f34183324845407b00f58462ff2d7b47ea)