Jeremy Allison
3f6bd0e1ec
Add start of IPv6 implementation. Currently most of this is avoiding
...
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.
2007-10-10 18:25:16 -07:00
Jeremy Allison
3f1ac564c0
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into SAMBA_3_2_0
2007-10-10 17:56:55 -07:00
Jeremy Allison
d39ce8e37e
Merge from metze of libreplace header changes
2007-10-10 17:56:19 -07:00
Guenther Deschner
5fa3fc81b7
Display ace_objects in security descriptors.
...
Guenther
2007-10-11 02:25:44 +02:00
Gerald (Jerry) Carter
5c6c8e1fe9
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
2007-10-10 15:34:30 -05:00
Jeremy Allison
3824a10fbc
r25587: Fix getaddrinfo detection code. From Timur.
...
Jeremy.
2007-10-10 12:31:16 -05:00
Günther Deschner
109b09edef
r25575: Document S-1-5-12 (restriced code sid).
...
Guenther
2007-10-10 12:31:16 -05:00
Jeremy Allison
2827bbe0f8
r25565: Fix unintended consequence change for IPv6 noticed
...
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.
2007-10-10 12:31:14 -05:00
Volker Lendecke
d100bfffe2
r25564: Pass sharename to delete_share_security()
2007-10-10 12:31:13 -05:00
Volker Lendecke
4dc4364b68
r25561: Make use of [un]marshall_sec_desc
...
Minor cleanup only
2007-10-10 12:31:13 -05:00
Jeremy Allison
3cd783e3a5
r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken."
...
Jeremy.
2007-10-10 12:31:13 -05:00
Jelmer Vernooij
8c1669997c
r25557: merge libreplace fixes from samba4
2007-10-10 12:31:13 -05:00
Volker Lendecke
0141e64ad4
r25534: Apply some const
...
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...."
2007-10-10 12:31:12 -05:00
Jeremy Allison
5174acccb5
r25510: Now we're returning the port instead of using a global,
...
remember to use ntohs. Hopefully will fix the build farm.
Jeremy.
2007-10-10 12:31:11 -05:00
Jeremy Allison
b412ba6fb3
r25508: Reformatting.
...
Jeremy.
2007-10-10 12:31:11 -05:00
Jeremy Allison
4cf17df5ca
r25507: Fix definition of struct sockaddr_storage if
...
struct sockaddr_in6 is defined.
Jeremy.
2007-10-10 12:31:11 -05:00
Jeremy Allison
760d993340
r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
...
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.
2007-10-10 12:31:10 -05:00
Jeremy Allison
d980ee5040
r25495: Fixup definitions for missing sockaddr_storage.
...
Jeremy.
2007-10-10 12:31:10 -05:00
Jeremy Allison
18c6a2211d
r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal with
...
the ripple effects this causes. utmp has to change etc. Remove some
global varables and store address/port in the unexpected db.
Jeremy.
2007-10-10 12:31:09 -05:00
Jeremy Allison
2cab825634
r25487: Try fix the build - fix socklen_t and sa_family_t.
...
Jeremy.
2007-10-10 12:31:08 -05:00
Jeremy Allison
fffdad5285
r25476: Finally fix up new interface detection code :-).
...
Jeremy.
2007-10-10 12:31:07 -05:00
Jeremy Allison
ae8efc60aa
r25475: Fix braindead mistakes I made pointed out by Simo and
...
James (how did this compile ? :-).
Jeremy.
2007-10-10 12:31:07 -05:00
Jeremy Allison
f1b8c5de0a
r25474: Try and fix the build on Mac OS X 10.4.9.
...
Shuffle sa_family_t around.
Jeremy.
2007-10-10 12:31:06 -05:00
Jeremy Allison
2a8f3dd550
r25473: Reformatting only. Prepare for new ip functions.
...
Jeremy.
2007-10-10 12:31:06 -05:00
Jeremy Allison
327875182c
r25472: Fix the interfaces code to detect IPv6 interfaces, using the
...
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.
2007-10-10 12:31:06 -05:00
Jeremy Allison
1f71990544
r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.
...
Jeremy.
2007-10-10 12:31:06 -05:00
Michael Adam
066a46ba91
r25434: Add the option to print the debug class (DBGC_CLASS) in the debug 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.
2007-10-10 12:31:05 -05:00
Michael Adam
9265b3cde2
r25424: Align log level (by two) in debugging output.
...
Michael
2007-10-10 12:31:04 -05:00
Günther Deschner
43ca04918a
r25417: Use DBGC_REGISTRY class.
...
Guenther
2007-10-10 12:31:04 -05:00
Günther Deschner
b28dd747cb
r25416: Add registry debug class.
...
Guenther
2007-10-10 12:31:03 -05:00
Günther Deschner
1f0d05807b
r25396: Very obvious fix from Martin Zielinski.
...
Guenther
2007-10-10 12:31:02 -05:00
Günther Deschner
0719835c4d
r25326: Free the context from the talloc_stackframe.
...
Guenther
2007-10-10 12:31:00 -05:00
Volker Lendecke
e55b30ab84
r25323: Fix the build
2007-10-10 12:30:59 -05:00
Jeremy Allison
32626e2b97
r25277: Belt-and-braces approach to Volker's fix for RPC-SAMBA3-GETUSERNAME.
...
If we promise dest is null terminated, ensure we do it even on
fast path exits.
Jeremy.
2007-10-10 12:30:57 -05:00
Volker Lendecke
f6f64cf0b5
r25274: Attempt to fix RPC-SAMBA3-GETUSERNAME
2007-10-10 12:30:56 -05:00
Michael Adam
8b5c34b7d1
r25258: Fix a panic message and remove superfluous return after the call to smb_panic().
...
Michael
2007-10-10 12:30:55 -05:00
Günther Deschner
38eca60913
r25257: When dumping eventlist, display full timestring.
...
Guenther
2007-10-10 12:30:55 -05:00
Stefan Metzmacher
862046028c
r25252: move macro defines to the end of replace.h
...
and move the include location sys/param.h
before we redefine missing macros
metze
2007-10-10 12:30:55 -05:00
Jeremy Allison
abedd96786
r25238: Make the error returns from the string functions
...
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.
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
828d2ca061
r25232: sync lib/replace with SAMBA_4_0
...
metze
2007-10-10 12:30:52 -05:00
Stefan Metzmacher
84ebb6cac2
r25230: sync lib/talloc with SAMBA_4_0
...
metze
2007-10-10 12:30:52 -05:00
Jeremy Allison
9fc14c83cc
r25222: Fix last assumptions that (size_t)-1 can be used
...
as a special dest_len of sizeof(pstring).
Jeremy.
2007-10-10 12:30:51 -05:00
Jeremy Allison
db1b629377
r25199: Remove pstring from strdup_upper - make it the
...
same as talloc_strdup_upper.
Jeremy.
2007-10-10 12:30:51 -05:00
Jeremy Allison
8bb85f3f14
r25195: Fix issue with calling pull_uc2_*alloc with
...
str_len == 0. We should just return 0 in this
case.
Jeremy.
2007-10-10 12:30:50 -05:00
Volker Lendecke
b64df8a3c5
r25184: Fix some C++ warnings and an uninitialized variable
2007-10-10 12:30:49 -05:00
Jeremy Allison
6032fbc358
r25172: Remove commented out code we will never enable.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
4748d26397
r25171: More pstring removal.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
764574ee05
r25170: Remove pstring limits from ms_fnmatch and module load.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
2243a73d65
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
...
Jeremy.
2007-10-10 12:30:47 -05:00
Stefan Metzmacher
f41efe01b5
r25150: don't recursivly call call dump_core()
...
as currently seen in 'make test' localy and in the farm
metze
2007-10-10 12:30:45 -05:00