summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2001-07-03fixed socketpair_tcp for OpenBSDAndrew Tridgell1-4/+9
(This used to be commit d99ce6a5e3455ed38ca3c1ac676b5048edf8c706)
2001-07-03- sorry, forgot to check a pointerSimo Sorce1-3/+5
(This used to be commit 4e0299d4c091bc4a63740f12588675507601e8cd)
2001-07-02Made talloc_realloc() semantics match realloc(). JF was complaining :-).Jeremy Allison1-0/+8
realloc(NULL) == malloc. realloc(p,0) == free() - a no-op in talloc. Jeremy. (This used to be commit 1ab31e5db53bc839d2785cce4d3c739c8004bbf6)
2001-07-01"netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce1-5/+5
(This used to be commit db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison1-0/+28
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-06-29Replaced memcpy() with memmove() to make safe_strcpy() safe for overlappingTim Potter1-1/+1
source and destination. (This used to be commit 30411d4004ce7062e73506d228ef402b99226eee)
2001-06-27Syncup between 2.2 and HEAD.Jeremy Allison1-17/+16
Jeremy. (This used to be commit 39d4131a4571c9c7a96bdc2f6cd6be80a6c330af)
2001-06-27on sco2 socketpair_tcp needs a bindAndrew Tridgell1-0/+9
(This used to be commit d8e5409ebb883844d9a1abc9840af1809957a444)
2001-06-27handle EISCONN in socketpair_tcpAndrew Tridgell1-1/+2
this should get the auto-tests working on IRIX (This used to be commit 87f90d48d857828a6ed12bdc58d0d881be45dfce)
2001-06-25Ensure numeric group or user names don't get misinterpreted.Jeremy Allison1-4/+8
Jeremy. (This used to be commit e88da9dcc79801028127bcbe328af001b58e653a)
2001-06-25make sure we have BOOL in autoconf usage of util_sec.cAndrew Tridgell1-0/+1
(This used to be commit 72f63f5144ececdef31c659ab645eb71a88943b5)
2001-06-25- make the regresison test mode code build in by default. This shouldAndrew Tridgell2-30/+53
allow us to have test targets without special configure options - fixed make proto so that it actually does something (This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
2001-06-23fix compiler warningsSimo Sorce1-3/+0
(This used to be commit 7420e2f7898f1d141ba2af3eda07a67862fee842)
2001-06-23Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison2-6/+14
fix for the problem. Jeremy. (This used to be commit e059fffd03a1382fb2b7059b6de369d9fc765a17)
2001-06-22Fix for race condition found by Herb where we can end up with a NULL dbf.Jeremy Allison1-8/+0
Jeremy. (This used to be commit 5cbb2106735ad0533198a83d62541cabd7beed20)
2001-06-22added the ability to test smbd safely as an ordinary user. The way it works isAndrew Tridgell2-0/+85
that libsmb/ creates a local tcp socket then launches smbd as a subprocess attached to that socket. smbd thinks it is being launched from inetd. to use it do the following: - compile with -DSMB_REGRESSION_TEST - run like this (also works with smbtorture etc) export SMBD_TEST=1 export LIBSMB_PROG=bin/smbd smbclient //server/share -Uuser%pass obviously you need to setup a smb.conf etc. Using --prefix to configure is useful. The aim of all this stuff is to add a decent set of regression tests to the build farm, so we know if smbd actually runs correctly on all the platforms, not just builds. We can run smbtorture, masktest, locktest etc, plus a bunch of smbclient scripts and any new tests we write. This doesn't help much with nmbd (at least not yet) but its a good start. (This used to be commit 7e8e6ae9a88c4d2587eb4e7f0501cd71bd36ebb2)
2001-06-22Spelling fix.Tim Potter1-1/+1
(This used to be commit 5f4889beb9311fd3912c3dfccf18fc9ab22b964c)
2001-06-22the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell1-7/+1
no way of telling if the call really failed (This used to be commit 7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell4-210/+75
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-43/+23
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison1-219/+0
generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. (This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)
2001-06-18Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitiveTim Potter2-69/+8
and the use of this function only increased timeouts when Samba queries a broken DNS server. (This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
2001-06-12Fix from TAKAHASHI Motonobu <monyo@samba.gr.jp> for multibyte conversionJeremy Allison1-30/+16
problems. Jeremy. (This used to be commit 24eea8a309ff0151277b9537a5c00321041e70d3)
2001-06-12lib/util_getent.c: removed debug code.Jeremy Allison1-5/+2
smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy. (This used to be commit d989f8bd3e1524183a24fb67be1af05b3289f648)
2001-06-11Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........Jeremy Allison1-16/+47
Jeremy. (This used to be commit e0f88cabfc5ef480e7f8a7fecd2d12a1b4371a2a)
2001-06-09Fixed typo in Solaris and UnixWare ACLs.Jeremy Allison1-1/+1
Jeremy. (This used to be commit bd750def132d9a787728dc35c68df9166a15fbd7)
2001-06-09*Wonderful* patch from Andrew Bartlett that will help ensure tdb's areJeremy Allison1-45/+19
cleaned on clients abending connections. Thanks Andrew ! Jeremy. (This used to be commit 1b3977c5367a0b713b194f369abd9872ae01ac2a)
2001-06-08Herb's IRIX fix for deleting default ACLs.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 81b5a628d1471f71964b21817b9bec1ac80585c4)
2001-06-08AIX has no default acls.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 5853f1dc423a25276dafe7f3d284db534bfb41ff)
2001-06-08Added sys_acl_delete_def_file for UnixWare and Solaris fromJeremy Allison1-19/+56
Michael Davidson <michael_davidson@pacbell.net>. Jeremy. (This used to be commit 5668512ffa608810be0622832c9dbc7a2fda5a8f)
2001-06-08Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.Jeremy Allison1-7/+19
Will add changes for other supported ACL systems shortly (Herb, I may need help with the IRIX one). Jeremy. (This used to be commit a8532b193d1fe123155a69dd70e433f8fc312bfc)
2001-06-06Changes to use new genrand code that got missed while I was in Japan.Jeremy Allison1-21/+0
Jeremy. (This used to be commit 5a15831b9ae79ce1ce34d5574fe5da114d184e45)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-06-01If a debug class was explicitly set to zero the debug system would notTim Potter1-14/+36
recognise it as there was no distinction made between zeroing a debug class and just not setting it to anything. I've added a debuglevel_isset array in parallel with the debuglevel_class array to fix this. Added a couple of new debug classes which I might start filling out to get smb, rpc header and rpc marshall/unmarshalling debugs tidied up. Fixed a bunch of cut&paste bugs in include/debug.h Modified smbcontrol and the messaging system debug handler to like the debuglevel_isset stuff. (This used to be commit 391e7caf76cbc22021629ef0ec5e0c32806edfd7)
2001-05-31Rename bzero -> memset.Jeremy Allison1-55/+81
Check returns from *all* mallocs (including strdups). Jeremy. (This used to be commit 6594a59263c9ec8f62d23f3aa1b56051eefc2f88)
2001-05-29Fixed compiler warning.Tim Potter1-2/+2
(This used to be commit adb61490af7bbd5f028892692bfe831af8c79f23)
2001-05-294 new functions to retrieve single linked list of group and passwd entriesSimo Sorce1-0/+185
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions (This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)
2001-05-24Fixup the large_writex problem (a large_writex can send a full 64k of data,Jeremy Allison1-24/+27
we already have space for this we just need to understand the length correctly). Jeremy. (This used to be commit 19145bae720bbcc32dcab380c62a33d1f0e3eef0)
2001-05-24Fix for random stream generator.Jeremy Allison1-168/+186
Jeremy. (This used to be commit b2867ddfa26ffbc94d022d88b849ef58fd1cc788)
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)