summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2000-04-28Added info level 1005 to netsharegetinfo (is the share a DFS root)Shirish Kalele1-0/+1
Added dfs_server announcement in set_default_server_announce_type() (This used to be commit 99d07e13520b04d99999938d259d56fa65c8a8ea)
2000-04-16converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell1-46/+14
to support some of this I added the following functions in util_file.c file_lines_pload : load lines from a pipe file_pload : load a pipe into memory (This used to be commit a09470817c5b21dba42f9ef4ce5e8b768a254c0b)
2000-04-12Removed "ole locking compat" parameter (no longer used).Jeremy Allison1-4/+0
We now get/set/check POSIX locks, but I still need to code up the close fd braindamage... Jeremy. (This used to be commit 3de058bd43976853b0ed2b6b5529e2a3a08909eb)
2000-04-12Code to map tdb locks onto POSIX. Mainly placeholder code at the moment,Jeremy Allison1-0/+4
but the structure is done enough so that Andrew can look it over and give a yea/nay decision. Jeremy. (This used to be commit db96f83e34a139f47776fcbb5c1624fbf9d9943b)
2000-04-05changed all the status code to ERROR_xxx instead of NT_STATUS_xx which areJean-François Micouleau1-0/+9
wrong in the spoolss case. fxed a bug in the job notify code (that's the polite answer), the truth is different: there is a bug in the NT spooler service, including SP6a and NT2K. changed the default lpcommand in the LPRNG case. J.F. (This used to be commit 396f73c11b29a47650b3243fef0825252a3cef9b)
2000-04-03Fix for compiler warning about invalid structure type.Jeremy Allison1-1/+1
jeremy. (This used to be commit 58a16e2718e6400fe9f20d61990818f2d146042f)
2000-03-30Fix for coredump in testparm.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c4c06650dd2407919213e5393ae501815a10c4f5)
2000-03-27Fixed crash bug in new handle_netbios_name code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 26963f2f8ec923991efecf6ac177fb17e7a924b0)
2000-03-16Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison1-1/+19
Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
2000-03-13include/smb.h:Jeremy Allison1-1/+1
smbd/negprot.c: smbd/reply.c: Fixes to recognise Win2k. param/loadparm.c: Put debug timestamp parameter back to correct default. smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create. Jeremy. (This used to be commit bb100352ab2f98fab3978008d269920e03efcf6d)
2000-03-10Cleaning up the warnings from configure.developer.Shirish Kalele1-4/+0
Found that Jeremy had already made some of the changes. (This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
2000-03-08dded Microsoft Dfs services.Shirish Kalele1-2/+37
* added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ---------------------------------------------------------------------- (This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
2000-03-07added a tcon test: make two tconXs with the same user/pass, open a fileLuke Leighton1-1/+1
with one of them and try to write to the file with the other. (This used to be commit f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)
2000-02-16Added "source environment" parameter from Nicolas Williams ↵Jeremy Allison1-1/+136
<Nicolas.Williams@wdr.com>. Jeremy. (This used to be commit f29847cbeeb0109f1fa61e9851e8cb0689b5228d)
2000-02-07Jeremy can you check lib/util_unistr.c for codepages support ?Jean-François Micouleau1-0/+9
I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage support. J.F. (This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca)
2000-02-03Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter1-0/+25
(This used to be commit f872518972e7942e31b5ac5150d7ed8b0fbcf641)
2000-01-30made "enable" and "disable" the default "lpresume" and "lppause" commandsHerb Lewis1-4/+1
for SYSV instead of the lpc commands (since these are BSD commands) I still don't like the default "lppause" and "lpresume" commands for SYSV since these seem to be SUN specific additions to the lp command (at least I don't find them in IRIX and HPUX). I think this should be inside an ifdef SUN??? but I'm not sure what the define should be so I have left it for now. (This used to be commit d3557b7f728e262d880bd7f7bbe20b853dbf165a)
2000-01-29Fix from Motonobu TAKAHASHI to sort code page parameters first.Jeremy Allison1-2/+2
Needed when reading the rest of smb.conf. Jeremy. (This used to be commit 171bef4d95390c1a74591fb06327cc993360a764)
2000-01-20Moved Herb's global -> local changes to HEAD.Jeremy Allison1-2/+2
Jeremy. (This used to be commit bdb2ff6a38f55a66fa7e142f30442899193805ee)
2000-01-18Added Herb's swat fixes.Jeremy Allison1-2/+2
Jeremy. (This used to be commit fa3d91de8957c932f02205f9257dd3e47892a43d)
2000-01-16use string_set() instead of string_init()Andrew Tridgell1-36/+26
bug pointed out by Richard (This used to be commit 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0)
2000-01-14Added "inherit permissions" patch.Jeremy Allison1-0/+4
Fixed locking bug found by Andrew. Jeremy. (This used to be commit 38dffd360dc2e44bfc9e751f017e24f81ff0f2fa)
2000-01-13Added missing #ifdef for WITH_UTMP.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 465c5a830827b82f0535d4507b3432c2df6de658)
2000-01-12Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison1-0/+23
Jeremy. (This used to be commit 95d37a1d25d56316c80eec54aea1f358cd621d4c)
2000-01-07netbios scope is a DOS_STRINGAndrew Tridgell1-1/+1
(This used to be commit e42b629baa15bf9328945d641d780fc4c7b3ffe0)
2000-01-07this looks like a big commit, but it isn't really :)Andrew Tridgell1-0/+2
This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name. (This used to be commit b563be824b8c3141c49558eced7829b48d4ab26f)
2000-01-06Removed unneeded #define.Jeremy Allison1-2/+0
Jeremy. (This used to be commit c33b6d2aba63027408bd9895d2fedfc82f69a8f0)
2000-01-06Re-added "dfree command" functionality that was described in the man pagesJeremy Allison1-0/+1
but was not in the code. Jeremy. (This used to be commit f4898a1f16a2dbc25d062b0088d6c589a34c93a0)
2000-01-05implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell1-39/+27
lp_string() bug properly. we still need to add lp_talloc_free() calls in all the main event loops, I've only put it in smbd and nmbd thus far. (This used to be commit aa7f81552540f5dca2c146f5edd805611d5b390f)
2000-01-04Added "crap" fix for rotating string buffers. (Increased to 20, added #define).Jeremy Allison1-4/+5
Andrew - please fix this properly when you have time :-). Jeremy. (This used to be commit 8515bdb39c603864246d3a4ff2349fa76b0bd86e)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-498/+365
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-12changed function name of get_home_dir() to get_unixhome_dir(), to stopLuke Leighton1-1/+1
clash with gnu readline library. fixed issue with [homes] service not being there - call lp_add_home() just before starting the msrpc processing. (This used to be commit 054195df9b6187c663ede5cf4489499abbdc29fc)
1999-11-16added two new params: "trusted domains" and "trusting domains".Luke Leighton1-0/+6
these _may_ not actually ever get used, as trust relationships really need to be established with shared secrets, and you need to get the SID of the trusted and trusting domains, so this may have to go in a private/xxx.mac file. (This used to be commit 71f12138679251a9ebcada35969d9baea286a3e9)
1999-07-22Support for arbitrary VFS options in smb.conf. Options are of theTim Potter1-1/+69
format 'vfs option = name = value'. It would be nice to get rid of the first equals sign, but that would involve modifications to the smb.conf parser. There are a couple of naughties here - I've added a P_PTR enum as the VFS options are parsed in param/loadparm.c and stored as a linked list of structures. I couldn't for the life of me write a FN_LOCAL_PTR() macro to generate a lp_vfsoptions() function that actually worked so for the moment it is coded by hand. (This used to be commit 89ad85f0a3dfa233f6370ac6e3c97a1a645cfdfe)
1999-07-14code from bertl to allow remap of default built-in names to anything.Luke Leighton1-1/+4
parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at> (This used to be commit 80d36778432d42eb265ed9428f27a27250ba5e08)
1999-07-12Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1-1/+3
Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed. (This used to be commit 270981960bb5aab52d2f8e494827101ece6729c4)
1999-06-29improving authentication code (tidyup).Luke Leighton1-2/+6
(This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
1999-05-01added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1-1/+12
(This used to be commit 209944dabc764c6ea0c471e7868306c7d8d020d4)
1999-04-27rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau1-1/+18
include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois (This used to be commit 4c515804b70254248e378a3f90f47e4c32639d29)
1999-04-11Allow "Yes" and "No" as well as "True" and "False" in the three-stateMatthew Chapman1-1/+1
enumeration. (This used to be commit 4ed67ccf1cdfd064cf2b2949020feb5afcb76b9d)
1999-04-11Trying to improve DC location & browsing performance for the average userMatthew Chapman1-43/+81
who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code). (This used to be commit 4a23a358b5ad8873acb7db11f27b87d2a016bec1)
1999-04-04Added configuration parameter 'vfs object' to specify loadable objectTim Potter1-0/+20
file containing a VFS implementation. (This used to be commit a7af7193e3c38d1303919b31a73eea77d0dfa92f)
1999-03-03Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1-5/+5
resolved. (This used to be commit d59a2e669aed7ee33fdca8b8ec126b1c0a984981)
1999-03-01Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1-0/+30
Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999. (This used to be commit fdf61e1dabc2c977ee5cf1e9d60e3380f19840da)
1999-02-02server type announcements modified to include the "role" of the server:Luke Leighton1-9/+58
domain member, pdc, bdc. (This used to be commit d95bb252f838b3612f5eba5d2b61d7b38b01f5ef)
1999-01-24Adding first of the fixes for SSL.Richard Sharpe1-9/+14
A whole bunch of string variables in loadparm.c were not being initialized properly. Programs crashed as a result. This set of code not tested, but same code tested elsewhere, and all this guarded by #ifdef HAVE_SSL (This used to be commit fb6048bb8655e8bd87cc69b48c99219d6701a907)
1998-12-07matthew chapman's ldap code, to date. plus docs!Luke Leighton1-9/+8
(This used to be commit 2c438c86cbb38833b3abd4fbead6324687633b25)
1998-11-29weekend work. user / group database API.Luke Leighton1-0/+18
- split sam_passwd and smb_passwd into separate higher-order function tables - renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user" plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd password databases to fill in the blank entries that are not obtained from whatever password database API instance is being used. NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c for the only example outside of the password database APIs i could find. - added query_useraliases code to rpcclient. - dealt with some nasty interdependencies involving non-smbd programs and the password database API. this is still not satisfactorily resolved completelely, but it's the best i can do for now. - #ifdef'd out some password database options so that people don't mistakenly set them unless they recompile to _use_ those options. lots of debugging done, it's still not finished. the unix/NT uid/gid and user-rid/group-rid issues are better, but not perfect. the "BUILTIN" domain is still missing: users cannot be added to "BUILTIN" groups yet, as we only have an "alias" db API and a "group" db API but not "builtin-alias" db API... (This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
1998-11-24jean-francois pointed out problem with "lp_domain_role()" code, youLuke Leighton1-2/+2
could never be a PDC. (This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)
1998-11-23unix instance of group database APILuke Leighton1-0/+40
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)