summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpc_parse/parse_spoolss.c: Added checks on mallocs/overflow checks on all prs_xxJeremy Allison2000-03-252-165/+375
| | | | | | | calls. smbd/connection.c: Fix from David Lee <T.D.Lee@durham.ac.uk>. Jeremy. (This used to be commit 53721fbc7d2a986cf999b8f031a2d9003c0dccae)
* Correctly convert from little-endian UNICODE to dos_codepage when doingJeremy Allison2000-03-223-33/+24
| | | | | | secure file create. Jeremy. (This used to be commit 90134dd13721f60d4fb05ce9434b65e95ff09629)
* acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.Jeremy Allison2000-03-2235-871/+220
| | | | | | | | | | | | | | | include/byteorder.h: Added alignment macros. include/nameserv.h: Added defines for msg_type field options - from rfc1002. lib/time.c: Typo fix. lib/util_unistr.c: Updates from UNICODE branch. printing/nt_printing.c: bzero -> memset. smbd/connection.c: Added check for UT_SYSLEN for utmp code. Other fixes : Rollback of unapproved commit from Luke. Please *ask* next time before doing large changes to HEAD. Jeremy. (This used to be commit f02999dbf7971b4ea05050d7206205d7737a78b2)
* disabled the getgrent() code recently added that returns all unix groupsLuke Leighton2000-03-221-0/+17
| | | | | | | | | | | | | | | | | as NT aliases. no allowance is made for possible clashes with some unix groups that may be mapped to NT groups, not NT aliases. it is not the place of this code to make decisions about which unix groups should be mapped to NT aliases or NT groups, or in fact whether unix groups exist at all (e.g "appliance" mode). please could the person who wrote this code contact me and i will outline the architecture and design issues that you need to be aware of when working in this area: i need your skills and ability -- applied in the right places. thank you. (This used to be commit 67d9b3733f7f3ffab0ff6e78de7638fb469195e6)
* disabled code from HP that replaced get_sampwd_entries() withLuke Leighton2000-03-221-1/+26
| | | | | | | | | | | | | get_passwd_entries(). get_sampwd_entries() calls the generic SAM pwdb API, whereas get_passwd_entries() calls the Unix database explicitly. this will result in LDAP, MYSQL, NISPLUS and any other future modules (e.g "appliance" mode SAM database) failing to operate correctly. i know what problem was attempted to be fixed, here, but this is not the right place to attempt to fix it. (This used to be commit 04fa6a02739671fa02b531ae47e5d24c54753331)
* added the following message to all dce/rpc client/server code, exceptLuke Leighton2000-03-2225-0/+631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the spoolss code (it's cut from TNG) and the smb-dce/rpc interface code that jeremy has been working up to TNG-functionality. i also want this message to go into SAMBA_2_0 and SAMBA_2_0_RELEASE, because it is intolerable that potentially good modifications be made to code that is going to be thrown away, and people waste their time fixing bugs and adding enhancements that have already been carried out already, up to two years ago in the TNG branch. /* * THIS CODE IS OUT-OF-DATE BY TWO YEARS, IS LEGACY DESIGN AND VERY, VERY, * INCOMPLETE. PLEASE DO NOT MAKE ANY FURTHER ENHANCEMENTS TO THIS CODE * UNLESS THEY ARE ALSO CARRIED OUT IN THE SAMBA_TNG BRANCH. * * PLEASE DO NOT TREAT THIS CODE AS AUTHORITATIVE IN *ANY* WAY. * * REPEAT, PLEASE DO NOT MAKE ANY MODIFICATIONS TO THIS CODE WITHOUT * FIRST CHECKING THE EQUIVALENT MODULE IN SAMBA_TNG, UPDATING THAT * FIRST, *THEN* CONSIDER MAKING THE SAME MODIFICATION IN THIS BRANCH * * YOU WILL, ALMOST GUARANTEED, FIND THAT THE BUG-FIX OR ENHANCEMENT THAT * YOU THINK IS NECESSARY, HAS ALREADY BEEN IMPLEMENTED IN SAMBA_TNG. * IF IT HAS NOT, YOUR BUG-FIX OR ENHANCEMENT *MUST* GO INTO SAMBA_TNG * AS THE SAMBA_TNG CODE WILL REPLACE THIS MODULE WITHOUT REFERENCE TO * ANYTHING IN IT, WITH THE POSSIBLE RISK THAT THE BUG-FIX OR ENHANCEMENT * MAY BE LOST. * * PLEASE OBSERVE AND RESPECT THIS SIMPLE REQUEST. * * THANK YOU. * * lkcl@samba.org */ (This used to be commit cfaea90529be222f8df0e20a7ca1289f99c29e09)
* indent update to make t easier to see setuid mods in TNG. someLuke Leighton2000-03-215-1187/+1492
| | | | | code from these modules i had to leave out (nothing to do withj setuid) (This used to be commit 96717211edcc389daa4494907251ffb79ffa56d9)
* Added preliminary user list code from HP. Needs to be made dynamicJeremy Allison2000-03-211-20/+252
| | | | | | | | and backended with a tdb database so the list can be shared between multiple smbds. ToDO. Jermey. (This used to be commit 171222ce22595743a052e5c3d4428ce916d7c345)
* Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2Jeremy Allison2000-03-201-2/+2
| | | | | | server. Jeremy. (This used to be commit ce1c36541255b51ae429e530c0ebf016009ab84e)
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-165-5/+78
| | | | | Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
* removed extra arguements from make_nmb_name callsHerb Lewis2000-03-161-3/+3
| | | | (This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
* fix a bug in enumprinterdriversJean-François Micouleau2000-03-161-6/+14
| | | | | J.F. (This used to be commit a8d04c26da601cb97e66c27c7ad21dd672fcec2d)
* use parameters to minimize changes in samba for irix release versionHerb Lewis2000-03-161-70/+103
| | | | (This used to be commit 2b0d05d81c485707e3e6727a38d5782ec6d9ce7e)
* use proper parameter names instead of alias namesHerb Lewis2000-03-161-11/+16
| | | | | | clear lppause and lpresume commands since they don't exist on IRIX change spool directory (This used to be commit f6404f0b55dc0d098c1ad951d84093d3e763b28e)
* Fix from NAKAJI Hiroyuki for a trailing '\n\ in asctime.Jeremy Allison2000-03-151-0/+2
| | | | | Jeremy. (This used to be commit 87df97c9365a185e4ea6bac7b832b8cf38144624)
* Fixed parsing issue with HP printer defs reported by HP.Jeremy Allison2000-03-141-26/+62
| | | | | Jeremy. (This used to be commit 035272e6bcc8c43bf4521e4a20b0c35b0901e904)
* Adding libtool support to HEAD branch. We're going to need this forTim Potter2000-03-137-597/+8621
| | | | | | various things yet to be merged from TNG. The smbwrapper stuff should probably be ported across too. (This used to be commit b183c24220154b33fbb1c1712d1ef819ef4e1290)
* include/smb.h:Jeremy Allison2000-03-135-26/+97
| | | | | | | | | smbd/negprot.c: smbd/reply.c: Fixes to recognise Win2k. param/loadparm.c: Put debug timestamp parameter back to correct default. smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create. Jeremy. (This used to be commit bb100352ab2f98fab3978008d269920e03efcf6d)
* oops ! forgot smb.h in last commitJean-François Micouleau2000-03-136-3/+67
| | | | | | | added info level 1 parsing code for addprinter(ex) J.F. (This used to be commit 4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409)
* Cleaning up call_trans2getdfsreferral.Shirish Kalele2000-03-131-1/+0
| | | | | Instead of a #ifdef MS_DFS in call_trans2getdfsreferral()... , now using a generic call leading to some #define problems.. hopefully I've corrected the last of them. (This used to be commit b5a489fbb808cc7c8ff2338344ef2dae8e351e44)
* Cleaned up call_trans2getdfsreferral for when MS_DFS is not defined.Shirish Kalele2000-03-132-3/+146
| | | | (This used to be commit 2b99318341a3f3a3ac138fe96ad271726bf1552c)
* small fix for addprinterex at level 2Jean-François Micouleau2000-03-131-10/+8
| | | | | | | | | | | I have some network dumps at level 1, but quoting MSDN: "Level [in] Specifies the version of the structure to which pPrinter points. This value must be 2." I like NT so much :-) J.F. (This used to be commit fbf40c6a9140a27e773d59eaf056c9e25659d9b8)
* Interim fix for LPRng. If a lpq parsed line start with a space, we skipJean-François Micouleau2000-03-131-0/+8
| | | | | | | | | it, to prevent false status return value. Jeremy, it's a gross hack but you should consider it for 2.0.7 also. J.F. (This used to be commit 2b1663ec13d9c481fb535c757744068919201f6a)
* parse correctly getprinterdriver2Jean-François Micouleau2000-03-135-55/+63
| | | | | | | | | | found a stupid bug in enumprinters fixed some memleaks found a coredump in enumprinterdata getprinterdriverdir responds correctly now. J.F. (This used to be commit 07f2e194ba61e72320636fb7e5d0f041e255868b)
* moved #endif to end of function to compile when dfs is disabled.Jean-François Micouleau2000-03-131-1/+1
| | | | | J.F. (This used to be commit b534fb03b1ef39e5362c29a05cca53782cd157f7)
* Added standard shell command thing using '!' as first character.Tim Potter2000-03-131-41/+49
| | | | (This used to be commit 829e645f62ffa16041c0cc126174d6fe8f63a2f0)
* Fix stupid logic bug in detecting start-of-pdu in writeX on pipe.Jeremy Allison2000-03-111-1/+2
| | | | | | Found by JF. Jeremy. (This used to be commit 8315583694249278c57948406c1f48e2128f2b08)
* You *must* use O_EXCL when using mktemp (security issue).Jeremy Allison2000-03-111-1/+1
| | | | | | | Glad this code never shipped :-). This is not a problem in 2.0.x. Jeremy. (This used to be commit a0c302f4d03ab07d697115fa8520d0cb0b2ba616)
* Cleaned up unused variables, returns from non-void functions etc.Shirish Kalele2000-03-103-17/+5
| | | | (This used to be commit 6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)
* Cleaning warnings from configure.developerShirish Kalele2000-03-102-31/+31
| | | | (This used to be commit c48579a4fc6c17126712f3a9a9c5212063a6a24d)
* Cleaning up the warnings from configure.developer.Shirish Kalele2000-03-105-13/+9
| | | | | Found that Jeremy had already made some of the changes. (This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
* Fix for names with spaces and some I18N filename issues fromJeremy Allison2000-03-101-10/+11
| | | | | | V. Fyodorov <V.Fyodorov@VAZ.RU>. Jeremy. (This used to be commit 4673aa1a4b133338715059174813b8e29d093972)
* Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes ↵Jeremy Allison2000-03-109-100/+149
| | | | | | | | -Wpointer-arith -Wcast-qual Partially implemented rpc daemon redirect (needs more work). Jeremy. (This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
* you know, when you do a cvs commit, you _really_ expect it to actually work.Luke Leighton2000-03-103-33/+34
| | | | | this explains why j-f wasn't happy. (This used to be commit c51e38214a5323d0aa9b6dcd948a76ddc29f5305)
* getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau2000-03-1011-250/+457
| | | | | | | | | | undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
* removed unused variableJean-François Micouleau2000-03-102-2/+0
| | | | | J.F. (This used to be commit e2557ae5515ce30d0341ef7785cc4380266d4c94)
* restore the spoolss pipe as Jeremy replaced srv_pipe with the one fromJean-François Micouleau2000-03-101-0/+1
| | | | | | | SAMBA_2_0 :-) J.F. (This used to be commit 34a3781961a5c41aba9929ec49aacc3bfa14270f)
* indent went wrong. grr.Luke Leighton2000-03-101-226/+357
| | | | (This used to be commit 525338e80766fe3dbcc4a64db8e957ae63c5e9d6)
* computer too slow to compile with debug info (100mins), but i need all theLuke Leighton2000-03-091-0/+3
| | | | | warnings. (This used to be commit 3f1d5f7c41a69d1249978c84c84ee4c80abf6cdd)
* Not used. Functionality folded back into rpc_server/srv_pipe.c (where itJeremy Allison2000-03-091-1181/+0
| | | | | | originally came from). Jeremy. (This used to be commit b9bc7e8cb6255f2973f680678f93978f17489938)
* Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison2000-03-0912-211/+1679
| | | | | | | | | | | | | 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)
* Fixups for Win2K security descriptors from the 2.0.x branch.Jeremy Allison2000-03-091-26/+60
| | | | | Jeremy. (This used to be commit d22d4482b5e170f352dbfde5b37fc4d4e0eb0a49)
* Corrected DEBUG messages.Shirish Kalele2000-03-092-6/+10
| | | | (This used to be commit a2d62cd30a25e745c4df7ecd6675babc853238f4)
* dded Microsoft Dfs services.Shirish Kalele2000-03-0821-662/+2045
| | | | | | | | | | | | | | | | | | * 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)
* added a tcon test: make two tconXs with the same user/pass, open a fileLuke Leighton2000-03-072-1/+73
| | | | | with one of them and try to write to the file with the other. (This used to be commit f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)
* Enumprinters level 1: reply *exactly* like an NT serverJean-François Micouleau2000-03-072-102/+127
| | | | | | | BTW, found a little memleak in it. J.F. (This used to be commit 9c37b5df2de9bf8fa6f5536fd75f9c8faf338a52)
* fixed enumprinterdata.Jean-François Micouleau2000-03-073-14/+20
| | | | | J.F. (This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
* changed prs_unistr to parse empty and non-empty strings the same way.Jean-François Micouleau2000-03-067-290/+190
| | | | | | | | | | | | | fixed typo in SPOOLSS_SYNT some cleanup of unused functions wrote make_spoolss_enumprinter and make_spoolss_openprinterex for rpcclient as I'm trying to keep in sync the parsing code between HEAD and TNG. Will commit changes to TNG after lunch. J.F. (This used to be commit 025cdb345f6de287a41d4449b2662dbc5e762bf2)
* Tidied up fchown code, error reporting.Jeremy Allison2000-03-021-3/+9
| | | | | Jeremy. (This used to be commit 8e3239440dee6c6f50d26b70f7db46bef2a87a2d)
* Correctly full buffer smbpasswd i/o streams.Jeremy Allison2000-03-021-1/+1
| | | | | Jeremy. (This used to be commit 7b222ed713d47241822323970214326b6a8e67ac)