summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij1-12/+8
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24363: Add template shell and template homedir settings to smb.confKai Blin1-0/+8
(This used to be commit c7a44fcdc80cad5507750b110ac8ef7e8db815b5)
2007-10-10r23848: Thanks to derrell for pointing out that I had not finished my patch toAndrew Bartlett1-2/+0
split out the auth methods. This caused all SWAT logins to fail, except when using local system authentication. Andrew Bartlett (This used to be commit b5a9d507a37cd46bd325ff3118c08b4362f267f2)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23696: added the create mask and related share permissions options to Samba4,Andrew Tridgell1-0/+28
using the new share_int_option() code from Simo speaking of which, this is the first time I've looked closely at the share_classic.c code. It is absolutely and completely braindead and broken. Whatever drugs Simo was on at the time, he better not try to cross a border with them on him! Problems with it: - if you actually set a value, it gets ignored, and the defvalue gets used instead ('ret' is never returned). If you don't set a value, then defvalue gets returned too. Sound useful? - it means we now have to list parameters in source/param/ in lots and lots of places, all of which have to match exactly. code like this is supposed to reduce the likelyhood of errors, not increase it! - code which has a long line of if() statements with strcmp() should cause your fingers to burn on the keyboard when you type it in. That's what structure lists are for. Strangely enough, we have all the info in loadparm.c in a structure list, but instead it gets replicated in share_classic.c in this strange if() strcmp() form expect some changes to this code shortly. I'll need a calming cup of tea first though :-) (This used to be commit 19a9fc2f444efc0894b06a249daf73ed555b61e2)
2007-10-10r23680: Make it easier to setup a domain member server - the 'server role'Andrew Bartlett1-2/+3
will now control the auth methods, but an override is still available, ex: auth methods:domain controller = <methods> Andrew Bartlett (This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)
2007-10-10r23532: added lp_parm_double()Andrew Tridgell1-0/+25
(This used to be commit 524ba04b1f6996023886190eee8a226b08aafa35)
2007-10-10r20977: start the 'drepl' service, which currently does nothing by default,Stefan Metzmacher1-1/+1
but make it less verbose metze (This used to be commit f7e82a0c94fc8996827ea8d8a9b459bcaee029de)
2007-10-10r20806: make it possible to configure the secrets.ldb urlStefan Metzmacher1-0/+4
via "secrets database = my_secrets.ldb" metze (This used to be commit a096a9741597105140845f59e54a76060da0010b)
2007-10-10r20444: WEB Application framework / SWAT.Derrell Lipman1-4/+4
We're now at the stage where the web application framework should build and install automatically. Derrell (This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett1-109/+4
way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10r19449: ldbbrowse: installation hopefully works now. "Developer" installationsDerrell Lipman1-3/+4
('configure.developer' or 'configure --enable-developer') may still have problems as I'm not sure I got all of the paths right for that. With the changes Tridge has made to the Main Menu in swat, given a non-developer installation, you should be able to get to ldbbrowse via: JSON/qooxdoo -> ldb browser Derrell (This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
2007-10-10r18880: JSON-RPC work in progressDerrell Lipman1-0/+3
(This used to be commit 34bffbaebf50c2a75c91285d5ec82e8f377981cc)
2007-10-10r18579: fixed boolean parameters on big endian hosts which haveAndrew Tridgell1-2/+5
sizeof(BOOL) != sizeof(int) this broke with the conversion to a real BOOL type (This used to be commit 75dab73ac603968ce49c605e07d43051dbfa7398)
2007-10-10r18386: start the unixinfo pipe by defaultStefan Metzmacher1-1/+1
metze (This used to be commit ea44cdfc6f67583bd86d273b4c119e29ce690ca9)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-3/+2
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17777: these macros are unused...Stefan Metzmacher1-0/+4
metze (This used to be commit 45baef570de751412116bf59ae5c91a57635349f)
2007-10-10r17533: add missing include, so that "socket options = TCP_NODELY" asStefan Metzmacher1-0/+1
default can work... metze (This used to be commit bec738c2a37bf814073bc38a312808f563597319)
2007-10-10r17379: Pre-generate DH parameters, to avoid doing this at runtime in our ↵Andrew Bartlett1-0/+3
testsuite. Andrew Bartlett (This used to be commit 23314c3953676124a2ad06e8b3a3b297c11f2800)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce1-1/+7
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r16923: remove unused substitude codeStefan Metzmacher1-0/+2
metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
2007-10-10r16464: split client and server min/max protocol settingsStefan Metzmacher1-8/+16
metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
2007-10-10r15851: the conversion of loadparm to BOOL broke all big-endian platforms asAndrew Tridgell1-5/+5
the service and global declarations were left as int. I tried to fix this initially by fixing the service declarations, but it didn't work. While I investigate why, this patch at least gets the use of int right, and should give big-endian platforms a chance (This used to be commit e12ae809eaf0a4c48ebb086615a9051b59996b5a)
2007-10-10r15769: this functions belong to params/ so move it.Stefan Metzmacher1-0/+18
metze (This used to be commit 9c4c40772bfd8a8324cd086c2234451d164be5d0)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij1-1/+1
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
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)