samba.git
23 years agoBetter fix for client name vulnarability.
Jeremy Allison [Sat, 23 Jun 2001 00:22:14 +0000 (00:22 +0000)]
Better fix for client name vulnarability.
Jeremy.

23 years agoFix for multibyte default service parameter from TAKAHASHI Motonobu, Samba Users...
Jeremy Allison [Fri, 22 Jun 2001 22:05:47 +0000 (22:05 +0000)]
Fix for multibyte default service parameter from TAKAHASHI Motonobu, Samba Users Group Japan
Jeremy

23 years agoFixed logic bug in timeout processing spotted by Ying Chen <ying@almaden.ibm.com>.
Jeremy Allison [Fri, 22 Jun 2001 20:56:52 +0000 (20:56 +0000)]
Fixed logic bug in timeout processing spotted by Ying Chen <ying@almaden.ibm.com>.
Jeremy.

23 years agoFix for race condition found by Herb where we can end up with a NULL dbf.
Jeremy Allison [Fri, 22 Jun 2001 19:46:38 +0000 (19:46 +0000)]
Fix for race condition found by Herb where we can end up with a NULL dbf.
Jeremy.

23 years agoFix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),
Jeremy Allison [Fri, 22 Jun 2001 18:58:35 +0000 (18:58 +0000)]
Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),
we need to close with close_file().
Jeremy.

23 years agoadded the ability to test smbd safely as an ordinary user. The way it works is
Andrew Tridgell [Fri, 22 Jun 2001 15:14:45 +0000 (15:14 +0000)]
added the ability to test smbd safely as an ordinary user. The way it works is
that libsmb/ creates a local tcp socket then launches smbd as a subprocess
attached to that socket. smbd thinks it is being launched from inetd.

to use it do the following:

- compile with -DSMB_REGRESSION_TEST
- run like this (also works with smbtorture etc)
    export SMBD_TEST=1
    export LIBSMB_PROG=bin/smbd
    smbclient //server/share -Uuser%pass

obviously you need to setup a smb.conf etc. Using --prefix to configure
is useful.

The aim of all this stuff is to add a decent set of regression tests
to the build farm, so we know if smbd actually runs correctly on all the
platforms, not just builds. We can run smbtorture, masktest, locktest etc,
plus a bunch of smbclient scripts and any new tests we write.

This doesn't help much with nmbd (at least not yet) but its a good start.

23 years agosync this function with 2.2 (single check for NULL parameter)
Gerald Carter [Fri, 22 Jun 2001 14:18:27 +0000 (14:18 +0000)]
sync this function with 2.2 (single check for NULL parameter)

23 years agoRemoved unused (and potentially crash-causing) free function.
Jeremy Allison [Fri, 22 Jun 2001 02:37:52 +0000 (02:37 +0000)]
Removed unused (and potentially crash-causing) free function.
Jeremy.

23 years agoadd an ignore on proto.h
Andrew Tridgell [Fri, 22 Jun 2001 02:34:34 +0000 (02:34 +0000)]
add an ignore on proto.h

23 years agoauto-build proto.h if its not there, but don't make it depend
Andrew Tridgell [Fri, 22 Jun 2001 02:33:27 +0000 (02:33 +0000)]
auto-build proto.h if its not there, but don't make it depend
on anything. Delete proto.h from CVS

23 years agoCleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts to
Tim Potter [Fri, 22 Jun 2001 02:15:02 +0000 (02:15 +0000)]
Cleanup of cli_lsa_enum_trust_dom().  talloc() doesn't like attempts to
allocate 0 bytes.

23 years agoSpelling fix.
Tim Potter [Fri, 22 Jun 2001 01:58:19 +0000 (01:58 +0000)]
Spelling fix.

23 years agothe BAD_PTR idea in talloc.h is actually a bad idea - it means callers have no way...
Andrew Tridgell [Fri, 22 Jun 2001 01:56:16 +0000 (01:56 +0000)]
the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have no way of telling if the call really failed

23 years agoUse cli_read_one() for reading DCE/RPC reply fragments. We need to check
Tim Potter [Fri, 22 Jun 2001 01:19:45 +0000 (01:19 +0000)]
Use cli_read_one() for reading DCE/RPC reply fragments.  We need to check
for and ignore ERRmoredata errors as the client library doesn't support
32-bit error messages.

Added some annotations for the RPC pipe code to make it a bit clearer
maybe.

23 years agoMerged cli_read_one() function for reading DCE/RPC reply fragments.
Tim Potter [Fri, 22 Jun 2001 01:09:40 +0000 (01:09 +0000)]
Merged cli_read_one() function for reading DCE/RPC reply fragments.

23 years agoAndrew - please look this over. I've fixed a long standing (maybe 4-5
Jeremy Allison [Fri, 22 Jun 2001 00:57:59 +0000 (00:57 +0000)]
Andrew - please look this over. I've fixed a long standing (maybe 4-5
years old) bug when chainging a sessionsetup_and_X and tcon together.
The wrong username was being entered into the tdb, even though the
correct user was used for accessing files. This is related to the fact
that authorise_login() is not used for sessionsetup, but only for tcon
auths.
Jeremy.

23 years agoadded some comments to make the cli read code clearer
Andrew Tridgell [Fri, 22 Jun 2001 00:42:53 +0000 (00:42 +0000)]
added some comments to make the cli read code clearer

23 years agouse next_token instead of strtok.
Simo Sorce [Thu, 21 Jun 2001 23:33:12 +0000 (23:33 +0000)]
use next_token instead of strtok.
single elemnts of list cannot be longer than a pstring (1024B now)

23 years agoOk - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-).
Jeremy Allison [Thu, 21 Jun 2001 19:56:25 +0000 (19:56 +0000)]
Ok - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-).
Jeremy.

23 years agoWhen mmap fails it returns -1 *NOT NULL*.
Jeremy Allison [Thu, 21 Jun 2001 19:50:21 +0000 (19:50 +0000)]
When mmap fails it returns -1 *NOT NULL*.
This got regressed somehow.....
Jeremy.

23 years agoMerging Gerry's spoolss changes.
Jeremy Allison [Thu, 21 Jun 2001 17:46:14 +0000 (17:46 +0000)]
Merging Gerry's spoolss changes.
Jeremy.

23 years agomerge from 2.2
Gerald Carter [Thu, 21 Jun 2001 14:27:41 +0000 (14:27 +0000)]
merge from 2.2

23 years agonext_token() was supposed to be a reentrant replacement for strtok(),
Andrew Tridgell [Thu, 21 Jun 2001 09:10:42 +0000 (09:10 +0000)]
next_token() was supposed to be a reentrant replacement for strtok(),
but the code suffered from bitrot and is not now reentrant. That means
we can get bizarre behaviour
i've fixed this by making next_token() reentrant and creating a
next_token_nr() that is a small non-reentrant wrapper for those lumps
of code (mostly smbclient) that have come to rely on the non-reentrant
behaviour

23 years agoAdded STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does
Andrew Tridgell [Thu, 21 Jun 2001 05:38:28 +0000 (05:38 +0000)]
Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does
send unaligned unicode strings sometimes!
Fixed our handling of the workgroup name tacked on the end of the
NT1 negprot response (a unaligned unicode)
fixed a couple of places where we should be using the message_end fns instead
of pre-calculated buffer lengths

23 years agoFollowing info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,
Jeremy Allison [Thu, 21 Jun 2001 01:01:15 +0000 (01:01 +0000)]
Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,
Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True),
but always use dos_to_unix(xx,False) to prevent overwriting.
Jeremy.

23 years agoFixed W2K SP2 joining a Samba PDC hosted domain.
Jeremy Allison [Wed, 20 Jun 2001 19:55:59 +0000 (19:55 +0000)]
Fixed W2K SP2 joining a Samba PDC hosted domain.
Jermey.

23 years agoWarning fix from Andrew Bartlett.
Jeremy Allison [Wed, 20 Jun 2001 17:49:38 +0000 (17:49 +0000)]
Warning fix from Andrew Bartlett.
Jeremy.

23 years agoinitial support for paramter type P_LIST
Simo Sorce [Wed, 20 Jun 2001 16:54:32 +0000 (16:54 +0000)]
initial support for paramter type P_LIST
it will avoid problems with lists being longer than 1024 bytes
just now only ip list parameters have been converted to the new type
(hosts allow, hosts deny, ssl hosts, ssl hosts resign)

23 years agomake proto
Tim Potter [Wed, 20 Jun 2001 07:13:55 +0000 (07:13 +0000)]
make proto

23 years agoAdded cli_samr_delete_dom_user() function.
Tim Potter [Wed, 20 Jun 2001 07:08:28 +0000 (07:08 +0000)]
Added cli_samr_delete_dom_user() function.

23 years agoAdded delete domain user rpcclient command.
Tim Potter [Wed, 20 Jun 2001 07:07:43 +0000 (07:07 +0000)]
Added delete domain user rpcclient command.

23 years agoadded a close-share smbcontrol message that forcibly closes a share in smbd (to allow...
Andrew Tridgell [Wed, 20 Jun 2001 03:05:09 +0000 (03:05 +0000)]
added a close-share smbcontrol message that forcibly closes a share in smbd (to allow unmount)

23 years agoMerge from appliance branch:
Tim Potter [Wed, 20 Jun 2001 01:52:40 +0000 (01:52 +0000)]
Merge from appliance branch:

Don't call find_domain_from_name() from winbindd_kill_connections() as
you get stuck in an infinite loop!

23 years agoINFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to not
Jeremy Allison [Tue, 19 Jun 2001 19:56:06 +0000 (19:56 +0000)]
INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to not
depend on it...
Jeremy.

23 years agoOnly try and open a directory if we get EISDIR.
Jeremy Allison [Tue, 19 Jun 2001 18:43:17 +0000 (18:43 +0000)]
Only try and open a directory if we get EISDIR.
Jeremy.

23 years agoExtra debug in open.c, fix for bad debug message in reply.c
Jeremy Allison [Tue, 19 Jun 2001 07:31:55 +0000 (07:31 +0000)]
Extra debug in open.c, fix for bad debug message in reply.c
Jeremy.

23 years agoFixed typo.
Tim Potter [Tue, 19 Jun 2001 07:13:47 +0000 (07:13 +0000)]
Fixed typo.

23 years agoFixed typo in debug message.
Tim Potter [Tue, 19 Jun 2001 06:52:45 +0000 (06:52 +0000)]
Fixed typo in debug message.

23 years agoadded a torture target for building all torture progs. Fixed a typo in locktest
Andrew Tridgell [Tue, 19 Jun 2001 02:06:12 +0000 (02:06 +0000)]
added a torture target for building all torture progs. Fixed a typo in locktest

23 years agomoved all our torture code to a separate directory
Andrew Tridgell [Tue, 19 Jun 2001 02:02:19 +0000 (02:02 +0000)]
moved all our torture code to a separate directory

23 years agotorture code is moving to its own directory
Andrew Tridgell [Tue, 19 Jun 2001 01:54:42 +0000 (01:54 +0000)]
torture code is moving to its own directory

23 years agorpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.
Jeremy Allison [Tue, 19 Jun 2001 00:44:23 +0000 (00:44 +0000)]
rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.
utils/smbcacls.c: Set enum correctly.
Jeremy.

23 years agoAdded $(PROFILE_OBJ) to winbindd objects.
Tim Potter [Tue, 19 Jun 2001 00:29:00 +0000 (00:29 +0000)]
Added $(PROFILE_OBJ) to winbindd objects.

23 years agoSet support for info levels...
Jeremy Allison [Tue, 19 Jun 2001 00:11:12 +0000 (00:11 +0000)]
Set support for info levels...
Jeremy.

23 years agoBest-effort so far implementation of new W2K info levels.
Jeremy Allison [Mon, 18 Jun 2001 23:42:41 +0000 (23:42 +0000)]
Best-effort so far implementation of new W2K info levels.
An-embrace-and-extending we will go...
Jeremy.

23 years agoNew info level tester.
Jeremy Allison [Mon, 18 Jun 2001 23:31:22 +0000 (23:31 +0000)]
New info level tester.
Jeremy.

23 years agoFix for assert fail - left over when moved to dynamic allocation.
Jeremy Allison [Mon, 18 Jun 2001 21:34:01 +0000 (21:34 +0000)]
Fix for assert fail - left over when moved to dynamic allocation.
Jeremy.

23 years agoAdded patches to remove Linux specific XFS ACLs. These are now handled by the
Jeremy Allison [Mon, 18 Jun 2001 20:27:35 +0000 (20:27 +0000)]
Added patches to remove Linux specific XFS ACLs. These are now handled by the
generic Linux ACL code.
rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created.
Jeremy.

23 years agoAdded "Jim McDonough" <jmcd@us.ibm.com> patches for directory support
Jeremy Allison [Mon, 18 Jun 2001 17:52:58 +0000 (17:52 +0000)]
Added "Jim McDonough" <jmcd@us.ibm.com> patches for directory support
for Win9x.
Jeremy.

23 years agoadded a oplock break handler hook to the client code, this allows for more complete...
Andrew Tridgell [Mon, 18 Jun 2001 08:26:15 +0000 (08:26 +0000)]
added a oplock break handler hook to the client code, this allows for more complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly

23 years agoRemoved silly Get_Hostbyname() wrapper as DNS names are case-insensitive
Tim Potter [Mon, 18 Jun 2001 05:42:18 +0000 (05:42 +0000)]
Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitive
and the use of this function only increased timeouts when Samba queries
a broken DNS server.

23 years agoFixed typo in nmblookup example.
Tim Potter [Mon, 18 Jun 2001 02:29:02 +0000 (02:29 +0000)]
Fixed typo in nmblookup example.

23 years agoFixed typo in configure error message.
Tim Potter [Mon, 18 Jun 2001 02:27:33 +0000 (02:27 +0000)]
Fixed typo in configure error message.

23 years agoModified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.
Jeremy Allison [Sat, 16 Jun 2001 00:32:13 +0000 (00:32 +0000)]
Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.
Jeremy.

23 years agoJim McDonough's parse patches for Win9x get SD calls.
Jeremy Allison [Fri, 15 Jun 2001 20:08:12 +0000 (20:08 +0000)]
Jim McDonough's parse patches for Win9x get SD calls.
Jeremy.

23 years agoFixed typo spotted by "Jim McDonough" <jmcd@us.ibm.com>....
Jeremy Allison [Fri, 15 Jun 2001 19:48:03 +0000 (19:48 +0000)]
Fixed typo spotted by "Jim McDonough" <jmcd@us.ibm.com>....
Jeremy.

23 years agoBe sure to not use strlen with NULL pointer.
Simo Sorce [Fri, 15 Jun 2001 08:00:36 +0000 (08:00 +0000)]
Be sure to not use strlen with NULL pointer.

23 years agoPrototype update.
Tim Potter [Fri, 15 Jun 2001 07:22:27 +0000 (07:22 +0000)]
Prototype update.

23 years agoAdded a unix error code for NT_STATUS_PATH_NOT_COVERED.
Tim Potter [Fri, 15 Jun 2001 07:13:12 +0000 (07:13 +0000)]
Added a unix error code for NT_STATUS_PATH_NOT_COVERED.

23 years agoAdd password length field to SAM_USER_INFO24 structure and fix init
Tim Potter [Fri, 15 Jun 2001 05:09:40 +0000 (05:09 +0000)]
Add password length field to SAM_USER_INFO24 structure and fix init
and parse function.

23 years agoMerged encode_pw_buffer() and nt_owf_genW() functions from TNG branch.
Tim Potter [Fri, 15 Jun 2001 04:47:05 +0000 (04:47 +0000)]
Merged encode_pw_buffer() and nt_owf_genW() functions from TNG branch.

23 years agoFixed some return code checks for cli_initialise() from False to NULL.
Tim Potter [Thu, 14 Jun 2001 00:08:42 +0000 (00:08 +0000)]
Fixed some return code checks for cli_initialise() from False to NULL.
Spotted by Joe Doran <joed@interlude.eu.org>

23 years agoOops - proto.h contained junk from another workarea.
Tim Potter [Wed, 13 Jun 2001 06:54:45 +0000 (06:54 +0000)]
Oops - proto.h contained junk from another workarea.

23 years agoAdded some msdfs client routines.
Tim Potter [Wed, 13 Jun 2001 06:37:02 +0000 (06:37 +0000)]
Added some msdfs client routines.

23 years agoRenamed -d option (make verbose) on smbstatus to -v.
Tim Potter [Wed, 13 Jun 2001 05:36:28 +0000 (05:36 +0000)]
Renamed -d option (make verbose) on smbstatus to -v.

Added -d <debuglevel> option.

23 years agoMake message receive fn static.
Jeremy Allison [Wed, 13 Jun 2001 01:08:27 +0000 (01:08 +0000)]
Make message receive fn static.
Jeremy.

23 years agoFix from TAKAHASHI Motonobu <monyo@samba.gr.jp> for multibyte conversion
Jeremy Allison [Tue, 12 Jun 2001 18:20:26 +0000 (18:20 +0000)]
Fix from TAKAHASHI Motonobu <monyo@samba.gr.jp> for multibyte conversion
problems.
Jeremy.

23 years agoFixed typo in debug message.
Tim Potter [Tue, 12 Jun 2001 10:13:24 +0000 (10:13 +0000)]
Fixed typo in debug message.

23 years agoRemoved commented out msdfs code that was being called anyway.
Tim Potter [Tue, 12 Jun 2001 09:51:03 +0000 (09:51 +0000)]
Removed commented out msdfs code that was being called anyway.

23 years agolib/util_getent.c: removed debug code.
Jeremy Allison [Tue, 12 Jun 2001 01:49:30 +0000 (01:49 +0000)]
lib/util_getent.c: removed debug code.
smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris.
Needs testing.
lib/sysacls.c: Typo fix.
Jeremy.

23 years agoFound & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........
Jeremy Allison [Mon, 11 Jun 2001 22:06:11 +0000 (22:06 +0000)]
Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........
Jeremy.

23 years agoFixed potential free of NULL found by SGI speedshop.
Jeremy Allison [Mon, 11 Jun 2001 20:56:18 +0000 (20:56 +0000)]
Fixed potential free of NULL found by SGI speedshop.
Jeremy.

23 years agoFixed typo in Solaris and UnixWare ACLs.
Jeremy Allison [Sat, 9 Jun 2001 03:10:27 +0000 (03:10 +0000)]
Fixed typo in Solaris and UnixWare ACLs.
Jeremy.

23 years ago*Wonderful* patch from Andrew Bartlett that will help ensure tdb's are
Jeremy Allison [Sat, 9 Jun 2001 01:38:54 +0000 (01:38 +0000)]
*Wonderful* patch from Andrew Bartlett that will help ensure tdb's are
cleaned on clients abending connections. Thanks Andrew !
Jeremy.

23 years agoHerb's IRIX fix for deleting default ACLs.
Jeremy Allison [Fri, 8 Jun 2001 21:27:46 +0000 (21:27 +0000)]
Herb's IRIX fix for deleting default ACLs.
Jeremy.

23 years agoLog tdb failures.
Jeremy Allison [Fri, 8 Jun 2001 20:26:46 +0000 (20:26 +0000)]
Log tdb failures.
Jeremy.

23 years agoAIX has no default acls.
Jeremy Allison [Fri, 8 Jun 2001 19:56:15 +0000 (19:56 +0000)]
AIX has no default acls.
Jeremy.

23 years agoAdded sys_acl_delete_def_file for UnixWare and Solaris from
Jeremy Allison [Fri, 8 Jun 2001 19:55:47 +0000 (19:55 +0000)]
Added sys_acl_delete_def_file for UnixWare and Solaris from
Michael Davidson <michael_davidson@pacbell.net>.
Jeremy.

23 years agoAdded sys_acl_delete_def_file() - needed as part of NT ACL editing fix.
Jeremy Allison [Fri, 8 Jun 2001 19:29:57 +0000 (19:29 +0000)]
Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.
Will add changes for other supported ACL systems shortly (Herb, I may
need help with the IRIX one).
Jeremy.

23 years agosyc up docs with 2.2
Gerald Carter [Fri, 8 Jun 2001 15:43:39 +0000 (15:43 +0000)]
syc up docs with 2.2

23 years agoExtra stuff for large readwrite support.
Jeremy Allison [Fri, 8 Jun 2001 03:02:34 +0000 (03:02 +0000)]
Extra stuff for large readwrite support.
Jeremy.

23 years agoCorrectly make max pathlength 255.
Jeremy Allison [Fri, 8 Jun 2001 02:49:30 +0000 (02:49 +0000)]
Correctly make max pathlength 255.
Jeremy.

23 years agoFix up the problems with calling smbc_init multiple times.
Richard Sharpe [Thu, 7 Jun 2001 22:17:01 +0000 (22:17 +0000)]
Fix up the problems with calling smbc_init multiple times.

23 years agoFixed typo in #ifndef at head of file.
Tim Potter [Thu, 7 Jun 2001 07:14:17 +0000 (07:14 +0000)]
Fixed typo in #ifndef at head of file.

23 years agoAdded comment about possible optimisation to winbindd_pam_auth()
Tim Potter [Thu, 7 Jun 2001 04:35:01 +0000 (04:35 +0000)]
Added comment about possible optimisation to winbindd_pam_auth()

23 years agoFixed bug in winbind_sid_to_gid() function.
Tim Potter [Thu, 7 Jun 2001 00:38:16 +0000 (00:38 +0000)]
Fixed bug in winbind_sid_to_gid() function.

23 years agoCorrection to winbind nss library install process. So how do I update the
Tim Potter [Wed, 6 Jun 2001 23:56:53 +0000 (23:56 +0000)]
Correction to winbind nss library install process.  So how do I update the
manual/html pages???

23 years agoAdded getconf flags for RH7.1 lfs support. Changed while() to a for()
Jeremy Allison [Wed, 6 Jun 2001 23:07:10 +0000 (23:07 +0000)]
Added getconf flags for RH7.1 lfs support. Changed while() to a for()
loop in Simo's code (removes much grp = gep->next code).
Jeremy.

23 years agoChanges to use new genrand code that got missed while I was in Japan.
Jeremy Allison [Wed, 6 Jun 2001 22:04:26 +0000 (22:04 +0000)]
Changes to use new genrand code that got missed while I was in Japan.
Jeremy.

23 years agoFix for cli_samr_connect() arg change.
Tim Potter [Wed, 6 Jun 2001 07:43:47 +0000 (07:43 +0000)]
Fix for cli_samr_connect() arg change.

23 years agoConverted SAMR_Q_LOOKUP_NAMES structure to tallocated memory instead of
Tim Potter [Wed, 6 Jun 2001 07:35:37 +0000 (07:35 +0000)]
Converted SAMR_Q_LOOKUP_NAMES structure to tallocated memory instead of
static arrays.

23 years agoAdded stub dfs client commands to rpcclient.
Tim Potter [Wed, 6 Jun 2001 07:35:08 +0000 (07:35 +0000)]
Added stub dfs client commands to rpcclient.

23 years agoAdded stubs for dfs rpc client routines.
Tim Potter [Wed, 6 Jun 2001 07:32:51 +0000 (07:32 +0000)]
Added stubs for dfs rpc client routines.

23 years agoPrototypes update.
Tim Potter [Wed, 6 Jun 2001 07:29:12 +0000 (07:29 +0000)]
Prototypes update.

23 years agoIndent dodgy function prototype to avoid make proto picking it up and
Tim Potter [Wed, 6 Jun 2001 07:27:44 +0000 (07:27 +0000)]
Indent dodgy function prototype to avoid make proto picking it up and
causing mayhem throughout the tree.

23 years agoFixups for new args to cli_samr_connect()
Tim Potter [Wed, 6 Jun 2001 07:18:58 +0000 (07:18 +0000)]
Fixups for new args to cli_samr_connect()

Added samlookupnames and samlookuprids rpcclient commands.

23 years agoFixed bug in cli_samr_create_dom_user()
Tim Potter [Wed, 6 Jun 2001 07:17:31 +0000 (07:17 +0000)]
Fixed bug in cli_samr_create_dom_user()

Added cli_samr_lookup_names()

Removed redundant argument to cli_samr_connect()

23 years agoConverted init_samr_q_lookup_names() and samr_io_q_lookup_names()
Tim Potter [Wed, 6 Jun 2001 07:15:34 +0000 (07:15 +0000)]
Converted init_samr_q_lookup_names() and samr_io_q_lookup_names()
to use tallocated memory instead of dodgy static arrays.

23 years agoSet correct reply word in large writeX (greater than 64k) replies.
Jeremy Allison [Tue, 5 Jun 2001 08:17:16 +0000 (08:17 +0000)]
Set correct reply word in large writeX (greater than 64k) replies.
Also added smbtorture test for this.
Jeremy.

23 years agoDeal with incorrect large writes from old NT4.x clients.
Jeremy Allison [Tue, 5 Jun 2001 06:29:57 +0000 (06:29 +0000)]
Deal with incorrect large writes from old NT4.x clients.
We still need to set the large write reply correctly.
Jeremy.