summaryrefslogtreecommitdiffstats
path: root/source/web
Commit message (Collapse)AuthorAgeFilesLines
* r22434: sync from the 3.0.25 tree for rc2Gerald Carter2007-04-211-1/+1
|
* r21889: * Pull from SAMBA-3_0_25 svn r21888Gerald Carter2007-03-201-1/+1
| | | | * Set version to 3.0.25pre2
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-284-10/+13
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r17918: * NULL deref fixesGerald Carter2006-08-291-2/+3
| | | | | * time fixes for tortore * nmbd crash fix
* r16674: After removing each individual post-3.0.23rc3 change:Gerald Carter2006-06-291-0/+4
| | | | | | | | | | | | | | This pulls is what I considered safe fixes from SAMBA_3_0. This boiled down to either Klocwork fixes or obvious compiler warning fixes. I did not include any changes to fnuction signatures not the version change to the passdb API. Also pulled in the 3 nmbd fixes requested by Jeremy and the wildcard delete fix. This code will sit for a few days in the cooker and then become 3.0.23 if nothing blows up. I don't care how many more compile warning fixes people throw into SAMBA_3_0.
* r16472: final pass for 3.0.23rc3 I think. Current with SAMBA_3_0 r16471Gerald Carter2006-06-221-0/+1
|
* r16438: sync up to r16433Gerald Carter2006-06-212-20/+35
|
* r16254: pulling klocwork fixes for 3.0.23rc3 (current up to r16251)Gerald Carter2006-06-151-1/+1
|
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-0/+2
|
* r14618: add --no-process-group to all server programmsStefan Metzmacher2006-03-211-3/+3
| | | | | | | | | | | to make the following possible: timelimit 20000 bin/nmbd -F -S --no-process-group timelimit 20000 bin/smbd -F -S --no-process-group this is needed to 'make test' working without losing child processes metze
* r14255: Revert r14204 which was horribly broken.James Peach2006-03-121-0/+15
|
* r14204: Remove the basically unused P_GSTRING and P_UGSTRINGJames Peach2006-03-111-15/+0
| | | | parameter types.
* r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison2006-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-3/+3
| | | | macro which sets the freed pointer to NULL.
* r13383: pulling in swat-welcome patch from SuSE packagingGerald Carter2006-02-081-1/+5
|
* r13316: Let the carnage begin....Gerald Carter2006-02-032-8/+8
| | | | Sync with trunk as off r13315
* r13262: Arrgggg. Fix smbstatus and swat status to ignoreJeremy Allison2006-01-311-1/+7
| | | | | | | bloody placeholder share mode entries (I hate these - I've had to add this filter code now to too many places :-). Jeremy.
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-281-1/+1
| | | | | | | | | | | | 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.)
* r13140: Fix swat - make sure it can list running services (ensure loopback_ip)Jeremy Allison2006-01-251-0/+1
| | | | | is defined. Jerry - this needs to be in 3.0.21b. Jeremy.
* r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")Jeremy Allison2005-12-271-1/+1
| | | | | | and replace calls to isupper/islower/toupper/tolower with ASCII equivalents (mapping into _w variants). Jeremy.
* r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been ↵Gerald Carter2005-12-202-102/+44
| | | | broken since r10656
* r12203: Add the share path into the sharemode db. This involvesJeremy Allison2005-12-121-1/+1
| | | | | | | | | | revving the minor version number for libsmbsharemodes (we now have a new _ex interface that takes the share path as well as the filename). Needed for #3303. Some code written by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes to locking/locking.c. The smbstatus output is a bit of a mess and needs overhauling... Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2005-11-051-1/+1
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-305-65/+125
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter2005-08-301-3/+2
|
* r9266: fix help links in swat editor after doc layout changesGerald Carter2005-08-121-2/+2
|
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2005-07-082-5/+14
| | | | | | | | | tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2005-06-242-9/+5
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r6959: Meant to fix this before commiting, just to be consistent.Deryck Hodge2005-05-241-1/+1
| | | | deryck
* r6958: Properly display quotes in SWAT. Thanks to JayDeryck Hodge2005-05-241-2/+22
| | | | | | Fenlason <fenlason@redhat.com> for spotting this issue. deryck
* r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>Deryck Hodge2005-04-191-4/+4
| | | | | | Encode quotes for display in HTML. deryck
* r6281: Fix the build for FreeBSD 4 -- no winbindVolker Lendecke2005-04-101-2/+2
|
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-2/+2
|
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2005-03-311-2/+2
| | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
* r5179: Add -P (password-menu-only) option to swat. Admins can allow usersDeryck Hodge2005-02-021-1/+4
| | | | | | | to use swat to change their password without allowing them to see the "View" and "Status" buttons. deryck
* r4577: Fix from William Jojo <jojowil@hvcc.edu> for AIX 5.3 compile.Jeremy Allison2005-01-061-2/+2
| | | | Jeremy.
* r4369: Patch for bug #2190 (SWAT displaying parameters in UNIX charset)Jeremy Allison2004-12-261-6/+18
| | | | | not utf8. Fixed by Shiro Yamada <shiro@miraclelinux.com>. Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-073-14/+14
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-076-6/+6
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2771: Second (and last) part of Swat-i18n-Patch from Björn JackeGünther Deschner2004-10-013-311/+318
| | | | | | | | | | | | | <bjacke@sernet.de> "Do not use display charset for swat output. In HTML we do not care about the "locale charmap" because HTML code is UTF-8 only now. Additionally take care that we convert files from statuspage from unix charset to UTF-8. Thus we have correct HTML output under all circumstances. We now also convert the share names correctly from unix encoding to web encoding and vice vera. " Guenther
* r1833: patch from James Peach to get swat to look for index.html by default ↵Gerald Carter2004-08-161-4/+24
| | | | when given a trailing directory/
* r492: BUG 483: patch from Michel Gravey <michel.gravey@optogone.com> to fix ↵Gerald Carter2004-05-051-1/+4
| | | | password hash creation in SWAT
* r39: * importing .cvsignore filesGerald Carter2004-04-051-1/+0
| | | | * updateing WHATSNEW with vl's change
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-047-0/+2784
metze