summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Added more args to smbclient wrapper - there's probably a better wayTim Potter2000-06-301-1/+3
| | | | to do this.
* Updated documentation for wbinfo and winbindd.Tim Potter2000-06-306-33/+92
|
* 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.
* Don't return a value for a void function.Tim Potter2000-06-231-1/+1
|
* Test harness stuff for compiling things.Tim Potter2000-06-231-0/+66
|
* 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
|
* Added parenthesis around definition of PRINTER_ACE_PRINT.Tim Potter2000-06-231-1/+1
|
* Added return for become_authenticated_pipe_user() function.Tim Potter2000-06-231-0/+2
|
* Tests for new security context stuff.Tim Potter2000-06-2312-0/+869
|
* make protoTim Potter2000-06-231-386/+393
|
* Added MAX_SEC_CTX_DEPTHTim Potter2000-06-231-0/+2
|
* Delete OriginalDir stuff.Tim Potter2000-06-233-16/+20
|
* Moved some static functions to sec_ctx.cTim Potter2000-06-231-222/+30
| | | | | Implemented become_root() and friends in terms of push/pop/set security contexts.
* Added smbd/sec_ctx.o to smbd objects.Tim Potter2000-06-231-1/+2
|
* Call init_sec_ctx() instead of init_uid().Tim Potter2000-06-231-9/+1
| | | | Delete OriginalDir stuff.
* Removed save directory argument to become_root() calls. Probably most ofTim Potter2000-06-236-42/+42
| | | | this stuff doesn't need to be done as root anyway.
* I've been working on refactoring some of the mess that is the become_user()Tim Potter2000-06-231-0/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. This code is now implemented as a stack of security contexts, where a security context is defined as a set of effective user, group and supplementary group ids. The following functions are implemented: BOOL push_sec_ctx(void); Create a new security context on the stack which is the same as the current security context. void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups); Set the current security context to a given set of user and group ids. void set_root_sec_ctx(void); Set to uid = gid = 0. No supplementary groups are set. BOOL pop_sec_ctx(void); Pop a security context from the stack and restore the user and group permissions of the previous context. void init_sec_ctx(void); Initialise the security context stack. This must be called before any of the other operations are used or weird things may happen. The idea is that there is a base security context which is either root or some authenticated unix user. Other security contexts can be pushed and popped as needed for things like changing passwords, or rpc pipe operations where the rpc pipe user is different from the smb user.
* just enough to get rpcclient to compile. Look for #if 0Gerald Carter2000-06-235-4/+15
| | | | | | | | blocks around a few unimplemented functions. Also had to add cli_reg.c to Makefile.in --jerry
* Changed enumports to show printernames as ports. In line with 'the grand ↵Jeremy Allison2000-06-223-16/+67
| | | | | | | plan' :-) Gerald & I discussed with HP. More changes to follow. Jeremy.
* lib/util_unistr.c: Removed ascii_to_unistr() as it does no codepage.Jeremy Allison2000-06-224-499/+428
| | | | | | | | | Removed unistr_to_ascii() as it was never used. printing/nt_printing.c: Removed "DUMMY.XX" files. rpc_server/srv_spoolss_nt.c: Use dos_PutUniCode() instead of ascii_to_unistr(). Attempted to fix the "return value" size code based on J.F's comments. This needs looking at. Jeremy.
* fixed two minor bugs in new sys_select()Andrew Tridgell2000-06-211-5/+5
|
* A neater way of solving the S_ISSOCK, S_ISFIFO problem.Tim Potter2000-06-212-47/+54
| | | | Moved the S_* macros from smb.h to includes.h
* Changed default printer driver to "" from NULL.Jeremy Allison2000-06-211-1/+1
| | | | Jeremy.
* Fixes for Win2k "add printer driver" INFO_LEVEL_6 was wrong, also someJeremy Allison2000-06-205-31/+36
| | | | | memory fixes. Jeremy.
* Fixes for IRIX kernel oplocks and systems that don't have nss.hJeremy Allison2000-06-205-3/+16
| | | | Jeremy.
* Paranoia changes to ensure that anything touched by a signal handlerJeremy Allison2000-06-193-18/+19
| | | | | and the main code is declared as VOLATILE SIG_ATOMIC_T. Jeremy.