summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2000-01-13defined br_off as a type for byte range offsets. For now I've set itAndrew Tridgell1-0/+3
as SMB_OFF_T, we need to do some autoconf changes to generate a 64 bit int whenever possible (eg. long long on 32 bit i386) (This used to be commit 09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7)
2000-01-08smbd/mangle.cJeremy Allison1-1/+0
smbd/negprot.c: Tidyup of static initializers. smbd/server.c: Fix -l option. Jeremy. (This used to be commit d120f22fefde21b38e43ea5ad0180bf27304d2eb)
2000-01-05Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.Jeremy Allison1-0/+4
configure configure.in include/config.h.in: Added <sys/un.h> autoconf code for Luke's UNIX domain sockets code. Jeremy. (This used to be commit 210d61db08136122f51a93428607fccd582c9e7d)
2000-01-05implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell1-0/+1
lp_string() bug properly. we still need to add lp_talloc_free() calls in all the main event loops, I've only put it in smbd and nmbd thus far. (This used to be commit aa7f81552540f5dca2c146f5edd805611d5b390f)
2000-01-03got rid of mem_manAndrew Tridgell1-4/+0
yamd is much better, and doesn't require any source code changes if you haven't seen yamd then take a look at http://www3.hmc.edu/~neldredge/yamd/ its excellent! (This used to be commit 25b13f8b79d648188036f027f45bc78ec117cc88)
1999-12-29Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 1ba42aca2163c534f6be4e4a733604e3dffe0ed8)
1999-12-23Samba now includes a full ucs2 upper to lower case (and vica versa) map table.Jeremy Allison1-0/+13
Jeremy. (This used to be commit d7b72d4cbfb6bd1925abc7f95c1180d3d65856a5)
1999-12-22include/includes.h: Trimmed down unicode directory entry to be POSIX complient.Jeremy Allison1-3/+1
lib/system.c: Trimmed down unicode directory entry to be POSIX complient. lib/util_unistr.c: Added wstrdup(). Jeremy. (This used to be commit ca64f4ab00c6d54022ba9bd4b869523566a242d7)
1999-12-22First cut at unicode sys_xx functions. Now to start moving upwards.....Jeremy Allison1-0/+25
Jeremy. (This used to be commit b5eb009cc3cfd1adc044e91911d59acdb54c30cb)
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell1-0/+1
suite and a very simple tool for manuipulating the databases. the main code is in tdb/tdb.c and includes both mmap and file based IO. All databases auto-expand and allow multiple simultaneous writers. the next step is using this new capability in lots of places in Samba where we have existing ad-hoc databases (This used to be commit c89d29cc5e3b6d568928acace01144059f1668b3)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-76/+164
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-08moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.hLuke Leighton1-1/+4
(This used to be commit b2ea37a8f1a28a825719b46354a1244b359aca2c)
1999-12-01sys_select added one more argument (read, write selectors).Luke Leighton1-0/+1
(This used to be commit e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a)
1999-11-24rewrote policy handle code to be generic (it's needed for client-side too)Luke Leighton1-0/+4
attempted to fix regsetsec command (This used to be commit eaac0923e0e5e3f4c3d944272a71f3235ac2a741)
1999-08-08Some compilers want (void) instead of just () in function declarations.Matthew Chapman1-1/+1
(This used to be commit c086c7ab94d676e22801bc78588c116cf2e5a4eb)
1999-07-09Put back in GNU readline support for smbclient accidentally trashed byTim Potter1-0/+8
tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)
1999-07-09Hived off string routines into a separate file.Tim Potter1-19/+3
(This used to be commit 4929513f1376d72409c1e5a39f723d1d2bd81dc0)
1999-04-01Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1-8/+16
capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area. (This used to be commit ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
1999-03-08Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.Luke Leighton1-0/+4
(This used to be commit 188d9a75edb41e8a0cc0ea6e17c9497771cf3b96)
1999-03-02added <mysql.h> autoconf test.Luke Leighton1-0/+4
(This used to be commit 511ef8a58ccfc04d0744f28753bb48d848851980)
1998-12-17and in head branch:Andrew Tridgell1-1/+1
make sure we include sys/mman.h if available (This used to be commit ccf644388732287da01a943ea826187b5394ebc6)
1998-12-16A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel1-2/+0
better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)----- (This used to be commit 782474f41e0c2bc0b1f098758a3e5cb44e87d8b1)
1998-12-15on Linux force fcntl/mmap based shared memory and on other systemsAndrew Tridgell1-0/+13
force IPC/shmem based shared memory. (This used to be commit ef5f752a4ae818d9c739a064410a02fa48a477e3)
1998-11-30moving rpc/rpc.h to after netinet.hLuke Leighton1-5/+5
(This used to be commit 3257b72c6e2722a6de6b40b4c16e934c02a7c508)
1998-11-29removed include of net/route.h because it prevents compilation underAndrew Tridgell1-4/+6
SCO 3.2 (including it also requires lots of streams stuff, making it a total mess). If this causes problems on some other platform then please add a comment stating what platform and why the include is needed so we can work out how to test for it properly. (This used to be commit 21d779bf7def71d5d9c899eabbb6a110860bd8e2)
1998-11-25Makefile.in: Added maintainer mode fixes.Jeremy Allison1-0/+4
aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy. (This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
1998-11-23re-added includes for yp_prot.h and yp_clnt.hLuke Leighton1-0/+13
(This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)
1998-11-23get rid of __wait boring warning, caused by rpc/clnt.hLuke Leighton1-13/+4
(This used to be commit 0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)
1998-11-23unix instance of group database APILuke Leighton1-0/+1
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
1998-11-19Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.Jeremy Allison1-22/+43
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1. libsmb/nmblib.c: Fixes to nmbd jumps in scope names. Jeremy. (This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)
1998-11-18Added OSF1 changes to HEAD (-lsecurity etc.)Jeremy Allison1-0/+9
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler. utils/smbpasswd.c: Fixed SunOS optind, optarg problem. Jeremy. (This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)
1998-11-18Fixed problem with HAVE_NETGROUP being used on platformsJeremy Allison1-1/+1
that cannot support it. Jeremy. (This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
1998-11-17Moved PRINTCAP_NAME from smb.h to includes to allow it toJeremy Allison1-0/+3
be tuned per system type. Jeremy. (This used to be commit c1a3346547d887bfd2402a6b0bcc185680eb4470)
1998-11-16Updates to handle glob.h - was causing problems on SCO 5.0.4John Terpstra1-1/+1
(This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3)
1998-11-13Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1-2/+10
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. (This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
1998-11-13reverted includes change for FreeBSD as it breaks IRIXAndrew Tridgell1-1/+0
(This used to be commit 24b2bf1741366045eca02cbd09e3283531d28422)
1998-11-13fixes for OSF1 compilationAndrew Tridgell1-0/+1
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-10rpcclient registry commands.Luke Leighton1-0/+4
(This used to be commit 36fcb4a6e643a05d06a2a273d74318fee7f2c647)
1998-10-28Still moving things around. debugparse.h will be removed from the includeChristopher R. Hertel1-2/+2
directory in the next batch. Chris -)----- (This used to be commit 81f64d89924523279a2dcbe53d5355f3dd56b5ff)
1998-10-28Quick fixes to fix the broken tree. Needed for my morning compiles.Jeremy Allison1-1/+3
Chris - feel free to fix these things differently if these fixes don't work for you. Jeremy. (This used to be commit 1f225abfbe6b021b589711c2e4c599a63050c5b2)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1-0/+6
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. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-15config: Fix crypt prototype on RedHat Linux.Jeremy Allison1-0/+5
include/includes.h: Fix crypt prototype on RedHat Linux. smbd/fileio.c: Fix mmap bug found by WinCE client. smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman smbd/password.c: Fix encrypted null passwords. Jeremy. (This used to be commit 475992730c0ecbf31c09b3518df2f0354cec61da)
1998-10-07more solaris acl fixesAndrew Tridgell1-0/+4
(This used to be commit 1ad5bc381ab00f0699f025cb64db7cb4fa102c13)
1998-10-07yet another attempt at making this stuff portable. This time I useAndrew Tridgell1-13/+0
minimal includes in wrapped.c (This used to be commit fd6a59d8ca0932d61a60b74485841001d4f8fd44)
1998-10-07more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1-0/+23
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-04more smbw cleanups.Andrew Tridgell1-0/+1
- 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-03define O_ACCMODE if not definedAndrew Tridgell1-0/+4
(This used to be commit 48de03824ed33e9751bc9deeb22f1e1ef650b8cb)
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-21replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1-5/+6
(This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
1998-09-18Fixed position of LARGE_SMB_OFF_T definition. The SOFF_T define wasJeremy Allison1-8/+6
being done *before* the LARGE_SMB_OFF_T was being defined, but SOFF_T depended on it :-). This broke 64 bit file reporting. Jeremy. (This used to be commit c6a353cfabd99be0ce5bf508d716216443a44c20)