Luke Leighton [Mon, 1 Nov 1999 21:09:24 +0000 (21:09 +0000)]
rewrote rpcclient enumaliases command.
Luke Leighton [Mon, 1 Nov 1999 17:52:11 +0000 (17:52 +0000)]
added rpcclient svcstop <service name> command. gnu readline
command-completion works.
Matthew Chapman [Mon, 1 Nov 1999 12:11:05 +0000 (12:11 +0000)]
Fixed typo which was preventing the omission of seconds in the 'at' command.
I *love* this scheduler stuff, it's so useful!
Luke Leighton [Sun, 31 Oct 1999 05:23:32 +0000 (05:23 +0000)]
added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...
works with command-line completion on the service name (ohh yesss, this
is becoming my favourite bit of functionality-on-the-side hee hee :)
had to fix the svc_io_q_start_service() code which was missing the
ptr_argv[] array in between the array-size and the UNISTR2-array.
i.e it's actually an array of _pointers_ to unicode strings...
Luke Leighton [Sun, 31 Oct 1999 04:19:58 +0000 (04:19 +0000)]
command-line completion for new svcinfo command
Luke Leighton [Sun, 31 Oct 1999 04:11:17 +0000 (04:11 +0000)]
added svcinfo <service name> command.
Luke Leighton [Sat, 30 Oct 1999 22:35:44 +0000 (22:35 +0000)]
connection info level renamed to transport info level
Luke Leighton [Sat, 30 Oct 1999 22:34:38 +0000 (22:34 +0000)]
NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.
Luke Leighton [Sat, 30 Oct 1999 20:32:40 +0000 (20:32 +0000)]
general, drastic improvements to rpcclient.
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])
John Terpstra [Sat, 30 Oct 1999 02:33:12 +0000 (02:33 +0000)]
Updating build specs for TurboLinux 6.0 and later
Luke Leighton [Fri, 29 Oct 1999 23:15:10 +0000 (23:15 +0000)]
messing with command-line completion. it sort-of works to be able
to enumerate down a key tree, but it's a serious fudge. oops.
Luke Leighton [Fri, 29 Oct 1999 21:31:19 +0000 (21:31 +0000)]
added gnu readline command-line completion to the regenum command.
Luke Leighton [Fri, 29 Oct 1999 20:24:18 +0000 (20:24 +0000)]
rpcclient regenum key client code rewritten to use higher order functions.
Luke Leighton [Fri, 29 Oct 1999 19:31:32 +0000 (19:31 +0000)]
rewrite rpcclient sam enum user code to use higher order functions.
Luke Leighton [Fri, 29 Oct 1999 18:57:22 +0000 (18:57 +0000)]
using #defines for function prototypes
Luke Leighton [Fri, 29 Oct 1999 17:37:27 +0000 (17:37 +0000)]
more reshuffling of enum groups code. more higher order functions.
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.
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".
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()).
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).
Luke Leighton [Thu, 28 Oct 1999 20:02:29 +0000 (20:02 +0000)]
restructuring samr client code.
Luke Leighton [Thu, 28 Oct 1999 19:02:23 +0000 (19:02 +0000)]
removed samr_* variables from info struct.
Luke Leighton [Thu, 28 Oct 1999 17:52:12 +0000 (17:52 +0000)]
rewrote samr enum groups code a bit.
Luke Leighton [Wed, 27 Oct 1999 17:20:55 +0000 (17:20 +0000)]
rewrote api_net_sam_logon() to be a little clearer.
Luke Leighton [Wed, 27 Oct 1999 16:58:35 +0000 (16:58 +0000)]
no CLIX, no !HAVE_READLINE blah blah. argh.
Luke Leighton [Tue, 26 Oct 1999 20:03:48 +0000 (20:03 +0000)]
created samr_query_groupmem() function from existing code.
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.
Luke Leighton [Tue, 26 Oct 1999 14:27:46 +0000 (14:27 +0000)]
cut/paste code from smbclient for wait_keyboard() function. oops.
Luke Leighton [Mon, 25 Oct 1999 19:03:27 +0000 (19:03 +0000)]
- typecast malloc / Realloc issues.
- signed / unsigned issues.
Luke Leighton [Mon, 25 Oct 1999 17:10:54 +0000 (17:10 +0000)]
signed / unsigned and typecast issues
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)
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.
Luke Leighton [Thu, 21 Oct 1999 19:02:57 +0000 (19:02 +0000)]
the dynamic memory alloc blood-fest goes on...
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...
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).
Luke Leighton [Thu, 21 Oct 1999 15:38:59 +0000 (15:38 +0000)]
split modify_trust_account_password into a separate module.
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.
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 :)
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
Luke Leighton [Mon, 18 Oct 1999 16:26:55 +0000 (16:26 +0000)]
initialising enum dom users mem and account name ptrs to NULL.
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.
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.
Luke Leighton [Fri, 15 Oct 1999 20:00:30 +0000 (20:00 +0000)]
adding error checking in parsing code
Luke Leighton [Fri, 15 Oct 1999 19:23:48 +0000 (19:23 +0000)]
renamed "class" local variable to avoid global clash
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!
Luke Leighton [Fri, 15 Oct 1999 19:20:30 +0000 (19:20 +0000)]
renamed args due to global "class" variable
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.
Luke Leighton [Fri, 15 Oct 1999 18:44:33 +0000 (18:44 +0000)]
removed unused static wait_keyboard()
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.
Luke Leighton [Thu, 14 Oct 1999 19:45:52 +0000 (19:45 +0000)]
const issues
Luke Leighton [Thu, 14 Oct 1999 19:21:23 +0000 (19:21 +0000)]
stop over-runs in reading / writing data stream.
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
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*.
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.
Luke Leighton [Fri, 1 Oct 1999 18:44:33 +0000 (18:44 +0000)]
splitting dom info into sam_query_dominfo function
Luke Leighton [Fri, 1 Oct 1999 18:27:29 +0000 (18:27 +0000)]
permissions on SamrConnect changed to 0x02000000 (maximum allowed)
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.
Luke Leighton [Tue, 28 Sep 1999 20:54:58 +0000 (20:54 +0000)]
memory problems associated with when lsalookupsids returns
NT_STATUS_NONE_MAPPED.
Herb Lewis [Tue, 28 Sep 1999 15:10:38 +0000 (15:10 +0000)]
add description of -P option
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.
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.
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.
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.
Jean-François Micouleau [Fri, 24 Sep 1999 07:28:46 +0000 (07:28 +0000)]
Whoops ! Being over-paranoid is not good.
J.F.
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.
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.
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
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
Luke Leighton [Thu, 16 Sep 1999 22:46:45 +0000 (22:46 +0000)]
reading in smb server domain name from SMBnegprot response
Luke Leighton [Wed, 15 Sep 1999 17:30:02 +0000 (17:30 +0000)]
#defines for port 445 to SMB_PORT2
Luke Leighton [Wed, 15 Sep 1999 17:12:55 +0000 (17:12 +0000)]
use DEBUGLEVEL not DEBUGLVL()
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.
Luke Leighton [Tue, 14 Sep 1999 21:15:39 +0000 (21:15 +0000)]
oops.
Luke Leighton [Tue, 14 Sep 1999 21:04:02 +0000 (21:04 +0000)]
added rpcclient SamrQueryDisplayInfo command "dispinfo"
Luke Leighton [Sun, 12 Sep 1999 23:59:09 +0000 (23:59 +0000)]
restructuring
Luke Leighton [Sun, 12 Sep 1999 23:39:57 +0000 (23:39 +0000)]
using #define report
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
Luke Leighton [Fri, 10 Sep 1999 16:27:14 +0000 (16:27 +0000)]
oops, port 455 instead of 445
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.
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!
Luke Leighton [Tue, 31 Aug 1999 13:19:55 +0000 (13:19 +0000)]
matthew chapman identified 4 previously unknown samr functions.
Luke Leighton [Mon, 30 Aug 1999 17:15:59 +0000 (17:15 +0000)]
debugged enumgroups -g 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)
Luke Leighton [Sun, 29 Aug 1999 16:36:21 +0000 (16:36 +0000)]
improved "dominfo" rpcclient command
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!
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...
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.
Luke Leighton [Wed, 18 Aug 1999 21:18:42 +0000 (21:18 +0000)]
patch from michael glauche to add session enum code into smbd.
Luke Leighton [Wed, 18 Aug 1999 21:13:15 +0000 (21:13 +0000)]
display of session enum info
Luke Leighton [Wed, 18 Aug 1999 20:33:49 +0000 (20:33 +0000)]
event log update, netsessenum, netconnenum update.
Luke Leighton [Wed, 18 Aug 1999 20:11:29 +0000 (20:11 +0000)]
event log update
Luke Leighton [Wed, 18 Aug 1999 20:10:12 +0000 (20:10 +0000)]
debug info display (netbios layer).
Luke Leighton [Wed, 18 Aug 1999 19:01:07 +0000 (19:01 +0000)]
added back test to exclude unused connections.
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.
Luke Leighton [Wed, 18 Aug 1999 00:01:00 +0000 (00:01 +0000)]
use read() instead of fread() as fread() fails on redhat 6.
Luke Leighton [Tue, 17 Aug 1999 23:20:44 +0000 (23:20 +0000)]
adding lib/util_status.c to Makefile.in
Luke Leighton [Tue, 17 Aug 1999 23:16:17 +0000 (23:16 +0000)]
patch from Michael Glauche to list connections from STATUS..LCK.
Luke Leighton [Tue, 17 Aug 1999 20:11:12 +0000 (20:11 +0000)]
added some usage info for rpcclient.
Luke Leighton [Fri, 13 Aug 1999 21:11:38 +0000 (21:11 +0000)]
spelling mistake.
Luke Leighton [Fri, 13 Aug 1999 19:35:33 +0000 (19:35 +0000)]
pnum should be a uint16.