summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
1999-11-18set "key does not exist" response to reg_query_val() (win32 status codeLuke Leighton1-3/+25
of 0x2). [p.s. getting REALLY bored of this nt5rc2->samba domain stuff]. (This used to be commit a8801942f72b2394a54e4a46546029fac70efeed)
1999-11-16added two new params: "trusted domains" and "trusting domains".Luke Leighton1-0/+23
these _may_ not actually ever get used, as trust relationships really need to be established with shared secrets, and you need to get the SID of the trusted and trusting domains, so this may have to go in a private/xxx.mac file. (This used to be commit 71f12138679251a9ebcada35969d9baea286a3e9)
1999-11-15added server-side samr enum domains. fixed some parsing issues, server-side.Luke Leighton1-0/+11
(This used to be commit 60b0840106a6f5c283a8339428f3cfeb62398355)
1999-11-12split array-handling functions into separate module.Luke Leighton2-224/+248
(This used to be commit cc2ce2b755b12cb3d97522aaee69b93309571abc)
1999-11-08preparation for doing a spoolss enum jobs command. had to rewriteLuke Leighton1-2/+83
spoolss_enumjobs parsing code to do read / writes not just writes. (This used to be commit bc659a09f9103eee9616279e27fafacf89dcd9b9)
1999-11-08const feeding frenzyLuke Leighton1-1/+1
(This used to be commit e0eb390ab3e2a0cce191e78ea4ff90d088a8895c)
1999-11-08const feeding frenzyLuke Leighton1-5/+5
(This used to be commit 6d27c5f32dab7607398ae907eadb1c27a416da0d)
1999-11-06added rpcclient spoolenum command. enumerates printers.Luke Leighton1-12/+82
spoolss_r_io_enumprinters doesn't decode strings correctly as printer_info_1/2 code has only been written to write structures, not read them. (This used to be commit 135eaa977385cdd5f572a51f654f14d893347d7b)
1999-11-04samuserset <username> -p password. YESSSSS :)Luke Leighton1-6/+16
you have to use "ntlmv1" at the moment (i.e set client ntlmv2 = no). (This used to be commit f52504c553becc64b89d546a57b1bd9cf1bc5b5c)
1999-11-03had to move unistr2_dup(), unistr2_free() and unistr2_copy() intoLuke Leighton1-0/+34
util_unistr.c in order to get bin/testparm to compile. (This used to be commit e718ce9c4a3598483e38b8c32bdf2924593edc1e)
1999-11-03three types of array-creation / array-deletion functions:Luke Leighton1-31/+36
char* UNISTR2* SID* decided to create a higher-order function set, add_item_to_array() free_item_array(). higher-order support routines needed to add a new type: type* item_dup(const type*) void item_free(type*) of course, strdup() and free() are perfect, pre-existing examples of such functions, used in the implementation of add_chars_to_array() and free_char_array(). sid_dup() and free() work for the add_sids_to_array() and free_sid_array() implementations. use unistr2_dup() and created unistr2_free() because the functionality behind these may change into something horrible, like [horror] dynamic memory allocation of the UNISTR2 character array. argh!!!! jean-francois, this function set implements what we talked about over... a year ago, now :-) (This used to be commit a80ea2eb47d298095eb6e5b0455309daa3a631cb)
1999-11-01rewrote rpcclient enumaliases command.Luke Leighton2-1/+36
(This used to be commit 492fdaaf2009e7d7e840323357a333fdf9c4d2e1)
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)