summaryrefslogtreecommitdiff
path: root/source4/param
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7643: This patch adds a new NTPTR subsystem:Stefan Metzmacher1-0/+4
- this is an abstraction layer for print services, like out NTVFS subsystem for file services - all protocol specific details are still in rpc_server/spoolss/ - like the stupid in and out Buffer handling - checking of the r->in.server_name - ... - this subsystem can have multiple implementation selected by the "ntptr providor" global-section parameter - I currently added a "simple_ldb" backend, that stores Printers, Forms, Ports, Monitors, ... in the spoolss.db, and does no real printing this backend is basicly for testing, how the spoolss protocol works - the interface is just a prototype and will be changed a bit the next days or weeks, till the simple_ldb backend can handle all calls that are used by normal w2k3/xp clients - I'll also make the api async, as the ntvfs api this will make things like the RemoteFindFirstPrinterChangeNotifyEx(), that opens a connection back to the client, easier to implement, as we should not block the whole smbd for that - the idea is to later implement a "unix" backend that works like the current samba3 code - and maybe some embedded print server vendors can write there own backend that can directly talk to a printer without having cups or something like this - the default settings are (it currently makes no sense to change them :-): ntptr providor = simple_ldb spoolss database = $private_dir/spoolss.db metze (This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2007-10-10r7531: Finally fix lp_load(). I had left hooks in place which restricted usAndrew Bartlett1-6/+0
to globals only (no shares). Andrew Bartlett (This used to be commit 9e6112eee37927cd4deaa078ea09813e07c7c386)
2007-10-10r7530: Simply calling convention of lp_load().Andrew Bartlett1-58/+7
This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
2007-10-10r7221: Add the start of a KDC service (to be built on a 'libkdc' from a to beAndrew Bartlett1-0/+4
included Heimdal) to Samba4. Andrew Bartlett (This used to be commit 51ba3ea60c265b837821b6c3e031dfe229c10d6a)
2007-10-10r7016: - added smb.conf parm 'web tls = true/false'Andrew Tridgell1-0/+4
- by default enable tls if the certfile is set in smb.conf and gnutls library was compiled in (This used to be commit bbafdeae3a68c0ff1170b0a4ecc568664ec1a925)
2007-10-10r7012: added smb.conf parametersAndrew Tridgell1-0/+16
web tls keyfile web tls certfile web tls cafile web tls crlfile (This used to be commit abfa3e9179557cf1853f490a479a0003ce4e11f7)
2007-10-10r7008: - split out the loadparm type definitions so loadparm internals can ↵Andrew Tridgell2-154/+89
be accessed externally - moved esp_lpGet() to web_server/calls.c - attempt to fixup ejs build with includes.h again (This used to be commit 592a81c347981420154ddf3b8d4252d3bb08bc86)
2007-10-10r7002: added support for getting at loadparm config parameters via lpGet() ↵Andrew Tridgell1-53/+116
in esp scripts lpGet takes 4 forms v = lpGet("type:parm"); gets a parametric variable v = lpGet("share", "type:parm"); gets a parametric variable on a share v = lpGet("parm"); gets a global variable v = lpGet("share", "parm"); gets a share variable in all cases a ejs object of the appropriate type for the variable is returned. This commit also adds the function typeof() which returns the type of an object (This used to be commit 5537a0d38d4805cbc2dad0d6f76db15173b1fd60)
2007-10-10r6982: install the swat pages with 'make installswat'Andrew Tridgell1-5/+5
(This used to be commit 31543e1eae03d22343ea8c970494af36eb07b41f)
2007-10-10r6981: first version of the builtin web server for Samba4Andrew Tridgell1-1/+9
This includes an embedded server side scripting system called 'esp' (see http://www.appwebserver.org/products/esp/esp.html) and javascript based scripting language called 'esj' (see http://www.appwebserver.org/products/ejs/ejs.html) The justification for including this scripting language is that it should make it much easier to write a high quality web interface for Samba4. The scripting language can call into any Samba4 library code (so for example it will be able to make ldb and loadparm calls), plus it provides easy support for forms, cookies, sessions etc. There is still quite a bit more work to do on the web server, but there is enough here now for people to look at and comment. I will be committing some sample web pages that test esp functionality shortly. (This used to be commit 26f0ba92c0c565ac9e4cb5a079d795d4262497dd)
2007-10-10r6902: Turn the LDAP server on by default. It is no worse than the others...Andrew Bartlett1-1/+1
(no ACL support) Andrew Bartlett (This used to be commit 9f895f6482e45dd975baea7114748b65dbe6e688)
2007-10-10r6842: Move to .mk fileJelmer Vernooij2-4/+5
(This used to be commit 77f9c471eaad71e6adf0371de206ed879daca2d8)
2007-10-10r6724: added "cldap port" smb.conf parameterAndrew Tridgell1-1/+5
(This used to be commit 04af0e7c5de467a24b965ce1de2fb07621133164)
2007-10-10r6619: realm should not be forced uppercaseAndrew Tridgell1-1/+1
(This used to be commit 93e70717c7cb6aa591d3d83a70e5df03822fa17c)
2007-10-10r6184: the beginnings of the libcli/dgram/ library, and the dgramAndrew Tridgell1-0/+4
server. Currently just listens on port 138 and parses the packets (using IDL like the rest of NBT). This allows me to develop the structures and test with real packets (This used to be commit 10d64a525349ff96695ad961a3cfeb5bc7c8844f)
2007-10-10r5502: announce us as a print server by defaultStefan Metzmacher1-0/+4
metze (This used to be commit ac062a29799665121c15f60a8f5d25a3c68e51ae)
2007-10-10r5491: Don't load the DCOM-specific services by default (yet)Jelmer Vernooij1-1/+1
(This used to be commit e2cbe16c1e4e3912ecdccc6480a147478fff3d9e)
2007-10-10r5395: fixed some loadparm memory leaksAndrew Tridgell1-4/+6
(This used to be commit b75f8fe1844c539d8a4e369225bcbe0e6f81e9de)
2007-10-10r5389: initialise the WINS ttl max/min values to something sensibleAndrew Tridgell1-0/+3
(This used to be commit ee61fab163ed7faccef908d7458a2038fdad0887)
2007-10-10r5346: - a bit more preparation for the WINS server going inAndrew Tridgell1-0/+4
- more NBT packet asserts, to ensure that incoming requests have all the elements we depend on - open the WINS database at startup if we are configured as a WINS server - split out the nbtd server reply packet generation code so it can be shared by the WINS server - re-did the logic of what is answered by the WINS server and what by the B node server. It now always tries to answer by the B node, and only "recurses" to the WINS server for names that are not found. (This used to be commit 5613e6b8ad9b32639caf5055f793dbc4d0a2fc19)
2007-10-10r5308: trimmed back a lot of the old macros from smb_macros.hAndrew Tridgell1-0/+2
(This used to be commit bf43c9bdcf9e654d123f6a2b29feb9189ca9e561)
2007-10-10r5302: fixed a compilation problem on solaris caused by the recent includeAndrew Tridgell1-1/+1
changes (This used to be commit e7e015f79b10c353848a17f31c91a0593790a560)
2007-10-10r5296: - only include the tdb headers where they are neededAndrew Tridgell1-5/+5
- removed the u32 hack in events.c as I think this was only needed as tdb.h defines u32. Metze, can you check that this hack is indeed no longer needed on your suse system? (This used to be commit 6f79432fe656164d4770dbce114a30dda5e7bf9a)
2007-10-10r5221: replace the str_list_*() code with new code based on talloc(). This isAndrew Tridgell1-14/+17
a precursor to adding the wins client code in the nbt server. (This used to be commit e8e499755ab667015740b35a7787134ebe852954)
2007-10-10r5115: enable the nbt daemon by defaultAndrew Tridgell1-1/+1
(This used to be commit 4c0cc5fc11241c8a19081c4944b162c29da31603)
2007-10-10r5108: the beginnings of a nbtd server for Samba4. Currently just displaysAndrew Tridgell1-0/+5
the packets it receives, but it at least shows how the server structure will work. To implement it I extended the libcli/nbt/ library to allow for an incoming packet handler to be registered. That allows the nbt client library to be used for low level processing of the nbtd server packets. Other changes: - made the socket library always set SO_REUSEADDR when binding to an interface, to ensure that restarts of a server don't have to wait for a couple of minutes. - made the nbt port configurable. Defaults to 137, but other ports will be useful for testing. (This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-1/+1
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4898: - removed the unused wins_srv_*() codeAndrew Tridgell1-3/+3
- expanded the generic async name resolver to try multiple methods - added wins resolutions to the list of methods tried - fixed up the random trn id generation to use the good random generator (This used to be commit 266fd2751c01808e5a18d4094032af50554ceb7a)
2007-10-10r4817: ccache was being made ineffective on all the build farm machinesAndrew Tridgell1-0/+1
because the version number was being auto-updated and included in all C files. With this change it is only included where needed. (This used to be commit 520cff73c6dc62ba1050cf7ca5145d50b5f2bb4e)
2007-10-10r4725: make "password server" a string listStefan Metzmacher1-3/+3
metze (This used to be commit 5287ec0818cf38cc5d3ef2a21518c98b700116fb)
2007-10-10r4650: - make more use of bitmap and enum'sStefan Metzmacher1-0/+1
- move some structs out of misc.idl metze (This used to be commit b6543a6e3057b5588ec50a2ebf6c7c932209efe6)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell1-1/+1
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4500: Allow GENSEC modules to be disabled by setting a flag on their moduleAndrew Bartlett1-5/+0
definition, not by hardcoded reference in loadparm.c Andrew Bartlett (This used to be commit 43558eaf7604d2bb0187e0d1ba0686935a965ad7)
2007-10-10r4494: Allow gensec_gssapi to use the SPNEGO mech provided by Heimdal (off byAndrew Bartlett1-1/+2
default at this point), and include the GSSAPI OIDs in our source, per advice by lha that this is easier than getting the includes right. Andrew Bartlett (This used to be commit 9ff8b2b4d12d364084df5c95a752ce2a0546053d)
2007-10-10r4482: in ads mixed mode there are also only one PDC and multiple BDC'sStefan Metzmacher1-1/+4
metze (This used to be commit 30980d218495d389d7a5db4b190ed717217c08d4)
2007-10-10r4460: Add a new GENSEC module: gensec_gssapiAndrew Bartlett1-0/+1
(disabled by default, set parametric option: gensec:gssapi=yes to enable). This module backs directly onto GSSAPI, and allows us to sign and seal GSSAPI/Krb5 connections in particular. This avoids me reinventing the entire GSSAPI wheel. Currently a lot of things are left as default - we will soon start specifiying OIDs as well as passwords (it uses the keytab only at the moment). Tested with our LDAP-* torture tests against Win2k3. My hope is to use this module to access the new SPNEGO implementation in Heimdal, to avoid having to standards-verify our own. Andrew Bartlett (This used to be commit 14b650c85db14a9bf97e24682b2643b63c51ff35)
2007-10-10r4452: the beginnings of a dssetup rpc server.Andrew Tridgell1-1/+1
(This used to be commit 1c2170ae21d60c22ee3053fbf249dba59de576ba)
2007-10-10r4444: - initialise registry:HKEY_LOCAL_MACHINE to a reasonable default (whereAndrew Tridgell1-8/+9
provision.pl suggests hklm.ldb be put) - fix the globals init not to wipe parametic values after initialising them (this bug prevented default values for parametric parameters) (This used to be commit 6a360c52c1723b4c3485a97ebcfeb907f840a051)
2007-10-10r4439: unlimited connections is -1Stefan Metzmacher1-1/+1
metze (This used to be commit e62b36bef193f6a58ee035d581ef0f574f1e2910)
2007-10-10r4438: the ADMIN$ share is a diskshare but hiddenStefan Metzmacher1-9/+12
metze (This used to be commit 33a185ec3b211f6137abd6367ccc81d5102e5f4f)
2007-10-10r4423: give lp_parm_int() and lp_parm_ulong() default valuesStefan Metzmacher1-4/+4
metze (This used to be commit c44f4d44b51789916e50c9da93046d0a15245edc)
2007-10-10r4342: Fix a memory leak in init_globals().Andrew Bartlett1-1/+4
Andrew Bartlett (This used to be commit cc47b4c6fc932f8257506276eaa1a98a41055f8b)
2007-10-10r4339: - rename auth_guest to auth_anonymousStefan Metzmacher1-1/+1
- don't use static const strings in the server_info - fix segfault when auth_sam gets "" as username metze (This used to be commit 7fcbd483d4977cf6483f34ddd28e6c0182897ba2)
2007-10-10r4058: added a type safe version of smb_xmalloc()Andrew Tridgell1-5/+4
(This used to be commit 1235afa5fe3a396cd7a180cbc500834a30fbaa80)
2007-10-10r4055: fixed more places to use type safe allocation macrosAndrew Tridgell1-1/+1
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)
2007-10-10r4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()Andrew Tridgell2-6/+4
(This used to be commit b0f6e21481745d1b2ced28d9ed6f09f6ffd99562)
2007-10-10r4052: fixed a bunch of code to use the type safe _p allocation macrosAndrew Tridgell1-1/+1
(This used to be commit 80d15fa3402a9d1183467463f6b21c0b674bc442)
2007-10-10r4045: readd krb5 support defaulted to disableStefan Metzmacher1-0/+3
use: gensec:krb5=yes gensec:ms_krb5=yes to enable it or -k on the client tools on the command line metze (This used to be commit 0ae5794cf44933d2554e0356baaca24c7a784f71)
2007-10-10r3957: fix compiler warningStefan Metzmacher1-6/+0
metze (This used to be commit a6fb416f519688cb012dc9098306bbe5b7950e1d)
2007-10-10r3938: cleaned some old stuff out of loadparmAndrew Tridgell1-72/+0
(This used to be commit f280770c8184465c364f497b8931e9753f97e970)