Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added getdriver and enumdrivers commands. Also fixed | Gerald Carter | 2001-03-15 | 3 | -35/+573 |
| | | | | | enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient. | ||||
* | renamed one of the enumprinterdrivers parsing functions | Gerald Carter | 2001-03-15 | 2 | -4/+4 |
| | | | | for consistency sake. | ||||
* | Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone). | Jeremy Allison | 2001-03-15 | 2 | -13/+33 |
| | | | | Jeremy. | ||||
* | Last tweak (I promise :-). Fallback to returning our SID if we're a domain | Jeremy Allison | 2001-03-15 | 2 | -14/+18 |
| | | | | | member but can't get the domain sid. Jeremy. | ||||
* | Final ! Fix. | Jeremy Allison | 2001-03-15 | 1 | -2/+8 |
| | | | | Jeremy. | ||||
* | Last attempt at fix... | Jeremy Allison | 2001-03-15 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Return correct error message if we can't get the SID secret. | Jeremy Allison | 2001-03-15 | 1 | -2/+8 |
| | | | | Jeremy. | ||||
* | make proto | Gerald Carter | 2001-03-15 | 1 | -1/+1 |
| | |||||
* | more updates. several spoolss commands added as placeholders | Gerald Carter | 2001-03-15 | 5 | -16/+103 |
| | | | | to be filled in one at a time. | ||||
* | Fixed a Dr. Watson when viewing permissions - we were missing the "standalone | Jeremy Allison | 2001-03-15 | 1 | -0/+2 |
| | | | | | server" case. Jeremy. | ||||
* | AS/U on a sparc now joins and authenticates against a Samba PDC ! | Jeremy Allison | 2001-03-15 | 10 | -105/+25 |
| | | | | Jeremy. | ||||
* | last make proto got messed up it seems | Gerald Carter | 2001-03-14 | 1 | -8/+3 |
| | |||||
* | make proto | Gerald Carter | 2001-03-14 | 1 | -424/+432 |
| | |||||
* | set of changes in the beginning of bringing rpcclient changes | Gerald Carter | 2001-03-14 | 8 | -303/+330 |
| | | | | | | | | | | | | | | | | | back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry | ||||
* | patches from Simo. Couple of snity things | Gerald Carter | 2001-03-14 | 2 | -5/+7 |
| | |||||
* | don't need srvstr_push_size or srvstr_pull_size | Andrew Tridgell | 2001-03-14 | 2 | -43/+0 |
| | |||||
* | simpler clistr interface which handles individual packets having | Andrew Tridgell | 2001-03-14 | 5 | -63/+19 |
| | | | | unicode bit set differently to capabilities | ||||
* | converted the smb messaging code to unicode | Andrew Tridgell | 2001-03-14 | 1 | -17/+15 |
| | |||||
* | converted a bunch more trans2 calls for unicode. This got quite tricky :( | Andrew Tridgell | 2001-03-14 | 1 | -179/+145 |
| | |||||
* | fixed srvstr_push() call | Andrew Tridgell | 2001-03-13 | 1 | -1/+1 |
| | |||||
* | converted a bunch more fns to unicode | Andrew Tridgell | 2001-03-13 | 1 | -14/+12 |
| | |||||
* | Fix from Jim McDonough of IBM for using Win9x user manager. | Jeremy Allison | 2001-03-13 | 1 | -2/+9 |
| | | | | Jeremy. | ||||
* | simpler and more correct srvstr_push() | Andrew Tridgell | 2001-03-13 | 4 | -451/+451 |
| | | | | | | it now uses outbuf not inbuf for the unicode flag, which allows for some server fns to be ascii and means one less parameter in push calls | ||||
* | Move to a handle database per pipe name, not per pipe. | Jeremy Allison | 2001-03-13 | 5 | -44/+120 |
| | | | | Jeremy. | ||||
* | rpc_parse/parse_samr.c: Removed unneeded deubg. | Jeremy Allison | 2001-03-13 | 2 | -17/+10 |
| | | | | | | rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly to a w2k client. Jeremy. | ||||
* | AS/U does setuserinfo2, level 0x12 when joining a domain - identical to ↵ | Jeremy Allison | 2001-03-13 | 1 | -0/+5 |
| | | | | | | setuserinfo level 0x12. Jeremy. | ||||
* | We were mismarshalling a netlogon reply for bad password to W2K. | Jeremy Allison | 2001-03-13 | 1 | -0/+5 |
| | | | | Jeremy. | ||||
* | move charset_initialize() up in the food chain so that lp_load_services | Gerald Carter | 2001-03-13 | 1 | -1/+2 |
| | | | | and stuff will work.... | ||||
* | converted reply_tcon() | Andrew Tridgell | 2001-03-13 | 1 | -40/+22 |
| | |||||
* | converted a bunch more server functions to unicode | Andrew Tridgell | 2001-03-13 | 1 | -10/+20 |
| | |||||
* | added STR_ASCII flag to srvstr_pull() | Andrew Tridgell | 2001-03-13 | 1 | -2/+2 |
| | |||||
* | - convert chkpath | Andrew Tridgell | 2001-03-13 | 1 | -4/+5 |
| | | | | - devicename in tconx is always ascii | ||||
* | converted findnext to unicode | Andrew Tridgell | 2001-03-13 | 1 | -1/+1 |
| | |||||
* | Fixed reading of strings from big-endian RPC clients. | Jeremy Allison | 2001-03-13 | 8 | -18/+88 |
| | | | | Jeremy. | ||||
* | this patch does a number of things: | Andrew Tridgell | 2001-03-13 | 6 | -96/+127 |
| | | | | | | | | | | | | | | | - removes SMB_ALIGNMENT. That macro caused all sorts of problems with getting unicode aligned right in sub-protocols (such as SMBtrans and SMBtrans2). I believe the performance reasons for having SMB_ALIGNMENT has gone away with the new variants of the SMB protocol anyway, as newer commands tend to have their own internal alignment. - fix the locations where we set smb_flg2 to absolute values. We must never do this if we want a hope of coping with unicode. - add initial support for unicode on the wire in smbd. Currently enabled using SMBD_USE_UNICODE environment variable. | ||||
* | Ensure we never return passwords from a user query. | Jeremy Allison | 2001-03-13 | 1 | -13/+62 |
| | | | | Jeremy. | ||||
* | Ensure we return the correct names/sids on query info. AS/U showed us what | Jeremy Allison | 2001-03-13 | 1 | -3/+20 |
| | | | | | we should return here. Jeremy. | ||||
* | Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wants | Jeremy Allison | 2001-03-13 | 2 | -8/+10 |
| | | | | | to do RPC calls down this treeid. Jeremy. | ||||
* | We copy the RPC header directly from the incoming client - remember to | Jeremy Allison | 2001-03-12 | 1 | -1/+6 |
| | | | | | | set little-endian flag on marshalling. AS/U now correctly tries to join our domain ! Jeremy. | ||||
* | Ok - we're now sending back policy handles to bigendian AS/U correctly. | Jeremy Allison | 2001-03-12 | 1 | -1/+10 |
| | | | | Jeremy. | ||||
* | Looks like AS/U doesn't set the FIRST flag in a BIND packet. | Jeremy Allison | 2001-03-12 | 1 | -1/+5 |
| | | | | Jeremy. | ||||
* | Moved cruft out of smb.h into ntdomain.h where it belongs. dc struct | Jeremy Allison | 2001-03-11 | 6 | -134/+77 |
| | | | | | | | | | now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. | ||||
* | Removed JRATEST line. | Jeremy Allison | 2001-03-11 | 1 | -4/+0 |
| | | | | Jeremy. | ||||
* | Dead code removal. Not used anywhere. | Jeremy Allison | 2001-03-11 | 3 | -733/+3 |
| | | | | Jeremy. | ||||
* | Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST" | Jeremy Allison | 2001-03-11 | 1 | -4/+6 |
| | | | | | | | (ie. BIND, BINDRESP and ALTERCONTEXT) - if we don't do this then we don't set the endianness flag correctly for these PDU's. Herb - this should fix the bug you reported to me today. Jeremy. | ||||
* | Sync include files between 2.2 and HEAD except for acoount info. | Jeremy Allison | 2001-03-11 | 1 | -4/+4 |
| | | | | Jeremy. | ||||
* | Remove "BYTE" - we already have uint8 - don't need more conflicts with | Jeremy Allison | 2001-03-11 | 9 | -32/+30 |
| | | | | | system header files... Jeremy. | ||||
* | Added JF's new util. | Jeremy Allison | 2001-03-11 | 1 | -0/+64 |
| | | | | Jeremy. | ||||
* | Ok - everything now compiles in HEAD (at least the default stuff). We | Jeremy Allison | 2001-03-11 | 2 | -10/+3 |
| | | | | | should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy. | ||||
* | No longer used... | Jeremy Allison | 2001-03-11 | 2 | -2590/+0 |
| | | | | Jeremy. |