summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* don't need to force unicode strings in flg2 anymoreAndrew Tridgell2001-03-161-4/+3
|
* finished the conversion to unicode of the last of the trans2 fnsAndrew Tridgell2001-03-161-18/+6
|
* converted the nttrans code to unicode on the wireAndrew Tridgell2001-03-161-117/+13
|
* converted reply_printqueueAndrew Tridgell2001-03-161-3/+3
|
* converted reply_searchAndrew Tridgell2001-03-161-7/+9
|
* enable unicode on the wire by default in smbdAndrew Tridgell2001-03-161-2/+2
| | | | | the unicode support isn't complete, but it is good enough to be usable for a test server.
* Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone).Jeremy Allison2001-03-151-12/+32
| | | | Jeremy.
* Last tweak (I promise :-). Fallback to returning our SID if we're a domainJeremy Allison2001-03-151-3/+12
| | | | | member but can't get the domain sid. Jeremy.
* don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell2001-03-141-40/+0
|
* converted the smb messaging code to unicodeAndrew Tridgell2001-03-141-17/+15
|
* converted a bunch more trans2 calls for unicode. This got quite tricky :(Andrew Tridgell2001-03-141-179/+145
|
* fixed srvstr_push() callAndrew Tridgell2001-03-131-1/+1
|
* converted a bunch more fns to unicodeAndrew Tridgell2001-03-131-14/+12
|
* Fix from Jim McDonough of IBM for using Win9x user manager.Jeremy Allison2001-03-131-2/+9
| | | | Jeremy.
* simpler and more correct srvstr_push()Andrew Tridgell2001-03-133-25/+25
| | | | | | 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
* converted reply_tcon()Andrew Tridgell2001-03-131-40/+22
|
* converted a bunch more server functions to unicodeAndrew Tridgell2001-03-131-10/+20
|
* added STR_ASCII flag to srvstr_pull()Andrew Tridgell2001-03-131-2/+2
|
* - convert chkpathAndrew Tridgell2001-03-131-4/+5
| | | | - devicename in tconx is always ascii
* converted findnext to unicodeAndrew Tridgell2001-03-131-1/+1
|
* this patch does a number of things:Andrew Tridgell2001-03-135-93/+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.
* Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wantsJeremy Allison2001-03-131-3/+3
| | | | | to do RPC calls down this treeid. Jeremy.
* Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison2001-03-111-2/+0
| | | | | | | | | 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.
* Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2001-03-112-4/+4
| | | | | system header files... Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-1134-125/+1
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... 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-103-36/+225
| | | | | | | | | 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.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-091-2/+2
| | | | | | | | | 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-092-12/+24
|
* Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2001-02-282-16/+6
| | | | | security descriptors and pointers. Syncup with 2.2 tree. Jeremy.
* Fixes from Toomas Soome <tsoome@ut.ee> code unicode problems, plusJeremy Allison2001-02-271-9/+17
| | | | | a solaris quota update fix. Jeremy.
* Added total memory allocated counter to talloc, so we can tell if a tallocJeremy Allison2001-02-271-1/+1
| | | | | | | 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.
* removed wrong patch to get_dir_entry(). This was left over from theGerald Carter2001-02-231-5/+0
| | | | wildcard stuff....
* include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison2001-02-231-13/+13
| | | | | | | | | | | | | 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.
* Fixed file descriptor leak in error processing of print jobs.Jeremy Allison2001-02-221-3/+17
| | | | | | NT sends "delete on close" to cancel a print job copied from the command line. Deal with this. Merged JohnR's fixes for print job errors. Jeremy.
* Excise snprintf -> slprintf.Jeremy Allison2001-02-161-3/+12
| | | | | | | 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.
* configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero ↵Jeremy Allison2001-02-163-6/+18
| | | | | | | permission W2K profiles. libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim. Jeremy.
* samba/source/nmbd/nmbd.c change remote_machine name to nmbd insteadHerb Lewis2001-02-151-1/+1
| | | | | | | | | | | | of nmb so we write to same log file that was originally created as log.nmbd samba/source/smbd/server.c change remote_machine name to smbd instead of smb so we write to same log file that was originally created as log.smbd samba/source/lib/interface.c allow binding to all interface IP addresses even if on same subnet. This allows you to specify which IP's you want in interfaces line and use bind interfaces only
* Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter2001-02-141-2/+5
| | | | | with a PDC that has international netbios name and domain name. There's still quite a bit of i18n stuff to fix though...
* Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.Jeremy Allison2001-02-121-2/+2
| | | | Jeremy.
* Merge of JohnR's changes to appliance-head, JF's changes to 2.2,Jeremy Allison2001-02-125-8/+61
| | | | | updated the POSIX_ACL code to be in sync. Jeremy.
* Ensure people know this is unused.Jeremy Allison2001-02-111-567/+0
| | | | Jeremy.
* reverted *.* patch until someone explains to me what the test case isAndrew Tridgell2001-02-081-5/+0
| | | | | | | that requires this. i _know_ that this isn't the right solution and it breaks things, which is why I am reverting now.
* merge from SAMBA_2_2Gerald Carter2001-02-082-2/+13
|
* replaced inet_aton() with inet_addr() to keep Solaris from complaining.Gerald Carter2001-02-081-3/+9
| | | | jerry
* lib/system.c: Fix for pw caching.Jeremy Allison2001-01-311-46/+93
| | | | | | srv_samr.c: Fix for pw caching. smbd/nttrans.c: Fix to allow trans create to set ACL on open. Jeremy.
* Turned down noisy debug statement.Tim Potter2001-01-301-1/+1
| | | | From "Richard Bollinger" <rabollinger@home.com>
* Fix inspited by Alan Romeril. 50% speedup in domain logins with thisJeremy Allison2001-01-301-0/+3
| | | | | change to default break response time of 10ms -> 0ms. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-251-0/+5
| | | | | | | | | source/smbd/server.c source/nmbd/nmbd.c - Fixed a very subtle bug with signals. Seems that POSIX requires that the signal mask be inhereted. So, if you happen to kick off smbd/nmbd from code that has the mask set on SIGUSR1, you lose messages.