summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15302: Remove strangely named function "StrnCpy" - strlcpy is available as aJelmer Vernooij1-2/+2
replacement. (This used to be commit 72237344cf22dacfaf1d87c3e0b922023fa4afb0)
2007-10-10r15187: Introduce new param type P_BYTES. This lets config options which specifyJames Peach1-1/+39
byte counts be given in convenient units. (This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)
2007-10-10r14909: Add lp_modulesdir() smb.conf optionJelmer Vernooij1-0/+4
(This used to be commit eaa68826d34c2bebc3df5e96aed2102debb67964)
2007-10-10r14850: Don't assume that sizeof(BOOL) == sizeof(int)Jelmer Vernooij1-46/+46
(This used to be commit 1557e1ba6f3576dcd28cb7f05ba97df7b549ba52)
2007-10-10r14575: Move some path-related functions to libsamba-config so libsamba-utilJelmer Vernooij1-6/+2
doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-2/+2
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14420: arrgh, make sure I test compile even little patches ....Andrew Tridgell1-3/+0
(This used to be commit 749a93c7c01401b1ccbb117500910b56a93d82b4)
2007-10-10r14415: remove an unusued varAndrew Tridgell1-5/+1
(This used to be commit b4172b53f3e01f518244ca80e07e351c7d51e282)
2007-10-10r13964: make lp_* functions publicStefan Metzmacher1-109/+109
metze (This used to be commit 2db081fd708ff2403082e31a777320a713e74756)
2007-10-10r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requestsStefan Metzmacher1-2/+3
- the default max protocol is still NT1 metze (This used to be commit d1bae931b327dda28e648efc473e0462cf036f7c)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-0/+2
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-1/+5
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13206: This patch finally re-adds a -k option that works reasonably.Andrew Bartlett1-31/+5
From here we can add tests to Samba for kerberos, forcing it on and off. In the process, I also remove the dependency of credentials on GENSEC. This also picks up on the idea of bringing 'set_boolean' into general code from jpeach's cifsdd patch. Andrew Bartlett (This used to be commit 1ac7976ea6e3ad6184c911de5df624c44e7c5228)
2007-10-10r13158: Fix setup and ejs pathsJelmer Vernooij1-2/+2
(This used to be commit c3bc39bd713e2a2b0a270d22e38fe39959a6a7c9)
2007-10-10r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run ↵Stefan Metzmacher1-0/+3
script ...' metze (This used to be commit d28c8ce66db61cff193ac06e8e5d7d6aa5059e9e)
2007-10-10r12731: Simplify and re-implemenet support for --parameter-name=fooAndrew Bartlett1-25/+16
--service-name=bar in testparm. Andrew Bartlett (This used to be commit be067e9a04a4dca02a9472ae7385dc0bf26735ea)
2007-10-10r12730: Reimplement --parameter-name, and bring in common samba options.Andrew Bartlett1-0/+38
This changes -s from meaning 'suppress prompt' to 'services file'. Andrew Bartlett (This used to be commit 0f78bd743b8bc415e47006a683c53bfdff1bc1e1)
2007-10-10r12729: Implement the --section-name option, for dumping only one section.Andrew Bartlett1-15/+20
Andrew Bartlett (This used to be commit 3c49dd9219b12f5ed229ba108a02b85a18146df8)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12649: use the same default('yes') for 'dns proxy' as samba3Stefan Metzmacher1-1/+1
metze (This used to be commit d430fc278b8782f625cfafbff2a4efb936fdea36)
2007-10-10r12644: prepare the dns proxy feature for the wins serverStefan Metzmacher1-1/+5
metze (This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-3/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12442: only set the "wins server" parameter if it's not setStefan Metzmacher1-1/+1
metze (This used to be commit 5054890b6871f1e25938ae76a2d660ce168877e8)
2007-10-10r12435: the max wins ttl is 6 days in windows and samba3Stefan Metzmacher1-1/+1
metze (This used to be commit 0ed07057d37ec6684a01ba699073b4ba6d671697)
2007-10-10r12304: split out the wins partner configuration into a seperate ldb.Stefan Metzmacher1-0/+4
now $privatedir/wins_config.ldb contains the wins partners and $lockdir/wins.ldb contains the name records metze (This used to be commit baa4a7a9d4f16adf476846850a63dfbfd51b10b3)
2007-10-10r11239: Use ${REALM} for the realm in rootdse.ldifAndrew Bartlett1-0/+4
Add the kpasswd server to our KDC, implementing the 'original' and Microsoft versions of the protocol. This works with the Heimdal kpasswd client, but not with MIT, I think due to ordering issues. It may not be worth the pain to have this code go via GENSEC, as it is very, very tied to krb5. This gets us one step closer to joins from Apple, Samba3 and other similar implementations. Andrew Bartlett (This used to be commit ab5dbbe10a162286aa6694c7e08de43b48e34cdb)
2007-10-10r11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large ↵Volker Lendecke1-0/+4
because --user-sids required the extension to trusted domains. Implement "winbind sealed pipes" parameter for debugging purposes. Volker (This used to be commit 3821a17bdb68b2f1389b5a150502c057d28569d2)
2007-10-10r11089: start the winsreplication task when we run with wins support = yesStefan Metzmacher1-1/+1
metze (This used to be commit d49a1d2b15c7d17a5d6928a971fbe87d13686c2d)
2007-10-10r10588: Remove more unused files, macrosJelmer Vernooij1-2/+6
(This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f)
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-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-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-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 Vernooij1-165/+165
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 Tridgell1-19/+11
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-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 Tridgell1-4/+1
- 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)