r12804: This patch reworks the Samba4 sockets layer to use a socket_address
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 Jan 2006 22:12:53 +0000 (22:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:57 +0000 (13:49 -0500)
commitf55ea8bb3dca868e21663cd90eaea7a35cd7886c
tree80aab2a3f10310e1946821603752cd407e435214
parent806b3fdbc12b3284ab9872a4ecae3a7ee34ea171
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
68 files changed:
source4/auth/auth.h
source4/auth/gensec/gensec.c
source4/auth/gensec/gensec.h
source4/auth/gensec/gensec_krb5.c
source4/auth/kerberos/config.mk
source4/auth/kerberos/krb5_init_context.c
source4/auth/ntlmssp/ntlmssp_server.c
source4/cldap_server/cldap_server.c
source4/cldap_server/netlogon.c
source4/include/structs.h
source4/kdc/kdc.c
source4/kdc/kdc.h
source4/kdc/kpasswdd.c
source4/ldap_server/ldap_server.c
source4/lib/messaging/messaging.c
source4/lib/socket/access.c
source4/lib/socket/connect.c
source4/lib/socket/connect_multi.c
source4/lib/socket/socket.c
source4/lib/socket/socket.h
source4/lib/socket/socket_ipv4.c
source4/lib/socket/socket_ipv6.c
source4/lib/socket/socket_unix.c
source4/libcli/cldap/cldap.c
source4/libcli/cldap/cldap.h
source4/libcli/dgram/browse.c
source4/libcli/dgram/dgramsocket.c
source4/libcli/dgram/libdgram.h
source4/libcli/dgram/mailslot.c
source4/libcli/dgram/netlogon.c
source4/libcli/dgram/ntlogon.c
source4/libcli/nbt/libnbt.h
source4/libcli/nbt/namequery.c
source4/libcli/nbt/namerefresh.c
source4/libcli/nbt/nameregister.c
source4/libcli/nbt/namerelease.c
source4/libcli/nbt/nbtsocket.c
source4/libcli/wrepl/winsrepl.c
source4/librpc/rpc/dcerpc_sock.c
source4/nbt_server/defense.c
source4/nbt_server/dgram/browse.c
source4/nbt_server/dgram/netlogon.c
source4/nbt_server/dgram/ntlogon.c
source4/nbt_server/dgram/request.c
source4/nbt_server/interfaces.c
source4/nbt_server/irpc.c
source4/nbt_server/nodestatus.c
source4/nbt_server/packet.c
source4/nbt_server/query.c
source4/nbt_server/wins/wins_dns_proxy.c
source4/nbt_server/wins/winsserver.c
source4/rpc_server/spoolss/dcesrv_spoolss.c
source4/scripting/ejs/smbcalls_auth.c
source4/smb_server/management.c
source4/smb_server/smb/sesssetup.c
source4/smb_server/tcon.c
source4/smbd/service_stream.c
source4/torture/local/messaging.c
source4/torture/local/socket.c
source4/torture/nbt/dgram.c
source4/torture/nbt/register.c
source4/torture/nbt/wins.c
source4/torture/nbt/winsbench.c
source4/torture/nbt/winsreplication.c
source4/utils/nmblookup.c
source4/web_server/http.c
source4/wrepl_server/wrepl_in_call.c
source4/wrepl_server/wrepl_in_connection.c