[Samba] Address family not supported by protocol

Stéphane PURNELLE stephane.purnelle at corman.be
Wed Oct 9 01:42:56 MDT 2013


I have the same message

regards

        Stéphane

-----------------------------------
Stéphane PURNELLE                         Admin. Systèmes et Réseaux 
Service Informatique       Corman S.A.           Tel : 00 32 (0)87/342467

samba-bounces at lists.samba.org wrote on 08/10/2013 22:18:00:

> De : Thiago Fernandes Crepaldi <tognado at gmail.com>
> A : samba <samba at lists.samba.org>, 
> Date : 08/10/2013 22:19
> Objet : [Samba] Address family not supported by protocol
> Envoyé par : samba-bounces at lists.samba.org
> 
> I've compile a Samba 4.0.9 for x86_64 with the following options:
> 
> CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -march=atom -O2 -pipe -fomit-frame-pointer" \
> samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
> samba_cv_HAVE_IFACE_IFCONF=yes \
> samba_cv_HAVE_IFACE_IFREQ=yes \
> ac_cv_have_setresuid=yes \
> ac_cv_have_setresgid=yes \
> ac_cv_file__proc_sys_kernel_core_pattern=yes \
> samba_cv_USE_SETRESUID=yes \
> samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
> samba_cv_HAVE_WRFILE_KEYTAB=yes \
> samba_cv_HAVE_OFF64_T=yes \
> samba_cv_have_longlong=yes \
> samba_cv_HAVE_MMAP=yes \
> samba_cv_HAVE_INO64_T=yes \
> samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
> smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=no \
> smb_krb5_cv_enctype_to_string_takes_size_t_arg=yes \
> ./configure \
>         --without-pie \
>         --disable-cups \
>         --disable-iprint \
>         --with-configdir=/etc/samba \
>         --with-logfilebase=/tmp/samba \
>         --with-lockdir=/tmp/samba \
>         --with-piddir=/tmp/samba \
>         --with-privatedir=/etc/samba/private \
>         --with-sendfile-support \
>         --with-ldap \
>         --with-ads \
>         --with-pam \
>         --with-pammodulesdir=/lib/x86_64-linux-gnu/security \
>         --with-pam_smbpass \
>         --with-winbind \
>         --with-acl-support \
>         --with-automount \
>         --enable-pthreadpool \
>         --with-dnsupdate \
>         --with-shared-modules=idmap_ad,idmap_rid \
>         --localstatedir=/var \
>         --with-libiconv=/usr \
>         --with-cachedir=/mnt/system/samba/system \
>         --prefix=/usr/local/samba \
>         --without-ad-dc \
>         --without-swat \
>         --without-quotas \
>         --with-aio-support \
>         --fail-immediately \
>         --jobs=8
> 
> After joining samba on a AD environment, I am not able to list 
users/groups
> domains. I changed Log Level =2 and got this weird "Address family not
> supported by protocol" error on *log.smbd*
> 
> [2013/10/08 11:49:55,  0] ../source3/smbd/server.c:1201(main)
>   smbd version 4.0.9 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2012
> [2013/10/08 11:49:55.136632,  0] ../source3/smbd/server.c:1281(main)
>   standard input is not a socket, assuming -D option
> [2013/10/08 11:49:55.763906,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 11:49:55.765678,  0]
> ../source3/lib/util_sock.c:423(open_socket_in)
>   open_socket_in(): socket() call failed: Address family not supported 
by
> protocol
> [2013/10/08 11:49:55.765901,  0]
> ../source3/smbd/server.c:685(smbd_open_one_socket)
>   smbd_open_once_socket: open_socket_in: Address family not supported by
> protocol
> [2013/10/08 11:49:55.768391,  0]
> ../source3/lib/util_sock.c:423(open_socket_in)
>   open_socket_in(): socket() call failed: Address family not supported 
by
> protocol
> [2013/10/08 11:49:55.768565,  0]
> ../source3/smbd/server.c:685(smbd_open_one_socket)
>   smbd_open_once_socket: open_socket_in: Address family not supported by
> protocol
> [2013/10/08 11:50:56.374475,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 12:03:57.631802,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 12:16:58.867944,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 12:29:59.868909,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 12:43:01.144145,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 12:56:02.329592,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> [2013/10/08 13:09:03.247922,  0]
> ../source3/printing/print_standard.c:68(std_pcap_cache_reload)
>   Unable to open printcap file lpstat for read!
> 
> At log.winbindd I got:
> 
> [2013/10/08 13:12:18,  0] ../source3/winbindd/winbindd.c:1409(main)
>   winbindd version 4.0.9 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2012
> [2013/10/08 13:12:18,  2]
> ../source3/lib/tallocmsg.c:124(register_msg_pool_usage)
>   Registered MSG_REQ_POOL_USAGE
> [2013/10/08 13:12:18,  2]
> ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
>   Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> [2013/10/08 13:12:18.895808,  2]
> ../source3/param/loadparm.c:544(max_open_files)
>   rlimit_max: increasing rlimit_max (4096) to minimum Windows limit 
(16384)
> [2013/10/08 13:12:18.896176,  1]
> ../source3/param/loadparm.c:3156(lp_do_parameter)
>   WARNING: The "idmap backend" option is deprecated
> [2013/10/08 13:12:18.896355,  1]
> ../source3/param/loadparm.c:3156(lp_do_parameter)
>   WARNING: The "idmap uid" option is deprecated
> [2013/10/08 13:12:18.896521,  1]
> ../source3/param/loadparm.c:3156(lp_do_parameter)
>   WARNING: The "idmap gid" option is deprecated
> [2013/10/08 13:12:18.897759,  2]
> ../source3/lib/interface.c:341(add_interface)
>   added interface eth1 ip=10.39.17.34 bcast=10.39.17.255
> netmask=255.255.255.0
> [2013/10/08 13:12:18.898180,  2]
> ../source3/lib/interface.c:341(add_interface)
>   added interface eth1 ip=10.39.17.34 bcast=10.39.17.255
> netmask=255.255.255.0
> [2013/10/08 13:12:18.907458,  1]
> ../source3/lib/tdb_validate.c:480(tdb_validate_and_backup)
>   tdb '/var/locks/winbindd_cache.tdb' is valid
> [2013/10/08 13:12:18.908793,  1]
> ../source3/lib/tdb_validate.c:490(tdb_validate_and_backup)
>   Created backup '/var/locks/winbindd_cache.tdb.bak' of tdb
> '/var/locks/winbindd_cache.tdb'
> [2013/10/08 13:12:18.910240,  2]
> ../source3/winbindd/winbindd_util.c:233(add_trusted_domain)
>   Added domain BUILTIN  S-1-5-32
> [2013/10/08 13:12:18.910710,  2]
> ../source3/winbindd/winbindd_util.c:233(add_trusted_domain)
>   Added domain PX6-300D-2  S-1-5-21-708518427-1519073636-3845024023
> [2013/10/08 13:12:18.911045,  2]
> ../source3/winbindd/winbindd_util.c:233(add_trusted_domain)
>   Added domain DISNEY DISNEY.LLTEST.TPA-ELD.LOCALDOMAIN
> S-1-5-21-4076496208-838745998-1713212659
> [2013/10/08 13:12:21.055469,  2]
> ../source3/winbindd/winbindd_util.c:233(add_trusted_domain)
>   Added domain WARNER warner.lltest.tpa-eld.localdomain
> S-1-5-21-1979576062-4034259065-1511044526
> 
> Any ideas on why that error occurred ? I compiled samba 4 many times
> successfully in the last months
> 
> -- 
> Thiago Crepaldi
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list