summaryrefslogtreecommitdiffstats
path: root/source/param/loadparm.c
Commit message (Collapse)AuthorAgeFilesLines
* r22434: sync from the 3.0.25 tree for rc2Gerald Carter2007-04-211-8/+15
|
* r21905: RenameGerald Carter2007-03-211-8/+8
| | | | | idmap expire time -> idmap cache time idmap negative time -> idmap negative cache time
* r21889: * Pull from SAMBA-3_0_25 svn r21888Gerald Carter2007-03-201-9/+9
| | | | * Set version to 3.0.25pre2
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-281-52/+231
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r16863: Pull in a few changes from Guenther, Simo, & VolkerGerald Carter2006-07-071-1/+1
| | | | Update the release notes
* r16438: sync up to r16433Gerald Carter2006-06-211-7/+7
|
* r16104: Set version to 3.0.23rc2Gerald Carter2006-06-081-4/+3
| | | | | Bring release tree up to current 3.0 tree (svn merge -r15845:16103 $SVNURL/branches/SAMBA_3_0)
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-43/+49
|
* r15144: final code changes for 3.0.23pre1 (SAMBA_3_0 r15141)Gerald Carter2006-04-201-1/+0
|
* r15135: working on 3.0.23pre1; sync to SAMBA_3_0 r15132Gerald Carter2006-04-191-99/+874
|\
| * r15133: in_server is not used anywhereVolker Lendecke2006-04-191-1/+0
| |
| * r15112: Move strict locking default to auto. Fix up the errorJeremy Allison2006-04-171-1/+1
| | | | | | | | | | return for one of the Samba4 torture tests. Jeremy.
| * r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2006-04-101-0/+19
| | | | | | | | | | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
| * r15003: patch based on code from Arkady Glabek <aglabek@centeris.com> to ↵Gerald Carter2006-04-081-0/+50
| | | | | | | | ensure that global memory is freed when unloading pam_winbind.so (needs more testing on non-linux platforms)
| * r14923: Return False in the case a parametrical option is not configured inLars Müller2006-04-051-3/+7
| | | | | | | | | | | | the config file. For a "somesettings: foo = " we still return an empty line.
| * r14922: Use BOOL for the returned value.Lars Müller2006-04-051-1/+2
| |
| * r14869: Allow to dump a paramatrical option.Lars Müller2006-04-021-1/+19
| | | | | | | | | | Flaw: We print an empty line if the paramatrical option is not defined in the requested section.
| * r14855: Various fixes:Gerald Carter2006-04-021-1/+1
| | | | | | | | | | | | | | | | * depreacte 'acl group control' after discussion with Jeremy and implement functionality as part of 'dos filemode' * fix winbindd on a non-member server to expand local groups * prevent code previously only used by smbd from blindly turning _NO_WINBINDD back on
| * r14763: Add a new tuning parameter, open files database hash size,Jeremy Allison2006-03-291-0/+4
| | | | | | | | | | | | | | | | | | this allows us to experiment with ensuring the tdb hash size for our open files and locking db are appropriately sized. Make the hash size larger by default (10007 instead of 1049) and make the locking db hash size the same as the open file db hash size. Jeremy.
| * r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-basedJames Peach2006-03-221-0/+5
| | | | | | | | HSM is interested in. Tested on both IRIX and SLES9.
| * r14634: Many bug fixes thanks to train rides and overnight stays in airportsGerald Carter2006-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Finally fix parsing idmap uid/gid ranges not to break with spaces surrounding the '-' * Allow local groups to renamed by adding info level 2 to _samr_set_aliasinfo() * Fix parsing bug in _samr_del_dom_alias() reply * Prevent root from being deleted via Samba * Prevent builting groups from being renamed or deleted * Fix bug in pdb_tdb that broke renaming user accounts * Make sure winbindd is running when trying to create the Administrators and Users BUILTIN groups automatically from smbd (and not just check the winbind nexted groups parameter value). * Have the top level rid allocator verify that the RID it is about to grant is not already assigned in our own SAM (retries up to 250 times). This fixes passdb with existing SIDs assigned to users from the RID algorithm but not monotonically allocating the RIDs from passdb.
| * r14530: removing unused 'winbind max idle children' parameterGerald Carter2006-03-171-3/+0
| |
| * r14255: Revert r14204 which was horribly broken.James Peach2006-03-121-3/+41
| |
| * r14207: Convert the lp_acl_compatibility() param into an enum.James Peach2006-03-111-20/+9
| |
| * r14204: Remove the basically unused P_GSTRING and P_UGSTRINGJames Peach2006-03-111-41/+3
| | | | | | | | parameter types.
| * r14018: Coverity error CID #27. Missing return -1 on error condition.Jeremy Allison2006-03-081-0/+1
| | | | | | | | Jeremy.
| * r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison2006-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | realloc can return NULL in one of two cases - (1) the realloc failed, (2) realloc succeeded but the new size requested was zero, in which case this is identical to a free() call. The error paths dealing with these two cases should be different, but mostly weren't. Secondly the standard idiom for dealing with realloc when you know the new size is non-zero is the following : tmp = realloc(p, size); if (!tmp) { SAFE_FREE(p); return error; } else { p = tmp; } However, there were *many* *many* places in Samba where we were using the old (broken) idiom of : p = realloc(p, size) if (!p) { return error; } which will leak the memory pointed to by p on realloc fail. This commit (hopefully) fixes all these cases by moving to a standard idiom of : p = SMB_REALLOC(p, size) if (!p) { return error; } Where if the realloc returns null due to the realloc failing or size == 0 we *guarentee* that the storage pointed to by p has been freed. This allows me to remove a lot of code that was dealing with the standard (more verbose) method that required a tmp pointer. This is almost always what you want. When a realloc fails you never usually want the old memory, you want to free it and get into your error processing asap. For the 11 remaining cases where we really do need to keep the old pointer I have invented the new macro SMB_REALLOC_KEEP_OLD_ON_ERROR, which can be used as follows : tmp = SMB_REALLOC_KEEP_OLD_ON_ERROR(p, size); if (!tmp) { SAFE_FREE(p); return error; } else { p = tmp; } SMB_REALLOC_KEEP_OLD_ON_ERROR guarentees never to free the pointer p, even on size == 0 or realloc fail. All this is done by a hidden extra argument to Realloc(), BOOL free_old_on_error which is set appropriately by the SMB_REALLOC and SMB_REALLOC_KEEP_OLD_ON_ERROR macros (and their array counterparts). It remains to be seen what this will do to our Coverity bug count :-). Jeremy.
| * r13829: From the "It's not pretty but it works" categoryGerald Carter2006-03-041-0/+3
| | | | | | | | | | | | | | | | | | | | * Finish prototype of the "add port command" implementation Format is "addportcommand portname deviceURI" * DeviceURI is either - socket://hostname:port/ - lpr://hostname/queue depending on what the client sent in the request
| * r13815: "Into the blind world let us now descend,"Gerald Carter2006-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Began the poet, his face as pale as death. "I will go first, and you will follow me." --- Adding XcvDataPort() to the spoolss code for remotely add ports. The design is to allow an intuitive means of creating a new CUPS print queue from the Windows 2000/XP APW without hacks like specifying the deviceURI in the location field of the printer properties dialog. Also set 'default devmode = yes' as the new default since it causes no harm and only is executed when you have a NULL devmode anyways.
| * r13794: If you are going to go, go big. That's what I always say.Gerald Carter2006-03-021-2/+2
| | | | | | | | | | * disable winbind enum {users,groups} by default after further conversations with Volker.
| * r13772: More default changesGerald Carter2006-03-011-2/+3
| | | | | | | | | | | | * winbind nested groups = yes * host msdfs = ye * msdfs root = yes
| * r13736: Don't assume that printf can handle string arguments being NULL. TidyJames Peach2006-02-281-14/+17
| | | | | | | | up typing and tighten error checking a little.
| * r13610: Patch from Bjoern JACKE <samba@j3e.de>. Don't default toJeremy Allison2006-02-221-4/+6
| | | | | | | | | | | | | | /tmp if there is no path in the share, make it unavailable. All printer shares should have a path and IPC$ is already explicitly set to tmpdir(). Jeremy.
| * r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-2/+2
| | | | | | | | macro which sets the freed pointer to NULL.
| * r13513: Changing defaults:Gerald Carter2006-02-151-16/+2
| | | | | | | | | | | | | | * enable privileges = yes * enable asu support = no Remove unused function after the tdbsam rewrite.
| * r13460: by popular demand....Gerald Carter2006-02-111-6/+5
| | | | | | | | | | | | | | | | | | * remove pdb_context data structure * set default group for DOMAIN_RID_GUEST user as RID 513 (just like Windows) * Allow RID 513 to resolve to always resolve to a name * Remove auto mapping of guest account primary group given the previous 2 changes
| * r13393: Do not initialize the lp_svcctl_list() value since it is handledGerald Carter2006-02-081-2/+0
| | | | | | | | | | | | internally in services_db.c now. This prevents internal services from being listed twice (one internal and one external) when no 'svcctl list' parameter is explcitly set in smb.conf
| * r13316: Let the carnage begin....Gerald Carter2006-02-031-18/+697
| | | | | | | | Sync with trunk as off r13315
| * r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-281-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
| * r13027: Support file change notifications from FAM.James Peach2006-01-191-0/+4
| |
| * r12735: After talking to Tridge and Jeremy... This needs to be made more genericVolker Lendecke2006-01-061-4/+0
| | | | | | | | | | | | before it goes in. Volker
| * r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share ↵Volker Lendecke2006-01-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modes and oplocks across the cluster. Adapt Samba to it. The gpfs API is called via libgpfs.so. This code is written with dlopen(), so that you can compile on a system with gpfs installed and later on run on systems without gpfs available. So to actually make Samba call gpfs share mode calls you need to compile with gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you export from GPFS. Volker
| * r12415: Forgot newlines.Günther Deschner2005-12-211-1/+1
| | | | | | | | Guenther
| * r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner2005-12-211-16/+23
| | | | | | | | | | | | translation elsewhere. Guenther
| * r12290: TypoVolker Lendecke2005-12-161-1/+1
| |
| * r11999: Re-add "passdb expand explicit".Volker Lendecke2005-12-011-0/+4
| | | | | | | | | | | | | | We came to the conclusion that changing the default is something that has to wait one or two more releases, but it will happen one way or the other. Volker
| * r11909: Implement 'reset on zero vc'. This kills other connections when a ↵Volker Lendecke2005-11-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | session setup comes in with the vc (virtual connection) field set to zero. This is done by Windows, probably you can tweak that by some registry key. This boolean option controls whether an incoming session setup should kill other connections coming from the same IP. This matches the default Windows 2003 behaviour. Setting this parameter to yes becomes necessary when you have a flaky network and windows decides to reconnect while the old connection still has files with share modes open. These files become inaccessible over the new connection. The client sends a zero VC on the new connection, and Windows 2003 kills all other connections coming from the same IP. This way the locked files are accessible again. Please be aware that enabling this option will kill connections behind a masquerading router. Volker
| * r11739: As per Jeremy's request, add a panic action for developers. Now ↵Volker Lendecke2005-11-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure.in needs something along the lines of if [ $LOGNAME == "jht" ] then CFLAGS="$CFLAGS -DDEVELOPER" fi But that goes a bit far I think.... :-))) Volker
| * r11734: Remove unused variableVolker Lendecke2005-11-151-1/+0
| |
| * r11579: syncing up perf counter code cfrom trunkGerald Carter2005-11-081-3/+0
| |