summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-13Fix a segfault with an unknown interfaceVolker Lendecke1-1/+7
"interfaces = foo" with "foo" not being a known interface segfaulted for me. (This used to be commit 556c33702ce6d6c7cde43ddfe965c78ebc2963d3)
2007-10-13Also find loopback interfacesVolker Lendecke1-1/+1
Not sure if a loopback interface is actually a broadcast one. (This used to be commit 76d8dedc368ecb1594780ce58ffee2a35a6f4f73)
2007-10-12Dummy formatting commit to check I've set up my home gitJeremy Allison1-1/+2
correctly. (This used to be commit a1166e9e651f4acdcf7926c5d8e9cf0c9108fe71)
2007-10-12Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()Jeremy Allison1-55/+112
lefto to do then I can fix the lib/access.c functions. Jeremy. (This used to be commit 3403c6c330b886c86d6d856c3ffc13b043fd6fc1)
2007-10-12offsetof() is always present as shown in someStefan Metzmacher1-4/+0
libreplace testing. metze (This used to be commit 4f084efd6ac39a8347d5cfc73b727940e40150cf)
2007-10-11Try and fix segfault found by Guenther on Fedora. FedoraJeremy Allison1-2/+5
seems to return bogus values for the interface entries on vmnet and tun interfaces. Jeremy. (This used to be commit 12c0b1d82802ccd1b272a8b47ddb7d258e10477c)
2007-10-11Add const to the get_peer_addr() and get_socket_addr()Jeremy Allison1-15/+16
calls. Use the IPv6 varient for get_peer_addr(). Jeremy. (This used to be commit baf1f52e34ae2465a7a34be1065da29ed97e7bea)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison6-506/+1112
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-2/+39
SAMBA_3_2_0 (This used to be commit 3f1ac564c0ab6d498a47da84b4b5744d8d376f3b)
2007-10-10Merge from metze of libreplace header changesJeremy Allison2-6/+12
(This used to be commit d39ce8e37ed81f4a34a148f975874989d8d187a1)
2007-10-11Display ace_objects in security descriptors.Guenther Deschner1-2/+39
Guenther (This used to be commit 5fa3fc81b765f1d9682170de13d2e10994fdd889)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter9-340/+40
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25587: Fix getaddrinfo detection code. From Timur.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 3824a10fbcc3e061d569b0f74501ce97ec0a4414)
2007-10-10r25575: Document S-1-5-12 (restriced code sid).Günther Deschner1-1/+7
Guenther (This used to be commit 109b09edef4bcad06c3b850edf7db74419c3ad78)
2007-10-10r25565: Fix unintended consequence change for IPv6 noticedJeremy Allison1-1/+6
by Volker. We used to return 0.0.0.0 for the text address of an uninitialized socket - ensure we still do so. Once uninitialized address is as good as any other. Jeremy. (This used to be commit 2827bbe0f853d413b6fcb0eb676048c041cea713)
2007-10-10r25564: Pass sharename to delete_share_security()Volker Lendecke1-6/+8
(This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)
2007-10-10r25561: Make use of [un]marshall_sec_descVolker Lendecke1-40/+51
Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
2007-10-10r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent ↵Jeremy Allison1-0/+2
problems with libroken." Jeremy. (This used to be commit 3cd783e3a51c0f9e514f0702531b40bf9776e61a)
2007-10-10r25557: merge libreplace fixes from samba4Jelmer Vernooij4-6/+46
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
2007-10-10r25534: Apply some constVolker Lendecke3-3/+3
Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
2007-10-10r25510: Now we're returning the port instead of using a global,Jeremy Allison1-2/+2
remember to use ntohs. Hopefully will fix the build farm. Jeremy. (This used to be commit 5174acccb589edbfbe4ba633f4178f7200d7d6c4)
2007-10-10r25508: Reformatting.Jeremy Allison1-55/+69
Jeremy. (This used to be commit b412ba6fb3e526f5cd83e6cabd952ad7c303c346)
2007-10-10r25507: Fix definition of struct sockaddr_storage ifJeremy Allison1-0/+5
struct sockaddr_in6 is defined. Jeremy. (This used to be commit 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)
2007-10-10r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfoJeremy Allison6-13/+679
under the 2 clause *BSD license for future use in IPv6 code. Original code was from PostgreSQL and I've maintained their license even though I've rewritten large parts of it (I probably should donate this back to them). Jeremy. (This used to be commit 760d993340a966269d71acfb7a6b5e4d3776ac5d)
2007-10-10r25495: Fixup definitions for missing sockaddr_storage.Jeremy Allison1-1/+2
Jeremy. (This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)
2007-10-10r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal withJeremy Allison1-54/+73
the ripple effects this causes. utmp has to change etc. Remove some global varables and store address/port in the unexpected db. Jeremy. (This used to be commit 18c6a2211d9e25233d01715b3f78977edcd6d869)
2007-10-10r25487: Try fix the build - fix socklen_t and sa_family_t.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 2cab82563409eca79ac5f518a3dcb8cdbdcded7e)
2007-10-10r25476: Finally fix up new interface detection code :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit fffdad52859b5a8bc5dd61912d80b93e8c030c8f)
2007-10-10r25475: Fix braindead mistakes I made pointed out by Simo andJeremy Allison1-2/+6
James (how did this compile ? :-). Jeremy. (This used to be commit ae8efc60aa1ddff795d16b1fb1bfe8cc392f49b3)
2007-10-10r25474: Try and fix the build on Mac OS X 10.4.9.Jeremy Allison1-0/+4
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
2007-10-10r25473: Reformatting only. Prepare for new ip functions.Jeremy Allison1-254/+240
Jeremy. (This used to be commit 2a8f3dd55074eeb3d96a1b478981780651bbe88b)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison5-67/+183
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.Jeremy Allison6-4/+426
Jeremy. (This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0)
2007-10-10r25434: Add the option to print the debug class (DBGC_CLASS) in the debug ↵Michael Adam1-1/+10
header. Control this by a new boolean smb.conf option "debug class" which is by default set to "no" to keep the default debug header unchanged. Michael Note: You need to make clean for this patch. (This used to be commit 066a46ba91ca734d9e20cb9d6db36fec209a27d7)
2007-10-10r25424: Align log level (by two) in debugging output.Michael Adam1-1/+1
Michael (This used to be commit 9265b3cde25208884a8d3a9c42461d1c6e6fc353)
2007-10-10r25417: Use DBGC_REGISTRY class.Günther Deschner3-0/+9
Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
2007-10-10r25416: Add registry debug class.Günther Deschner1-0/+1
Guenther (This used to be commit b28dd747cb5a3d0eee865076eb4733dc123a6968)
2007-10-10r25396: Very obvious fix from Martin Zielinski.Günther Deschner1-0/+1
Guenther (This used to be commit 1f0d05807b7fe31cc4be59c7a2e850c9ec3e3864)
2007-10-10r25326: Free the context from the talloc_stackframe.Günther Deschner1-2/+5
Guenther (This used to be commit 0719835c4d979c91d11b139e5b424b5e0dc2a2c2)
2007-10-10r25323: Fix the buildVolker Lendecke1-1/+1
(This used to be commit e55b30ab8417cb36def8e4d8b8f6ba16b4e664c1)
2007-10-10r25277: Belt-and-braces approach to Volker's fix for RPC-SAMBA3-GETUSERNAME.Jeremy Allison1-4/+7
If we promise dest is null terminated, ensure we do it even on fast path exits. Jeremy. (This used to be commit 32626e2b9770eb6b15c191a8feb881f81ed6c57a)
2007-10-10r25274: Attempt to fix RPC-SAMBA3-GETUSERNAMEVolker Lendecke1-2/+2
(This used to be commit f6f64cf0b51f2fb841bd1c0f800c66114c213577)
2007-10-10r25258: Fix a panic message and remove superfluous return after the call to ↵Michael Adam1-2/+1
smb_panic(). Michael (This used to be commit 8b5c34b7d141c44d65622f44f9432723230cea47)
2007-10-10r25257: When dumping eventlist, display full timestring.Günther Deschner1-2/+3
Guenther (This used to be commit 38eca60913f513accb24b31dcb6d1d7e92b0ba66)
2007-10-10r25252: move macro defines to the end of replace.hStefan Metzmacher1-32/+35
and move the include location sys/param.h before we redefine missing macros metze (This used to be commit 862046028c3c61adf6da2effac91abf3c763635d)
2007-10-10r25238: Make the error returns from the string functionsJeremy Allison1-20/+20
always consistent. Return -1 on error, and ensure we check for this. In cases where the dest is already specified and we've been asked to terminate with a null, ensure we always do so even on error. Jeremy. (This used to be commit abedd967869ade9a43c3a8e1b889c60d4aca81cf)
2007-10-10r25232: sync lib/replace with SAMBA_4_0Stefan Metzmacher7-24/+13
metze (This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
2007-10-10r25230: sync lib/talloc with SAMBA_4_0Stefan Metzmacher4-125/+184
metze (This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
2007-10-10r25222: Fix last assumptions that (size_t)-1 can be usedJeremy Allison1-18/+36
as a special dest_len of sizeof(pstring). Jeremy. (This used to be commit 9fc14c83cc5e3a360464c33e26b1073db63763d7)
2007-10-10r25199: Remove pstring from strdup_upper - make it theJeremy Allison1-14/+31
same as talloc_strdup_upper. Jeremy. (This used to be commit db1b6293771755f20660b071aac0284638dbed46)