summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r17293: After the results from the cluster tests in Germany,Jeremy Allison2007-10-103-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy.
* r17231: Some patch cosmeticsVolker Lendecke2007-10-102-2/+2
|
* r17179: Merge the vl-posixacls tmp branch into mainline. ItJim McDonough2007-10-101-2768/+153
| | | | | | | | | | | | | | | | | modularizes our interface into the special posix API used on the system. Without this patch the specific API flavor is determined at compile time, something which severely limits usability on systems with more than one file system. Our first targets are AIX with its JFS and JFS2 APIs, at a later stage also GPFS. But it's certainly not limited to IBM stuff, this abstraction is also necessary for anything that copes with NFSv4 ACLs. For this we will check in handling very soon. Major contributions can be found in the copyright notices as well as the checkin log of the vl-posixacls branch. The final merge to 3_0 post-3.0.23 was done by Peter Somogyi <psomogyi@gamax.hu>
* r17098: Samba3 now cleanly passes Samba4 RAW-LOCK tortureJeremy Allison2007-10-101-0/+4
| | | | | | | | test. Phew - that was painful :-). But what it means is that we now implement lock cancels and I can add lock cancels into POSIX lock handling which will fix the fast/slow system call issue with cifsfs ! Jeremy.
* r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke2007-10-101-0/+31
| | | | lib/sharesec.c
* r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some ↵Volker Lendecke2007-10-101-1/+24
| | | | | | pstrings. Volker
* r17032: I thought I had already merged this from trunk:Volker Lendecke2007-10-101-3/+5
| | | | | | | | > r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line > > get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC Volker
* r17025: Remove one blank line - test checking in to twoJeremy Allison2007-10-101-1/+0
| | | | | branches simultaneously..... Jeremy.
* r16997: Simo's patch (based on repotr from Seth Elssworth of Quest) to try ↵Gerald Carter2007-10-101-2/+21
| | | | to be more robust in the precense of more broken /etc/hosts files when determining our fwdn
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-1015-153/+475
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy
* r16595: Klocwork #2067. Fix possible memleak on error exit.Jeremy Allison2007-10-101-0/+3
| | | | Jeremy.
* r16582: Fix Klocwork #1997 and all generic class of problemsJeremy Allison2007-10-101-0/+4
| | | | | where we don't correctly check the return from memdup. Jeremy.
* r16554: Sorry, just had to change this. Don't use int whenJeremy Allison2007-10-101-3/+5
| | | | | | | | you're passing a BOOL parameter, don't use "clever" code in while statement - make things easier and clearer to understand when triggering something with an if. Jeremy.
* r16552: Fix bug 3849.Derrell Lipman2007-10-101-7/+35
| | | | | | | | | Added a next_token_no_ltrim() function which does not strip leading separator characters. The new function is used only where really necessary, even though it could reasonably be used in many more places, to avoid superfluous code changes. Derrell
* r16420: Fix Klocwork #1674. Null deref.Jeremy Allison2007-10-101-4/+8
| | | | Jeremy.
* r16396: Klocwork #1170. Null deref.Jeremy Allison2007-10-101-0/+4
| | | | Jeremy.
* r16390: Klocwork #604 - ensure if NULL pointer we assertJeremy Allison2007-10-101-2/+8
| | | | | if len != 0. Jeremy.
* r16388: Klocwork #320. Null deref.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r16386: Klockwork #lots. Ensure talloc_get_type_abort abortsJeremy Allison2007-10-101-3/+0
| | | | | if handed a NULL pointer, not returns NULL. Jeremy.
* r16375: Klocwork #1670.Jeremy Allison2007-10-101-2/+8
| | | | Jeremy.
* r16350: Fix the build.Günther Deschner2007-10-101-0/+19
| | | | GUenther
* r16320: Ensure variable is not null before calling fclose.Jeremy Allison2007-10-101-1/+1
| | | | | Klocwork #412. Jeremy.
* r16290: Fix Coverity bugs 298 and 298Volker Lendecke2007-10-101-4/+4
|
* r16274: Fix the smbclient prompting behaviour for both systems that haveJames Peach2007-10-102-28/+61
| | | | | | | | | libreadline and those that don't. We always use the built-in readline replacement for non-interactive mode. Interactive prompts are always emitted to stdout and non-interactive mode never prompts at all. Introduce x_fdup to avoid spuriously closing stdout when a logfile is specified on the command line and setup_logging is called a second time.
* r16267: Fix Klocwork #401, #402 - ensure format specifierJeremy Allison2007-10-101-15/+59
| | | | | limited. Fix memleak in printing gencache contents. Jeremy.
* r16245: Cope with string being zero len. Klocwork bug #410.Jeremy Allison2007-10-101-2/+4
| | | | Jeremy.
* r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison2007-10-102-56/+83
| | | | | can return NULL. Ensure we check all returns correctly. Jeremy.
* r16153: Fix possible NULL dereference found by Klocwork # 252Volker Lendecke2007-10-101-0/+4
|
* r16122: As we use 'inetOrgPerson' as structural objectclass for new accounts forGünther Deschner2007-10-101-0/+2
| | | | | | | | | | eDir, we already add 'sn' as required attribute on LDAP add operations. When we modify an entry, we need to request 'sn' as well in our attribute lists, so that we don't try to add it a second time. Guenther
* r16047: Remove unnecessary line, as this value is set in either branch of theJim McDonough2007-10-101-1/+0
| | | | 'if' below. Spotted by Aleksey Fedoseev.
* r16046: Hmmm. I don't fully understand popt, but this is necessary for ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | | | | smbclient to show a prompt again :-) James, could you check that this is ok? I think this was part of your Revision 15848. Thanks, Volker
* r16017: Add Samba4 replacement for timegm to workJeremy Allison2007-10-102-24/+71
| | | | | on Solaris. Jeremy.
* r15995: Make smbldap obey config tests. Patch from "John E. Malmberg"Jeremy Allison2007-10-101-0/+6
| | | | | <wb8tyw@qsl.net>. Jeremy.
* r15848: Introduce commandline options to set the remainder of the parameters inJames Peach2007-10-101-11/+143
| | | | | dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options.
* r15838: Back-port tridge's talloc fixes (r15824, r15828) from Samba4.Jeremy Allison2007-10-101-3/+36
| | | | Jeremy.
* r15700: Make nmbd udp sockets non-blocking to prevent problemJeremy Allison2007-10-101-1/+6
| | | | | | with select returning true but no data being available. Fix for bug #3779. Jeremy.
* r15672: Fix for bug #3783. winbindd_cm.c calls open_any_socket_out()Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | | | | | to make connections to ports 445 or 139 on the DC it's trying to contact. It calls sys_select() on the non-blocking sockets, not sys_select_intr(). This is a mistake (I believe) as it allows a signal to early terminate the connection attempts - whereas sys_select_intr() will ignore signals until we get back to the main processing loop where they'll be handled correctly. This change means winbindd_cm will not early terminate if it gets a message whilst trying to connect to DC's. Gunther, Volker and Jerry please review (but I think this is correct). Jeremy.
* r15655: Log the result of module initialisation if it fails.James Peach2007-10-101-2/+6
|
* r15633: Minor smbldap/pdb_ldap cleanupGünther Deschner2007-10-101-13/+12
| | | | Guenther
* r15631: Add a new option "enable core files". Administrators can use this toJames Peach2007-10-101-0/+9
| | | | disable automatic core file dumping. Core files are enabled by default.
* r15525: fix compile error on HP-UX reported by Ryan NovosielskiGerald Carter2007-10-101-1/+0
|
* r15509: Preserve errno in fcntl lock wrappers.James Peach2007-10-101-0/+4
|
* r15508: Use clock_gettime for profiling timstamps if it is available. UseJames Peach2007-10-101-0/+18
| | | | the fastest clock available on uniprocessors.
* r15494: Fix debug statementVolker Lendecke2007-10-101-1/+1
|
* r15449: Remove unused function get_nttime_max (which claims itJames Peach2007-10-101-6/+0
| | | | is incorrect).
* r15446: Tidy up the formatting of locking debug messages and make it moreJames Peach2007-10-101-2/+4
| | | | | consistent. Bring oplocks withing the purview of the locking debug channel.
* r15305: Let winbind search by sid directly (or in windows terms: "bind to aGünther Deschner2007-10-102-1/+35
| | | | | | | sid"); works in all AD versions I tested. Also add "net ads sid" search tool. Guenther
* r15283: Oh yeah. The build farm doesn't do much with head. OK, here is the ↵Paul Green2007-10-101-0/+2
| | | | patch to SAMBA_3_0 to declare prototypes for the initialization functions. These are the same changes I just made to head. --paulg
* r15251: Adding PreWin2kAccess builtin sid.Günther Deschner2007-10-101-0/+2
| | | | Guenther