summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* spoolenum commend (when compiled with the new prs_unistr())Gerald Carter2000-07-101-7/+9
| | | | | | | | | now works. :-) jerry
* Fixed a bug in parsing the command line.Gerald Carter2000-07-101-1/+1
| | | | jerry
* included a a new prs_unistr(). Is currently #if'd out (denotedGerald Carter2000-07-101-0/+92
| | | | | | | | | | | | 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
* Added wbinfo and .libsTim Potter2000-07-101-0/+2
|
* Fixes for various compile warnings on Solaris 8.Tim Potter2000-07-106-19/+23
|
* Moved winbind client functions from various odd locations toTim Potter2000-07-108-168/+240
| | | | | | nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.
* make protoTim Potter2000-07-102-335/+336
|
* Re-instated lanman printing security checks (oops).Tim Potter2000-07-105-53/+177
| | | | | | | | | | | | | | | | | 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
* Spelling fixes.Tim Potter2000-07-101-3/+3
|
* Fix for passing NULL pointer as an array parameter inTim Potter2000-07-102-4/+4
| | | | domain_client_validate()
* Added some useful debugging stuff.Tim Potter2000-07-101-10/+66
| | | | Fixes for se_access_check() when you are the owner of the object.
* Quick change to short-circuit WINS queries if the WINS server returns aChristopher R. Hertel2000-07-091-6/+20
| | | | | Negative Name Query Response. We should't wait through the timeouts and retry twice if we've been told "No Such Entry".
* Just a few changes due to bringing some partial files backGerald Carter2000-07-071-3/+10
| | | | | | | | from TNG to HEAD. --jerry
* More rpcclient merge issues:Gerald Carter2000-07-0716-14/+1471
| | | | | | | | | | | | * 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
* More rpcclient merge issues:Gerald Carter2000-07-075-1/+1222
| | | | | | | | | | | | * 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
* printing/nt_printing.c: (From JF) use the driver name - already given to us.Jeremy Allison2000-07-064-68/+87
| | | | | | | | 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.
* se_access_check() tests.Tim Potter2000-07-0611-0/+1060
|
* Don't check NT permissions when printing from lanman.Tim Potter2000-07-062-6/+14
|
* Implemented NT printer descriptor checking. Yay!Tim Potter2000-07-062-68/+115
| | | | | | | | | | | 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.
* Moved authenticated pipe user details into a current_user struct.Tim Potter2000-07-062-2/+2
|
* Moved printer ACE mask values from nt_printing.h to rpc_spoolss.hTim Potter2000-07-062-9/+6
|
* Include nss.h if present or define enough values to allow client access toTim Potter2000-07-061-0/+15
| | | | winbind.
* Rewrite of se_access_check() function. Added comments and fixed a bunch ofTim Potter2000-07-061-189/+287
| | | | | bugs. I think there is a problem though with the permissions granted when SEC_RIGHTS_MAXIMUM_ALLOWED is passed as the permissions requested.
* Pass either an authenticated pipe or SMB user in a current_user struct downTim Potter2000-07-061-13/+38
| | | | to the printing back end functions.
* Pass pipes_struct rather than vuid down to startdocprinter, setprinter andTim Potter2000-07-061-3/+3
| | | | setjob spoolss server commands.
* Added global_sid_NULL S-1-0-0 to list of global sids.Tim Potter2000-07-062-0/+3
|
* Make prototypes for functions returning an enum nss_status.Tim Potter2000-07-061-1/+1
|
* Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESSTim Potter2000-07-061-3/+3
| | | | when looking up sids from winbindd.
* Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used byTim Potter2000-07-061-2/+2
| | | | smbd.
* new protosAndrew Tridgell2000-07-061-1/+0
|
* the smbw sample progAndrew Tridgell2000-07-061-0/+93
|
* don't need shmem any moreAndrew Tridgell2000-07-063-38/+0
|
* wrote a little sample smbw programAndrew Tridgell2000-07-061-1/+8
| | | | | | build using "make bin/smbw_sample" this is to show people how to use smbw
* added -L optionAndrew Tridgell2000-07-061-2/+8
|
* got smbw to compile again on LinuxAndrew Tridgell2000-07-062-3/+4
|
* Bracked unbracketed macro arguments while looking for another bug.Tim Potter2000-07-061-2/+2
|
* Merge of wbinfo program from TNG.Tim Potter2000-07-053-2/+421
|
* the dummy field in driver_info_6 is before the driver version and notJean-François Micouleau2000-07-041-2/+2
| | | | | | | | after. I don't know who broke all that code, but I'm ******** (censured) J.F.
* driver_info_6 had a prs_align() that should not have been there.Jean-François Micouleau2000-07-041-2/+0
| | | | J.F.
* Some more sec_ctx changes. Modified some fields in the pipe_structTim Potter2000-07-035-39/+49
| | | | | structure so authenticated pipe users can have their unix groups set when become_authenticated_pipe_user() is called.
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-031-14/+18
| | | | | | | | | 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
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-039-747/+2396
| | | | | | | semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. --jerry
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-037-105/+353
| | | | | | | | | | | | | | 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
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-034-6/+105
| | | | | | | | | | 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
* Renamed generic_request() to winbindd_request()Tim Potter2000-07-032-4/+4
|
* Re-ran autoconfTim Potter2000-07-031-137/+136
|
* reverting Jeremy's changes to enumprinterdata.Jean-François Micouleau2000-07-011-2/+2
| | | | | | | Jeremy, the out_max_value_len and out_max_data_len were good. Your change is breaking NT4SP6 checked version. J.F.
* Found that the minimum priority is 1 and not 0 on NT.Jean-François Micouleau2000-07-012-5/+12
| | | | | | | | | | 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.
* Removed unneccessary ()'s afer &'s that made it look like weJeremy Allison2000-07-011-125/+125
| | | | | don't know how the C language works :-). Jeremy
* Merge from TNG.Tim Potter2000-06-302-191/+206
|