summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed reading of strings from big-endian RPC clients.Jeremy Allison2001-03-138-18/+88
| | | | Jeremy.
* this patch does a number of things:Andrew Tridgell2001-03-136-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 Allison2001-03-131-13/+62
| | | | Jeremy.
* Ensure we return the correct names/sids on query info. AS/U showed us whatJeremy Allison2001-03-131-3/+20
| | | | | we should return here. Jeremy.
* Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wantsJeremy Allison2001-03-132-8/+10
| | | | | to do RPC calls down this treeid. Jeremy.
* We copy the RPC header directly from the incoming client - remember toJeremy Allison2001-03-121-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 Allison2001-03-121-1/+10
| | | | Jeremy.
* Looks like AS/U doesn't set the FIRST flag in a BIND packet.Jeremy Allison2001-03-121-1/+5
| | | | Jeremy.
* Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison2001-03-116-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 Allison2001-03-111-4/+0
| | | | Jeremy.
* Dead code removal. Not used anywhere.Jeremy Allison2001-03-113-733/+3
| | | | Jeremy.
* Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST"Jeremy Allison2001-03-111-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 Allison2001-03-111-4/+4
| | | | Jeremy.
* Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2001-03-119-32/+30
| | | | | system header files... Jeremy.
* Added JF's new util.Jeremy Allison2001-03-111-0/+64
| | | | Jeremy.
* Ok - everything now compiles in HEAD (at least the default stuff). WeJeremy Allison2001-03-112-10/+3
| | | | | should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy.
* No longer used...Jeremy Allison2001-03-112-2590/+0
| | | | Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-1186-6949/+6708
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* Notused.Jeremy Allison2001-03-101-708/+0
| | | | Jeremy.
* Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2001-03-102-5/+46
| | | | Jeremy.
* Merge .cvsignore between 2.2 and HEAD.Jeremy Allison2001-03-101-0/+4
| | | | Jeremy.
* converted reply_open, reply_open_and_x and reply_fcloseAndrew Tridgell2001-03-101-8/+11
|
* started support for unicode on the wire in smbd. Using a very similarAndrew Tridgell2001-03-105-37/+235
| | | | | | | | | method to what was used in the client I now have session setup and tconx working. Currently this is enabled with SMBD_USE_UNICODE environment variable. Once the code is complete this will become a smb.conf option.
* to use the same macros in the client and server rename the CLISTR_Andrew Tridgell2001-03-1010-511/+522
| | | | macros to STR_
* More documentation in the header in doxygen formatRichard Sharpe2001-03-101-3/+12
|
* Missed some prs_inits.Jeremy Allison2001-03-092-29/+29
| | | | Jeremy.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-0924-242/+514
| | | | | | | | | We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy.
* merge of 'lanman auth' and 'min protocol' from 2.2Gerald Carter2001-03-094-12/+35
|
* Bulk add of the test suite for libsmbclient ...Richard Sharpe2001-03-09146-0/+11354
|
* More SGI type fixes ...Richard Sharpe2001-03-091-5/+7
|
* Fixes to testsmbc to ensure it will compile on SGI ...Richard Sharpe2001-03-091-18/+31
|
* Fixed double fclose() call (I love insure :-).Jeremy Allison2001-03-081-2/+0
| | | | Jeremy.
* Fix for AS/U not liking it's own assoc_gid.Jeremy Allison2001-03-081-1/+1
| | | | Jeremy.
* Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison2001-03-0713-79/+67
| | | | | authenticate against them. Big/little endian issues fixed. Jeremy.
* Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe2001-03-072-74/+89
|
* Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe2001-03-061-1/+52
| | | | wrong interface defn.
* smb.h: add one error code for no such printer jobRichard Sharpe2001-03-052-3/+29
| | | | libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
* Fixed up overrun read when marshelling SYSTEMTIME struct. This was a subtle ↵Jeremy Allison2001-03-031-2/+4
| | | | | | one... Jeremy.
* Roll back to using malloc/realloc on some of spoolss in head.Jeremy Allison2001-03-035-100/+79
| | | | | | | | | | I'm having problems with talloc_realloc in the 2.2 branch and I want a stable reference. The only problem is this breaks the clean auto-generated code in *one* call in srv_spoolss.c (the rfnpcnex call). Jeremy.
* Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.Jeremy Allison2001-03-024-10/+9
| | | | Jeremy.
* Arrgggh. Returning the SPOOL_INFO stuff requires that the reallocedJeremy Allison2001-03-021-23/+36
| | | | | | data be realloced between different functions. This took a *long* time to track down (even with insure :-). Jeremy.
* Move to talloc controlled NT forms.Jeremy Allison2001-03-023-43/+50
| | | | Jeremy.
* Fix two problems identified by the test suite, one a major oneRichard Sharpe2001-03-011-3/+61
| | | | where I was indexing through a NULL pointer :-(
* Fixed compiler warning.Tim Potter2001-03-011-4/+4
|
* Fixed a couple of getpwXX calls that were not going through the sys_getpwXXJeremy Allison2001-03-012-4/+4
| | | | | cache. Jeremy.
* Don't return stack structures...Jeremy Allison2001-03-011-12/+18
| | | | Jeremy.
* Fix memory leaks introduced in restructure.Jeremy Allison2001-03-011-15/+13
| | | | Jeremy.
* When opening a printserver use a global snum of -1.Jeremy Allison2001-03-011-2/+2
| | | | Jeremy
* rpc_parse/parse_spoolss.c: Fixed memory leak introduced by restructuring.Jeremy Allison2001-03-012-9/+24
| | | | | rpc_server/srv_spoolss_nt.c: Fixed problem with printer snum being read uninitialised. Jeremy.
* Remove unused code.Jeremy Allison2001-03-013-124/+6
| | | | Jeremy.