summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't return winbind groups or users when responding to samr_enum_dom_usersTim Potter2000-07-131-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 Potter2000-07-131-0/+2
|
* we are now sure the printer_info_2 timestamp is updated everytimeJean-François Micouleau2000-07-122-5/+5
| | | | | | required. J.F.
* - The printers are indexed by the sharename in both get_a_printer() andJean-François Micouleau2000-07-123-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 fixChristopher R. Hertel2000-07-121-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 forChristopher R. Hertel2000-07-121-1/+1
| | | | that matter. crh
* #ifndef RPCCLIENT_TESTGerald Carter2000-07-111-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" SIDJeremy Allison2000-07-111-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 Allison2000-07-111-9/+20
| | | | Jeremy.
* Ensure correct driver paths are returned in INFO_2 struct.Jeremy Allison2000-07-101-6/+6
| | | | Jeremy.
* make protoGerald Carter2000-07-101-0/+1
|
* 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.