summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12855: Remove erroneous commenting out of valgrind fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b76c7b613282dc89c54faf3e7cef98f7651c5a9d)
2007-10-10r12714: Fix segfault in pdb_nds.c.Günther Deschner1-4/+4
Guenther (This used to be commit f78c7f8abea4cb598eca78fa3beacee8a3caee20)
2007-10-10r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")Jeremy Allison5-21/+68
and replace calls to isupper/islower/toupper/tolower with ASCII equivalents (mapping into _w variants). Jeremy. (This used to be commit c2752347eb2deeb2798c580ec7fc751a847717e9)
2007-10-10r12398: adding Guenther's account policy migration fixGerald Carter1-12/+73
(This used to be commit be32f10609f2274903cb3b2c6b84c9aa62962151)
2007-10-10r12387: Make string_to_sid a little more silent.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 7ccff8071abf2bd85f4022abace1f96c7f7f0d29)
2007-10-10r12313: Introduce yet another copy of the string_sub function:Volker Lendecke1-1/+73
talloc_string_sub. Someone with time on his hands could convert all the callers of all_string_sub to this. realloc_string_sub is *only* called from within substitute.c, it could be moved there I think. Volker (This used to be commit be6c9012da174d5d5116e5172a53bbe6486d6c38)
2007-10-10r12306: ReformattingVolker Lendecke1-38/+69
(This used to be commit 3f1dad5fdbd104dc0c03a6a9488bd619b8915c83)
2007-10-10r12303: Move split_domain_and_name to util_getent.c and make it static there.Volker Lendecke2-28/+31
Volker (This used to be commit e7f348fcf871e8559ecf4e3e597627a78187d1da)
2007-10-10r12291: Make getgroups_user static.Volker Lendecke1-2/+2
Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to talk about what exactly what you intend to do here and in what scenarios. Volker (This used to be commit 95094ef758089cfc62700509d45b53bc0980654d)
2007-10-10r12279: unix_mask_match has been broken for *ever*... (How).Jeremy Allison1-1/+2
Ensure it returns a BOOL. Jerry (and anyone else) please check this, I think all uses are now correct but could do with another set of eyes. Essential for 3.0.21 release. Jeremy. (This used to be commit 0c7b8a7637e760fcb6629092f36b610b8c71f5c9)
2007-10-10r12169: Remove an unused functionVolker Lendecke1-35/+0
(This used to be commit 209e4f8793fe9375fc6af1aedb5bd1fe57193bbc)
2007-10-10r12051: Merge across the lookup_name and lookup_sid work. Lets see how the ↵Volker Lendecke1-42/+3
build farm reacts :-) Volker (This used to be commit 9f99d04a54588cd9d1a1ab163ebb304437f932f7)
2007-10-10r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison4-4/+4
box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. (This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)
2007-10-10r12038: This file is no longer used, and no one noticed....Jeremy Allison1-86/+0
Jeremy. (This used to be commit 6ec0312090dc3107e3c92099536858a22046ccfe)
2007-10-10r11985: Move to LGPL as per tridge's Samba4 change.Jeremy Allison1-14/+18
Jeremy. (This used to be commit 3804c4ca3914788e3d3780817ef016421418e11f)
2007-10-10r11962: Bring talloc up to date with Samba4, re-add theJeremy Allison2-52/+226
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy. (This used to be commit 2e262a75cca4575edd00db3d24e7e35760943120)
2007-10-10r11876: When we are using START_TLS to secure the LDAP connection, we *have* toGünther Deschner1-3/+12
call START_TLS again after rebinding to another LDAP server. (ldaps:// uri's are handled at by recent versions of OpenLDAP). Guenther (This used to be commit 3ccea032cb681426a1b29907a44b87b8a94e0840)
2007-10-10r11874: Merge LDAP connection setup in lib/smbldap.c and pdb_nds.c.Günther Deschner1-50/+137
Also allow to use START_TLS in the pdb_nds_update_login_attempts function when doing simple binds to eDir. Guenther (This used to be commit 04a3ac5e50e93f74dfddfead5cb3f335ce991e9a)
2007-10-10r11845: Removed error code list as it isn't correct for Linux.Jeremy Allison1-8/+0
Jeremy. (This used to be commit bea6fa293e2c1ee85ae72dcee00db13cb1fe5bb1)
2007-10-10r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOSJeremy Allison1-33/+41
attribute errors. Jeremy. (This used to be commit 8f2e472fa35098b1be16083ce9b5c06fdf5dbcd1)
2007-10-10r11799: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison1-1/+22
<dtucker@zip.com.au> Jeremy. (This used to be commit b7dee71f26b26e2aed4124c7de52fa6771ce40dd)
2007-10-10r11764: Doesn't need to be exported from here.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 95665dfd77ac9959d1d538770157127a425b4b4e)
2007-10-10r11732: Remember to return early if -1 returned from *BSD EA call.Jeremy Allison1-0/+12
Pointed out by timur@com.bat.ru. Jeremy. (This used to be commit 081e458801b626d6f9e58ba16a25c1b99b83eb55)
2007-10-10r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke1-0/+28
you the IP address but also the fqdn of the remote dc and site info. Volker (This used to be commit 62d01ce7e6c14971084c208ab61f379cb172cb22)
2007-10-10r11655: Two small fixesGerald Carter1-4/+26
* remove redundant call to sub_set_smb_name() in session setup code. * Fix lockup when running 'wbinfo -t' on a Samba PDC. Cause was new authenticated session setup from winbindd which resulted in a mangled username (machine_) that was not found in the local files and so was queiued up to nss_winbindd. Deadlock.... So now make sure to keep the trailing '$' for machine account names when calling sub_set_smb_name(). (This used to be commit b0a2d43b603c2e230da6ada73587696605102e8f)
2007-10-10r11614: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison1-56/+92
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or * code or tables extracted from it, as desired without restriction. Jeremy. (This used to be commit 11c6b8ecd601ff2f6eaf184efeed8e39f54fdcf1)
2007-10-10r11560: Fix core dump if setmntent returns NULL.Jeremy Allison1-0/+3
Pointed out by Jay Fanlason @ Red Hat. Jeremy. (This used to be commit e8136ae746b5be51b252d900aa732c8106fefcaf)
2007-10-10r11530: Add the "time offset" parameter back in for people whoJeremy Allison1-1/+1
might use it. Jeremy. (This used to be commit b745114423a482ea8cd1ea4f80ec3fc2a9caa971)
2007-10-10r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2-244/+234
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. (This used to be commit 414303bc0272f207046b471a0364fa296b67c1f8)
2007-10-10r11446: Remove unused fn. Remove unneeded strncpy use.Jeremy Allison1-7/+2
Jeremy. (This used to be commit d202aae3c821f3d78ff063d867bac1f84dca3548)
2007-10-10r11383: Patch from Alex Masterov <alex@infobit.ru> to fixJeremy Allison1-3/+83
XATTR calls on *BSD systems (bug #3218). Jeremy. (This used to be commit 3d8faf42e854a720aca5c2e0a4682c85a3dfd365)
2007-10-10r11230: Remove the '//' i was using to test something...oopsJim McDonough1-1/+1
(This used to be commit cda5a81bbe52308a81a79eb0354aea63027a9701)
2007-10-10r11229: an even bigger speedup spotted by Volker. string_to_sid() is now ↵Jim McDonough1-2/+2
taking 1/5th the time it used to. Replace strcasecmp with invididual char checks for "S-" sid prefix. (This used to be commit de3d0094b78cb20da7ed958e8d3a428583694309)
2007-10-10r11228: Speed up string_to_sid by removing next_token calls, thus eliminatingJim McDonough1-34/+27
the need for allocating memory to duplicate the string. (This used to be commit e5cc94f13ff2dacb219c8a56fa13853d620ecda6)
2007-10-10r11159: Added some const to fix warnings.Jeremy Allison2-4/+4
Jeremy. (This used to be commit de27b0eef2eb021f28e8bf300c4dd524e30fc7ed)
2007-10-10r11156: Remove valgrind disabling ifdef that got added by mistake.Jeremy Allison1-2/+0
Jeremy. (This used to be commit fc9eca51e02022ccffbad2a4f2450f85e558e151)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison7-94/+101
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10976: Fix the build with openssl-0.9.8a.Günther Deschner2-0/+4
Guenther (This used to be commit 081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff)
2007-10-10r10962: fix setting of quotas on linux kernel with theStefan Metzmacher1-0/+1
struct if_dqblk interface metze (This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)
2007-10-10r10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2f3750d95b75b186771cab13b842c91bd7926df1)
2007-10-10r10674: We no do define timeval_currentVolker Lendecke1-7/+0
(This used to be commit c80e5ce1103a4c8f17120ecf715d962cfa532f22)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter17-281/+720
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r10606: pdb_*sql patches fromGerald Carter1-4/+1
Uli Meis <a.sporto@gmail.com> Peter Rindfuss <rindfuss@wz-berlin.de> (This used to be commit 8bf124adaf4d6cacc18ebca82d96eabe47088151)
2007-10-10r10454: * prevent privilege code from storing an empty SIDGerald Carter1-7/+31
(and filter it out if one is already there) * Fix LUID value match in privilege_set_to_se_priv() (fix jmcd's bug report). (This used to be commit 356334264f5cd3a2480c3288ec40e0ee63264e1b)
2007-10-10r10234: Add new auth module "auth_script" to allow valid users toJeremy Allison1-2/+2
be provisioned on demand - calls script with domain, username, challenge and LM and NT responses - passing the info through a pipe. Jeremy. (This used to be commit 67be4ee41cd244bcc0445cac7c9e1e2d40e93c9b)
2007-10-10r10163: try to fix the build on fedora 4, when --with-quota is not usedStefan Metzmacher2-0/+12
(to actually fix the quotas, more work is needed) metze (This used to be commit ff82c247c5bf4093723e4ce702a4afe38257a31b)
2007-10-10r9998: starting content for maintainers fileGerald Carter1-54/+7
(This used to be commit 554c22faeefe6932a01aa7bd6e2861c5abd37510)
2007-10-10r9953: get rid of compiler warning.Günther Deschner1-1/+1
Guenther (This used to be commit d4698acd5039dec0a375bb2841d02a2e305ded74)
2007-10-10r9952: Adapt better to the Windows way of taking and assigning ownership:Günther Deschner1-0/+1
* Users with SeRestorePrivilege may chown files to anyone (be it as a backup software or directly using the ownership-tab in the security acl editor on xp), while * Users with SeTakeOwnershipPrivilege only can chown to themselves. Simo, Jeremy. I think this is correct now. Guenther (This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)
2007-10-10r9780: Clean up a bunch of compiler warnings.James Peach1-2/+3
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)