summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
* r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell2007-10-107-14/+14
| | | | not GNU Library General Public License
* r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2007-10-1010-30/+10
|
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-10-1088-177/+88
|
* r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING fileAndrew Tridgell2007-10-101-3/+2
|
* r23795: more v2->v3 conversionAndrew Tridgell2007-10-101-1/+1
|
* r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell2007-10-104-20/+12
|
* r23791: found some more v2->v3 conversionsAndrew Tridgell2007-10-102-2/+2
|
* r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell2007-10-1089-89/+89
|
* r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in theAndrew Tridgell2007-10-101-1/+3
| | | | | | | | | | Samba3 tree. This is neater, plus it avoids the need to get legal approval from SGI to use their GPLv2-only code under GPLv3. If/when SGI legal sort things out, we could consider adding back this header for very old systems where linux/dqblk_xfs.h is not available.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-1082-164/+82
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-10-1011-11/+11
| | | | Jeremy.
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-1099-99/+99
| | | | Jeremy.
* r23769: Move removal of the tdb from the generic tdb_validate functionMichael Adam2007-10-101-6/+0
| | | | | | | to the caller (winbindd_validate_cache in this case). Next, there will be a backup handling for the tdb files. Michael
* r23756: Fix Coverity id 388Volker Lendecke2007-10-101-0/+1
|
* r23751: Call tdb_close even when validation was not successful.Michael Adam2007-10-101-9/+1
| | | | Michael
* r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke2007-10-101-2/+10
| | | | | | checkin will pull this up to srvstr_get_path. At that point we can get more independent of the inbuf, the base_ptr in pull_string will only be used to satisfy UCS2 alignment constraints.
* r23673: Check for integer wrap on incoming data.Jeremy Allison2007-10-101-0/+6
| | | | Jeremy.
* r23669: Move a variable into the only block where it is used.Michael Adam2007-10-101-1/+1
|
* r23668: When creating a new string value, win2k regedit deliversMichael Adam2007-10-101-8/+22
| | | | | | | | | | | one byte of data despite characters being two-byte. This modifies registry_pull_value, to change the data to the correct two-byte version of the empty string, (as delivered by winxp), when only one byte of data is received. Michael
* r23665: Remove two unneeded global variablesVolker Lendecke2007-10-101-13/+6
|
* r23662: According to simo, check_dos_char is neededVolker Lendecke2007-10-102-1/+52
|
* r23660: Anybody know what check_dos_char() was used for? It wasn't called atVolker Lendecke2007-10-102-52/+1
| | | | all, so it's gone. With it 8k bss went away.
* r23659: file_pload is not used outside of util_file.cVolker Lendecke2007-10-101-1/+1
|
* r23658: One pstring a day....Volker Lendecke2007-10-101-16/+39
| | | | | This one was particularly tasty, it was a static one. So 1k less footprint per process.
* r23641: Put check for forbidden values in smbconf into a function.Michael Adam2007-10-101-0/+22
| | | | | | | (This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael
* r23639: Eliminate trailing whitespaces in the new tdb_validate functions...Michael Adam2007-10-101-8/+7
| | | | Michael
* r23610: Move some winbindd_cache specific flags and actionsMichael Adam2007-10-101-7/+1
| | | | | | | | back to winbindd_cache.c. The generic mechanism should open the cache tdb readonly and with default flags. Michael
* r23600: First step in abstracting the winbindd cache validationMichael Adam2007-10-101-0/+203
| | | | | | | code into a generic tdb validation code. In lib/util_tdb.c for a start. Michael
* r23595: One pstring a day...Volker Lendecke2007-10-101-7/+19
|
* r23594: Fix parsing of local pids if cluster support is compiled in but noVolker Lendecke2007-10-101-0/+4
| | | | cluster is used
* r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.Jeremy Allison2007-10-101-1/+5
| | | | Jeremy.
* r23576: Fix some confusion between HAVE_BROKEN_GETGROUPS and USE_BSD_SETGROUPS.James Peach2007-10-101-4/+4
|
* r23572: Ensure we obey Unicode consortium restrictions. CodeJeremy Allison2007-10-101-15/+22
| | | | | based on patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>. Jeremy.
* r23569: Also dump fd_event in dump_event_list().Günther Deschner2007-10-101-1/+10
| | | | Guenther
* r23566: Fix the sys_bsd_setgroups function. The actual workaround was inactive.Michael Adam2007-10-101-3/+1
| | | | Michael
* r23562: Add dump_event_list() for debugging the event list.Günther Deschner2007-10-101-0/+24
| | | | Guenther
* r23550: Add more UNIX error -> NT status mappings.Jeremy Allison2007-10-101-0/+25
| | | | Jeremy.
* r23528: Two changes to make the valgrind massif (heap profiler) output readable:Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | | | | Remove the allocated inbuf/output. In async I/O we copy the buffers explicitly now, so NewInBuffer is called exactly once. This does not reduce memory footprint, but removes one of the larger chunks that clobber the rest of the massif output In getgroups_unix_user on Linux 2.6 we allocated 64k groups x 4 bytes per group x 2 (once in the routine itself and once in libc) = 512k just to throw it away directly again. This reduces it do a more typical limit of 32 groups per user. We certainly cope with overflow fine if 32 is not enough. Not 100% sure about this one, a DEVELOPER only thing?
* r23518: Remove the silly assumption that string_replace requires a pstring.Volker Lendecke2007-10-101-19/+44
| | | | | | | | Jeremy, I am always very confused about the different length arguments in convert_string and friends. Can you take a look at the change in string_replace and verify it's ok? Thanks! While at it, remove the pstring limit for strhasupper and strhaslower.
* r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach2007-10-108-31/+28
| | | | failed expression in SMB_ASSERT.
* r23507: Split one general function normalize_dbkey from reg_db.c into util_reg.cMichael Adam2007-10-101-0/+7
| | | | | | (To be used in other place in subsequent commit.) Michael
* r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam2007-10-106-602/+828
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activation of global registry options in loadparm.c, mainly to extract functionality from net_conf.c to be made availabel elsewhere and to minimize linker dependencies. In detail: * move functions registry_push/pull_value from lib/util_reg.c to new file lib/util_reg_api.c * create a fake user token consisting of builtin administrators sid and se_disk_operators privilege by hand instead of using get_root_nt_token() to minimize linker deps for bin/net. + new function registry_create_admin_token() in new lib/util_reg_smbconf.c + move dup_nt_token from auth/token_util.c to new file lib/util_nttoken.c + adapt net_conf.c and Makefile.in accordingly. * split lib/profiles.c into two parts: new file lib/profiles_basic.c takes all the low level mask manipulation and format conversion functions (se_priv, privset, luid). the privs array is completely hidden from profiles.c by adding some access-functions. some mask-functions are not static anymore. Generally, SID- and LUID-related stuff that has more dependencies is kept in lib/profiles.c * Move initialization of regdb from net_conf.c into a function registry_init_regdb() in lib/util_reg_smbconf.c. Michael
* r23475: Fix the prototype for sys_broken_setgroups and log *BSD group listJames Peach2007-10-101-2/+2
| | | | truncation a bit more verbosely.
* r23470: Fix supplementary group list truncation for *BSD. We need to passJames Peach2007-10-101-2/+8
| | | | | the correct group list length and only truncate to NGROUPS_MAX if it is too long.
* r23411: We were missing displayName and that was preventing usSimo Sorce2007-10-101-0/+1
| | | | | | | | from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-10-108-12/+2135
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23408: Remove a bogus commentVolker Lendecke2007-10-101-1/+0
|
* r23393: Support BSD group semantics by making sure that the effective GID is ↵James Peach2007-10-102-26/+102
| | | | | | always passed as the first GID when calling setgroups(2).
* r23371: Fix the misleading comment I added - it really *should*Jeremy Allison2007-10-101-2/+2
| | | | | | say "locks chain and returned record", not "and returns record" Jeremy.
* r23370: Traverse in tdb wasn't consistently using theJeremy Allison2007-10-101-8/+10
| | | | | | | | | | | | travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy.