summaryrefslogtreecommitdiff
path: root/source3/param
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameterMichael Adam1-0/+108
and produces the "canonical" (or main) name of the parameter (the one synonym that does not have the flag FLAG_HIDE). The function also sets a flag as to whether the synonym is a reverse boolean synonym. Add some functions for the handling of string representations of boolean values: return the canonical string representation of a bool, invert a bool given as a string, canonicalize a bool given as a string. Michael (This used to be commit 113ac07199aaf2271af6eba2611dad429ee4c416)
2007-10-10r24453: Remove the read and write bmpx callsVolker Lendecke1-4/+0
Talked to both Tridge and Jeremy about this, Tridge said that there is a special error message persuading OS/2 to fall back to other methods. The calls now checked in always return the error message we used to return when "read bmpx = False" was set (the default): ERRSRV, ERRuseSTD. If someone has a reproducable test case where this is really needed, we can always dig it up from version control and convert it to the new API. But that time without that silly parameter, and with a torture test case for "make test" please :-) Volker (This used to be commit d941aae2dfd11609e807bf4ce712571a2e354627)
2007-10-10r24266: Remove the "open files database hash size" parameterVolker Lendecke1-1/+0
This has been superseded by the "tdb_hashsize:<tdbname>" parameter (This used to be commit df40d336afd256f05a0ec3724cc2096fb7114d81)
2007-10-10r24072: Add "client ldap sasl wrapping" parameter.Stefan Metzmacher1-1/+10
Possible values are "plain" (default), "sign" or "seal". metze (This used to be commit 26ccbad7212e9acd480b98789f04b71c1e940ea8)
2007-10-10r24027: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher1-0/+4
add in any cluster addresses. We need to response to these, but not listen on them. This allows us to run nmbd on every node in the cluster, and have all of them register with a WINS server correctly metze (This used to be commit 98c57562c4dcf04b72a1e4ad5d9f5cf48e7d0b28)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison2-2/+2
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam1-1/+1
Michael (This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
2007-10-10r23657: Prevent setting of a global option in a share definitionMichael Adam1-0/+18
in "net conf setparm". Michael (This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
2007-10-10r23656: Add initial checking of the validity of a paramterMichael Adam1-0/+12
given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael (This used to be commit 639051e58d4da9fb1116c19f0790250640b6ac7a)
2007-10-10r23641: Put check for forbidden values in smbconf into a function.Michael Adam1-4/+1
(This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael (This used to be commit 00be68a8416405e12a27186506f9eb15bca055b3)
2007-10-10r23592: Change a debuglevel to not clutter output when callingMichael Adam1-1/+1
net as a non-root user, e.g. Michael (This used to be commit bbbfd7f41ab85f269d115f19601729f16079b552)
2007-10-10r23579: Up to now, the "allparameters" argument to lp_next_parameter wasMichael Adam1-0/+3
not effective for the global section (snum < 0). This checkin makes it effective for the global section, too. This does not produce changes in the results of the present calls of lp_next_parameter: Beside the new use in utils/net_conf.c (which is hereby fixed), the only calls of lp_next_parameter are in web/swat.c, where it is effectively always called with allparameters == 1. Michael (This used to be commit 56f82485ec3b14ddcbcf7f5823926a94b17683f3)
2007-10-10r23575: Fix a segfault when lp_load is called before init_registry.Michael Adam1-0/+2
Michael (This used to be commit 235a5ae4cdf3ea238728c2e89a4318c18257426a)
2007-10-10r23553: Also ignore "lock directory" in registry global options.Michael Adam1-2/+5
Michael (This used to be commit 3695a66166c6aa88051b21ad40a19f1cc8b87c7b)
2007-10-10r23552: Use proper comparison function an fix logic.Michael Adam1-1/+1
Michael (This used to be commit a4714b34284f9e205556166166f41ce9dad4d3da)
2007-10-10r23548: Fix comments.Michael Adam1-3/+3
Michael (This used to be commit 73e41c1d0a7af7488b35b54182ea532103b51fd4)
2007-10-10r23547: Ignore parameter "include" in regsitry globals.Michael Adam1-0/+5
Michael (This used to be commit f0992c0d79bb6a5810c84a9eac208d83390bb047)
2007-10-10r23513: Fix one more use of VALUE_PREFIX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fca5637dc6c91a57c4e087670068688557e5bf32)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach1-1/+1
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r23509: This activates the global options from the registry in loadparm.Michael Adam1-0/+265
The global options are stored as values in the subkey "global" of the SMBCONF registry key. The activation is accomplished in smb.conf though a new special semantic of the "include" parameter: "include = registry" triggers the processing of the registry global options exactly at the position of the include statement. Options read from the registry take the same precedence as parameters loaded from a file via include. Need to reload the registry globals is detected by watching the tdb sequence number. Registry shares are automatically activated when the registry globals are processed. So a "registry only" configuration can be realized by an smb.conf that looks as follows: ================================ [global] include = registry ================================ The global options and registry shares can be conveniently edited with the "net conf" utility. Caveat: A possible pitfall consists in using "include = registry" together with the "lock directory" directive in the registry. This problem will be addressed in the next time. Note on the code: Processing of the registry options is accomplished by a function process_registry_globals() in loadparm.c The current version is only an interim solution: It is handcoded instead of using the infrastructure of reg_api.c. The reason for this is that using reg_api still has too large linker dependencies, bloating virtually all targets by PASSDB_OBJ, SMBLDAP_OBJ, GROUPDB_OBJ and LDB stuff. A version of process_registry_globals that uses reg_api is included but commented out. The goal is to eventually refactor and restructure the registry code so that one can use the reg_api to access only the registry tdb and not link all the dynamic backends with all their linking implications. (This used to be commit 24b0cbcb3741dd14b04728448a85cc04a057e7d0)
2007-10-10r23472: add missing default setting for 'winbind nss info' (merge from 3.0.26)Gerald Carter1-0/+1
(This used to be commit 1f80f9d14553650fb9d24f1d4c36e5cf7986ce23)
2007-10-10r23471: Here's a rough patch for expanding domain group membershipGerald Carter1-0/+4
in the winbindd_getgrnam() call. Couple of comments: * Adds "winbind expand groups" parameter which defines the max depth winbindd will expand group members. The default is the current behavior of one level of expansion. * The entire getrgnam() interface should be async. I haven't done that. * Refactors the domain users hack in fill_grent_mem() into its own function. (This used to be commit 3d3a8130351753dc5caa2a270d130e2150da6b54)
2007-10-10r23410: Merge the core of the cluster code.Volker Lendecke1-0/+9
I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker (This used to be commit 15553d6327a3aecdd2b0b94a3656d04bf4106323)
2007-10-10r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin forVolker Lendecke1-0/+3
the patch :-) (This used to be commit 07b71a02aef15b75d281cabeb7140db1bc0bb283)
2007-10-10r22648: Fix comment to match the code.James Peach1-1/+1
(This used to be commit e93d33b4631e634499b2e74c31d483d306d10367)
2007-10-10r22285: Allow arbitrary bases in int and ulong parsing.Jeremy Allison1-2/+2
Jeremy. (This used to be commit c1f1949ff134c343cb0ee8f8e46cf58b1dfe97c7)
2007-10-10r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison1-6/+13
32 unicode chars. Windows XP doesn't like that :-). Jeremy (This used to be commit e59b5276b56d6963ddd0598bbd1b15426d2d13e8)
2007-10-10r21959: Merge a comment fix from Michael Adam -- more to come :-)Volker Lendecke1-1/+2
(This used to be commit 06a4d2ce5d4d5d637f19c7444a6510a1bbad7a9f)
2007-10-10r21905: RenameGerald Carter1-8/+8
idmap expire time -> idmap cache time idmap negative time -> idmap negative cache time (This used to be commit aac2d0af5e870190e99317e8e88b22a9562485b4)
2007-10-10r21892: Mini-Patch from MichaelVolker Lendecke1-2/+0
(This used to be commit 6cae3cf28155091a3951ecabd1c1b7e5c62d4c16)
2007-10-10r21884: * Blacklist BUILTIN and MACHINE domains from theGerald Carter1-5/+5
idmap domains as these should only be handled by the winbindd_passdb.c backend * Allow the alloc init to fail for backwards compatible configurations like idmap backend = ad idmap uid = 1000-100000 .... * Remove the deprecated flags from idmap backend, et. al. These are mutually exclusive with the new configuration options (idmap domains). Logging annoying messages about deprecated parameters is confusing. So we'll try this apprpach for now. (This used to be commit 5e30807b4e9c0211c9e2c02deee94543e8f0d855)
2007-10-10r21869: Move sending keepalives out of the main processing loop into idle event.Volker Lendecke1-2/+5
On the way, make lp_keepalive() a proper parameter. Volker (This used to be commit 9499fd9c803d030ce9827f8379c2e56d91bb786e)
2007-10-10r21866: Remove unused "lock spin count" parameterVolker Lendecke1-4/+0
(This used to be commit 52f2c89c0a462a69fe945401ac1a7341e2a6e4ca)
2007-10-10r21825: add debug prefix timestamp to allow "short timestamps" to beHerb Lewis1-0/+4
added to debug messages (This used to be commit 4af2795e65f6bab156b300d720c7ea75c944bb87)
2007-10-10r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without ↵Volker Lendecke1-3/+2
path. Thanks, Volker (This used to be commit e795865d58472498097edc3fb68438ed08c38d8d)
2007-10-10r21517: Fix build warnings.Günther Deschner1-2/+1
Guenther (This used to be commit 82f1da8117434c52c383b33a905b3765f0240d4a)
2007-10-10r21509: Merge lp_passdb_backend() from rev 21506 to 3_0_25.Lars Müller1-2/+2
Slightly change the DEBUG 0 message as suggested by Volker on samba-technical. (This used to be commit c02921e95d41fe93c5913d79dfb690fcc1d73de4)
2007-10-10r21506: Allow old pre 3.0.22 multi passdb backend configurations to work withLars Müller1-1/+43
post 3.0.23. This implementation considers spaces in ldapsam configs. Such configs are trunkated after the closing quote. (This used to be commit 5cd9a2e25872db1881f2f67026bfcd52d060fc4b)
2007-10-10r21449: Talked to Jerry on irc, he does not see what might break with this: ↵Volker Lendecke1-1/+1
Change back the 'msdfs root = yes' default to 'no'. Volker (This used to be commit ec6ebdcdbf1146af21ab66731e018e2834b2b118)
2007-10-10r21446: Karolins "printjob username"Volker Lendecke1-0/+5
(This used to be commit 19ee6779255a269830fa8ee51468a4738dadf942)
2007-10-10r21279: Get rid of 'aio write behind', this is broken.Volker Lendecke1-4/+0
It should probably better be integrated with our write cache. Volker (This used to be commit 58bfd168b046a97a895aaa3384fd7af8d077a1d5)
2007-10-10r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison1-3/+9
Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10r21111: Reorganize the change notify params a bit. We now have the per-shareVolker Lendecke1-12/+8
parameters change notify = [yes]/no # do we do it at all kernel change notify = [yes]/no # enable/disable inotify Those who want FAM need to say change notify = yes vfs objects = notify_fam Volker (This used to be commit c3a44d8b9606fc516faceb69b8e87bfc8be312f3)
2007-10-10r21070: * Add the new boolean 'winbind normalize names' option as discussedGerald Carter1-0/+4
on the samba-technical ml. The replacement character is hardcoded as a '_' for now. (This used to be commit bd8238417b8d692ed381a870901ff1ee4cfa80f6)
2007-10-10r20986: Commit the prototype of the nss_info plugin interface.Gerald Carter1-1/+0
This allows a provider to supply the homedirectory, etc... attributes for a user without requiring support in core winbindd code. The idmap_ad.c module has been modified to provide the idmap 'ad' library as well as the rfc2307 and sfu "winbind nss info" support. The SID/id mapping is working in idmap_ad but the nss_info still has a few quirks that I'm in the process of resolving. (This used to be commit aaec0115e2c96935499052d9a637a20c6445986e)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis1-0/+1
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20214: Fix a type-punned warning. Simo, Jerry, please checkVolker Lendecke1-1/+1
(This used to be commit b459096a151c482d387ec14c965aee43c850e46a)
2007-10-10r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce1-7/+22
Simo. (This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)