summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
1998-10-14dce/rpcLuke Leighton1-1/+2
(This used to be commit 69f5f9f88935de1f63ffc9aa19c0629b395e66e6)
1998-10-10dce/rpcLuke Leighton1-2/+3
(This used to be commit b0af7cfd9dea8d286f430c51456b5f67d5e0658a)
1998-10-10dce/rpcLuke Leighton1-3/+3
(This used to be commit dfb48aab6153e53a5efd1f8ee518375cc584b101)
1998-10-09dce/rpcLuke Leighton1-7/+20
(This used to be commit 8a7ac4a25d177235a98c0f84f97ee50432fb6359)
1998-10-09signed / unsigned issues spotted by herbLuke Leighton1-1/+1
(This used to be commit 0b90442021aa3adb5ae7f09c53c9e54c7655d8c5)
1998-10-09basic client-side ntcreateX function (hard-wired values except filename)Luke Leighton1-2/+3
(This used to be commit caeb99201a1471bd709b4e8f07c57e5caabf0795)
1998-10-09dce/rpcLuke Leighton1-1/+2
(This used to be commit 32d0f5e4a564686ad6b270dd24423ee49a81f223)
1998-10-08dce/rpcLuke Leighton1-4/+9
(This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
1998-10-08- fixed a bunch of warnings and minor errorsAndrew Tridgell1-1/+1
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
1998-10-08use 1 second resolution calls if possibleAndrew Tridgell1-2/+2
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
1998-10-08removed lukes acl check in configure (not needed)Andrew Tridgell1-5/+0
(This used to be commit a3339c111de9f82b6badaac8e6ef430d277c3afa)
1998-10-07dce/rpcLuke Leighton1-3/+14
(This used to be commit 6677b888bdb45df00646eb7cc13005b9465ff971)
1998-10-07make proto requiredLuke Leighton1-0/+5
(This used to be commit cf4e2a601fe6b6c9980da87d51643b726c0de1dd)
1998-10-07dce/rpcLuke Leighton1-0/+3
(This used to be commit 34afa638f6f7bb145ec094510ac58f7a22dfc3aa)
1998-10-06dce/rpcLuke Leighton1-9/+23
(This used to be commit eb279cabd059603b6c8d9b74e4fd31c4ffe87593)
1998-10-05rpcclient srvsvc commands.Luke Leighton1-0/+8
(This used to be commit 1a9a22c657c46648adaa98ac1fe394ce4bce11f0)
1998-10-05new prototypesAndrew Tridgell1-1/+1
(This used to be commit 0a733ce59d3e77f8cfd6a8165beeb39c23b26999)
1998-10-05got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1-1/+9
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05added a function set_maxfiles() to set our file rlimit to the maxAndrew Tridgell1-0/+1
possible and return the max. (This used to be commit 7a7b5ee1689b6be57752d176c7b77a2f1b453486)
1998-10-04- modified resolve_name() to take a name_typeAndrew Tridgell1-1/+1
- cleaned up resolve_name() (split into separate functions for each resolver) - if can't find local master then use #1B name - support listing of foreign workgroups in /smb/ (This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
1998-10-04support NetServerEnum in smbwrapper. You can now do a ls in /smb/ andAndrew Tridgell1-2/+3
it will list all servers in your workgroup. You can set your workgroup with the SMBW_WORKGROUP environment variable. (This used to be commit 64699810e2d94e8648a0a3341b1cc826d4e8bfd9)
1998-10-04add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1-0/+1
will remove the job from the pirnt queue. (This used to be commit 7bd738c30a09a211fd14a8544309efeec17c66f5)
1998-10-04added support for printing via smbwrapperAndrew Tridgell1-0/+7
You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls (This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
1998-10-04use dummy file descriptors opened on /dev/null to ensure that the smbwAndrew Tridgell1-0/+1
file descriptor allocation order is identical to the kernels. (This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
1998-10-04more smbw cleanups.Andrew Tridgell1-1/+55
- cleaned up prototyping. Unfortunately we can't auto-prototype wrapped.c because it replaces system functions. - split stat functions into smbw_stat.c (This used to be commit 04e92e692e49234df6fbbfd07a33b315ed62f0de)
1998-10-03fixed vi on smbwrappper (it was a problem in cli_read())Andrew Tridgell1-2/+2
(This used to be commit 1dcc84b942d4669f978aebdeaf85ea609c2b732f)
1998-10-03added simple device/inode number support based on a checksum of theAndrew Tridgell1-2/+2
filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)
1998-10-03added lseek() support for directoriesAndrew Tridgell1-1/+1
(This used to be commit 67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
1998-10-03updated prototypesAndrew Tridgell1-2/+2
(This used to be commit 40af9fee1ac17bf329afcf1f0c73a92f03f183dd)
1998-10-03added unlink() and rename() support to smbwrapperAndrew Tridgell1-3/+3
(This used to be commit b85d96144728e8a29c7c1114462e28bf3b144b80)
1998-10-03updated prototypesAndrew Tridgell1-3/+7
(This used to be commit a42155f77a0156aa10adc9fd0070f3edab647382)
1998-10-02Makefile.in :Luke Leighton1-1/+48
- added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function. (This used to be commit bcf39ffdcc64e049bca2d70a394a99976291e81d)
1998-10-02a couple of mode for smbwrapperAndrew Tridgell1-2/+6
(This used to be commit 07dd2aedf1e8ad143669694b504554de74bbaa1d)
1998-09-30lsa_lookup_sids command added. severe debugging needed on lookup_sidsLuke Leighton1-4/+18
code. added "quality of service" capability to lsa_open_policy code. different lsa_open_policy queries are *not* dealt with in the server code. answers like "0xC000 0022" - access denied - will have to be made to lsa_lookup_sids calls when a "quality of service" request is *not* specified in the lsa_open_policy call. (This used to be commit 299a723d4e55712beb12362dfff3846d82b8516b)
1998-09-30(Finally) implemented "max open files" as a global smb.conf parameter.Jeremy Allison1-1/+3
Sets up the files array correctly - limited by the smb.conf parameter and by the max fd's per process as found by getrlimit(). Jeremy. (This used to be commit eca24bd24352c688cdf48c1ef14adb8ac353468f)
1998-09-29Got very strict about the differences and uses ofJeremy Allison1-9/+10
uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy. (This used to be commit e570db46fc3a78e499523fd342e9a34cebb18998)
1998-09-29missed the pdb_sam_to_smb function needed by nispass.cLuke Leighton1-0/+1
(This used to be commit b40a4e6385757cb8a44044a1437651954d6b1c90)
1998-09-29added in some pdb_xxx routines that are needed by nispass.cLuke Leighton1-1/+9
(This used to be commit 5212dd69d05a0d26dddcb4a0d9efca195436bfda)
1998-09-28Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1-7/+7
Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09)
1998-09-25Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1-0/+4
Added $(PROGS) $(SPROGS) as targets for make clean. acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES. configure.in: Added sys/capability.h header check. Added function checks for srandom random srand rand. Added HAVE_IRIX_SPECIFIC_CAPABILITIES test. includes.h: Added #include <sys/capability.h>. ntdomain.h: Moved struct acct_info into here from smb.h smb.h: Added KERNEL_OPLOCK_CAPABILITY define. Moved enum action_type into rpcclient.h Moved struct cli_state into client.h Moved struct nt_client_info, struct tar_client_info, struct client_info into rpcclient.h lib/genrand.c: Changed to use sys_random() & friends. lib/smbrun.c: Lose capabilities after fork. lib/system.c: Added set_process_capability(), set_inherited_process_capability() sys_random(), sys_srandom(). lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an 32 bit mounted NFS filesystem. nmbd/nmbd.c: Changed to use sys_random() & friends. nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends. passdb/ldap.c: Missed one pdb_encode_acct_ctrl call. passdb/passdb.c: Changed to Ander's code for ' ' characters. passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ. script/mkproto.awk: Added 'long' to prototypes. smbd/chgpasswd.c: Lose capabilities after fork. smbd/open.c: Do the mmap *after* the kernel oplock. smbd/oplock.c: Removed stub code from kernel oplock path. Added set_process_capability(), set_inherited_process_capability() calls. smbd/reply.c: Initialize count = 0, offset = 0. smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls. tests/summary.c: Ensure we have RANDOM or RAND. utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ. utils/torture.c: Changed to use sys_random() & friends. Jeremy. (This used to be commit e8be306f23963ac00b1a383ebe0cc1421529fb02)
1998-09-25rpcclient: got samr command "enumusers -g -u" workingLuke Leighton1-1/+1
(This used to be commit 3a00023efedb34684bd45bd8a562f07a9880f1ad)
1998-09-25added in samr commands. assistance in returning the missing functions,Luke Leighton1-0/+143
automatically removed because they were "unused", would be appreciated. (This used to be commit d0f7b0d915973ccb85409af3d6d951a716cd66d2)
1998-09-25added wksinfo command to rpcclient, which don't work too good.Luke Leighton1-0/+12
(This used to be commit 8d23da91cbd74a45a5b030688fd89d88a25738dc)
1998-09-25added rpcclient programLuke Leighton1-2/+50
(This used to be commit aa38f39d67fade4dfd7badb7a9b39c833a1dd1ca)
1998-09-24Integration of Anders Blomdell <anders.blomdell@control.lth.se>'sJeremy Allison1-1/+1
smbpasswd changes. Not exactly the same as his code - several changes. Jeremy. (This used to be commit e96747a8e3b9ea5a79c4258e55d7e8f3bf0bf193)
1998-09-23First cut at kernel oplocks. This should have no effect unless runninJeremy Allison1-8/+7
on a machine that supports them in autoconf. Move various functions out of lib/util.c into smbd/process.c and smbd/oplock.c where they belong. Jeremy. (This used to be commit c3c5e13f85c97939746070132dad941e79c546fb)
1998-09-21replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1-2/+0
(This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
1998-09-20lp_fstype() protoAndrew Tridgell1-0/+1
(This used to be commit ac48db7f2130c29a25185bc5450f94811cc54640)
1998-09-18Fixed problems with premature kernel oplock checkin code.Jeremy Allison1-1/+1
The ./configure & build now seem to work ok. Jeremy. (This used to be commit 7c1a5ed1c2a55543d3f3c8bbd38e6c9c35b80390)
1998-09-18configure configure.in include/config.h.in include/includes.hJeremy Allison1-1/+9
Fixed bugs in readline autoconf. param/loadparm.c smbd/open.c smbd/oplock.c: Started on kernel oplock code - checking forced by above issue. Should not be used currently. Jeremy. (This used to be commit f939efac9e6c45331b17e3d3aa6bc2235e886c1a)