summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2001-05-15Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison1-1/+5
We will need this when we use finer grained locking for max connections. Jeremy. (This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-12string_hash() should be static. hash_clear() should be void.Jeremy Allison1-6/+4
Jeremy. (This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-11Added talloc_strdup() funcion.Tim Potter1-0/+6
(This used to be commit eea43a5a916eb7f4bef6817ce0aa8051f9145b18)
2001-05-10Needs to be >=, not just >.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604)
2001-05-10Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow ↵Jeremy Allison1-3/+5
<rain@bluecherry.net>. Jeremy. (This used to be commit df2e306171f0a71af77dbaafc7ccbf78e27befb8)
2001-05-10Added sid_peek_rid() function to return the rid of a sid. Saves muckingTim Potter1-0/+13
around with copying a sid to a temporary variable and using sid_split_rid(). (This used to be commit 9ee43d61be1284b72fd04054c44545847c73120f)
2001-05-10Bumped up debug level on set socket options from 3 to 5.Tim Potter1-2/+2
(This used to be commit f0b8ff4eeb3f276c37d062dbd25f7c8b0a02d593)
2001-05-07Hey what happened to my debug messages? Early exit from reopen_logs()Tim Potter1-0/+11
if using stdout_logging. (This used to be commit 831b0983bd799fd73de18921f09991a1647ec482)
2001-05-07removed need for scandir in client.cAndrew Tridgell1-1/+3
fixed possible bug with readdirname on systems with NAMELEN != strlen (This used to be commit 78f448b7d4b83f569d27e0abf6b1759c43ff21f3)
2001-05-07Preliminary merge of winbind into HEAD. Note that this compiles and linksTim Potter1-21/+0
but I haven't actually run it yet so it probably doesn't work. (-: (This used to be commit 59f95416b66db6df05289bde224de29c721978e5)
2001-05-07fix interfaces.c for aix 3.2.5Andrew Tridgell1-2/+0
(This used to be commit a69532ffde761453f3d9189be2fbf1036c2ed196)
2001-05-07Some versions of readline don't have rl_completion_func_t. )-:Tim Potter1-2/+1
Spotted by http://build.samba.org/ (This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)
2001-05-07Fixed compiler warning.Tim Potter1-1/+2
(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
2001-05-06replace modf so we don't need the math libraryAndrew Tridgell1-4/+39
(This used to be commit 79c0d24a3092098d3d8e58ebe07cf61db7d898e5)
2001-05-03Merging Gerald's PDC SAM name fix.Jeremy Allison1-13/+76
Jeremy. (This used to be commit d31799850440c6c2267a4edb217d447df75aab5a)
2001-05-02Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison1-5/+5
the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. (This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-04-30Fixed password entry caching bug pointed out by Elrond.Jeremy Allison1-14/+25
Jeremy. (This used to be commit dc31b47deda188cb88288a8f33dc09faed9b2c41)
2001-04-28don't need slprintf.c any moreAndrew Tridgell1-24/+0
(This used to be commit 025285e179924024f069a31a65b124bd45a249af)
2001-04-28- added test for vasprintfAndrew Tridgell3-122/+17
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28got asprintf defn rightAndrew Tridgell1-11/+12
(This used to be commit 531ab0917004cc1dbbdc4a2b6b8d41f354dd2da7)
2001-04-28few cleanups to bring in line with 2.2Gerald Carter1-1/+0
(This used to be commit 0feaac00a1847af41464d4ce35821ff851cded9c)
2001-04-27More debug %d -> %u issues.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
2001-04-27More %d (uid_t) stuff...Jeremy Allison1-3/+3
Jeremy. (This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)
2001-04-27Don't use variables called "acl" as it's the name of a function in Solaris.Jeremy Allison1-13/+13
Jeremy. (This used to be commit 277eb517e25eb3910057336b2bee18875dffe6cc)
2001-04-27added much better snprintf code, plus new function asprintfAndrew Tridgell1-734/+714
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)
2001-04-25Fixed %U and %D substitutions. %U is lowercase user name, %D is uppercaseJeremy Allison1-2/+12
domain name. Jeremy. (This used to be commit 5f005952f6d8c281cf91ac0855e83342a2fd7e45)
2001-04-21Fix proto's in old code.Jeremy Allison1-21/+9
Jeremy. (This used to be commit 86c7c654effcfb86c99daac63e68844e1a4aaf56)
2001-04-20merge from 2.2Gerald Carter1-1/+1
(This used to be commit f87f3707f3d5f205d0287381d71380264a711666)
2001-04-19merge from 2.2Gerald Carter1-2/+2
(This used to be commit 79f4c4ad74149f4b1a8a5a82d8ca8d2474a23ab3)
2001-04-18Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison1-39/+4
Jeremy. (This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
2001-04-17Merged Andrew's wfw fix (2).Jeremy Allison1-2/+5
Jeremy. (This used to be commit a4fb755a48d27f21bd0a5d9e9d1227a08c13bdff)
2001-04-17AIX ACLs donated by IBM.Jeremy Allison2-4/+988
Merge Andrew's fnmatch fix for WfW. Jeremy. (This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
2001-04-15Added Darwin guess.Jeremy Allison1-88/+93
lib/util_str.c: Excellent patch from Kenichi Okuyama <okuyamak@dd.iij4u.or.jp> to speed up trim_string handling ! Jeremy. (This used to be commit 4bb63ba615c735a298a6cbda2c87242695104978)
2001-04-14Removed one samba-bugs ref. from source.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d40ee1707d1d3cf04358bca7fad16ebc15bd4845)
2001-04-14Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison1-0/+9
a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy. (This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)
2001-04-13Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison1-0/+28
return a malloced area so added sys_acl_free_qualifier() calls to all supported ACL interfaces to code with this (only Linux needs actual free call). Jeremy. (This used to be commit 5870e6019b82d2088b99acdc0f84e9e4847a1fa5)
2001-04-13Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hardJeremy Allison1-0/+24
limit before setting soft limit. Jeremy. (This used to be commit a1eb2752a8bee9cc7d92c664c3de84e02620933d)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison2-7/+5
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-13As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison3-77/+96
be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
2001-04-12Can't use space in random string used for exec.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8ab1d5663e6b25bc101cd388ef6c312ddb88b988)
2001-04-12Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison1-0/+24
exist for printer. Rather than using pid for suffix, use a 16 byte random string. Created generate_random_str() function in genrand.c. Still needs more testing but this is the way to go. Jeremy. (This used to be commit 71a330987f990007beb16f00fc468107361b5e9d)
2001-04-12Merged John's changes.Jeremy Allison1-3/+3
Jeremy. (This used to be commit add847778bf458238bf2a1b14ab71b8cdfd7aec0)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison3-2/+15
Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
2001-04-11Changed the order of -kPIC and -kpic.Jeremy Allison1-4/+6
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. (This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)
2001-04-10Fixed --with-automount compile error.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison6-7/+7
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-04-06If we can't open the username map file, at least print the strerror.Jeremy Allison1-1/+1
Jeremy. (This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee)
2001-04-05Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison2-560/+52
Jeremy. (This used to be commit ffa800e980bfed3d82ec7b0a037085c4558f8f0f)
2001-04-05Tidy up tmp file handling.Jeremy Allison1-7/+2
Jeremy. (This used to be commit 1751a6316af91d5d2e31c3a7e8de2841aae033c7)
2001-04-03Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison1-0/+214
Jeremy. (This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)