summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2000-07-18Fixed some more client SPOOLSS functions. The followingGerald Carter1-0/+1
functions work now: - spoolenum - spoolopen - spoolgetprinter - spoolgetprinterdriver Items todo: - track down memory bug with spoolenumdata - fix spoolgetprinterdriverdir - fix spoolgetdata - fix display_job_info_ctr in spooljobs All part of the ongoing rpcclient work. Also included a new generic list ADT. Cleaner and simplier than the stuff in util_array.c i think (but then that's why I wrote it). --jerry (This used to be commit 381aba2c9a63faa53728f0520ac316478bc7a1c3)
2000-07-10Fixes for various compile warnings on Solaris 8.Tim Potter1-14/+14
(This used to be commit 898a483cdab1ed7d8ff902c0dc0e0620440ae4cd)
2000-07-06Include nss.h if present or define enough values to allow client access toTim Potter1-0/+15
winbind. (This used to be commit 669bd8dc1ab4690cf21310fe0310f1716e4a0197)
2000-06-23Added MAX_SEC_CTX_DEPTHTim Potter1-0/+2
(This used to be commit 2bf21395ba4999d0392d6f54093ddc8861323ddd)
2000-06-21A neater way of solving the S_ISSOCK, S_ISFIFO problem.Tim Potter1-0/+54
Moved the S_* macros from smb.h to includes.h (This used to be commit b37539e323361239659256ef0837f63b6714ab95)
2000-06-15added support for kernel level share modes. These are a (small) hack,Andrew Tridgell1-0/+9
I suspect we will either get rid of them or do them properly at some stage. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
2000-06-11fixed Linux capabilities handlingAndrew Tridgell1-12/+0
I used a trick where CAP_LEASE isn't claimed until it is needed. This means we avoid a system call per setreuid(), and never call capset() unless a user tries to get a oplock on a file that they don't own (This used to be commit afa98d511f70f455d599c3a36dd25e49fe74ac09)
2000-06-11Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell1-0/+12
I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour. (This used to be commit b28cc4163bc2faaa80c5782fc02c8f03c410cdeb)
2000-05-09the beginnings of a new scheme I've working on to allow an easierAndrew Tridgell1-8/+2
head/tng merge. It goes something like this: - headers from tng get copied over one at a time - the old headers get renamed to *_old.h - server side code that used the old headers gets a #define OLD_NTDOMAIN 1 #undef OLD_NTDOMAIN at the start and end of the code - mkproto.awk recognises these special defines and does magic stuff so that each .c file sees the right headers - we start moving the rpc client libraries from tng to head. if this goes OK then, in theory, we should be able to move the client side rpc code from tng to head without disturbing the existing head server side code. Then when that works we can consider merging the server side. it remains to be seen if this scheme will work. So far I've moved rpc_samr.h and don't seem to have broken anything. Note this this is still a very delicate operation, as at every step of the way I want to keep head fully functional. Please don't take part unless you discuss it with me first. (This used to be commit f76c037255a6a79d11bec65e863e009a41a4f0fd)
2000-05-08added secrets.tdb and changed storage of trust account password to useAndrew Tridgell1-0/+1
it (This used to be commit 88ad00b82acc4636ab57dfe710af08ea85b82ff1)
2000-05-01allow a DEFAULT_PRINTING to be specified in CFLAGSAndrew Tridgell1-0/+4
(This used to be commit 80ebb0ad5499745f988921eceb4584b43ef9aaf1)
2000-04-25moved trans2.h and nterr.h into includes.h with all our other includesAndrew Tridgell1-0/+4
(This used to be commit d7cd7c88fdabb01d9e40ae8a657737907a21ac37)
2000-04-17got rid of some more old configure tests and includesAndrew Tridgell1-51/+0
(This used to be commit f137648504362479143d50477fa38ebf7147968b)
2000-04-11include/byteorder.h: ALIGN4/ALIGN2 macros.Jeremy Allison1-0/+2
include/includes.h: Added SMB_BIG_UINT_BITS. lib/util.c: Removed align2/align4 - use macros. libsmb/namequery.c: Use ALIGN2. locking/locking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Needed to move to hiding POSIX locks at a lower layer. nmbd/nmbd_processlogon.c: Use ALIGN2/ALIGN4 macros. smbd/blocking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. smbd/reply.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Jeremy. (This used to be commit 491eea8a20bf80d426625479326211dc975857a6)
2000-03-09Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison1-2/+2
and the printer functions. Also tidied up some header includes and got the order right so you can now do a : make proto make clean make Jeremy. (This used to be commit 833cd9fba92e4ad5297b235d108dd2be8c17079b)
2000-03-08dded Microsoft Dfs services.Shirish Kalele1-0/+2
* added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ---------------------------------------------------------------------- (This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
2000-02-15Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison1-0/+3
on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
2000-02-07Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison1-1/+18
Code from Don Badrak <dbadrak@census.gov> Jeremy. (This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)
2000-02-03Busting up of source/include/smb.h into smaller pieces which can beTim Potter1-25/+9
#included by VFS modules without bringing in too much other junk. (This used to be commit 13a2cf80f65156e725a5716e62a4c44e70f5340f)
2000-01-26Added hash-based stat cache code from Ying Chen.Jeremy Allison1-0/+1
Jeremy. (This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
2000-01-16make a br_off a SMB_BIG_UINTAndrew Tridgell1-1/+1
(This used to be commit 0751a0ea4cdb7f5db0aa6f359dd3e4f744fc0689)
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)