summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison2001-03-152-19/+7
| | | | Jeremy.
* last make proto got messed up it seemsGerald Carter2001-03-141-8/+3
|
* make protoGerald Carter2001-03-141-424/+432
|
* set of changes in the beginning of bringing rpcclient changesGerald Carter2001-03-141-1/+1
| | | | | | | | | | | | | | | | | 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
* don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell2001-03-141-3/+0
|
* simpler clistr interface which handles individual packets havingAndrew Tridgell2001-03-141-3/+1
| | | | unicode bit set differently to capabilities
* simpler and more correct srvstr_push()Andrew Tridgell2001-03-131-426/+426
| | | | | | 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 Allison2001-03-132-4/+5
| | | | Jeremy.
* Fixed reading of strings from big-endian RPC clients.Jeremy Allison2001-03-131-0/+2
| | | | Jeremy.
* this patch does a number of things:Andrew Tridgell2001-03-131-3/+0
| | | | | | | | | | | | | | | - 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.
* Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison2001-03-114-94/+29
| | | | | | | | | 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.
* 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-112-6/+4
| | | | | system header files... Jeremy.
* No longer used...Jeremy Allison2001-03-111-1315/+0
| | | | Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-116-816/+981
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* to use the same macros in the client and server rename the CLISTR_Andrew Tridgell2001-03-103-437/+448
| | | | macros to STR_
* More documentation in the header in doxygen formatRichard Sharpe2001-03-101-3/+12
|
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-092-2/+13
| | | | | | | | | 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-091-0/+2
|
* Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison2001-03-073-7/+6
| | | | | authenticate against them. Big/little endian issues fixed. Jeremy.
* Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe2001-03-071-68/+82
|
* smb.h: add one error code for no such printer jobRichard Sharpe2001-03-051-0/+1
| | | | libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
* Roll back to using malloc/realloc on some of spoolss in head.Jeremy Allison2001-03-031-2/+2
| | | | | | | | | | 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.
* Move to talloc controlled NT forms.Jeremy Allison2001-03-021-2/+2
| | | | Jeremy.
* Remove unused code.Jeremy Allison2001-03-011-4/+0
| | | | Jeremy.
* Finished converion of spoolss code to canonical format. Now to work on theJeremy Allison2001-02-281-49/+15
| | | | | PRINT_XX struct alloc/free issues. Jeremy.
* More converted to canonical format. Home now - do the rest tomorrow...Jeremy Allison2001-02-281-23/+9
| | | | Jeremy.
* Converted more to canonical format... save as I go.,Jeremy Allison2001-02-281-9/+4
| | | | Jeremy.
* Ooops - forgot to check the rpcclient and smbcacls compile with the newJeremy Allison2001-02-281-2/+1
| | | | | code :-(. Jeremy.
* Partial conversion of SPOOLSS code to canonical format. More to follow.Jeremy Allison2001-02-281-22/+9
| | | | | | Once complete then the PRINTER_XX functions and structures will be converted to talloc control. Jeremy.
* Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2001-02-282-41/+25
| | | | | security descriptors and pointers. Syncup with 2.2 tree. Jeremy.
* Added total memory allocated counter to talloc, so we can tell if a tallocJeremy Allison2001-02-272-1/+16
| | | | | | | pool is getting bloated. Also added a talloc_zero function to return zeroed memory. Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time. Jeremy.
* Separated dfs pipe into implementation and interface modules.Jeremy Allison2001-02-272-22/+19
| | | | | | rpc_parse/parse_dfs.c: Had to add buffer overrun checking ! HOW DID THIS GET IN HERE ! rpc_parse/parse_prs.c: Ensure prs_alloc_mem does a memset of zero before returning. Jeremy.
* Split srvsvc pipe into interface and implementation modules.Jeremy Allison2001-02-261-0/+12
| | | | Jeremy.
* Split wks pipe into interface and implementation modules.Jeremy Allison2001-02-261-0/+8
| | | | Jeremy.
* Separated lsa code into interface and implementation.Jeremy Allison2001-02-261-0/+11
| | | | Jeremy.
* Started conversion of lsa server code to canonical format (as srv_reg andJeremy Allison2001-02-262-0/+30
| | | | | srv_samr have been). Jeremy.
* made some LANMAN1 wildcard progressAndrew Tridgell2001-02-261-0/+1
| | | | it now handles -M LANMAN1 -f '.x' -m '?x' nicely
* updated prototypesAndrew Tridgell2001-02-261-11/+4
|
* Separated reg code into interface & implementation.Jeremy Allison2001-02-251-0/+9
| | | | | libsmb/namequery.c: Removed ununsed variables. Jeremy.
* rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison2001-02-254-4/+61
| | | | | Added Solaris ACL support. Jeremy.
* This patch (donated by Marc Jacobsen of HP) should make Sun and HP very ↵Jeremy Allison2001-02-241-14/+45
| | | | | | | | | | | happy :-). Probably Veritas too... :-). It allows Samba as a domain member to authenticate against an AS/U server such as the older HP PDC product or PD Netlink. It does this by trying a netlogon with info level 3 and then falling back to info level 2 if the PDC returns invalid info level. Jeremy.
* include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison2001-02-232-1/+18
| | | | | | | | | | | | | include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We need these to be different as we're storing LPQ_xx enums in the tdb already. rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now returning status codes. smbd/lanman.c: Change the RAP status codes to have "RAP" in the name. printing/printing.c: Keep track of the status of a job. Allow a job to be deleted from one smbd when being submitted by another. Made logic in mutex clearer. Jeremy.
* converted the last couple of functions in libsmb to be unicodeAndrew Tridgell2001-02-211-4/+4
| | | | the whole of libsmb should now do unicode where appropriate
* the unicode conversion of our client code is complete enough to beAndrew Tridgell2001-02-211-2/+1
| | | | | | enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII
* added support for a CLISTR_ASCII flag so we can use a uniformAndrew Tridgell2001-02-211-0/+1
| | | | interface for ascii-only fields
* - neater setting of bccAndrew Tridgell2001-02-201-0/+2
| | | | - converted cli_rename and cli_unlink
* pipe opening now works with unicodeAndrew Tridgell2001-02-201-3/+3
|
* initial client side unicode support (needed for netapp filer)Andrew Tridgell2001-02-202-549/+649
| | | | | | | | | | | | | | | I've currently got this code disabled by default as it is incomplete. You enable it by setting a USE_UNICODE environment variable. Once the support is complete this check will be removed and the CAP_UNICODE capability bit will be the sole determination of whether the client library code uses unicode right now I have converted session_setup and tconx. I will do more fns over the next few days. see clistr.c for the new client side string interface. Luckily it tends to make the code smaller and neater while adding unicode support.
* Change code around and add retry to deal with the occassional loss of ↵Richard Sharpe2001-02-191-629/+549
| | | | NetBIOS datagrams responses, either via TDB or direct receive ...