summaryrefslogtreecommitdiff
path: root/source4/param
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10513: Reduce some use of pstring. The main reason some parts of the code stillJelmer Vernooij1-5/+0
use pstring is next_token() now. (This used to be commit a5b88bcd420eb7ae42283293541519e142be36e3)
2007-10-10r10478: More work on proto headers; we now generate a couple of smaller onesJelmer Vernooij1-1/+3
that are then included by include/proto.h (This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10r10374: Add HAVE_* defines (on command-line or in config.h file) for scons +Jelmer Vernooij1-3/+3
some other minor updates (This used to be commit f142c15de1afb2f13a5e23ceb40ce70f0115c8bf)
2007-10-10r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of ↵Jelmer Vernooij1-5/+0
works now (This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10r10348: Add scons scripts for remaining subsystems. Most subsystems build now,Jelmer Vernooij1-3/+3
but final linking still fails (as does generating files asn1, et, idl and proto files) (This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10r10330: Add SConscript to more subsystems. Some of the tdb tools build now.Jelmer Vernooij1-1/+2
Start on custom Samba scons tools (for handling proto generation, pidl, etc) (This used to be commit 4bffe4435944fffa3f9680b5a2fe63f2bdd98003)
2007-10-10r10328: Add more emacs python-mode markers.Tim Potter1-0/+2
(This used to be commit 540a3649e88690e829c17d79ecdccdc9ed464845)
2007-10-10r10323: Add first bits required for getting compile with scons working. This ↵Jelmer Vernooij1-0/+5
does not work yet and can exist parallel with the existing build system. (This used to be commit 829568d75985e875e3363d76fb44270a0298c7f8)
2007-10-10r10316: More dynconfig fixesJelmer Vernooij1-0/+1
(This used to be commit 0963ab9c148772b961f17ec779213b0eb861e1dd)
2007-10-10r10314: Apply the controvertial 'server role =' patch after discussion on ↵Andrew Bartlett1-79/+22
the list: This patch removes the 'domain logon' and 'domain master' controls from Samba4, in favour of a 'server role =' that users can actually understand. We can expand the list of roles as needed, and nobody has to figure out what a 'domain master' actually means. Andrew Bartlett (This used to be commit 31e755c2ced64dbd2681d5f6ef021a87dbeda689)
2007-10-10r10291: The patch optionally (off by default, not available in all cases) allowsAndrew Bartlett1-0/+4
Samba to use the target principal name supplied in the mechTokenMIC of an SPNEGO negTokenInit. This isn't a great idea for security reasons, but is how Samba3 behaves, and allows kerberos to function more often in some environments. It is only available for CIFS session setups, due to the ordering of the exchange. Andrew Bartlett (This used to be commit f6a645644127ae695a9f7288e0a469f2eb7f3066)
2007-10-10r10245: Get rid of XFILE in a few places.Jelmer Vernooij1-7/+7
Add fdprintf() and vfdprintf() helper functions. (This used to be commit 6685009f6af94b088084d69a43bcea5f8335ae57)
2007-10-10r9826: Add some more OOM checksJelmer Vernooij1-1/+21
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)
2007-10-10r9805: Add 'data' property to param EJS objectJelmer Vernooij1-1/+3
Write out new smb.conf file. Parameters that have disappeared between Samba 3 and 4 will optionally be prefixed with 'samba3:' (This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)
2007-10-10r9800: Add EJS interface to param. tridge, sorry this overlaps a bitJelmer Vernooij1-15/+31
with your loadparm interface. :-/ (This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)
2007-10-10r9798: Add generic functions for handling smb.conf files (the parameters ↵Jelmer Vernooij3-1/+274
don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once. Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome... Remove old smb.conf-parsing code from libsamba3. (This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)
2007-10-10r9685: Add tests for samba3sam mapping moduleJelmer Vernooij1-137/+3
Fix a couple of bugs Move samba3sam backend to lib/ldb/ Remove some more unused parameters (This used to be commit 7f864d446d6af7cfd9fb8dbc496a29b36ec57ce9)
2007-10-10r9684: Remove unused parameters (about 70)Jelmer Vernooij1-465/+3
(This used to be commit 4a51a31571d12078e3c2c78641c0c844fc26925d)
2007-10-10r9602: Add support for reading share_info.tdb and smb.conf.Jelmer Vernooij2-177/+179
Add userdata argument to function pointers for pm_process() (This used to be commit 84b2fb34675fa557173621433838c5a7ec0f1283)
2007-10-10r9382: Add a dummy registry for HKEY_USERS to get rid of the annoying dialogTim Potter1-0/+6
presented by regedt32. I think this hive is dynamically generated from SAM information. (This used to be commit feb341969e59540bc22e78df0d44b4d42c336d31)
2007-10-10r9119: added a lp.categories() call in the loadparm js object, to allowAndrew Tridgell2-19/+24
retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier. (This used to be commit 8db549b1506b5260c9eb16f40bbdae6a7c006fa2)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-8/+9
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8394: Make sure the argument to ctype is*(3) macros are unsigned char asLove Hörnquist Åstrand1-2/+2
required by ISO C99. (This used to be commit 56fd21c806e816cf4c3d23881f26474f858b45e2)
2007-10-10r8344: added a "setup directory" smb.conf parameter, pointing at the setup ↵Andrew Tridgell1-0/+4
template files (This used to be commit c842144cbf642b10df21c979d3c4b9fe94384b96)
2007-10-10r8297: add libinclude() function in ejs, which is like include() but ↵Andrew Tridgell1-0/+6
searches a js library path set in "js include" in smb.conf. This will allow us to start building up a library of common js code, while avoiding the problem of hard-coding include paths in scripts (This used to be commit ff60529ba2515df29a20b4a417327a3565ec8ee9)
2007-10-10r8273: fixed some memory leaks in smbscript. This required convertingAndrew Tridgell1-62/+50
file_load() to use talloc, which impacted quite a few bits of code, including our smb.conf processing. took the opportunity to remove the gloabls in params.c while doing this (This used to be commit b220756cb4f1d201ba3e771ca67e4bfae5eae748)
2007-10-10r7966: We need a better way to do this, but enable the KDC by default, if weAndrew Bartlett1-0/+4
have kerberos. Andrew Bartlett (This used to be commit 3d82b1417b9f2e31089cb8ee7e4f98bd226f2e75)
2007-10-10r7916: - got rid of the in_client globalAndrew Tridgell2-7/+2
- make not finding smb.conf a level 1 message, not level 0. Most of our tools handle no smb.conf, and those that don't should check for the specific parameters they need, or use the defaults (This used to be commit 8c17b61f8e0f6eefa6a1f853abc06d023627bbbb)
2007-10-10r7912: make private_path() recognise a non-relative filename, so we can haveAndrew Tridgell1-7/+7
sam database = sam.ldb and it will know to put it in the private dir, but if you use sam database = ldap://server it knows to use it as-is (This used to be commit c5bccbc366db144d3e1cb7b21f0e3284d841dd06)
2007-10-10r7793: allow integers in smb.conf to be specified in octal or hexAndrew Tridgell1-2/+2
(This used to be commit ce6257b316bc66a3fc554487099976a853d25ddd)
2007-10-10r7757: Add NTLMv2 support to the NT1 Session setup (ie, not SPNEGO/NTLMSSP)Andrew Bartlett1-0/+6
Session Setup code. Add a mem_ctx argument to a few of the NTLMv2 support functions, and add smb.conf options to control client NTLMv2 behaviour. Andrew Bartlett (This used to be commit 3f35cdb218a3dae08a05e77452ca9f73716ceb28)
2007-10-10r7744: converted the web server to use the lib/tls/ generic tls codeAndrew Tridgell1-19/+19
(This used to be commit 023fc567badba38b87895ea73515b2ce0b703a8c)
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)