Displaying 20 results from an estimated 30 matches for "getifaddrs".
2009 Jan 29
1
Problem building Samba 3.3 on Solaris 10
...lib/talloc/talloc.o
abort lib/talloc/talloc.o
fgets lib/replace/getpass.o
fopen lib/replace/getpass.o
fputs lib/replace/getpass.o
ioctl lib/replace/getifaddrs.o
mkdir lib/replace/replace.o
sigemptyset lib/replace/getpass.o
__ctype lib/replace/snprintf.o
atexit lib/talloc/talloc.o
calloc lib/replace/getifaddrs.o
fclos...
2005 Mar 05
0
Compiling samba on Solaris 8 --with-ads
...;m pulling down the latest heimdal now, but I had to do a trick to get
even 0.6.3 to compile -- I had to close permissions to
/usr/include/gssapi (otherwise it complained about duplicate definitions
of stuff). I tried using MIT's kerberos (1.4), but it has a problem
finding freeifaddrs and getifaddrs:
gcc -L../../../lib -R/usr/local/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-pedantic -o client client.o rpc_test_clnt.o \
-lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lkrb5support -lresolv -lsocket -lnsl
Undefined...
2010 Nov 22
7
local address announcements
Hi everyone,
you can find the current version of my enhanced tinc using subversion:
svn://tardyon.mon-clan.de/tinc
I allowed anonymous read access, so feel free to download the sources.
Unfortunately, my enhancements are based on a rather old git-checkout from
Guus.
The version should run under windows and Debian/Ubuntu.
Best,
Daniel
-----Original Message-----
From: folkert [mailto:folkert
2006 Apr 20
0
krb5-1.4.3 & Solaris 8
Has anyone managed to get krb5-1.4.3 to compile on Solaris 8?
My compile fails because it can't find freeifaddrs or getifaddrs, using gcc.
[........]
making all in lib/rpc/unit-test...
gmake[3]: Entering directory
`/var/tmp/sambastuff/krb5-1.4.3/src/lib/rpc/unit-test'
gcc -L../../../lib -R/usr/local/testsamba/kerberos/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-pedantic -...
2008 Sep 18
1
Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1
...e' fails with the following output:
Linking non-shared library bin/libtalloc.a
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
Compiling lib/replace/getifaddrs.c
creating /root/samba-3.2.2/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so.1
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/../../../../sparc-sun-solaris2.9/bin/ld:
cannot open linker script file
/root/samba-3.2.2/source/exports/libtalloc.so.1: No such file or
directory
colle...
2014 Jun 23
2
ListenAdress Exclusion
I was wondering what everyone's thoughts were on a simpler way to exclude
addresses from having listeners on them.
I know a lot of people have multiple subnets, especially larger
corporations.
Some networks are non-route-able, and therefor unsuitable for use with SSH,
aside from communication between other servers on the same subnet.
Given that we may want to exclude those non-route-able
2010 Jul 25
1
Per E-Mail senden: commit.txt
...ry, but I am not familiar with git and currently familiarizing with it.
In the meantime, I fixed some code and introduced a compatibility wrapper to
allow porting tinc to "Fritz!Box" (using Freetz http://trac.freetz.org/).
The file is called ifaddr-compat.h/c and wraps the function "getifaddrs".
I'm going to answer your questions now:
> Why the need for a response message?
Because a simple "announce/broadcast" can't be authenticated, thus, an
adversary could announce that he's a legitimate endpoint.
Although this would not allow the adversary to decrypt pa...
2008 Jul 04
1
Samba 3.2.0 doesn't compile under Solaris8
...mpiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
Compiling lib/replace/getifaddrs.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
creating /opt/SOURCES/samba-3.2.0/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so
ln: cannot create bin/libtalloc.so.1: File exists
*** Error code 2
make: Fatal error: Command failed for tar...
2010 Dec 07
0
[PATCH]: A daemon to support HyperV KVP functionality
....255.255") + 1;
+ int ipv6_len = strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+1;
+ int offset = 0;
+ const char *str;
+ char tmp[50];
+ int error = 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp = ifap;
+ while (curp != NULL) {
+ if ((curp->ifa_addr != NULL) &&
+ (curp->ifa_addr->sa_family == family)) {
+ if (family == AF_INET) {
+ struct sockaddr_in *addr =
+ (struct s...
2010 Dec 07
0
[PATCH]: A daemon to support HyperV KVP functionality
....255.255") + 1;
+ int ipv6_len = strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+1;
+ int offset = 0;
+ const char *str;
+ char tmp[50];
+ int error = 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp = ifap;
+ while (curp != NULL) {
+ if ((curp->ifa_addr != NULL) &&
+ (curp->ifa_addr->sa_family == family)) {
+ if (family == AF_INET) {
+ struct sockaddr_in *addr =
+ (struct s...
2010 Dec 08
0
No subject
...uot;) + 1;
+ int ipv6_len =3D strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+=
1;
+ int offset =3D 0;
+ const char *str;
+ char tmp[50];
+ int error =3D 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding =
the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp =3D ifap;
+ while (curp !=3D NULL) {
+ if ((curp->ifa_addr !=3D NULL) &&
+ (curp->ifa_addr->sa_family =3D=3D family)) {
+ if (family =3D=3D AF_INET) {
+ struct sockaddr_in *addr =3...
2010 Dec 08
0
No subject
...uot;) + 1;
+ int ipv6_len =3D strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+=
1;
+ int offset =3D 0;
+ const char *str;
+ char tmp[50];
+ int error =3D 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding =
the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp =3D ifap;
+ while (curp !=3D NULL) {
+ if ((curp->ifa_addr !=3D NULL) &&
+ (curp->ifa_addr->sa_family =3D=3D family)) {
+ if (family =3D=3D AF_INET) {
+ struct sockaddr_in *addr =3...
2010 Dec 17
0
[PATCH 4/4] Staging: hv: Add a user-space daemon to support key/value pair (KVP)
....255.255") + 1;
+ int ipv6_len = strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+1;
+ int offset = 0;
+ const char *str;
+ char tmp[50];
+ int error = 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp = ifap;
+ while (curp != NULL) {
+ if ((curp->ifa_addr != NULL) &&
+ (curp->ifa_addr->sa_family == family)) {
+ if (family == AF_INET) {
+ struct sockaddr_in *addr =
+ (struct s...
2010 Dec 17
0
[PATCH 4/4] Staging: hv: Add a user-space daemon to support key/value pair (KVP)
....255.255") + 1;
+ int ipv6_len = strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")+1;
+ int offset = 0;
+ const char *str;
+ char tmp[50];
+ int error = 0;
+
+ /*
+ * On entry into this function, the buffer is capable of holding the
+ * maximum key value (2048 bytes).
+ */
+
+ if (getifaddrs(&ifap)) {
+ strcpy(buffer, "getifaddrs failed\n");
+ return 1;
+ }
+
+ curp = ifap;
+ while (curp != NULL) {
+ if ((curp->ifa_addr != NULL) &&
+ (curp->ifa_addr->sa_family == family)) {
+ if (family == AF_INET) {
+ struct sockaddr_in *addr =
+ (struct s...
2013 Jul 02
0
Problems building new 3.6.16: getting symbols from local sys AND "../lib/replace
...include/ifaddrs.h:29:8: note: originally defined here
struct ifaddrs
^
In file included from ./../nsswitch/winbind_nss_config.h:46:0,
from ../nsswitch/libwbclient/libwbclient.h:31,
from ../nsswitch/libwbclient/wbc_guid.c:26:
./../lib/replace/system/network.h:147:5: error: conflicting types for
?rep_getifaddrs?
int rep_getifaddrs(struct ifaddrs **);
^
In file included from ../nsswitch/libwbclient/wbc_guid.c:25:0:
./../lib/replace/replace.h:538:20: note: previous declaration of
?rep_getifaddrs? was here
#define getifaddrs rep_getifaddrs
^
In file included from ./../nsswitch/winbind_nss_config.h:46:0,
from...
2013 May 06
1
What is bootstrap.sh for ? Possible bug in 11.3.0 ?
...e script ...
Generating the configure script ...
+ aclocal -I autoconf
+ autoconf
+ autoheader
+ automake --add-missing --copy
+ exit 0
2. After running bootstrap.sh, ./configure fails with:
checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using
dahdi/user.h... no
checking for getifaddrs() support... yes
checking for timerfd support... yes
checking for gsm_create in -lgsm... no
./configure: line 17928: syntax error near unexpected token `ILBC,'
./configure: line 17928: ` PKG_CHECK_MODULES(ILBC, libilbc,'
My questions are:
1. What is the purpose of bootstrap.sh ?
2. I...
2008 Jul 04
0
unable to compile samba 3.2.0 under Solaris8
...mpiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
Compiling lib/replace/getifaddrs.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
creating /opt/SOURCES/samba-3.2.0/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so
ln: cannot create bin/libtalloc.so.1: File exists
*** Error code 2
make: Fatal error: Command failed for tar...
2012 Aug 30
1
Samba complie problem
hi all
Samba build problem when compiling with --with-ads
I have complid, kerberos and openldap in /opt/local/samba and I am using gcc with gnu binutils. Its a solaris 10 sparc.
Configure gives me following error: -
checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h
2010 May 11
1
Samba 3.5.2 compile on AIX
...ng for inet_ntoa... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for getaddrinfo... yes
checking ifaddrs.h usability... no
checking ifaddrs.h presence... no
checking for ifaddrs.h... no
checking for struct sockaddr.sa_len... yes
checking for getifaddrs and freeifaddrs... no
checking for iface getifaddrs... no
checking for iface AIX... en0 IP=146.91.8.38
en0 IP=146.91.8.38
lo0 IP=127.0.0.1
lo0 IP=127.0.0.1
lo0 IP=127.0.0.1
yes
checking for ipv6 support... yes
LIBREPLACE_NETWORK_CHECKS: END
checking aio.h usabilit...
2008 Oct 12
6
Compile help for Solaris 10 x86, samba 3.0.28a deficient?
Hi all,
I've got an ongoing battle with samba shipped with Sun Solaris 10 in
it's current form (Samba version 3.0.28a) not wanting to talk to my
OpenLDAP master correctly. Essentially, under certain conditions, this
behaviour is observed, in the log.smbd:
[2008/10/11 08:54:03, 1, pid=13610] libsmb/cliconnect.c:(1451)
Error connecting to 192.168.117.150 (Connection refused)