summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-13We were mismarshalling a netlogon reply for bad password to W2K.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 017a6a9868eb5237a715a0d7bf4784863f40a2f4)
2001-03-13move charset_initialize() up in the food chain so that lp_load_servicesGerald Carter1-1/+2
and stuff will work.... (This used to be commit e652a14264cf6bed6c6563ad090f645f386d903f)
2001-03-13converted reply_tcon()Andrew Tridgell1-40/+22
(This used to be commit 1e92d340ceb5be8e7d50cc7c889b2053ed67bad3)
2001-03-13converted a bunch more server functions to unicodeAndrew Tridgell1-10/+20
(This used to be commit a074600a09387c2034ffb6651abad69bdc14145e)
2001-03-13added STR_ASCII flag to srvstr_pull()Andrew Tridgell1-2/+2
(This used to be commit e54d37903013df1c799ab3aaa10f10df24e3de61)
2001-03-13- convert chkpathAndrew Tridgell1-4/+5
- devicename in tconx is always ascii (This used to be commit 242a6a96d10beeb54e93226ae50bd361486e1c0d)
2001-03-13converted findnext to unicodeAndrew Tridgell1-1/+1
(This used to be commit 84fc5a7795fe6e3b993649ecc05f6685f8295c02)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison8-18/+88
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13this patch does a number of things:Andrew Tridgell6-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. (This used to be commit b98b1435e9d8f8622444c9ff33082977e661f16b)
2001-03-13Ensure we never return passwords from a user query.Jeremy Allison1-13/+62
Jeremy. (This used to be commit 37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e)
2001-03-13Ensure we return the correct names/sids on query info. AS/U showed us whatJeremy Allison1-3/+20
we should return here. Jeremy. (This used to be commit d22c6067032e167d4558f4954c58d87404de6d9d)
2001-03-13Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wantsJeremy Allison2-8/+10
to do RPC calls down this treeid. Jeremy. (This used to be commit 83133bab0ed59e303a183fd91812165f08e88484)
2001-03-12We copy the RPC header directly from the incoming client - remember toJeremy Allison1-1/+6
set little-endian flag on marshalling. AS/U now correctly tries to join our domain ! Jeremy. (This used to be commit 0185f8159dbd30820d1ec9ce2aec8eb1cddcfc0b)
2001-03-12Ok - we're now sending back policy handles to bigendian AS/U correctly.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 67e09aea47b73e5a72aae638a58b56f2ef67f8af)
2001-03-12Looks like AS/U doesn't set the FIRST flag in a BIND packet.Jeremy Allison1-1/+5
Jeremy. (This used to be commit a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f)
2001-03-11Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison6-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. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)
2001-03-11Removed JRATEST line.Jeremy Allison1-4/+0
Jeremy. (This used to be commit be9933ce353d0ad607c55e6e02aae09627bf9dd9)
2001-03-11Dead code removal. Not used anywhere.Jeremy Allison3-733/+3
Jeremy. (This used to be commit 90f334be23c20aa2a8a947e58907bd7854148574)
2001-03-11Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST"Jeremy Allison1-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. (This used to be commit dde795154cdc33cb8d6f0dfe9ae2712f7f8be3a7)
2001-03-11Sync include files between 2.2 and HEAD except for acoount info.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 73c7ace168e4aa6a47b366cf40ed6743a21d3638)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison9-32/+30
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11Added JF's new util.Jeremy Allison1-0/+64
Jeremy. (This used to be commit 96bcfdcded7202a7bced58fae6534f1fcd4c4e36)
2001-03-11Ok - everything now compiles in HEAD (at least the default stuff). WeJeremy Allison2-10/+3
should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy. (This used to be commit 85021b16388e8efc15ac57bf1a7c01bba552bf41)
2001-03-11No longer used...Jeremy Allison2-2590/+0
Jeremy. (This used to be commit d23b9be1ba15bedac046319e8f15e60b481d057b)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison86-6949/+6708
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-10Notused.Jeremy Allison1-708/+0
Jeremy. (This used to be commit 635c4cd8e6d29a1fe5043838ae1cb3028e66d060)
2001-03-10Sync up Urbans changes from 2.2 into HEAD.Jeremy Allison2-5/+46
Jeremy. (This used to be commit d0fcd9144363acb4136af9d82f25980bd837d73c)
2001-03-10Merge .cvsignore between 2.2 and HEAD.Jeremy Allison1-0/+4
Jeremy. (This used to be commit d386b9223feecdf801f86bbf4bc0d92b2f6ecb6a)
2001-03-10converted reply_open, reply_open_and_x and reply_fcloseAndrew Tridgell1-8/+11
(This used to be commit 2c8da0ae22309f153bde4e29095b60996fa8fcc5)
2001-03-10started support for unicode on the wire in smbd. Using a very similarAndrew Tridgell5-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. (This used to be commit 7684c1e67294266d018c6f0cab58f1a9d797174f)
2001-03-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell10-511/+522
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-10More documentation in the header in doxygen formatRichard Sharpe1-3/+12
(This used to be commit db2e712ad3ccfceb87d36e59d5f2e18a992b3e72)
2001-03-09Missed some prs_inits.Jeremy Allison2-29/+29
Jeremy. (This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison24-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. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-03-09merge of 'lanman auth' and 'min protocol' from 2.2Gerald Carter4-12/+35
(This used to be commit 1d84da779a0fe3219d77686a493d2b2fa1f8072a)
2001-03-09Bulk add of the test suite for libsmbclient ...Richard Sharpe146-0/+11354
(This used to be commit adef47b5173b9a028224307490960ce89762709b)
2001-03-09More SGI type fixes ...Richard Sharpe1-5/+7
(This used to be commit 26d7d8af2903b1f24da51c78e12f54a1d42ed798)
2001-03-09Fixes to testsmbc to ensure it will compile on SGI ...Richard Sharpe1-18/+31
(This used to be commit ad3a21b2810883ec38f58bf8f8996a376536c762)
2001-03-08Fixed double fclose() call (I love insure :-).Jeremy Allison1-2/+0
Jeremy. (This used to be commit 0a84839dc046c17375daea4ed18ef118887ef421)
2001-03-08Fix for AS/U not liking it's own assoc_gid.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 81fe571daf62ff3f53d7137dcd30312b6874b786)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison13-79/+67
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-03-07Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe2-74/+89
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-03-06Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe1-1/+52
wrong interface defn. (This used to be commit 317e369c3e20206c9f8b36a91dc666ebeede68ec)
2001-03-05smb.h: add one error code for no such printer jobRichard Sharpe2-3/+29
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job (This used to be commit 7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
2001-03-03Fixed up overrun read when marshelling SYSTEMTIME struct. This was a subtle ↵Jeremy Allison1-2/+4
one... Jeremy. (This used to be commit 65275e73ee7c58352ee20175cbbb43378e16f417)
2001-03-03Roll back to using malloc/realloc on some of spoolss in head.Jeremy Allison5-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. (This used to be commit 57a9340cbafa40f3a41e6c676c6f2477855fd799)
2001-03-02Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.Jeremy Allison4-10/+9
Jeremy. (This used to be commit c3a1904564175a7a5cf71e88540b96f7daa59730)
2001-03-02Arrgggh. Returning the SPOOL_INFO stuff requires that the reallocedJeremy Allison1-23/+36
data be realloced between different functions. This took a *long* time to track down (even with insure :-). Jeremy. (This used to be commit e61899f490e0d4109a5fc2faa04eefb934e8448c)
2001-03-02Move to talloc controlled NT forms.Jeremy Allison3-43/+50
Jeremy. (This used to be commit 3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
2001-03-01Fix two problems identified by the test suite, one a major oneRichard Sharpe1-3/+61
where I was indexing through a NULL pointer :-( (This used to be commit 5f1ea70e110bd3b97a4c75b2fe0edef22847550b)