tprouty/samba.git
19 years agoInstead of handing back a string (which might be a DNS name or an IP
Christopher R. Hertel [Wed, 19 Jul 2000 05:32:43 +0000 (05:32 +0000)]
Instead of handing back a string (which might be a DNS name or an IP
string), the wins_srv module now hands back a struct in_addr when it's
called.  It caches the IP address once it has been looked up.  The IP
is cleared (and must be looked up again) if the 'wins server' parameter
is reread, or if the node is marked 'dead'.  A dead node will not be
re-tried for 10 minutes (per a #define in wins_srv.c).

As it was, the code was reading the WINS server name or IP directly from
lp_wins_server.  That's okay, except that if the value was expressed as
a name, then a DNS lookup would be done every time the client wanted to
talk to the server.

I still need to work out the implications of failover regarding the
'unicast subnet' list.

Chris -)-----

19 years agoFirst cut toward adding WINS server failover.
Christopher R. Hertel [Wed, 19 Jul 2000 01:21:30 +0000 (01:21 +0000)]
First cut toward adding WINS server failover.

*Note: failover doesn't actually work yet!*  It's just that the code I'm
adding provides all of the pieces necessary.

I do have one big question.  Something that I'll have to ask Jeremy, I'm
thinkin'.  In nmbd/nmbd_subnetdb.c the IP of the WINS server is used to
set up the Unicast subnet.

...so what happens if the WINS server changes?

My guess is either:
  a) nothing.
  b) I'd have to change the unicast subnet entry whenever the WINS server
     changes.

Urq.

BTW, the lp_wins_server() function no longer returns the WINS server name
or IP.  It returns the list of WINS servers entered in smb.conf.  To get
the currently 'live' WINS server, use the wins_srv() function.

Fun, eh?

Chris -)-----

19 years agoRemoved the sanity check on the WINS SERVER parameter because it simply
Christopher R. Hertel [Tue, 18 Jul 2000 20:15:15 +0000 (20:15 +0000)]
Removed the sanity check on the WINS SERVER parameter because it simply
checked to see that only one server was listed.  As I am working on an
enhancement that allows multiple servers to be listed...this was a bit
contrary.  ;)

19 years agorpc_parse/parse_prs.c: Removed extraneous ()'s.
Jeremy Allison [Tue, 18 Jul 2000 19:25:32 +0000 (19:25 +0000)]
rpc_parse/parse_prs.c: Removed extraneous ()'s.
rpc_parse/parse_spoolss.c: Fixed the security descriptor marshalling in a INFO_2 struct.
for some reason SD's should be done inline after the info2, not
as the last buffer marshall.
rpc_server/srv_spoolss_nt.c: Removed extraneous ()'s.
Jeremy.

19 years agoremove util_list from LIB_OBJS since it broke smbd build
Gerald Carter [Tue, 18 Jul 2000 19:05:50 +0000 (19:05 +0000)]
remove util_list from LIB_OBJS since it broke smbd build
(undefined references in link).  This is a quick fix.
I'll resolve things later.

Sorry everyone.

jerry

19 years agoAdded lib/util_list.[c|o] to Makefile.in
Gerald Carter [Tue, 18 Jul 2000 05:19:29 +0000 (05:19 +0000)]
Added lib/util_list.[c|o] to Makefile.in

--jerry

19 years agoFixed some more client SPOOLSS functions. The following
Gerald Carter [Tue, 18 Jul 2000 05:16:30 +0000 (05:16 +0000)]
Fixed some more client SPOOLSS functions.  The following
functions work now:

  - spoolenum
  - spoolopen
  - spoolgetprinter
  - spoolgetprinterdriver

Items todo:

  - track down memory bug with spoolenumdata
  - fix spoolgetprinterdriverdir
  - fix spoolgetdata
  - fix display_job_info_ctr in spooljobs

All part of the ongoing rpcclient work.

Also included a new generic list ADT.  Cleaner and simplier
than the stuff in util_array.c i think (but then that's why I wrote it).

--jerry

19 years agofixed a bug (my own) in create_ntc_from_cli_state()
Gerald Carter [Tue, 18 Jul 2000 05:13:44 +0000 (05:13 +0000)]
fixed a bug (my own) in create_ntc_from_cli_state()

--jerry

19 years agoI really didn't like the way generic arrays (lists) were
Gerald Carter [Tue, 18 Jul 2000 05:12:49 +0000 (05:12 +0000)]
I really didn't like the way generic arrays (lists) were
implemented in util_array.c so I wrote a smaller (and simplier
package).

I would like to replace the use of util_array.c functions
in the rest of the source tree if no one objects.
This will be an interface change, but not really a difference
in the functionality provided.

--jerry

19 years agograb functions that return RPC_HND_NODE (declared
Gerald Carter [Tue, 18 Jul 2000 05:10:26 +0000 (05:10 +0000)]
grab functions that return RPC_HND_NODE (declared
in include/util_list.h)

-- jerry

19 years agoFixed some more client SPOOLSS functions. The following
Gerald Carter [Tue, 18 Jul 2000 05:07:28 +0000 (05:07 +0000)]
Fixed some more client SPOOLSS functions.  The following
functions work now:

  - spoolenum
  - spoolopen
  - spoolgetprinter
  - spoolgetprinterdriver

Items todo:

  - track down memory bug with spoolenumdata
  - fix spoolgetprinterdriverdir
  - fix spoolgetdata
  - fix display_job_info_ctr in spooljobs

All part of the rpcclient work.

Jeremy, this check includes emthods for associating
POLICY_HNDs and client states.  See the RpcHndList_...()
function calls (implemented in lib/util_list.c)

--jerry

19 years agoFixed some more SPOOLSS functions. The following
Gerald Carter [Tue, 18 Jul 2000 05:02:16 +0000 (05:02 +0000)]
Fixed some more SPOOLSS functions.  The following
functions work now:

  - spoolenum
  - spoolopen
  - spoolgetprinter
  - spoolgetprinterdriver

Items todo:

  - track down memory bug with spoolenumdata
  - fix spoolgetprinterdriverdir
  - fix spoolgetdata
  - fix display_job_info_ctr in spooljobs

--jerry

19 years agoMissing var.
Tim Potter [Mon, 17 Jul 2000 06:04:23 +0000 (06:04 +0000)]
Missing var.

19 years agoReverted changes from rpcclient merge - contains memory leak!
Tim Potter [Mon, 17 Jul 2000 05:40:48 +0000 (05:40 +0000)]
Reverted changes from rpcclient merge - contains memory leak!

19 years agoFree security descriptor after access check in update_printer_sec()
Tim Potter [Mon, 17 Jul 2000 05:38:26 +0000 (05:38 +0000)]
Free security descriptor after access check in update_printer_sec()

19 years agoInitialise current time to time(NULL) in add_a_printer_2()
Tim Potter [Mon, 17 Jul 2000 05:37:16 +0000 (05:37 +0000)]
Initialise current time to time(NULL) in add_a_printer_2()

Added get and free security old descriptor in nt_printing_setsec() after
access checking was moved up to rpc level.

19 years agomake proto
Tim Potter [Mon, 17 Jul 2000 03:13:06 +0000 (03:13 +0000)]
make proto

19 years agomake proto
Tim Potter [Mon, 17 Jul 2000 02:43:12 +0000 (02:43 +0000)]
make proto

19 years agoAllow job owner to delete own print job.
Tim Potter [Mon, 17 Jul 2000 02:42:25 +0000 (02:42 +0000)]
Allow job owner to delete own print job.

19 years agoMoved access check for nt_printing_setsec() up into rpc function.
Tim Potter [Mon, 17 Jul 2000 02:41:38 +0000 (02:41 +0000)]
Moved access check for nt_printing_setsec() up into rpc function.

Use sid + rid instead of lp_workgroup()/Administrator for printer owner sid
as per JF's advice.

Default printer owner is either the administrator of the pdc workgroup or
Everyone depending on whether winbindd is running.  Still the subject of
some debate...

Renamed se_access_check() parameters.

19 years agoRenamed arguments to se_access_check()
Tim Potter [Mon, 17 Jul 2000 02:38:43 +0000 (02:38 +0000)]
Renamed arguments to se_access_check()

19 years agoRenamed a parameter in init_request() function.
Tim Potter [Mon, 17 Jul 2000 02:37:11 +0000 (02:37 +0000)]
Renamed a parameter in init_request() function.

Initialise response structure correctly.

19 years agoAdded some debugs.
Tim Potter [Mon, 17 Jul 2000 02:36:19 +0000 (02:36 +0000)]
Added some debugs.

Changed interface to se_access_check to take a user struct instead of each
bit as a separate parameter.

19 years agoI committed this change to the cliffs archive a while back and have heard
Christopher R. Hertel [Sat, 15 Jul 2000 20:57:24 +0000 (20:57 +0000)]
I committed this change to the cliffs archive a while back and have heard
no complaints.  ;)

Basically, instead of ignoring single-line C-style comments in IDL source
files this change allows token.awk to ignore both single- and multi-line
C-style comments.

Chris -)-----

19 years agoLots of changes but no real progress in functionality.
Gerald Carter [Sat, 15 Jul 2000 08:37:17 +0000 (08:37 +0000)]
Lots of changes but no real progress in functionality.
more changes to remove the ncarpc_l_* stuff.

Fixed some cut and paste errors from TNG

There are very subtle bugs in this code.  I'll work on simplifying
them in round two or three.

--jerry

19 years agoreverted a some previous additions.
Gerald Carter [Sat, 15 Jul 2000 08:33:43 +0000 (08:33 +0000)]
reverted a some previous additions.
Removed msrpc_local struct

--jerry

19 years agoa few changes to Makefile.in to clean up dependencies for rpcclient
Gerald Carter [Fri, 14 Jul 2000 17:04:57 +0000 (17:04 +0000)]
a few changes to Makefile.in to clean up dependencies for rpcclient

--jerry

19 years agoMore functions merged from TNG for rpcclient. They don't all work
Gerald Carter [Fri, 14 Jul 2000 17:04:04 +0000 (17:04 +0000)]
More functions merged from TNG for rpcclient.  They don't all work
currently as I have to do something about the policy handle caching
issues.

--jerry

19 years agocleaned up access to prs_struct variables. Replaced all calls
Gerald Carter [Fri, 14 Jul 2000 17:01:49 +0000 (17:01 +0000)]
cleaned up access to prs_struct variables.  Replaced all calls

prs_free_data() => prs_mem_free
prs_realloc_data => prs_grow

--jerry

19 years agoremoved references to loopback RPC connections.
Gerald Carter [Fri, 14 Jul 2000 16:59:41 +0000 (16:59 +0000)]
removed references to loopback RPC connections.
added a few more kfunctions from TNG for rpcclient

--jerry

19 years agoremoved prs_data(), prs_free_data(), and prs_realloc_data()
Gerald Carter [Fri, 14 Jul 2000 16:58:03 +0000 (16:58 +0000)]
removed prs_data(), prs_free_data(), and prs_realloc_data()
as these were unneeded and replaced by the real functions
already in HEAD.

Added a few more functions to parse_spoolss.c to help with the
rpcclient merge from TNG.

19 years agoFixed a bug in cmd_interp.c where if user%pass was entered on
Gerald Carter [Fri, 14 Jul 2000 16:54:07 +0000 (16:54 +0000)]
Fixed a bug in cmd_interp.c where if user%pass was entered on
the command line, the password would still be cached in memory
in plain text for the lifetime of the rpcclient command line session.

removed loopback connection functions from msrpc-client.c since
we don't support that in the server code now anyways.  simplify,
simplify, ...

--jerry

19 years agomake proto
Gerald Carter [Fri, 14 Jul 2000 16:31:06 +0000 (16:31 +0000)]
make proto
and a few changes to ntdomain for rpcclient printing functions

--jerry

19 years agoadding more spoolss command into rpcclient. They don't all work
Gerald Carter [Fri, 14 Jul 2000 16:29:22 +0000 (16:29 +0000)]
adding more spoolss command into rpcclient.  They don't all work
currently.  More to come later.

--jerry

19 years agoDon't return winbind groups or users when responding to samr_enum_dom_users
Tim Potter [Thu, 13 Jul 2000 04:33:25 +0000 (04:33 +0000)]
Don't return winbind groups or users when responding to samr_enum_dom_users
and samr_enum_dom_aliases commands.  Unfortunately the algorithm for
determining winbind groups from normal groups is simply to check for the
presence of the lp_winbind_separator() character.  )-:

19 years agoUninitialised variables.
Tim Potter [Thu, 13 Jul 2000 01:21:21 +0000 (01:21 +0000)]
Uninitialised variables.

19 years agowe are now sure the printer_info_2 timestamp is updated everytime
Jean-François Micouleau [Wed, 12 Jul 2000 16:11:33 +0000 (16:11 +0000)]
we are now sure the printer_info_2 timestamp is updated everytime
required.

J.F.

19 years ago- The printers are indexed by the sharename in both get_a_printer() and
Jean-François Micouleau [Wed, 12 Jul 2000 14:10:40 +0000 (14:10 +0000)]
- The printers are indexed by the sharename in both get_a_printer() and
add_a_printer() now.

- correctly unpack the private part of a devmode and remove a memleak

- correctly retrieve the pair(value,data) for getprinterdata

- handle null devicemode in printer_info_2

I still have some bugs but I'm not crashing anymore NT4SP6 d/c build :-)

        J.F.

19 years agoAn improved version of the Negative Query Response fix. The earlier fix
Christopher R. Hertel [Wed, 12 Jul 2000 04:25:12 +0000 (04:25 +0000)]
An improved version of the Negative Query Response fix.  The earlier fix
only did a short-cut on an rcode of 3, which is 'name not found'.  This
does a short-cut on any non-zero rcode.  It also puts out a DEBUG message
(if DEBUGLEVEL is >= 3) detailing the error.

Chris -)-----

19 years agoTypo. It said "DEGUG" in the comments. I dunno how to degug, or gug for
Christopher R. Hertel [Wed, 12 Jul 2000 03:51:06 +0000 (03:51 +0000)]
Typo.  It said "DEGUG" in the comments.  I dunno how to degug, or gug for
that matter.  crh

19 years ago#ifndef RPCCLIENT_TEST
Gerald Carter [Tue, 11 Jul 2000 16:28:59 +0000 (16:28 +0000)]
#ifndef RPCCLIENT_TEST
use old prs_unistr()
#else
use new prs_unistr() which handles UNMARSHALL
#endif /* RPCCLIENT_TEST */

jerry

19 years agoAllow name lookup to fail and fall back to using the "Everyone" SID
Jeremy Allison [Tue, 11 Jul 2000 01:05:24 +0000 (01:05 +0000)]
Allow name lookup to fail and fall back to using the "Everyone" SID
as SD owner. Allows smbd to work without winbindd running.
Check for security implications !
Jeremy.

19 years agoAdd local fallback for name lookup if no winbindd running...
Jeremy Allison [Tue, 11 Jul 2000 01:04:09 +0000 (01:04 +0000)]
Add local fallback for name lookup if no winbindd running...
Jeremy.

19 years agoEnsure correct driver paths are returned in INFO_2 struct.
Jeremy Allison [Mon, 10 Jul 2000 22:30:13 +0000 (22:30 +0000)]
Ensure correct driver paths are returned in INFO_2 struct.
Jeremy.

19 years agomake proto
Gerald Carter [Mon, 10 Jul 2000 19:58:18 +0000 (19:58 +0000)]
make proto

19 years agospoolenum commend (when compiled with the new prs_unistr())
Gerald Carter [Mon, 10 Jul 2000 19:57:30 +0000 (19:57 +0000)]
spoolenum commend (when compiled with the new prs_unistr())
now works.   :-)

jerry

19 years agoFixed a bug in parsing the command line.
Gerald Carter [Mon, 10 Jul 2000 19:56:15 +0000 (19:56 +0000)]
Fixed a bug in parsing the command line.

jerry

19 years agoincluded a a new prs_unistr(). Is currently #if'd out (denoted
Gerald Carter [Mon, 10 Jul 2000 19:55:39 +0000 (19:55 +0000)]
included a a new prs_unistr().  Is currently #if'd out (denoted
by RPCCLIENT_TEST) in order to not break anything in the smbd
code (and to give time to review it).  Originally written by JF.
In effect, this checkin makes no changes to parse_prs.c at all.

jerry

19 years agoAdded wbinfo and .libs
Tim Potter [Mon, 10 Jul 2000 06:42:47 +0000 (06:42 +0000)]
Added wbinfo and .libs

19 years agoFixes for various compile warnings on Solaris 8.
Tim Potter [Mon, 10 Jul 2000 06:41:04 +0000 (06:41 +0000)]
Fixes for various compile warnings on Solaris 8.

19 years agoMoved winbind client functions from various odd locations to
Tim Potter [Mon, 10 Jul 2000 05:40:43 +0000 (05:40 +0000)]
Moved winbind client functions from various odd locations to
nsswitch/wb_client.c

Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.

19 years agomake proto
Tim Potter [Mon, 10 Jul 2000 05:17:01 +0000 (05:17 +0000)]
make proto

19 years agoRe-instated lanman printing security checks (oops).
Tim Potter [Mon, 10 Jul 2000 05:08:21 +0000 (05:08 +0000)]
Re-instated lanman printing security checks (oops).

A user can now pause, resume or delete their own job even if they don't
have the Manage Documents privilege.

Added call to se_access_check() for changing printer properties.  The Full
Access privilege is required for the user to perform this.

Several uninitialised variables and memory leaks plugged.

Modified default ACL created on new printers to be Everyone / Print instead
of Everyone / Full Access.  This required some random stuffing around with
the value of the revision field to correspond with the ACL that NT produces
when setting the same permission on the printer.

Fixed dodgy function call in printing/printfsp.c

19 years agoSpelling fixes.
Tim Potter [Mon, 10 Jul 2000 04:57:09 +0000 (04:57 +0000)]
Spelling fixes.

19 years agoFix for passing NULL pointer as an array parameter in
Tim Potter [Mon, 10 Jul 2000 04:56:30 +0000 (04:56 +0000)]
Fix for passing NULL pointer as an array parameter in
domain_client_validate()

19 years agoAdded some useful debugging stuff.
Tim Potter [Mon, 10 Jul 2000 04:54:09 +0000 (04:54 +0000)]
Added some useful debugging stuff.

Fixes for se_access_check() when you are the owner of the object.

19 years agoQuick change to short-circuit WINS queries if the WINS server returns a
Christopher R. Hertel [Sun, 9 Jul 2000 02:10:24 +0000 (02:10 +0000)]
Quick change to short-circuit WINS queries if the WINS server returns a
Negative Name Query Response.  We should't wait through the timeouts and
retry twice if we've been told "No Such Entry".

19 years agoJust a few changes due to bringing some partial files back
Gerald Carter [Fri, 7 Jul 2000 06:24:16 +0000 (06:24 +0000)]
Just a few changes due to bringing some partial files back
from TNG to HEAD.

--jerry

19 years agoMore rpcclient merge issues:
Gerald Carter [Fri, 7 Jul 2000 06:20:46 +0000 (06:20 +0000)]
More rpcclient merge issues:

        * fixes some readline bugs from the merge
        * first attempt at commands (spoolenum almost works)
        * no changes to existing functions in HEAD; only additions
          of new functions.  I'll weed out what I can as I go.

--jerry

19 years agoMore rpcclient merge issues:
Gerald Carter [Fri, 7 Jul 2000 06:18:00 +0000 (06:18 +0000)]
More rpcclient merge issues:

* fixes some readline bugs from the merge
* first attempt at commands (spoolenum almost works)
* no changes to existing functions in HEAD; only additions
  of new functions.  I'll weed out what I can as I go.

--jerry

19 years agoprinting/nt_printing.c: (From JF) use the driver name - already given to us.
Jeremy Allison [Thu, 6 Jul 2000 23:31:46 +0000 (23:31 +0000)]
printing/nt_printing.c: (From JF) use the driver name - already given to us.
printing/printing.c: priority needs to be 1 not zero (found by checked build).
rpc_server/srv_spoolss_nt.c: Log invalid handle access, also print out if this is a different
pid handle. This will help track down client access after a connection
is closed.
Jeremy.

19 years agose_access_check() tests.
Tim Potter [Thu, 6 Jul 2000 07:12:13 +0000 (07:12 +0000)]
se_access_check() tests.

19 years agoDon't check NT permissions when printing from lanman.
Tim Potter [Thu, 6 Jul 2000 07:10:32 +0000 (07:10 +0000)]
Don't check NT permissions when printing from lanman.

19 years agoImplemented NT printer descriptor checking. Yay!
Tim Potter [Thu, 6 Jul 2000 07:06:05 +0000 (07:06 +0000)]
Implemented NT printer descriptor checking.  Yay!

User details are passed into the printing back end from the spoolss code.
For each print operation these details are checked using the
se_access_check() function using information from the winbind daemon.

Fixed bug in nt_printing_setsec() where the user and group SIDs were
trashed if the permissions were changed from NT.  It is necessary to merge
these sids from the previous value of the security descriptor before
storing it in the tdb.

19 years agoMoved authenticated pipe user details into a current_user struct.
Tim Potter [Thu, 6 Jul 2000 07:01:37 +0000 (07:01 +0000)]
Moved authenticated pipe user details into a current_user struct.

19 years agoMoved printer ACE mask values from nt_printing.h to rpc_spoolss.h
Tim Potter [Thu, 6 Jul 2000 07:00:24 +0000 (07:00 +0000)]
Moved printer ACE mask values from nt_printing.h to rpc_spoolss.h

19 years agoInclude nss.h if present or define enough values to allow client access to
Tim Potter [Thu, 6 Jul 2000 06:59:27 +0000 (06:59 +0000)]
Include nss.h if present or define enough values to allow client access to
winbind.

19 years agoRewrite of se_access_check() function. Added comments and fixed a bunch of
Tim Potter [Thu, 6 Jul 2000 06:57:22 +0000 (06:57 +0000)]
Rewrite of se_access_check() function.  Added comments and fixed a bunch of
bugs.  I think there is a problem though with the permissions granted when
SEC_RIGHTS_MAXIMUM_ALLOWED is passed as the permissions requested.

19 years agoPass either an authenticated pipe or SMB user in a current_user struct down
Tim Potter [Thu, 6 Jul 2000 06:53:47 +0000 (06:53 +0000)]
Pass either an authenticated pipe or SMB user in a current_user struct down
to the printing back end functions.

19 years agoPass pipes_struct rather than vuid down to startdocprinter, setprinter and
Tim Potter [Thu, 6 Jul 2000 06:51:55 +0000 (06:51 +0000)]
Pass pipes_struct rather than vuid down to startdocprinter, setprinter and
setjob spoolss server commands.

19 years agoAdded global_sid_NULL S-1-0-0 to list of global sids.
Tim Potter [Thu, 6 Jul 2000 06:48:54 +0000 (06:48 +0000)]
Added global_sid_NULL S-1-0-0 to list of global sids.

19 years agoMake prototypes for functions returning an enum nss_status.
Tim Potter [Thu, 6 Jul 2000 06:48:01 +0000 (06:48 +0000)]
Make prototypes for functions returning an enum nss_status.

19 years agoChanged checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESS
Tim Potter [Thu, 6 Jul 2000 06:47:38 +0000 (06:47 +0000)]
Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESS
when looking up sids from winbindd.

19 years agoMoved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used by
Tim Potter [Thu, 6 Jul 2000 06:43:30 +0000 (06:43 +0000)]
Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used by
smbd.

19 years agonew protos
Andrew Tridgell [Thu, 6 Jul 2000 03:54:22 +0000 (03:54 +0000)]
new protos

19 years agothe smbw sample prog
Andrew Tridgell [Thu, 6 Jul 2000 03:54:07 +0000 (03:54 +0000)]
the smbw sample prog

19 years agodon't need shmem any more
Andrew Tridgell [Thu, 6 Jul 2000 03:53:49 +0000 (03:53 +0000)]
don't need shmem any more

19 years agowrote a little sample smbw program
Andrew Tridgell [Thu, 6 Jul 2000 03:52:47 +0000 (03:52 +0000)]
wrote a little sample smbw program
build using "make bin/smbw_sample"

this is to show people how to use smbw

19 years agoadded -L option
Andrew Tridgell [Thu, 6 Jul 2000 03:39:11 +0000 (03:39 +0000)]
added -L option

19 years agogot smbw to compile again on Linux
Andrew Tridgell [Thu, 6 Jul 2000 02:28:44 +0000 (02:28 +0000)]
got smbw to compile again on Linux

19 years agoBracked unbracketed macro arguments while looking for another bug.
Tim Potter [Thu, 6 Jul 2000 01:30:41 +0000 (01:30 +0000)]
Bracked unbracketed macro arguments while looking for another bug.

19 years agoMerge of wbinfo program from TNG.
Tim Potter [Wed, 5 Jul 2000 11:24:26 +0000 (11:24 +0000)]
Merge of wbinfo program from TNG.

19 years agothe dummy field in driver_info_6 is before the driver version and not
Jean-François Micouleau [Tue, 4 Jul 2000 22:51:05 +0000 (22:51 +0000)]
the dummy field in driver_info_6 is before the driver version and not
after.

I don't know who broke all that code, but I'm  ******** (censured)

J.F.

19 years agodriver_info_6 had a prs_align() that should not have been there.
Jean-François Micouleau [Tue, 4 Jul 2000 21:58:45 +0000 (21:58 +0000)]
driver_info_6 had a prs_align() that should not have been there.

J.F.

19 years agoSome more sec_ctx changes. Modified some fields in the pipe_struct
Tim Potter [Mon, 3 Jul 2000 06:52:31 +0000 (06:52 +0000)]
Some more sec_ctx changes.  Modified some fields in the pipe_struct
structure so authenticated pipe users can have their unix groups set when
become_authenticated_pipe_user() is called.

19 years agofirst pass at merging rpcclient from TNG to HEAD. You can get a
Gerald Carter [Mon, 3 Jul 2000 04:29:17 +0000 (04:29 +0000)]
first pass at merging rpcclient from TNG to HEAD.  You can get a
semi-connection and a rpcclient prompt, but no functionality there yet.
Will be a few more days on that.

I need to clean this up a little.  Will work on that some more.

--jerry

19 years agofirst pass at merging rpcclient from TNG to HEAD. You can get a
Gerald Carter [Mon, 3 Jul 2000 04:28:29 +0000 (04:28 +0000)]
first pass at merging rpcclient from TNG to HEAD.  You can get a
semi-connection and a rpcclient prompt, but no functionality there yet.
Will be a few more days on that.

--jerry

19 years agofirst pass at merging rpcclient from TNG to HEAD. You can get a
Gerald Carter [Mon, 3 Jul 2000 04:26:37 +0000 (04:26 +0000)]
first pass at merging rpcclient from TNG to HEAD.  You can get a
semi-connection and a rpcclient prompt, but no functionality there yet.
Will be a few more days on that.

The changes to the header files were minor.  A few struct's and a few
additional fields to existing ones.  No deletions.  **minimal change
necessary** :-)  Well, maybe not minimal, but I tried.

All other programs compile, link and run ok from what I can tell so
I don;t think I broke anything.

--jerry

19 years agofirst pass at merging rpcclient from TNG to HEAD. You can get a
Gerald Carter [Mon, 3 Jul 2000 04:24:31 +0000 (04:24 +0000)]
first pass at merging rpcclient from TNG to HEAD.  You can get a
semi-connection and a rpcclient prompt, but no functionality there yet.
Will be a few more days on that.

These files changed only with the addition of some support functions
from TNG

--jerry

19 years agoRenamed generic_request() to winbindd_request()
Tim Potter [Mon, 3 Jul 2000 00:58:13 +0000 (00:58 +0000)]
Renamed generic_request() to winbindd_request()

19 years agoRe-ran autoconf
Tim Potter [Mon, 3 Jul 2000 00:57:15 +0000 (00:57 +0000)]
Re-ran autoconf

19 years agoreverting Jeremy's changes to enumprinterdata.
Jean-François Micouleau [Sat, 1 Jul 2000 16:40:10 +0000 (16:40 +0000)]
reverting Jeremy's changes to enumprinterdata.

Jeremy, the out_max_value_len and out_max_data_len were good. Your change
is breaking NT4SP6 checked version.

        J.F.

19 years agoFound that the minimum priority is 1 and not 0 on NT.
Jean-François Micouleau [Sat, 1 Jul 2000 09:34:37 +0000 (09:34 +0000)]
Found that the minimum priority is 1 and not 0 on NT.

Changed back the devicemode's devicename to "\\server\printer".

I'm 100% sure it is correct, it's what NT sends on the wire. And that's
the printer's name and NOT the port's name as it has to be unique. It must
also be a UNC because it's a remote printer (remote for the client).

        J.F.

19 years agoRemoved unneccessary ()'s afer &'s that made it look like we
Jeremy Allison [Sat, 1 Jul 2000 05:44:49 +0000 (05:44 +0000)]
Removed unneccessary ()'s afer &'s that made it look like we
don't know how the C language works :-).
Jeremy

19 years agoMerge from TNG.
Tim Potter [Fri, 30 Jun 2000 06:48:47 +0000 (06:48 +0000)]
Merge from TNG.

19 years agoAdded more args to smbclient wrapper - there's probably a better way
Tim Potter [Fri, 30 Jun 2000 06:18:42 +0000 (06:18 +0000)]
Added more args to smbclient wrapper - there's probably a better way
to do this.

19 years agoUpdated documentation for wbinfo and winbindd.
Tim Potter [Fri, 30 Jun 2000 06:10:36 +0000 (06:10 +0000)]
Updated documentation for wbinfo and winbindd.

19 years agoFixed oops with missing MANGLE_PATH directive.
Jeremy Allison [Fri, 30 Jun 2000 01:07:26 +0000 (01:07 +0000)]
Fixed oops with missing MANGLE_PATH directive.
Jeremy.

19 years agosimpler configure test
Andrew Tridgell [Thu, 29 Jun 2000 08:23:56 +0000 (08:23 +0000)]
simpler configure test

19 years agoslightly saner defaults
Andrew Tridgell [Thu, 29 Jun 2000 08:22:00 +0000 (08:22 +0000)]
slightly saner defaults