kai/samba.git
24 years agoadded HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supported
Luke Leighton [Fri, 29 Oct 1999 16:24:11 +0000 (16:24 +0000)]
added HKEY_CLASSES_ROOT MSRPC open call.  reg_open_hkcr etc.  supported
in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test.
(This used to be commit b0aa933ef4c0b58840430cf3b3cb3cbeb5c7f704)

24 years agousing higher-order-function in enum groups as a test. makes it really
Luke Leighton [Fri, 29 Oct 1999 16:19:17 +0000 (16:19 +0000)]
using higher-order-function in enum groups as a test.  makes it really
useful for doing things _other_ than just "print me".
(This used to be commit 229313de7dc734a6c77e9000e654b0c289053fa6)

24 years agocli_nt_setup_creds() returns uint32 NT status code not a BOOL.
Luke Leighton [Fri, 29 Oct 1999 15:53:18 +0000 (15:53 +0000)]
cli_nt_setup_creds() returns uint32 NT status code not a BOOL.

removed all comparisons to if (fn() == False), replaced with if (!fn()).
(This used to be commit fdef97eb7c20a33b26104661cd010baebcb4bdcd)

24 years agorestructuring sam enum dom groups code to do multiple calls to
Luke Leighton [Thu, 28 Oct 1999 20:34:28 +0000 (20:34 +0000)]
restructuring sam enum dom groups code to do multiple calls to
sam_enum_dom_groups.  enum dom aliases is still left to do (dom users
already done).
(This used to be commit 8d181924cedb7a2d34a0b40cee600494665fe923)

24 years agorestructuring samr client code.
Luke Leighton [Thu, 28 Oct 1999 20:02:29 +0000 (20:02 +0000)]
restructuring samr client code.
(This used to be commit a78607b5dbf0fca6a22ab41195f465474578ee39)

24 years agoremoved samr_* variables from info struct.
Luke Leighton [Thu, 28 Oct 1999 19:02:23 +0000 (19:02 +0000)]
removed samr_* variables from info struct.
(This used to be commit 4d5b860802528a9d74c2722dc996d6d8fd0b51ef)

24 years agorewrote samr enum groups code a bit.
Luke Leighton [Thu, 28 Oct 1999 17:52:12 +0000 (17:52 +0000)]
rewrote samr enum groups code a bit.
(This used to be commit 3f99ab77203da2eb80b7cedbda88cb03640d427b)

24 years agorewrote api_net_sam_logon() to be a little clearer.
Luke Leighton [Wed, 27 Oct 1999 17:20:55 +0000 (17:20 +0000)]
rewrote api_net_sam_logon() to be a little clearer.
(This used to be commit 3adc31083b5308e983e057c7b942242209d74f59)

24 years agono CLIX, no !HAVE_READLINE blah blah. argh.
Luke Leighton [Wed, 27 Oct 1999 16:58:35 +0000 (16:58 +0000)]
no CLIX, no !HAVE_READLINE blah blah.  argh.
(This used to be commit de69f3ef77f55f13e41b8f1e10d22b2746c4b105)

24 years agocreated samr_query_groupmem() function from existing code.
Luke Leighton [Tue, 26 Oct 1999 20:03:48 +0000 (20:03 +0000)]
created samr_query_groupmem() function from existing code.
(This used to be commit d2d5a853f8f34a0c3d5920540beb971a33f5276e)

24 years agoadding extra parameter back in to trust account functions (trust account name).
Luke Leighton [Tue, 26 Oct 1999 16:46:45 +0000 (16:46 +0000)]
adding extra parameter back in to trust account functions (trust account name).
restoring opening S-1-5-20 in sam enum users code.
(This used to be commit 1be877114e2e958c59e6516dacf22d3fb5a4240f)

24 years agocut/paste code from smbclient for wait_keyboard() function. oops.
Luke Leighton [Tue, 26 Oct 1999 14:27:46 +0000 (14:27 +0000)]
cut/paste code from smbclient for wait_keyboard() function.  oops.
(This used to be commit c25560ba43bd1b53d79456cbceab954aa3bb1dac)

24 years ago- typecast malloc / Realloc issues.
Luke Leighton [Mon, 25 Oct 1999 19:03:27 +0000 (19:03 +0000)]
- typecast malloc / Realloc issues.

- signed / unsigned issues.
(This used to be commit c8fd555179314baf1672a23db34dc8ad9f2d02bf)

24 years agosigned / unsigned and typecast issues
Luke Leighton [Mon, 25 Oct 1999 17:10:54 +0000 (17:10 +0000)]
signed / unsigned and typecast issues
(This used to be commit 6e22bf912cb981d91834c63098d41f5f8abaa594)

24 years agothe new CAP_EXTENDED_SECURITY code needed to support NTLMv2. also removed
Luke Leighton [Mon, 25 Oct 1999 16:23:42 +0000 (16:23 +0000)]
the new CAP_EXTENDED_SECURITY code needed to support NTLMv2.  also removed
switching on CAP_STATUS32 from non-CAP_EXTENDED_SECURITY code (enabled
for test purposes only)
(This used to be commit 96d8e14f50fda8047d209fa0b94b98a95ce51f21)

24 years agoone of those wonderful moments when running against a different MSRPC
Luke Leighton [Mon, 25 Oct 1999 16:22:08 +0000 (16:22 +0000)]
one of those wonderful moments when running against a different MSRPC
implementation (NT5) when you discover that your code is trash.
samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups()
all take a HANDLE for multiple-call enumeration purposes.
(This used to be commit 19490d8b4fb8a103f3df4e6104f6f22937b0c518)

24 years agothe dynamic memory alloc blood-fest goes on...
Luke Leighton [Thu, 21 Oct 1999 19:02:57 +0000 (19:02 +0000)]
the dynamic memory alloc blood-fest goes on...
(This used to be commit 134b20e2a7b5ddfa4cc9bf100de5025c7b98f594)

24 years agoturning some of the rpcclient functions dynamic. this is likely to
Luke Leighton [Thu, 21 Oct 1999 18:25:12 +0000 (18:25 +0000)]
turning some of the rpcclient functions dynamic.  this is likely to
break a few things...
(This used to be commit 4b06f303235d36903b6e9f55ee45b987d98256b0)

24 years agovarious. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.
Luke Leighton [Thu, 21 Oct 1999 16:53:50 +0000 (16:53 +0000)]
various.  debug levels changed.  nmbd doesn't need libsmb/clienttrust.c.
samr_lookup_rids() moved to a dynamic memory structure not a
static one limited to 32 RIDs.  cli_pipe.c reading wasn't checking
ERRmoredata when DOS error codes negotiated (this terminates
MSRPC code with prejudice).
(This used to be commit 8976eca2db43576c32069dcda017e8777048e007)

24 years agosplit modify_trust_account_password into a separate module.
Luke Leighton [Thu, 21 Oct 1999 15:38:59 +0000 (15:38 +0000)]
split modify_trust_account_password into a separate module.
(This used to be commit 479fc93bd03fb961dd1e8093a911cf0a3be7071f)

24 years agouse DEBUGADD instead of DEBUG: clears up some of the more verbose trash.
Luke Leighton [Thu, 21 Oct 1999 15:22:30 +0000 (15:22 +0000)]
use DEBUGADD instead of DEBUG: clears up some of the more verbose trash.
(This used to be commit 63431997eefb785d0c9fd357f6e58441b7e1733d)

24 years agoneed status codes from cli_net_req_chal() and cli_net_auth2().
Luke Leighton [Tue, 19 Oct 1999 19:55:43 +0000 (19:55 +0000)]
need status codes from cli_net_req_chal() and cli_net_auth2().
this format is what i would like _all_ these functions to be
(returning status codes, not BOOL) but that's a horrendous
amount of work at the moment :)
(This used to be commit 02f240604241367f146b26934ad1a1b2563430de)

24 years agooops, added wait_keyboard back, but _this_ time wrapped it with
Luke Leighton [Tue, 19 Oct 1999 19:54:01 +0000 (19:54 +0000)]
oops, added wait_keyboard back, but _this_ time wrapped it with
HAVE_READLINE
(This used to be commit af05710d0b1b73929dee42bb0424c63c48e358f5)

24 years agoinitialising enum dom users mem and account name ptrs to NULL.
Luke Leighton [Mon, 18 Oct 1999 16:26:55 +0000 (16:26 +0000)]
initialising enum dom users mem and account name ptrs to NULL.
(This used to be commit 6f933fb359e7efc7b685e537b95bdadd6e131727)

24 years agoBringing samba-2.1.x samba2.spec.tmpl file into line with samba-2.0.x release tree.
John Terpstra [Sun, 17 Oct 1999 17:40:49 +0000 (17:40 +0000)]
Bringing samba-2.1.x samba2.spec.tmpl file into line with samba-2.0.x release tree.
(This used to be commit 62593d39a5ba9f590989a4e40f7200d4af55b73d)

24 years agoadded prs_struct "error" member, set and checked when prs_struct
Luke Leighton [Fri, 15 Oct 1999 20:10:46 +0000 (20:10 +0000)]
added prs_struct "error" member, set and checked when prs_struct
data is handled.
(This used to be commit b4ba49c5c114764247802bd8b0a6dbc0a7f5c2a1)

24 years agoadding error checking in parsing code
Luke Leighton [Fri, 15 Oct 1999 20:00:30 +0000 (20:00 +0000)]
adding error checking in parsing code
(This used to be commit 4c98d71ebd3f1cdaef664d46c998c864af34632a)

24 years agorenamed "class" local variable to avoid global clash
Luke Leighton [Fri, 15 Oct 1999 19:23:48 +0000 (19:23 +0000)]
renamed "class" local variable to avoid global clash
(This used to be commit 134cb4cdff43192a3039a6cce23f331c80fd1990)

24 years agooops! srvinfo 2 command caught bug where strings in containers assumed
Luke Leighton [Fri, 15 Oct 1999 19:21:18 +0000 (19:21 +0000)]
oops!  srvinfo 2 command caught bug where strings in containers assumed
to exist.  not good!
(This used to be commit 2af635f8b7f346d49d778dd39acb6563156e77f1)

24 years agorenamed args due to global "class" variable
Luke Leighton [Fri, 15 Oct 1999 19:20:30 +0000 (19:20 +0000)]
renamed args due to global "class" variable
(This used to be commit 7b3666f01c743ddf599d432a5bcae4408ca73865)

24 years agoreturn results on prs_xxxxx() and all xxx_io_xxx() routines.
Luke Leighton [Fri, 15 Oct 1999 18:46:22 +0000 (18:46 +0000)]
return results on prs_xxxxx() and all xxx_io_xxx() routines.
the whole task is not complete, yet.  xxx_io_xxx() routines that
_call_ xxx_io_xxx() routines not done.

prs_xxxx() covered by macros.  considering doing xxx_io_xxxx in the same way.
(This used to be commit 3b583f7be51434af98bc52b48dfa42c4602a3094)

24 years agoremoved unused static wait_keyboard()
Luke Leighton [Fri, 15 Oct 1999 18:44:33 +0000 (18:44 +0000)]
removed unused static wait_keyboard()
(This used to be commit 8cb6163b068812340a6360241d0ee9372c3dbec2)

24 years agoAccording to params/loadparm.c, the "case sensitive", "casesignames",
Tim Potter [Fri, 15 Oct 1999 00:12:39 +0000 (00:12 +0000)]
According to params/loadparm.c, the "case sensitive", "casesignames",
and "short preserve case" name mangling parameters are local options
but the documentation says they are globals.
(This used to be commit 61d540715936be1c3cb17920023b0f35b228d329)

24 years agoconst issues
Luke Leighton [Thu, 14 Oct 1999 19:45:52 +0000 (19:45 +0000)]
const issues
(This used to be commit 858f79b362dce8aa06013533209bc982cb99d33d)

24 years agostop over-runs in reading / writing data stream.
Luke Leighton [Thu, 14 Oct 1999 19:21:23 +0000 (19:21 +0000)]
stop over-runs in reading / writing data stream.
(This used to be commit 144fd01f37bde420234ca474014b0f378d9f8975)

24 years agoadding CAP_EXTENDED_SECURITY support in a hurry last week. forgot to
Luke Leighton [Thu, 14 Oct 1999 18:49:24 +0000 (18:49 +0000)]
adding CAP_EXTENDED_SECURITY support in a hurry last week.  forgot to
deal with linking issues in other binaries
(This used to be commit 57f95a01988fb4035b2e4448f4fd3ef0d652c106)

24 years ago- added rudimentary CAP_UNICODE support because i thought it was part of
Luke Leighton [Thu, 7 Oct 1999 22:10:29 +0000 (22:10 +0000)]
- added rudimentary CAP_UNICODE support because i thought it was part of
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)

24 years agoDavid van Geyn spotted that ulong is not defined on FREEBSD, not supposed
Luke Leighton [Tue, 5 Oct 1999 21:35:17 +0000 (21:35 +0000)]
David van Geyn spotted that ulong is not defined on FREEBSD, not supposed
to use ulong use uint32 instead.
(This used to be commit 16dd94db1fd2ed8ed7d240c5aac5a481b64cd26d)

24 years agosplitting dom info into sam_query_dominfo function
Luke Leighton [Fri, 1 Oct 1999 18:44:33 +0000 (18:44 +0000)]
splitting dom info into sam_query_dominfo function
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)

24 years agopermissions on SamrConnect changed to 0x02000000 (maximum allowed)
Luke Leighton [Fri, 1 Oct 1999 18:27:29 +0000 (18:27 +0000)]
permissions on SamrConnect changed to 0x02000000 (maximum allowed)
(This used to be commit cbc646b1d8ce73d1d8167887cbfdab3cad4f11a4)

24 years agoerror-code checking in lsa_lookup_sids. anonymous connections for
Luke Leighton [Fri, 1 Oct 1999 18:11:57 +0000 (18:11 +0000)]
error-code checking in lsa_lookup_sids.  anonymous connections for
domain info.  adjusting net_srv_get_info function.
(This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)

24 years agomemory problems associated with when lsalookupsids returns
Luke Leighton [Tue, 28 Sep 1999 20:54:58 +0000 (20:54 +0000)]
memory problems associated with when lsalookupsids returns
NT_STATUS_NONE_MAPPED.
(This used to be commit 9a43a2551186de02b6cf06a5b84c9591a66c1817)

24 years agoadd description of -P option
Herb Lewis [Tue, 28 Sep 1999 15:10:38 +0000 (15:10 +0000)]
add description of -P option
(This used to be commit d3dd8cdc1210fa4523eeed3c1034b4da93410ee1)

24 years agodon't leak printer handles,
Jean-François Micouleau [Mon, 27 Sep 1999 13:12:55 +0000 (13:12 +0000)]
don't leak printer handles,
don't coredump when adding forms,
and a small non obvious memory leak in the rpc buffers

J.F.
(This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)

24 years agoDon't duplicate forms anymore, just update the definition.
Jean-François Micouleau [Sat, 25 Sep 1999 14:18:48 +0000 (14:18 +0000)]
Don't duplicate forms anymore, just update the definition.
Many memory leaks fixed.

J.F.
(This used to be commit f328ae8024584599324ae4263bb9fb89a358279f)

24 years agoCorrectly handle the dependent files in the printer_driver_info_3 struct
Jean-François Micouleau [Fri, 24 Sep 1999 14:45:21 +0000 (14:45 +0000)]
Correctly handle the dependent files in the printer_driver_info_3 struct

It means complex printer drivers should now download fine.

J.F.
(This used to be commit a893df5c00189d7e81efd619a4a4ee2bd8ead61f)

24 years agoAlan (alanh@pinacl.co.uk) found a nasty bug
Jean-François Micouleau [Fri, 24 Sep 1999 10:13:38 +0000 (10:13 +0000)]
Alan (alanh@pinacl.co.uk) found a nasty bug

J.F.
(This used to be commit 7dc7801c20d53caef09519231a65403e007344e6)

24 years agoWhoops ! Being over-paranoid is not good.
Jean-François Micouleau [Fri, 24 Sep 1999 07:28:46 +0000 (07:28 +0000)]
Whoops ! Being over-paranoid is not good.

J.F.
(This used to be commit 706acb17cffd8d6a84209dadb97916f0346cd174)

24 years agouse gecos field to fill the full_name
Jean-François Micouleau [Thu, 23 Sep 1999 15:59:20 +0000 (15:59 +0000)]
use gecos field to fill the full_name
don't overwrite backend values with defaults values.

J.F.
(This used to be commit a204a9adb84c41658def08cb75670995aec02baa)

24 years agoFixed an annoying bug in the LDAP code. Attributes not present in the
Matthew Chapman [Wed, 22 Sep 1999 04:32:19 +0000 (04:32 +0000)]
Fixed an annoying bug in the LDAP code. Attributes not present in the
LDAP database were being initialised using unix_to_nt_time on -1, rather
than -1 as an NTTIME (which is very different).

Problems solved (hopefully):
* "Access Denied" when accessing an NT share in a Samba controlled domain.
* "Your password has expired" sometimes when logging in.
(This used to be commit 740d8388cb6dfebb26681a45fd1b293383d08a6d)

24 years agosplit matthew's sync command (only currently called from smbpasswd)
Luke Leighton [Tue, 21 Sep 1999 21:28:27 +0000 (21:28 +0000)]
split matthew's sync command (only currently called from smbpasswd)
into a separate module
(This used to be commit d99eca020a255022dbc71f3671127343d75db59e)

24 years agotesting for attempts to get more info levels into samr_query_userinfo
Luke Leighton [Tue, 21 Sep 1999 21:04:03 +0000 (21:04 +0000)]
testing for attempts to get more info levels into samr_query_userinfo
(This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)

24 years agoreading in smb server domain name from SMBnegprot response
Luke Leighton [Thu, 16 Sep 1999 22:46:45 +0000 (22:46 +0000)]
reading in smb server domain name from SMBnegprot response
(This used to be commit 25025f450531c66c0fd9f7eed886cb288d76d025)

24 years ago#defines for port 445 to SMB_PORT2
Luke Leighton [Wed, 15 Sep 1999 17:30:02 +0000 (17:30 +0000)]
#defines for port 445 to SMB_PORT2
(This used to be commit a8d4560e0064a67a234eae89a564b79d2426d9a9)

24 years agouse DEBUGLEVEL not DEBUGLVL()
Luke Leighton [Wed, 15 Sep 1999 17:12:55 +0000 (17:12 +0000)]
use DEBUGLEVEL not DEBUGLVL()
(This used to be commit f9f8aa72a502f075615402ea7d58a8c0e2ff0638)

24 years agowow!!!! this one's been here for two years!!!! alignment issues
Luke Leighton [Tue, 14 Sep 1999 21:42:49 +0000 (21:42 +0000)]
wow!!!! this one's been here for two years!!!! alignment issues
in smb_io_dom_query() where the string name could mis-align!
added a call to prs_align() after the domain string name.
(This used to be commit 1d05d2c959f41fffb9a85d161b9b64c957ee90e7)

24 years agooops.
Luke Leighton [Tue, 14 Sep 1999 21:15:39 +0000 (21:15 +0000)]
oops.
(This used to be commit 5c551e63f22e341e1d7be547f7d14d24234ecf27)

24 years agoadded rpcclient SamrQueryDisplayInfo command "dispinfo"
Luke Leighton [Tue, 14 Sep 1999 21:04:02 +0000 (21:04 +0000)]
added rpcclient SamrQueryDisplayInfo command "dispinfo"
(This used to be commit 6c98d6c9aae64016bfe7727cfe12762967eb5a84)

24 years agorestructuring
Luke Leighton [Sun, 12 Sep 1999 23:59:09 +0000 (23:59 +0000)]
restructuring
(This used to be commit 9d74161a9204da90d3024c2a86d59fefd516ff07)

24 years agousing #define report
Luke Leighton [Sun, 12 Sep 1999 23:39:57 +0000 (23:39 +0000)]
using #define report
(This used to be commit 7fc2ee2f96b79e77039e141c2d2be9598465e5e6)

24 years ago- initialising mach_passwd_file locks to zero (prev. uninit.)
Luke Leighton [Sun, 12 Sep 1999 22:40:27 +0000 (22:40 +0000)]
- initialising mach_passwd_file locks to zero (prev. uninit.)

- cleanup

- #defined report to sprintf as it's #defined to another function in
  other uses of cmd_lsarpc.c
(This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)

24 years agooops, port 455 instead of 445
Luke Leighton [Fri, 10 Sep 1999 16:27:14 +0000 (16:27 +0000)]
oops, port 455 instead of 445
(This used to be commit 4e5eac18d0d9325c8e524fb53b4e049f0893fae7)

24 years agoallan hourihane sent log 100 in which showed that some really old code
Luke Leighton [Thu, 9 Sep 1999 18:15:08 +0000 (18:15 +0000)]
allan hourihane sent log 100 in which showed that some really old code
for lsa_close response was messing up.  fixed by calling lsa_io_r_close()
which i've been meaning to do for over eighteen months.
(This used to be commit f9a0ea09486b18a130ce1a1e5381ca61e0293c75)

24 years agobertl <bs@niggard.org> patch for making samba listen on port 445, just like
Luke Leighton [Wed, 8 Sep 1999 19:37:45 +0000 (19:37 +0000)]
bertl <bs@niggard.org> patch for making samba listen on port 445, just like
nt 5 does.  cool!
(This used to be commit 727e1421b2c0f8c72c428776593498103304082b)

24 years agomatthew chapman identified 4 previously unknown samr functions.
Luke Leighton [Tue, 31 Aug 1999 13:19:55 +0000 (13:19 +0000)]
matthew chapman identified 4 previously unknown samr functions.
(This used to be commit 001b53866c819045bc52330cad5746e1a2f7a4b1)

24 years agodebugged enumgroups -g option
Luke Leighton [Mon, 30 Aug 1999 17:15:59 +0000 (17:15 +0000)]
debugged enumgroups -g option
(This used to be commit 1cde47ba6a6409e0ae178ca9f44be2123bef0f9d)

24 years agoadded call to samr_query_groupinfo in enumgroups command (-m option)
Luke Leighton [Mon, 30 Aug 1999 17:07:53 +0000 (17:07 +0000)]
added call to samr_query_groupinfo in enumgroups command (-m option)
(This used to be commit e2a72e2c64d6aad37d0c0f94d36f4fdadd3bd6cc)

24 years agoimproved "dominfo" rpcclient command
Luke Leighton [Sun, 29 Aug 1999 16:36:21 +0000 (16:36 +0000)]
improved "dominfo" rpcclient command
(This used to be commit 65a54b6e16c40ec40727547593154b341d98fc83)

24 years agoadded experimental del_groupmem and del_aliasmem commands that were not
Luke Leighton [Sun, 29 Aug 1999 13:18:10 +0000 (13:18 +0000)]
added experimental del_groupmem and del_aliasmem commands that were not
being called from rpcclient.c

improved add_groupmem command, but cannot test it against nt non-pdc!
(This used to be commit 7a383a2a021be1f0297e177b2c89130f1b37d440)

24 years agoRemoving a stray return, probably inserted during debugging, which broke
Matthew Chapman [Mon, 23 Aug 1999 08:54:07 +0000 (08:54 +0000)]
Removing a stray return, probably inserted during debugging, which broke
NetrShareEnum. Be careful what you commit Luke...
(This used to be commit cc27dba003d2f2ebcf05d01a750d3ee9350b0eb7)

24 years agoDon't print out a message in svcenum command for the ERRmoredata
Tim Potter [Wed, 18 Aug 1999 23:51:02 +0000 (23:51 +0000)]
Don't print out a message in svcenum command for the ERRmoredata
error.
(This used to be commit 92ebd8f12ce4997e77eee22c3bb0c599daa44500)

24 years agopatch from michael glauche to add session enum code into smbd.
Luke Leighton [Wed, 18 Aug 1999 21:18:42 +0000 (21:18 +0000)]
patch from michael glauche to add session enum code into smbd.
(This used to be commit e90e38c66d51dc1808f716c016299b1604636ce9)

24 years agodisplay of session enum info
Luke Leighton [Wed, 18 Aug 1999 21:13:15 +0000 (21:13 +0000)]
display of session enum info
(This used to be commit e0713cf9332e562d1b41a794b8044e05aeb2b937)

24 years agoevent log update, netsessenum, netconnenum update.
Luke Leighton [Wed, 18 Aug 1999 20:33:49 +0000 (20:33 +0000)]
event log update, netsessenum, netconnenum update.
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)

24 years agoevent log update
Luke Leighton [Wed, 18 Aug 1999 20:11:29 +0000 (20:11 +0000)]
event log update
(This used to be commit bcc1212b07c71256fad93d82a996fa86b27db250)

24 years agodebug info display (netbios layer).
Luke Leighton [Wed, 18 Aug 1999 20:10:12 +0000 (20:10 +0000)]
debug info display (netbios layer).
(This used to be commit 5c974cc4a4cdcb9fd3fe01e93aa577b81cf2d18b)

24 years agoadded back test to exclude unused connections.
Luke Leighton [Wed, 18 Aug 1999 19:01:07 +0000 (19:01 +0000)]
added back test to exclude unused connections.
(This used to be commit 6218d986c7cc9d8789b340adf1ca9a07ddc18a9a)

24 years agopatch from Michael Glauche to call get_status_connections() instead of
Luke Leighton [Wed, 18 Aug 1999 00:12:19 +0000 (00:12 +0000)]
patch from Michael Glauche to call get_status_connections() instead of
reading STATUS..LCK direct.
(This used to be commit d794e2eb51b94a334ddb1d1b0775ebf4cef048db)

24 years agouse read() instead of fread() as fread() fails on redhat 6.
Luke Leighton [Wed, 18 Aug 1999 00:01:00 +0000 (00:01 +0000)]
use read() instead of fread() as fread() fails on redhat 6.
(This used to be commit b1025d499ba81233634daf78c3345b9620f9b3a6)

24 years agoadding lib/util_status.c to Makefile.in
Luke Leighton [Tue, 17 Aug 1999 23:20:44 +0000 (23:20 +0000)]
adding lib/util_status.c to Makefile.in
(This used to be commit f1fdf4c3911e7b6c8f8fe8076fec3b67ff666e18)

24 years agopatch from Michael Glauche to list connections from STATUS..LCK.
Luke Leighton [Tue, 17 Aug 1999 23:16:17 +0000 (23:16 +0000)]
patch from Michael Glauche to list connections from STATUS..LCK.
(This used to be commit 91a66dd5c3a551691fbf91e782cb6ff16dfea37b)

24 years agoadded some usage info for rpcclient.
Luke Leighton [Tue, 17 Aug 1999 20:11:12 +0000 (20:11 +0000)]
added some usage info for rpcclient.
(This used to be commit ec11bbaf54764e50687c96ce0979d7aeebe18cb0)

24 years agospelling mistake.
Luke Leighton [Fri, 13 Aug 1999 21:11:38 +0000 (21:11 +0000)]
spelling mistake.
(This used to be commit b8ac96cd9c8efaf0e07651657f878a2dea127290)

24 years agopnum should be a uint16.
Luke Leighton [Fri, 13 Aug 1999 19:35:33 +0000 (19:35 +0000)]
pnum should be a uint16.
(This used to be commit 41cb8b0ba071ef73bf00130ec863b592c16d359a)

24 years agoFix for Win95 not being able to find PDC (for User/Server Manager, and
Matthew Chapman [Sun, 8 Aug 1999 04:51:13 +0000 (04:51 +0000)]
Fix for Win95 not being able to find PDC (for User/Server Manager, and
password change requests), from Michael Stockman <pgmtekn@algonet.se>.
GETDC on \MAILSLOT\NET\NETLOGON necessarily returns less information
than the NTLOGON version.
(This used to be commit 8a603a8793cb067cd06edc3d73d0b35c427ed5ed)

24 years agoSome compilers want (void) instead of just () in function declarations.
Matthew Chapman [Sun, 8 Aug 1999 04:44:36 +0000 (04:44 +0000)]
Some compilers want (void) instead of just () in function declarations.
(This used to be commit c086c7ab94d676e22801bc78588c116cf2e5a4eb)

24 years agoreverted lookup change. from ignacio.
Luke Leighton [Thu, 5 Aug 1999 18:50:13 +0000 (18:50 +0000)]
reverted lookup change.  from ignacio.
(This used to be commit 5b8961a9d4ef6c8188062aaca7f42151ff9684ae)

24 years agochanging debug output message reg_io_unknown_1 to reg_io_close.
Luke Leighton [Tue, 3 Aug 1999 20:54:22 +0000 (20:54 +0000)]
changing debug output message reg_io_unknown_1 to reg_io_close.
(This used to be commit c4901f595193f73b0c248d9315d3bbf547a5dafc)

24 years agoreverted jeremy's c++-like security descriptor modifications as the
Luke Leighton [Tue, 3 Aug 1999 20:30:25 +0000 (20:30 +0000)]
reverted jeremy's c++-like security descriptor modifications as the
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)

24 years agobug-fix in connection to port 445. cool! it works!
Luke Leighton [Tue, 3 Aug 1999 18:03:08 +0000 (18:03 +0000)]
bug-fix in connection to port 445.  cool!  it works!
(This used to be commit 062b9302c1c7a21df74571ead5f89ce002820d53)

24 years agoattempting a connection to port 445 first, followed by a connection to 139
Luke Leighton [Tue, 3 Aug 1999 17:43:12 +0000 (17:43 +0000)]
attempting a connection to port 445 first, followed by a connection to 139
if this fails.
(This used to be commit 5f821e65015c27f5306c3a707841cd0228509974)

24 years agoclose socket issues:
Luke Leighton [Tue, 3 Aug 1999 17:21:34 +0000 (17:21 +0000)]
close socket issues:
- ssl close from cli_reestablish_connection() not called.
- ntlmv2 fall-back to ntlmv1 failed.
(This used to be commit fdc275353de85fde0c348320e4d64ba66365b73b)

24 years agoFixed quoting/escaping bug in example code.
Tim Potter [Mon, 2 Aug 1999 03:35:39 +0000 (03:35 +0000)]
Fixed quoting/escaping bug in example code.
(This used to be commit 5e0994b8bb960fe754e889c797bd91e64be946f1)

24 years ago- enumprintprocessors and enumprintmonitors added.
Jean-François Micouleau [Tue, 27 Jul 1999 10:46:44 +0000 (10:46 +0000)]
- enumprintprocessors and enumprintmonitors added.
- getjob (level 1 and 2) done.
- better handling of getprinterdriver (level 2).
- added workaround to print PCL files.

Now the spoolss code should be compliant with all kind of printers :-)

Jean Francois
(This used to be commit bf9b639bf9162d61eb152af506dc2c1a7e8a4c85)

24 years agorenaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for adding
Luke Leighton [Mon, 26 Jul 1999 21:47:23 +0000 (21:47 +0000)]
renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER.  ready for adding
another RPC authentication system.
(This used to be commit 1a211bafebad8c63d98b5ef275a6272013527c65)

24 years agoJean-Francois spotted bug in use of file_modified() routine submitted
Luke Leighton [Mon, 26 Jul 1999 18:35:46 +0000 (18:35 +0000)]
Jean-Francois spotted bug in use of file_modified() routine submitted
recently.
(This used to be commit 717af2d55d4f964c0449a1e502b6e77d1c3f3f30)

24 years agocommented location where lookup_sids(), a direct call to the password
Luke Leighton [Mon, 26 Jul 1999 17:46:06 +0000 (17:46 +0000)]
commented location where lookup_sids(), a direct call to the password
database API, needs to be replaced with over-the-wire (actually, tcp/ip
loopback) to smbd.

in fact, this is the location where, if we want to put in an nt5 ldap
lookup system or netware NDS instead, we make the calls to resolve
users-to-sids and vice-versa: NOT by replacing rpc_server/srv_samr.c.
(This used to be commit fd886af3317ca806c9c28f71afca5c7b063c1226)

24 years ago'export BEANS=ham' is a bash-ism. For those who don't have a symbolic
Tim Potter [Thu, 22 Jul 1999 23:29:15 +0000 (23:29 +0000)]
'export BEANS=ham' is a bash-ism.  For those who don't have a symbolic
link from bash to /bin/sh, the correct form is 'BEANS=ham; export BEANS'.
(This used to be commit 569aca445a22ccc3805a5dd5e1fc893011f0a147)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:55:41 +0000 (10:55 +0000)]
BDC support.
Added -S (Synchronise) option to smbpasswd, which calls synchronise_passdb.
(This used to be commit 21c92d24977015f0368480f44f67366f7c412343)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:55:23 +0000 (10:55 +0000)]
BDC support.
(This used to be commit 05a2687b7c3a8c29ea4807b14f928213892509ec)