summaryrefslogtreecommitdiffstats
path: root/source/param
Commit message (Collapse)AuthorAgeFilesLines
...
* Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison2000-01-261-1/+1
| | | | | | Stop makeing function calls for every use of skip_multibyte_char. This function is called several *million* times during a NetBench run :-). Jeremy.
* Moved Herb's global -> local changes to HEAD.Jeremy Allison2000-01-201-2/+2
| | | | Jeremy.
* Added Herb's swat fixes.Jeremy Allison2000-01-181-2/+2
| | | | Jeremy.
* use string_set() instead of string_init()Andrew Tridgell2000-01-161-36/+26
| | | | bug pointed out by Richard
* Added "inherit permissions" patch.Jeremy Allison2000-01-141-0/+4
| | | | | Fixed locking bug found by Andrew. Jeremy.
* Added missing #ifdef for WITH_UTMP.Jeremy Allison2000-01-131-0/+2
| | | | Jeremy.
* Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison2000-01-121-0/+23
| | | | Jeremy.
* netbios scope is a DOS_STRINGAndrew Tridgell2000-01-071-1/+1
|
* this looks like a big commit, but it isn't really :)Andrew Tridgell2000-01-071-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.
* Removed unneeded #define.Jeremy Allison2000-01-061-2/+0
| | | | Jeremy.
* Re-added "dfree command" functionality that was described in the man pagesJeremy Allison2000-01-061-0/+1
| | | | | but was not in the code. Jeremy.
* implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell2000-01-051-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.
* Added "crap" fix for rotating string buffers. (Increased to 20, added #define).Jeremy Allison2000-01-041-4/+5
| | | | | Andrew - please fix this properly when you have time :-). Jeremy.
* Fix based on code from monyo@home.monyo.com to fix multibyte continuationJeremy Allison1999-12-211-17/+31
| | | | | issues. Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-498/+365
|
* changed function name of get_home_dir() to get_unixhome_dir(), to stopLuke Leighton1999-12-121-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.
* added two new params: "trusted domains" and "trusting domains".Luke Leighton1999-11-161-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.
* Support for arbitrary VFS options in smb.conf. Options are of theTim Potter1999-07-221-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.
* code from bertl to allow remap of default built-in names to anything.Luke Leighton1999-07-141-1/+4
| | | | | parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at>
* Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1999-07-121-1/+3
| | | | | Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed.
* improving authentication code (tidyup).Luke Leighton1999-06-291-2/+6
|
* added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1999-05-011-1/+12
|
* rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau1999-04-271-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
* Allow "Yes" and "No" as well as "True" and "False" in the three-stateMatthew Chapman1999-04-111-1/+1
| | | | enumeration.
* Trying to improve DC location & browsing performance for the average userMatthew Chapman1999-04-111-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).
* Added configuration parameter 'vfs object' to specify loadable objectTim Potter1999-04-041-0/+20
| | | | file containing a VFS implementation.
* Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1999-03-031-5/+5
| | | | resolved.
* Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1999-03-011-0/+30
| | | | Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999.
* server type announcements modified to include the "role" of the server:Luke Leighton1999-02-021-9/+58
| | | | domain member, pdc, bdc.
* Adding first of the fixes for SSL.Richard Sharpe1999-01-241-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
* matthew chapman's ldap code, to date. plus docs!Luke Leighton1998-12-071-9/+8
|
* weekend work. user / group database API.Luke Leighton1998-11-291-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...
* jean-francois pointed out problem with "lp_domain_role()" code, youLuke Leighton1998-11-241-2/+2
| | | | could never be a PDC.
* unix instance of group database APILuke Leighton1998-11-231-0/+40
|
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-1/+1
| | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy.
* - group database API. oops and oh dear, the threat has been carried out:Luke Leighton1998-11-171-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the pre-alpha "domain group" etc parameters have disappeared. - interactive debug detection - re-added mem_man (andrew's memory management, detects memory corruption) - american spellings of "initialise" replaced with english spelling of "initialise". - started on "lookup_name()" and "lookup_sid()" functions. proper ones. - moved lots of functions around. created some modules of commonly used code. e.g the password file locking code, which is used in groupfile.c and aliasfile.c and smbpass.c - moved RID_TYPE_MASK up another bit. this is really unfortunate, but there is no other "fast" way to identify users from groups from aliases. i do not believe that this code saves us anything (the multipliers) and puts us at a disadvantage (reduces the useable rid space). the designers of NT aren't silly: if they can get away with a user- interface-speed LsaLookupNames / LsaLookupSids, then so can we. i spoke with isaac at the cifs conference, the only time for example that they do a security context check is on file create. certainly not on individual file reads / writes, which would drastically hit their performance and ours, too. - renamed myworkgroup to global_sam_name, amongst other things, when used in the rpc code. there is also a global_member_name, as we are always responsible for a SAM database, the scope of which is limited by the role of the machine (e.g if a member of a workgroup, your SAM is for _local_ logins only, and its name is the name of your server. you even still have a SID. see LsaQueryInfoPolicy, levels 3 and 5). - updated functionality of groupname.c to be able to cope with names like DOMAIN\group and SERVER\alias. used this code to be able to do aliases as well as groups. this code may actually be better off being used in username mapping, too. - created a connect to serverlist function in clientgen.c and used it in password.c - initialisation in server.c depends on the role of the server. well, it does now. - rpctorture. smbtorture. EXERCISE EXTREME CAUTION.
* include/local.h:Jeremy Allison1998-11-101-0/+27
| | | | | | | | | | | | | include/smb.h: param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). printing/printing.c: Added J.F.'s latest fix. rpc_parse/parse_misc.c: parse_reg.c: rpcclient/cmd_reg.c: rpcclient/display.c: SGI compiler signed/unsigned issues. smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). utils/testparm.c: Added extra test. Jeremy.
* Default for SMB_PASSWD program was set to smbpasswd ! This explained the ↵Jeremy Allison1998-11-101-1/+1
| | | | | | | | | | | problems John & Andrew were having with smbpasswd. This would cause the smbpasswd to be changed *twice* - this the second decrypt would fail. Changed it to be "/bin/passwd" and changed the name of the macro to PASSWORD_PROGRAM to make it clear this is not an smb password changer. Jeremy.
* I talked to Dave Miller and he thinks that we should have TCP_NODELAYAndrew Tridgell1998-11-091-0/+2
| | | | | on by default on OSes that support it, given the network IO pattern that Samba uses. He doesn't think it will cause problems.
* codepages/codepage_def.936: Updated comment.Jeremy Allison1998-11-071-11/+0
| | | | | | | | | param/loadparm.c: Removed "networkstation user login", "domain controller", and "domain sid" parameters. passdb/passdb.c: Removed "networkstation user login" code and changed bug test code to only check once for a bad password server. This will stop the complaints of many "bad login" audit records in NT PDC logs. utils/smbpasswd.c: Removed check for "domain controller". Jeremy.
* add an option to enable/disable nt pipesAndrew Tridgell1998-10-181-0/+4
|
* somehow "in_client" got included twice in two places.Andrew Tridgell1998-10-071-1/+0
|
* Added capability for smbclient to use the local WINS server on the sameRichard Sharpe1998-10-061-4/+5
| | | | machine if WINSsupport configured
* ignore *.po32 filesAndrew Tridgell1998-10-051-0/+2
|
* removed requirement of having a smb.conf for smbwrapper to work.Andrew Tridgell1998-10-051-2/+4
|
* started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1998-10-041-1/+1
|
* - ignore *.p filesAndrew Tridgell1998-10-031-0/+1
|
* set the default fstype for IPC$ to "IPC". I'm not sure if this willAndrew Tridgell1998-09-301-0/+1
| | | | make any difference, but it is the right thing to do.
* (Finally) implemented "max open files" as a global smb.conf parameter.Jeremy Allison1998-09-301-0/+4
| | | | | | Sets up the files array correctly - limited by the smb.conf parameter and by the max fd's per process as found by getrlimit(). Jeremy.
* libsmb/clientgen.c: Fixed signed/unsigned compile warnings spotted by Herb.Jeremy Allison1998-09-301-6/+27
| | | | | | | | param/loadparm.c: smbd/oplock.c: Allow kernel oplocks to be turned off in the smb.conf file. smbd/server.c: Move init_structs() to after the smb.conf file is loaded - preparation for making a "max open files" parameter. Jeremy.