summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison1998-11-142-1/+2
| | | | | | | | | smbwrapper not made by default. nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include file problem...sigh. Jeremy.
* Change to beta1.Jeremy Allison1998-11-131-1/+1
|
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-134-4/+21
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* reverted includes change for FreeBSD as it breaks IRIXAndrew Tridgell1998-11-131-1/+0
|
* oops - ZERO_STRUCTP() issues again...Luke Leighton1998-11-131-4/+1
|
* ZERO_STRUCTP does not check argument for NULL.Luke Leighton1998-11-131-1/+4
| | | | ZERO_STRUCTPN _does_ check argument for NULL.
* fixes for OSF1 compilationAndrew Tridgell1998-11-131-0/+1
|
* include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.Jeremy Allison1998-11-131-3/+1
| | | | | | | lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment). rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection. smbd/quotas.c: Fixed typo. Jeremy.
* security descriptorsLuke Leighton1998-11-133-20/+10
|
* Removed code that used printf/fprintf in password changin libraries.Herb Lewis1998-11-121-2/+5
| | | | Now passes strings instead.
* security descriptors.Luke Leighton1998-11-124-22/+44
| | | | kanji const char* warnings.
* .cvsignore: Removed old entries.Herb Lewis1998-11-121-0/+9
| | | | | | | | | | | | client/client.c: include/client.h: Added some debug messages that the old client used to generate. These are needed to make scripts such as 'findsmb' work - there may be other changes to keep backwards output compatibility. Do we need a -old-client-compat argument ? libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being cleared - corrupted malloc chains. web/swat.c: John's changes to get rid of "ghost" table entries.
* include/kanji.h include/proto.h lib/kanji.c: Added const parameters in ↵Jeremy Allison1998-11-121-4/+4
| | | | | | | string wrappers. printing/printing.c: Added OSF1 fix. Jeremy.
* jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.Luke Leighton1998-11-121-2/+3
| | | | security descriptor testing. hey wow, you can get a SD then send it back!
* cleaning up conflicts between group code not yet committed andLuke Leighton1998-11-121-6/+18
| | | | | | | changes from yesterday by me, jeremy and andrew. jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user didn't exist (first check should be for smb_pass != NULL)
* security descriptors and registry.Luke Leighton1998-11-121-1/+1
|
* extracted the password change code from smbpasswd and used it in swatAndrew Tridgell1998-11-121-0/+11
| | | | instead of opening pipes and other horrible stuff.
* largely rewrote smbpasswd so that the code is understandable. ThisAndrew Tridgell1998-11-122-14/+14
| | | | | | | | | | | | | should allow us to call a function in swat rather than piping to smbpasswd. while doing this I also fixed quite a few "const char *" versus "char *" issues that cropped up while using const to track down bugs in the code. This led to changes in several generic functions. The smbpasswd changes should be correct but they have not been extensively tested. At least if I have introduced bugs then we should be able to fix them more easily than before.
* Moved some code (NTLMSSPcalc) out of smbdes and inline for paranioaJeremy Allison1998-11-121-1/+0
| | | | | resons and my own piece of mind... Jeremy.
* Added the security changes suggested by Andrew - become theJeremy Allison1998-11-121-0/+1
| | | | | user that authenticated to swat permanently (if not root). Jeremy.
* changed is_root() to am_root() to prevent clash with variable names.Andrew Tridgell1998-11-111-1/+1
|
* rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1998-11-111-0/+2
| | | | | | script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy.
* security descriptor info, provided by jean-francoisLuke Leighton1998-11-113-13/+64
|
* clearing up security descriptorLuke Leighton1998-11-113-15/+13
|
* changed syntax of registry commands so keys can start with HKLM or HKU.Luke Leighton1998-11-113-9/+12
| | | | sorted lookupsids command
* registry delete value command: "regdeleteval".Luke Leighton1998-11-112-1/+26
| | | | this is just so unbelievably simple to do...
* renamed unk_1b to flush_keyLuke Leighton1998-11-112-11/+11
|
* - renamed open_policy to open_hklm.Luke Leighton1998-11-112-22/+32
| | | | | | - renamed open_unk_4 to open_hku - fixed createkey issue spotted by phil cox
* rpcclient registry key delete command: "regdeletekey".Luke Leighton1998-11-102-0/+27
|
* registry modification requires a "sync" or "refresh" on the parent key.Luke Leighton1998-11-102-0/+20
| | | | opcode 0xb added to do this. a likely candidate name is "RegFlushKey".
* include/local.h:Jeremy Allison1998-11-104-24/+27
| | | | | | | | | | | | | include/smb.h: param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). printing/printing.c: Added J.F.'s latest fix. rpc_parse/parse_misc.c: parse_reg.c: rpcclient/cmd_reg.c: rpcclient/display.c: SGI compiler signed/unsigned issues. smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). utils/testparm.c: Added extra test. Jeremy.
* oops!Luke Leighton1998-11-101-0/+102
|
* rpcclient registry commands.Luke Leighton1998-11-109-41/+446
|
* util functions split into relevant modules, first pass.Luke Leighton1998-11-101-57/+93
|
* Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison1998-11-092-38/+11
| | | | | | | | | | | | | client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy.
* I talked to Dave Miller and he thinks that we should have TCP_NODELAYAndrew Tridgell1998-11-091-0/+8
| | | | | on by default on OSes that support it, given the network IO pattern that Samba uses. He doesn't think it will cause problems.
* converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1998-11-091-18/+18
| | | | | | | | | | | | | | | | | | | | | | | I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c?
* lib/charcnv.c: Improved debug comment.Jeremy Allison1998-11-061-1/+1
| | | | | | | | | | | libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast and got a reply. smbd/dfree.c: smbd/noquotas.c: smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota code. utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat. Jeremy.
* Makefile.in configure configure.in include/proto.h smbd/noquotas.c ↵Jeremy Allison1998-11-031-9/+4
| | | | | | | | | | | | smbd/quotas.c: Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>. printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu> utils/nmblookup.c: Fix usage() function. smbd/reply.c: Split out the security=server and security=domain checks into check_server_security() and check_domain_security() to aid the writing of the 'hack' appliance mode invented by John Schimmel. Jeremy.
* looks like someone forgot to commit these...Alexandre Oliva1998-10-292-1/+4
|
* Still moving things around. debugparse.h will be removed from the includeChristopher R. Hertel1998-10-283-85/+2
| | | | directory in the next batch. Chris -)-----
* Quick fixes to fix the broken tree. Needed for my morning compiles.Jeremy Allison1998-10-283-4/+9
| | | | | | Chris - feel free to fix these things differently if these fixes don't work for you. Jeremy.
* fixed problem with snprintf.c and mkprotoAndrew Tridgell1998-10-281-0/+9
|
* Here is the simple debug parser and the debug2html converter. Still to do:Christopher R. Hertel1998-10-261-0/+74
| | | | | | | | | | | * Debug message filtering. * I need to add all this to Makefile.in (If it looks at all strange I'll ask for help.) If you want to compile debug2html, you'll need to do it by hand until I make the changes to Makefile.in. Sorry. Chris -)-----
* volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1998-10-243-12/+21
| | | | | | changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before.
* make sure that apps can't close one of the internal smbw fileAndrew Tridgell1998-10-241-0/+2
| | | | | descriptors by catching close attempts on those fds and returning EBADF.
* added domain and local group structures. names may have to be 256 charsLuke Leighton1998-10-232-16/+60
| | | | long not 128 (fstring) length.
* Reasonably large change to give us *exactly* correct NT delete on close ↵Jeremy Allison1998-10-232-6/+14
| | | | | | | | | | | | | | semantics. This was trickier than it looks :-). Check out the new DELETE_ON_CLOSE flag in the share modes and the new code that iterates through all open files on the same device and inode in files.c and trans2.c Also changed the code that modifies share mode entries to take generic function pointers rather than doing a specific thing so this sort of change should be easier in the future. Jeremy.
* don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1998-10-231-0/+1
| | | | to generate PIC code
* include/smb.h: Added #defines for lots of things - makes our code a *lot* ↵Jeremy Allison1998-10-232-4/+45
| | | | | | | | | | | | | easier to read. lib/util.c: Fixed Luke's set_first_token() function - should return void. smbd/close.c: Move delete_on_close into file_fd_struct structure. smbd/ipc.c: Changed local_machine back to fstring. smbd/nttrans.c: Use defines for mapping share modes. smbd/open.c: Move delete_on_close into file_fd_struct structure, added code for ALLOW_SHARE_DELETE. smbd/reply.c: Use defines for mapping share modes. smbd/trans2.c: Move delete_on_close into file_fd_struct structure. Jeremy.