Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't return winbind groups or users when responding to samr_enum_dom_users | Tim Potter | 2000-07-13 | 1 | -0/+21 | |
| | | | | | | 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. )-: | |||||
* | Uninitialised variables. | Tim Potter | 2000-07-13 | 1 | -0/+2 | |
| | ||||||
* | we are now sure the printer_info_2 timestamp is updated everytime | Jean-François Micouleau | 2000-07-12 | 2 | -5/+5 | |
| | | | | | | required. J.F. | |||||
* | - The printers are indexed by the sharename in both get_a_printer() and | Jean-François Micouleau | 2000-07-12 | 3 | -21/+41 | |
| | | | | | | | | | | | | | | | 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. | |||||
* | An improved version of the Negative Query Response fix. The earlier fix | Christopher R. Hertel | 2000-07-12 | 1 | -10/+37 | |
| | | | | | | | | 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 -)----- | |||||
* | Typo. It said "DEGUG" in the comments. I dunno how to degug, or gug for | Christopher R. Hertel | 2000-07-12 | 1 | -1/+1 | |
| | | | | that matter. crh | |||||
* | #ifndef RPCCLIENT_TEST | Gerald Carter | 2000-07-11 | 1 | -35/+16 | |
| | | | | | | | | | | | use old prs_unistr() #else use new prs_unistr() which handles UNMARSHALL #endif /* RPCCLIENT_TEST */ jerry | |||||
* | Allow name lookup to fail and fall back to using the "Everyone" SID | Jeremy Allison | 2000-07-11 | 1 | -3/+5 | |
| | | | | | | as SD owner. Allows smbd to work without winbindd running. Check for security implications ! Jeremy. | |||||
* | Add local fallback for name lookup if no winbindd running... | Jeremy Allison | 2000-07-11 | 1 | -9/+20 | |
| | | | | Jeremy. | |||||
* | Ensure correct driver paths are returned in INFO_2 struct. | Jeremy Allison | 2000-07-10 | 1 | -6/+6 | |
| | | | | Jeremy. | |||||
* | make proto | Gerald Carter | 2000-07-10 | 1 | -0/+1 | |
| | ||||||
* | spoolenum commend (when compiled with the new prs_unistr()) | Gerald Carter | 2000-07-10 | 1 | -7/+9 | |
| | | | | | | | | | now works. :-) jerry | |||||
* | Fixed a bug in parsing the command line. | Gerald Carter | 2000-07-10 | 1 | -1/+1 | |
| | | | | jerry | |||||
* | included a a new prs_unistr(). Is currently #if'd out (denoted | Gerald Carter | 2000-07-10 | 1 | -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 .libs | Tim Potter | 2000-07-10 | 1 | -0/+2 | |
| | ||||||
* | Fixes for various compile warnings on Solaris 8. | Tim Potter | 2000-07-10 | 6 | -19/+23 | |
| | ||||||
* | Moved winbind client functions from various odd locations to | Tim Potter | 2000-07-10 | 8 | -168/+240 | |
| | | | | | | nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG. | |||||
* | make proto | Tim Potter | 2000-07-10 | 2 | -335/+336 | |
| | ||||||
* | Re-instated lanman printing security checks (oops). | Tim Potter | 2000-07-10 | 5 | -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 Potter | 2000-07-10 | 1 | -3/+3 | |
| | ||||||
* | Fix for passing NULL pointer as an array parameter in | Tim Potter | 2000-07-10 | 2 | -4/+4 | |
| | | | | domain_client_validate() | |||||
* | Added some useful debugging stuff. | Tim Potter | 2000-07-10 | 1 | -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 a | Christopher R. Hertel | 2000-07-09 | 1 | -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 back | Gerald Carter | 2000-07-07 | 1 | -3/+10 | |
| | | | | | | | | from TNG to HEAD. --jerry | |||||
* | More rpcclient merge issues: | Gerald Carter | 2000-07-07 | 16 | -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 Carter | 2000-07-07 | 5 | -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 Allison | 2000-07-06 | 4 | -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 Potter | 2000-07-06 | 11 | -0/+1060 | |
| | ||||||
* | Don't check NT permissions when printing from lanman. | Tim Potter | 2000-07-06 | 2 | -6/+14 | |
| | ||||||
* | Implemented NT printer descriptor checking. Yay! | Tim Potter | 2000-07-06 | 2 | -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 Potter | 2000-07-06 | 2 | -2/+2 | |
| | ||||||
* | Moved printer ACE mask values from nt_printing.h to rpc_spoolss.h | Tim Potter | 2000-07-06 | 2 | -9/+6 | |
| | ||||||
* | Include nss.h if present or define enough values to allow client access to | Tim Potter | 2000-07-06 | 1 | -0/+15 | |
| | | | | winbind. | |||||
* | Rewrite of se_access_check() function. Added comments and fixed a bunch of | Tim Potter | 2000-07-06 | 1 | -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 down | Tim Potter | 2000-07-06 | 1 | -13/+38 | |
| | | | | to the printing back end functions. | |||||
* | Pass pipes_struct rather than vuid down to startdocprinter, setprinter and | Tim Potter | 2000-07-06 | 1 | -3/+3 | |
| | | | | setjob spoolss server commands. | |||||
* | Added global_sid_NULL S-1-0-0 to list of global sids. | Tim Potter | 2000-07-06 | 2 | -0/+3 | |
| | ||||||
* | Make prototypes for functions returning an enum nss_status. | Tim Potter | 2000-07-06 | 1 | -1/+1 | |
| | ||||||
* | Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESS | Tim Potter | 2000-07-06 | 1 | -3/+3 | |
| | | | | when looking up sids from winbindd. | |||||
* | Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used by | Tim Potter | 2000-07-06 | 1 | -2/+2 | |
| | | | | smbd. | |||||
* | new protos | Andrew Tridgell | 2000-07-06 | 1 | -1/+0 | |
| | ||||||
* | the smbw sample prog | Andrew Tridgell | 2000-07-06 | 1 | -0/+93 | |
| | ||||||
* | don't need shmem any more | Andrew Tridgell | 2000-07-06 | 3 | -38/+0 | |
| | ||||||
* | wrote a little sample smbw program | Andrew Tridgell | 2000-07-06 | 1 | -1/+8 | |
| | | | | | | build using "make bin/smbw_sample" this is to show people how to use smbw | |||||
* | added -L option | Andrew Tridgell | 2000-07-06 | 1 | -2/+8 | |
| | ||||||
* | got smbw to compile again on Linux | Andrew Tridgell | 2000-07-06 | 2 | -3/+4 | |
| | ||||||
* | Bracked unbracketed macro arguments while looking for another bug. | Tim Potter | 2000-07-06 | 1 | -2/+2 | |
| | ||||||
* | Merge of wbinfo program from TNG. | Tim Potter | 2000-07-05 | 3 | -2/+421 | |
| | ||||||
* | the dummy field in driver_info_6 is before the driver version and not | Jean-François Micouleau | 2000-07-04 | 1 | -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 Micouleau | 2000-07-04 | 1 | -2/+0 | |
| | | | | J.F. |