summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-07-07More rpcclient merge issues:Gerald Carter16-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 (This used to be commit 61d2aad5dc2b212b11c981f1eca47efa627e9fc8)
2000-07-07More rpcclient merge issues:Gerald Carter5-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 (This used to be commit 12e2a21e1bc4c6fa02606d21cea4cb5a8b4d41a9)
2000-07-06printing/nt_printing.c: (From JF) use the driver name - already given to us.Jeremy Allison4-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. (This used to be commit 4ff949228c40b6abb2008df8db985562ac2895d2)
2000-07-06se_access_check() tests.Tim Potter11-0/+1060
(This used to be commit bba912cad8dfcef3dbc1db020304ab29fd71d5cb)
2000-07-06Don't check NT permissions when printing from lanman.Tim Potter2-6/+14
(This used to be commit e84607eedf3be454f8f709c70cafc5ded4ea951d)
2000-07-06Implemented NT printer descriptor checking. Yay!Tim Potter2-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. (This used to be commit 8d42661d424d80e1048d08b5cad3281643231d62)
2000-07-06Moved authenticated pipe user details into a current_user struct.Tim Potter2-2/+2
(This used to be commit 3c4a5f624bfa69eb81d998530d9227e158edd109)
2000-07-06Moved printer ACE mask values from nt_printing.h to rpc_spoolss.hTim Potter2-9/+6
(This used to be commit 9245af1ea18babae09a92af634428a63ec55438e)
2000-07-06Include nss.h if present or define enough values to allow client access toTim Potter1-0/+15
winbind. (This used to be commit 669bd8dc1ab4690cf21310fe0310f1716e4a0197)
2000-07-06Rewrite of se_access_check() function. Added comments and fixed a bunch ofTim Potter1-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. (This used to be commit 27d821913c87dddd44a0690f4b191c9d2445817e)
2000-07-06Pass either an authenticated pipe or SMB user in a current_user struct downTim Potter1-13/+38
to the printing back end functions. (This used to be commit a2751a269e05d5e46d4b22d6082a5898cdb4526f)
2000-07-06Pass pipes_struct rather than vuid down to startdocprinter, setprinter andTim Potter1-3/+3
setjob spoolss server commands. (This used to be commit f35745137451f769a0723cb0665ba0b9d4801ad8)
2000-07-06Added global_sid_NULL S-1-0-0 to list of global sids.Tim Potter2-0/+3
(This used to be commit f49905e74c6e3891b5816b136fd1d0d77c392e2f)
2000-07-06Make prototypes for functions returning an enum nss_status.Tim Potter1-1/+1
(This used to be commit dac9c934ac3932fb9870417e8f712a880dd25e45)
2000-07-06Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESSTim Potter1-3/+3
when looking up sids from winbindd. (This used to be commit 79fb877bf13ba462ad0a878d8975f8b5183e3ea3)
2000-07-06Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used byTim Potter1-2/+2
smbd. (This used to be commit 539c32fa423bee9be34eeda96fad5398f7cf982b)
2000-07-06new protosAndrew Tridgell1-1/+0
(This used to be commit bd323fa503b1ad7ab9ca35b2f93774541b02e8e3)
2000-07-06the smbw sample progAndrew Tridgell1-0/+93
(This used to be commit 0afcc0d3368472ed4b49167dc4b7d907b0ccdc25)
2000-07-06don't need shmem any moreAndrew Tridgell3-38/+0
(This used to be commit a81371a4fd6f7972b054bea90428d1d2fd6d1d22)
2000-07-06wrote a little sample smbw programAndrew Tridgell1-1/+8
build using "make bin/smbw_sample" this is to show people how to use smbw (This used to be commit 7d7ceaa9219ba88075cac23eb42b163903537c70)
2000-07-06added -L optionAndrew Tridgell1-2/+8
(This used to be commit ae80ca637cd4de6d18f995a4b6e1e1e21ab63581)
2000-07-06got smbw to compile again on LinuxAndrew Tridgell2-3/+4
(This used to be commit 614fd4119ce5aa37acd03321dc6ef263ae16bdc5)
2000-07-06Bracked unbracketed macro arguments while looking for another bug.Tim Potter1-2/+2
(This used to be commit 873774e36dfc877727133a86fbc2c2ddc2d563cd)
2000-07-05Merge of wbinfo program from TNG.Tim Potter3-2/+421
(This used to be commit 659e4d88ff9dbf1fa9cd8904470c4a8d02d8674b)
2000-07-04the dummy field in driver_info_6 is before the driver version and notJean-François Micouleau1-2/+2
after. I don't know who broke all that code, but I'm ******** (censured) J.F. (This used to be commit 1fae158529ca0d1cb01ff422638418ce0dbd8dbf)
2000-07-04driver_info_6 had a prs_align() that should not have been there.Jean-François Micouleau1-2/+0
J.F. (This used to be commit a882dd225e464b300cedb52eb43f57f3a56c5b31)
2000-07-03Some more sec_ctx changes. Modified some fields in the pipe_structTim Potter5-39/+49
structure so authenticated pipe users can have their unix groups set when become_authenticated_pipe_user() is called. (This used to be commit 55c9bf124dc661df43bfe582ef14b1297aeaf0fa)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter1-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 (This used to be commit 1b305cb3421eef575cc19bacf1fcc57537d7ea75)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter9-747/+2396
semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. --jerry (This used to be commit 269051aa0c52728278a1d290148564f11cf7f189)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter7-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 (This used to be commit cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter4-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 (This used to be commit a04ea15f723e559db3c60bed03318cc7be851f69)
2000-07-03Renamed generic_request() to winbindd_request()Tim Potter2-4/+4
(This used to be commit d9041958558fc8e3c7b0491eb0f7e45bee9d19c5)
2000-07-03Re-ran autoconfTim Potter1-137/+136
(This used to be commit 2003c11c3e1635fec4702f5a704b5ce9b0bc3f64)
2000-07-01reverting Jeremy's changes to enumprinterdata.Jean-François Micouleau1-2/+2
Jeremy, the out_max_value_len and out_max_data_len were good. Your change is breaking NT4SP6 checked version. J.F. (This used to be commit 5f2be8ba7dcd1eacc169e8d1d53c309e45a5cce6)
2000-07-01Found that the minimum priority is 1 and not 0 on NT.Jean-François Micouleau2-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. (This used to be commit a7098c47b6ecbd7bb5df1330ea176aa4d463aad3)
2000-07-01Removed unneccessary ()'s afer &'s that made it look like weJeremy Allison1-125/+125
don't know how the C language works :-). Jeremy (This used to be commit d47329649d4f92a52acac7de256d9d9b0afc33c8)
2000-06-30Merge from TNG.Tim Potter2-191/+206
(This used to be commit b46fc0ed040ff24bb4e348904fdb0e9788364837)
2000-06-30Added more args to smbclient wrapper - there's probably a better wayTim Potter1-1/+3
to do this. (This used to be commit 8de200ecbcc3b5b257354a8f51ebefad4cabdb73)
2000-06-30Updated documentation for wbinfo and winbindd.Tim Potter6-33/+92
(This used to be commit 8b814d1bb188f7d657fca6014d0b50d2bbc1ab1b)
2000-06-30Fixed oops with missing MANGLE_PATH directive.Jeremy Allison1-2/+6
Jeremy. (This used to be commit fb6b5a964512dec37f85f8de39c0c06f702aabbd)
2000-06-29simpler configure testAndrew Tridgell1-2/+1
(This used to be commit 7752c14c313bf9b565828181647fb71457167d92)
2000-06-29slightly saner defaultsAndrew Tridgell1-3/+3
(This used to be commit fae3acc574c6e78121e6a1d464b67a15fb025304)
2000-06-29Tidy up current spool code - added some JRATEST ifdefs to allowJeremy Allison3-28/+29
experimentation with what is making spoolss.exe crash - may be removed later. Jeremy. (This used to be commit f3fe384dc39ce49c639a7adf35179a50cb86abf0)
2000-06-28Removed extra uint32 field in auto-notify reply. This fixes some spoolss.exeJeremy Allison1-49/+75
crashes but there are still more to work on. Jeremy. (This used to be commit aa49dc037fa4e7b00d1a33619da5450a4eda1b9e)
2000-06-26Changing drivers using the properties page works - but only if getting/settingJeremy Allison5-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. (This used to be commit 8c9ed874363e6a710bc0fe521bb8c4f7ee219587)
2000-06-26Fixed display of "Everyone" in SD's.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 3c7fdaa576c09dab2e4de78ed353b1fa1d65a40d)
2000-06-26fixed size alignment in tallocAndrew Tridgell1-2/+2
(This used to be commit 064cdb7ee69bff3af12d1e0b3c3b59207c594681)
2000-06-24lib/util_sid.c: Uninitialized memory read.Jeremy Allison4-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. (This used to be commit 151b131ee01ef916c072bcdaa9943a2e984a0f45)
2000-06-23Fix a malloc of zero problem.Jeremy Allison1-38/+49
Jeremy. (This used to be commit 2aa21db960666736331b18956422b7c13aad0f0f)
2000-06-23lib/util_unistr.c: Off-by-one fix for dos_PutUniStr from John Reilly ↵Jeremy Allison2-2/+6
jreilly@hp.com. Memory leak fix for new sec_ctx code (sorry Tim :-). Jeremy. (This used to be commit edaf49c66d5a5ccf6689b358c301e208599a468f)