summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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 ...
| * Excise snprintf -> slprintf.Jeremy Allison2001-02-162-0/+25
| | | | | | | | | | | | | | srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy.
| * Patch to add UnixWare ACLs from Michael Davidson <md@sco.COM>. With someJeremy Allison2001-02-151-0/+39
| | | | | | | | | | | | | | small modifications, this code may also work on Solaris, as they are derived from the same SVR4 codebase. When the Samba Solaris box is up and running again I will test this. Jeremy.
| * Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter2001-02-141-1/+1
| | | | | | | | | | with a PDC that has international netbios name and domain name. There's still quite a bit of i18n stuff to fix though...
| * Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison2001-02-122-24/+115
| | | | | | | | | | updated the POSIX_ACL code to be in sync. Jeremy.
| * Added commented/documented version of libsmbclient.h and fixed up a smallRichard Sharpe2001-02-121-160/+692
| | | | | | | | problem in libsmbclient.c where we no longer pass the workgroup.
| * Updated proto.hTim Potter2001-02-111-415/+415
| |
| * Fix problems in libsmbclient with pring job struct plus add implementationRichard Sharpe2001-02-061-0/+12
| | | | | | | | of last two print routines ...
| * Implement two printing related functions and start the remaining two.Richard Sharpe2001-02-051-2/+2
| |
| * Fix some further small bugs in libsmbclient to make it pass theRichard Sharpe2001-02-041-1/+23
| | | | | | | | Caldera test suite and start to add the printing routines.
| * Changes from SAMBA_2_2:David O'Neill2001-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c source/rpc_server/srv_spoolss.c source/include/proto.h - correct checking of access_required in openprinterex as talked with John R. and Jerry. You can only do server stuff (adding printers, changing forms, ..) if you're root or if user is in printer admin list. Printers options are grayed if you don't have the PRINTER_ADMINISTER flag in the secdesc.
| * lib/system.c: Fix for pw caching.Jeremy Allison2001-01-312-0/+5
| | | | | | | | | | | | srv_samr.c: Fix for pw caching. smbd/nttrans.c: Fix to allow trans create to set ACL on open. Jeremy.
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-291-417/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/include/proto.h - make proto source/printing/nt_printing.c source/rpc_server/srv_spoolss_nt.c - Fix for the overwriting of printerdata entries when WinNT and Win2k are modifying printer parameters on PCL printers. Turns out that Win2k creates a printer with a NULL devmode entry and then expects to set it on *OPEN* (yes this is insane). So we cannot return a "default" devmode for a printer - and we must allow an open to set it. source/tdb/tdb.c - Show freelist in an easier format. Show total free. - When storing a new record, allocate memory for the key + data before the tdb_allocate() as if the malloc fails a (sparse) hole is left in the tdb. source/tdb/tdbtool.c - Show freelist in an easier format. Show total free. source/tdb/Makefile - cleaned up Makefile dependancies source/smbd/lanman.c - Fix for Win9x corrupting it's own parameter string. source/printing/printfsp.c source/printing/printing.c source/rpc_server/srv_spoolss_nt.c source/smbd/close.c - Added normal close parameter into print_fsp_end() which treats an abnormal close as error condition and deletes the spool file.