summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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
|
* Fixed oops with missing MANGLE_PATH directive.Jeremy Allison2000-06-301-2/+6
| | | | Jeremy.
* simpler configure testAndrew Tridgell2000-06-291-2/+1
|
* slightly saner defaultsAndrew Tridgell2000-06-291-3/+3
|
* Tidy up current spool code - added some JRATEST ifdefs to allowJeremy Allison2000-06-293-28/+29
| | | | | | experimentation with what is making spoolss.exe crash - may be removed later. Jeremy.
* Removed extra uint32 field in auto-notify reply. This fixes some spoolss.exeJeremy Allison2000-06-281-49/+75
| | | | | crashes but there are still more to work on. Jeremy.
* Changing drivers using the properties page works - but only if getting/settingJeremy Allison2000-06-265-424/+439
| | | | | | | | | | security descriptors is disabled (as it is in this code). If get/set sd's is enabled spooler.exe crashes on NT. I'll investigate and fix that issue next. Jeremy.
* Fixed display of "Everyone" in SD's.Jeremy Allison2000-06-261-1/+5
| | | | Jeremy.
* fixed size alignment in tallocAndrew Tridgell2000-06-261-2/+2
|
* lib/util_sid.c: Uninitialized memory read.Jeremy Allison2000-06-244-9/+20
| | | | | | | | | | rpc_parse/parse_spoolss.c: Added note about prs_align when marshalling a SEC_DESC... rpc_server/srv_lsa.c: Tim - your changes broke the display of the 'everyone' group when doing file access with no winbindd running. This is a partial fix - more when I have analysed this more. rpc_server/srv_spoolss_nt.c: Fix for the 'change driver' problem ! Hurrah ! Jeremy.
* Fix a malloc of zero problem.Jeremy Allison2000-06-231-38/+49
| | | | Jeremy.
* lib/util_unistr.c: Off-by-one fix for dos_PutUniStr from John Reilly ↵Jeremy Allison2000-06-232-2/+6
| | | | | | | jreilly@hp.com. Memory leak fix for new sec_ctx code (sorry Tim :-). Jeremy.
* make protoTim Potter2000-06-231-0/+41
|
* Some compile fixes.Tim Potter2000-06-231-3/+0
|
* Got a bit carried away deleting things.Tim Potter2000-06-231-1/+1
|
* Removed unused variables.Tim Potter2000-06-231-2/+0
|