summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2002-04-14Added a status code for lsa_lookup_{sids,names} returning the fact thatTim Potter1-0/+1
only some of the entries could be resolved. (This used to be commit 0722e71d1ef59a72567f383e3572546ab78e9e6a)
2002-04-14Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett3-6/+21
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
2002-04-13This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer VernooijAndrew Bartlett2-9/+17
<jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett (This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
2002-04-12Remove : from the list seperators, as this is used to seperate out componentsAndrew Bartlett1-1/+1
in the passdb module selection (after the : you have the options). Andrew Bartlett (This used to be commit 6949b630f10ebb76e8e59ca7e832f53571f2c20a)
2002-04-11added strndup() for systems that don't have itAndrew Tridgell1-1/+4
(This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
2002-04-11This split the mangling code up to allow for the possibility of multipleAndrew Tridgell3-0/+19
mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
2002-04-11Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
2002-04-11Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison1-0/+31
defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
2002-04-10Add ads ldap server controlsJim McDonough1-0/+5
(This used to be commit 9126f008ef542b80f0040f621aa28478be5c80a0)
2002-04-10Added Shirish's client side caching policy change.Jeremy Allison1-2/+25
Jeremy. (This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)
2002-04-10Moved definition of winbind username/password secrets into secrets.hTim Potter1-2/+8
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
2002-04-09Added WERR_INVALID_FORM_NAME constant.Tim Potter1-0/+1
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
2002-04-04More spelling.Tim Potter1-1/+1
(This used to be commit 21c3dff4109a6a4dc6a1b618a489e49e88743d42)
2002-04-04If compiling with Insure, mallocate a byte of memory and attach it to theTim Potter1-0/+12
POLICY_HND structure when passing new handles back from the appropriate cli_* functions. When closing the policy handle free the memory. Insure (and indeed other memory checkers) should detect handles that have not been closed properly as memory leaks. Unfortunately this can only be done when the program terminates (set insure++.summarize leaks in your .psrc file) rather than when the policy handle falls out of scope. Looks like Jeremy has squished all the policy handle leaks at the moment but more are bound to crop up later. (This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)
2002-03-29added a shutdown command to smbcontrol.Jean-François Micouleau1-0/+2
have to add the server side now. J.F. (This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)
2002-03-27Added sys_adminlog() system for info the appliance admins reallyJeremy Allison1-0/+33
need to know about. Different from the DEBUG system. Jeremy. (This used to be commit 74eac41c681f92a6da0ae2167f031e021862e0d8)
2002-03-27Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison1-0/+12
dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
2002-03-26OpenPrinter() merge from 2.2Gerald Carter1-1/+18
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-6/+3
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-22Stomped on some header file version numbers that have crept back in.Tim Potter3-6/+3
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
2002-03-21Compile fix for --with-profiling-dataTim Potter1-0/+2
(This used to be commit 1ae07c42a449f4d4049c15f349f0829b73c12b5e)
2002-03-20Print queue entries *must* have queue names, not numbers - numbers areJeremy Allison1-2/+2
not identical between different smbds (mr potter, come here and take your medicine.... :-). Jeremy. (This used to be commit 230941d2fbb746d39c00e482e7f600c68aa45efa)
2002-03-20John's patch changed the size of a structure stored in the tdb - weJeremy Allison1-1/+1
must thus update the versionid of the tdb. Jeremy. (This used to be commit c5230a5387d6ef57f89f4224b75de84b18c109ff)
2002-03-20BUFFER_SIZE Should be 128k if large read write tests are to work.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 2be9b253ad40e125169725ea79e6723cb40c5e6a)
2002-03-20resetprinter merge from SAMBA_2_2Gerald Carter1-1/+2
(This used to be commit 88d8897e21749f177952b264031aa386bbbeaaeb)
2002-03-20Remove the "stat open" code - make it inline. This should fix theJeremy Allison1-1/+0
bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
2002-03-19second step to gain free uid<->rid mappingSimo Sorce2-8/+15
we still need to free gid<->rid mapping and few other stuff (This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f)
2002-03-19Merge in JohnR's page count fixes.Jeremy Allison2-0/+2
Jeremy. (This used to be commit 2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
2002-03-19Sync up vfs changes from 2.2.x.Jeremy Allison3-2/+8
Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
2002-03-19ops forgot this :-)Simo Sorce1-0/+8
(This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee)
2002-03-18preparing for release of 3.0-alpha17Samba Release Account1-1/+1
(This used to be commit a772386d34178ffb8926bfd071ad028de40cefaf)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter3-15/+116
in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
2002-03-13include/smb_macros.h: Don't round up an allocation if the size is zero.Jeremy Allison1-1/+1
"One of these locks is not like the others... One of these locks is not quite the same" :-). When is a zero timeout lock not zero ? When it's being processed by Windows 2000 of course.. This code change, ugly though it is - completely fixes the foxpro/access multi-user file system database problems that people have been having. I used a *wonderful* test program donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me to completely reproduce this problem, and to finally determine the correct fix. This also explains why Windows 2000 is *so slow* when responding to the smbtorture lock tests. I *love* it when all these things come together and finally make sense :-). Jeremy. (This used to be commit 8aa9860ea2ea7f5aed4b6aa12794fffdfa81b0d0)
2002-03-12Added POSIX ACL layer into the vfs.Jeremy Allison2-3/+26
Jeremy. (This used to be commit 7d59445b6962547a8938928a9371651a09e26516)
2002-03-10preparing for release of 3.0-alpha16Samba Release Account1-1/+1
(This used to be commit 77fe6a914888f09f96b4468ea5d1bc1953fe63c5)
2002-03-10yipee! Finally put in the patch from Alexey KotovichAndrew Tridgell2-46/+73
<a.kotovich@sam-solutions.net> that adds the security decsriptor code for ADS workstation accounts thanks for your patience Cat, and thanks to Andrew Bartlett for extensive reviews and suggestions about this code. (This used to be commit 6891393b5db868246fe52ff62b3dc6aa5ca6f726)
2002-03-07Fix for machines that have their time changed forward, then back. EnsureJeremy Allison1-0/+7
that any cached lpq information gathered during that time doesn't stay around for longer than 1 hour. Jeremy. (This used to be commit 39fca711a5cf15a03d6c79639b202712d1749a64)
2002-03-07Change xcopy test to use defined constants rather than magic hexJeremy Allison1-6/+6
values so we can see what's going on. Jeremy. (This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
2002-03-05Fix the NTSTATUS -> WERROR for srvsvc pipe.Jeremy Allison2-16/+18
Jeremy. (This used to be commit 2b85d3570c2b149049482c3878c50cf8f5bfca61)
2002-03-05Spelling fixes.Tim Potter1-1/+1
(This used to be commit a7fa0733badad66ae610eac5e01569cf264976f3)
2002-03-03Matching header files for the last netlogon cleanup.Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit a9edcc1cb7c5f2692bc1931f0a2059a91891f178)
2002-03-02This patch merges my private LDAP tree into HEAD.Andrew Bartlett1-2/+8
The main change here is to move ldap into the new pluggable passdb subsystem and to take the LDAP location as a 'location' paramter on the 'passdb backend' line in the smb.conf. This is an LDAP URL, parsed by OpenLDAP where supported, and by hand where it isn't. It also adds the ldap user suffix and ldap machine suffix smb.conf options, so that machines added to the LDAP dir don't get mixed in with people. Non-unix account support is also added. This means that machines don't need to be in /etc/passwd or in nss_ldap's scope. This code has stood up well under my production environment, so it relitivly well tested. I'm commiting this now becouse others have shown interest in using it, and there is no point 'hording' the code :-). Andrew Bartlett (This used to be commit cd5234d7dd7309d88944b83d807c1f1c2ca0460a)
2002-03-02Remove util_list.h, as its matching .c file has already gone, and nobody isAndrew Bartlett3-61/+3
using it anymore. This also removes an early #include of smb.h, making it slightly easier to track whats being included where. Andrew Bartlett (This used to be commit 9d25e3023272a55a39f80305f0f336c655833d55)
2002-03-02Missing include file update for the secrets.c trustdom changesAndrew Bartlett1-1/+1
(This used to be commit e3585e3c2ce2a09453fa1b59a947eccd67dfb88a)
2002-03-01Added requested cast for splint.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 04965086711e9f794f0a0bcbfa0fd230e20b0cbe)
2002-03-01The beginning of trusted and trusting domain support fromAndrew Bartlett2-2/+17
Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> This adds the 'net' tools to manipulate the trusted domains. Andrew Bartlett (This used to be commit 770c8a31d9804d3339ffa0de8b5072a5c7eb02df)
2002-02-27Added "nt status support" parameter. Fix offline synchronisation.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 9243a9778e52999d5c62cba484640637b24994d8)
2002-02-27fix a few definesGerald Carter1-0/+1
(This used to be commit 0a3363ae686205c416c75e16f8d6ee55dc4366b5)
2002-02-26bcopy must DIE ! Stop people creeping use of bcopy back into the codeJeremy Allison1-0/+5
(and yes I know who you are..... :-). Jeremy. (This used to be commit 330b0df960329bcf4696b8fa4a7357e6c456f74e)
2002-02-25Merge of printing performance fixes from appliance.Tim Potter1-1/+1
(This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)