summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
Commit message (Collapse)AuthorAgeFilesLines
* HPUX fix. This looks like a big change but isn't actually, most of theJeremy Allison1998-12-104-17/+17
| | | | | | | | | | | | | | | | changes are bzero -> memset as the compiler on HPUX is very picky about bzero (probably a strange define). The significant changes are in configure.in, to fix the HPUX shadow.h problem and also move the large file support to the correct place. passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf. tests/trapdoor.c: Fix to use setresuid and setresgid if defined. The rest of the changes are bzero -> memset. Jeremy.
* configure.in: Fixed setresgid check - should use AC_TRY_RUN not AC_TRY_COMPILE.Jeremy Allison1998-12-081-2/+2
| | | | | | | | rpc_parse/parse_samr.c: Removed unneeded '&'s. smbd/blocking.c: smbd/reply.c: Fix for NT4.x bug where it sends large file lock requests *even if Samba did not nogitiate large file support* ! Jeremy.
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-1/+1
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* ZERO_STRUCTP not PNLuke Leighton1998-11-131-6/+6
|
* use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)Luke Leighton1998-11-131-6/+6
|
* fixes for OSF1 compilationAndrew Tridgell1998-11-131-2/+2
|
* include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.Jeremy Allison1998-11-131-6/+6
| | | | | | | lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment). rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection. smbd/quotas.c: Fixed typo. Jeremy.
* security descriptorsLuke Leighton1998-11-132-62/+78
|
* security descriptors.Luke Leighton1998-11-122-26/+268
| | | | kanji const char* warnings.
* jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.Luke Leighton1998-11-124-24/+38
| | | | security descriptor testing. hey wow, you can get a SD then send it back!
* security descriptors and registry.Luke Leighton1998-11-123-2/+101
|
* security descriptor info, provided by jean-francoisLuke Leighton1998-11-112-29/+65
|
* clearing up security descriptorLuke Leighton1998-11-113-41/+104
|
* registry delete value command: "regdeleteval".Luke Leighton1998-11-111-0/+51
| | | | this is just so unbelievably simple to do...
* renamed unk_1b to flush_keyLuke Leighton1998-11-111-5/+5
|
* - renamed open_policy to open_hklm.Luke Leighton1998-11-111-18/+24
| | | | | | - renamed open_unk_4 to open_hku - fixed createkey issue spotted by phil cox
* rpcclient registry key delete command: "regdeletekey".Luke Leighton1998-11-101-0/+51
|
* registry modification requires a "sync" or "refresh" on the parent key.Luke Leighton1998-11-101-0/+40
| | | | opcode 0xb added to do this. a likely candidate name is "RegFlushKey".
* include/local.h:Jeremy Allison1998-11-102-2/+2
| | | | | | | | | | | | | include/smb.h: param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). printing/printing.c: Added J.F.'s latest fix. rpc_parse/parse_misc.c: parse_reg.c: rpcclient/cmd_reg.c: rpcclient/display.c: SGI compiler signed/unsigned issues. smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). utils/testparm.c: Added extra test. Jeremy.
* rpcclient registry commands.Luke Leighton1998-11-105-47/+918
|
* split socket util functions into util_sock.c. util.c NOT committedLuke Leighton1998-11-091-0/+176
| | | | | | | | | and util_sock.c NOT included in Makefile.in. registry commands added to rpcclient. waiting for 2_0_0 split before committing modified files. these files are new modules, and are not referenced in the Makefile.in
* fix to some of the unicode string handling. there are others pendingLuke Leighton1998-11-031-7/+7
| | | | in non-critical areas.
* Added clear-out-structure fix for make_unistr2.Jeremy Allison1998-10-281-0/+2
| | | | Jeremy.
* amazing. the improvements to NT continue, evidence for which shows upLuke Leighton1998-10-274-15/+16
| | | | | | | | | | | now as "RPC fault" if the UNIHDR structure lengths do not exactly match up to the length of the data stream. so, all versions of samba prior to this one have an off-by-one bug in unicode string lengths. all versions of NT prior to NT 5 beta 2 could possibly have buffer problems when receiving badly formatted UNICODE strings.
* bug fix in lsa_trans_names.Luke Leighton1998-10-221-1/+3
| | | | | well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does decimal not hexadecimal oops.
* domain aliases added a bit better: does local aliases if you queryLuke Leighton1998-10-211-24/+26
| | | | | for sid S-1-5-20 and does (nothing at the moment) if you query for your own sid.
* the next dialog: user-groups. it's not very sensible what appears, but hey:Luke Leighton1998-10-211-3/+322
| | | | it appears!
* Fixed mainly signed/unsigned issues found by SGI cc in -fullwarn mode.Jeremy Allison1998-10-211-3/+3
| | | | | | smbd/chgpasswd.c: Fixed (my) stupid bug where I was returning stack based variables. Doh ! smbd/trans2.c: Allows SETFILEINFO as well as QFILEINFO on directory handles. Jeremy.
* oops!Luke Leighton1998-10-211-10/+10
|
* signed / unsigned issuesLuke Leighton1998-10-211-1/+1
|
* fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).Luke Leighton1998-10-211-7/+9
| | | | | | put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines.
* calls to prs_grow() on array structures so that data construction doesn'tLuke Leighton1998-10-201-3/+18
| | | | over-run buffers
* - dce/rpc codeLuke Leighton1998-10-191-0/+41
| | | | | | | | | | | | | | | | | | | - removed debug info in struni2 and unistr2 (security risk) - rpc_pipe function was getting pointer to data then calling realloc *dur* - password check function, the start of "credential checking", user, wks, domain, pass as the credentials (not just user,pass which is incorrect in a domain context) - cli_write needs to return ssize_t not size_t, because total can be -1 if the write fails. - fixed signed / unsigned warnings (how come i don't get those any more when i compile with gcc???) - nt password change added in smbd. yes, jeremy, i verified that the SMBtrans2 version still works.
* dce/rpcLuke Leighton1998-10-161-0/+13
|
* rpcclient ntlogin testLuke Leighton1998-10-161-3/+3
|
* rpcclient interactive login (with trust account changing if you are root)Luke Leighton1998-10-151-0/+69
| | | | cli_session_setup handles null sessions correctly
* bug-fixing against:Luke Leighton1998-10-152-11/+129
| | | | | | | | | | | | | | | | | | AS/U: it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack response, when they should be set in a (small) packet. they also, in the bind/ack do not set a secondary address string at all, so we can't check against that... Win95: client-side dce/rpc code is a bit odd. it does a "WaitNamedPipeState" and has slightly different pipe-naming (\PIPE\LANMAN is joined by \PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN and \PIPE\). Win95-USRMGR.EXE: added LsaOpenPolicy (renamed existing to LsaOpenPolicy2). added SamrConnect (renamed existing to SamrConnect2).
* dce/rpcLuke Leighton1998-10-141-8/+36
|
* dce/rpcLuke Leighton1998-10-091-83/+114
|
* signed / unsigned issues spotted by herbLuke Leighton1998-10-091-6/+6
|
* dce/rpc.Luke Leighton1998-10-091-4/+4
|
* dce/rpcLuke Leighton1998-10-091-17/+17
|
* dce/rpcLuke Leighton1998-10-081-66/+112
|
* dce/rpcLuke Leighton1998-10-072-45/+175
|
* dce/rpcLuke Leighton1998-10-072-9/+14
|
* put #if BROKEN_CODE around all the bits of code in rpc_parse.c thatAndrew Tridgell1998-10-071-1/+8
| | | | | | don't compile. Luke, you'll need to remove these when you've fixed the code.
* dce/rpcLuke Leighton1998-10-062-56/+136
|
* Makefile.in :Luke Leighton1998-10-021-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function.
* lsa_lookup_sids command added. severe debugging needed on lookup_sidsLuke Leighton1998-09-301-53/+192
| | | | | | | | | code. added "quality of service" capability to lsa_open_policy code. different lsa_open_policy queries are *not* dealt with in the server code. answers like "0xC000 0022" - access denied - will have to be made to lsa_lookup_sids calls when a "quality of service" request is *not* specified in the lsa_open_policy call.
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-1/+0
|