summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-14make protoGerald Carter1-424/+432
(This used to be commit 04d74c20bc689a8afd0a8af8457f18ed077aedee)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter8-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 (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-03-14patches from Simo. Couple of snity thingsGerald Carter2-5/+7
(This used to be commit af3f2a30c657fc42171bbf7da2354bc4cc7b088d)
2001-03-14don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell2-43/+0
(This used to be commit d5b39a1d435f7fe79eb556f7e6b55276ac68a73d)
2001-03-14simpler clistr interface which handles individual packets havingAndrew Tridgell5-63/+19
unicode bit set differently to capabilities (This used to be commit 34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
2001-03-14converted the smb messaging code to unicodeAndrew Tridgell1-17/+15
(This used to be commit 54bde1b3aec829ba55b8a6c946424fdaf38803a9)
2001-03-14converted a bunch more trans2 calls for unicode. This got quite tricky :(Andrew Tridgell1-179/+145
(This used to be commit ddee55087756db2a2ac0ee92471d9fea53f38bee)
2001-03-13fixed srvstr_push() callAndrew Tridgell1-1/+1
(This used to be commit dca433d035dfb6e94ee659477c71edaa4549644d)
2001-03-13converted a bunch more fns to unicodeAndrew Tridgell1-14/+12
(This used to be commit fbb3bf12df5c79cac9445be21f1997234479b472)
2001-03-13Fix from Jim McDonough of IBM for using Win9x user manager.Jeremy Allison1-2/+9
Jeremy. (This used to be commit f1839d469e1fc6054b407bd8c4d7c505d4212b45)
2001-03-13simpler and more correct srvstr_push()Andrew Tridgell4-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 (This used to be commit a6dd6662267eeddf368ff0ffba76b45761bf4eeb)
2001-03-13Move to a handle database per pipe name, not per pipe.Jeremy Allison5-44/+120
Jeremy. (This used to be commit a24b248a77ccac364832ff7d4df083d437caf9ed)
2001-03-13rpc_parse/parse_samr.c: Removed unneeded deubg.Jeremy Allison2-17/+10
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly to a w2k client. Jeremy. (This used to be commit 500c7bc0fed16713401643bdede67cc0c8044d52)
2001-03-13AS/U does setuserinfo2, level 0x12 when joining a domain - identical to ↵Jeremy Allison1-0/+5
setuserinfo level 0x12. Jeremy. (This used to be commit d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
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)