search for: interpret_addr

Displaying 14 results from an estimated 14 matches for "interpret_addr".

1997 Sep 23
0
PATCH: Wins support in smbclient
...--- /root/client.c Tue Sep 23 21:52:21 1997 +++ client.c Tue Sep 23 22:17:21 1997 @@ -4136,8 +4136,20 @@ #ifdef USENMB /* Try and resolve the name with the netbios server */ int bcast; + struct in_addr wins_addr; - if ((bcast = open_socket_in(SOCK_DGRAM, 0, 3, + wins_addr.s_addr = interpret_addr (lp_wins_server ()); + + if (wins_addr.s_addr && (bcast = open_socket_out (SOCK_DGRAM, + &wins_addr, + 137, 3000)) != -1) { + if (name_query (bcast, host, 0x20, False, True, wins_addr, &dest_ip, 0)) { + failed = False; + } + close (bcast); + } + + if (faile...
2002 Mar 08
2
Re: 'Network Busy' - indeed (Gustav Tresselt)
...e? Does anyone on this list recognize this problem at all? What does your log say Thom? Gustav Tresselt ------------------------------------------------- I have been struggling with the same problem for several weeks now. This is my log file for the error: [2002/02/14 10:54:28, 3] lib/util.c:interpret_addr(1833) Get_Hostbyname: Unknown host. ed0 [2002/02/14 10:54:28, 2] lib/interface.c:interpret_interface(132) can't determine netmask for ed0 [2002/02/14 10:54:28, 2] lib/interface.c:add_interface(83) added interface ip=192.168.255.1 bcast=192.168.255.255 nmask=255.255.255.0 [2002/02/14 10:54...
2009 Jul 27
1
Samba-3.0.34 can ADS join but not non-ADS join.
...quot;interfaces = eth0" in my smb.conf file, but it does not join. It fails with a "cannot join as standalone machine". Running net with debug level 3 during this gives two interesting things: It cannot load ANSI_X3.4-1968.so And this... [2009/07/24 14:27:57, 3] source/lib/util.c:interpret_addr(1310) sys_gethostbyname: Unknown host. eth0 [2009/07/24 14:27:57, 2] source/lib/interface.c:interpret_interface(130) can't determine netmask for eth0 [2009/07/24 14:27:57, 0] source/lib/interface.c:load_interfaces(229) WARNING: no network interfaces found [2009/07/24 14:27:57, 3] source/libs...
1999 Dec 18
0
problems while compiling samba 2.0.6
...ibsmb/nmblib.o(.text+0x152f): undefined reference to `__inet_ntoa' lib/interface.o: In function `add_interface': lib/interface.o(.text+0xb6): undefined reference to `__inet_ntoa' lib/interface.o(.text+0x110): more undefined references to `__inet_ntoa' follow lib/util.o: In function `interpret_addr': lib/util.o(.text+0x2dbf): undefined reference to `__inet_addr' lib/util.o: In function `matchname': lib/util.o(.text+0x3023): undefined reference to `__inet_ntoa' lib/util_sock.o: In function `read_udp_socket': lib/util_sock.o(.text+0x363): undefined reference to `__inet_ntoa&...
2002 Mar 05
0
Urgent help required for a newbie!
...4.2 platform within a Windows 98/2k peer to peer network. Most of the time this system appears to be working very well with the file system nicely browsable by the client machines. Unfortunately, from time to time the following error appears within the log.smb: [2002/02/14 10:54:28, 3] lib/util.c:interpret_addr(1833) Get_Hostbyname: Unknown host. ed0 [2002/02/14 10:54:28, 2] lib/interface.c:interpret_interface(132) can't determine netmask for ed0 [2002/02/14 10:54:28, 2] lib/interface.c:add_interface(83) added interface ip=192.168.255.1 bcast=192.168.255.255 nmask=255.255.255.0 [2002/02/14 10:54...
2001 Mar 02
0
Problems with Samba 2.0.7, Solaris 8, and Windows 2K
...loaded [2001/03/02 12:56:17, 3] nmbd/nmbd.c:main(806) Opening sockets 137 [2001/03/02 12:56:17, 3] lib/util_sock.c:open_socket_in(875) bind succeeded on port 138 [2001/03/02 12:56:17, 3] nmbd/nmbd.c:open_sockets(520) open_sockets: Broadcast sockets opened. [2001/03/02 12:56:17, 3] lib/util.c:interpret_addr(1758) Get_Hostbyname: Unknown host. iprb0 [2001/03/02 12:56:17, 2] lib/interface.c:interpret_interface(132) can't determine netmask for iprb0 [2001/03/02 12:56:17, 2] lib/interface.c:add_interface(83) added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0 [2001/03/02 12:56...
2006 Oct 20
1
CIDR prefix with a non-multiple of 8
...p; 0xFF0000) >> 16)) << 16) + + ((revbits8((a & 0xFF000000) >> 24)) << 24) ); +} + /* masked_match - match address against netnumber/netmask */ static int masked_match(char *tok, char *slash, char *s) { @@ -34,6 +60,8 @@ mask = interpret_addr(slash + 1); } else { mask = (uint32)((ALLONES << atoi(slash + 1)) ^ ALLONES); + /* Fixup the netmask by reversing the bits in each byte */ + mask = revbits(mask); } if (net == INADDR_NONE || mask == INADDR_NONE) {...
2004 May 28
0
Signal 11 on winbindd start: memory leak in malloc
...#5 /lib/libc.so.6(fopen+0x2f) [0x401c2f4f] #6 /lib/libnss_files.so.2 [0x4039e275] #7 /lib/libnss_files.so.2(_nss_files_gethostbyname_r+0x37) [0x4039e747] #8 /lib/libc.so.6(gethostbyname_r+0x10b) [0x4024d96b] #9 /lib/libc.so.6(gethostbyname+0xf6) [0x4024d2e6] #10 /usr/sbin/winbindd(interpret_addr+0x88) [0x80c1bf8] #11 /usr/sbin/winbindd(interpret_addr2+0x11) [0x80c1cb1] #12 /usr/sbin/winbindd [0x8107075] #13 /usr/sbin/winbindd [0x8107685] #14 /usr/sbin/winbindd(get_dc_list+0x297) [0x8107e97] #15 /usr/sbin/winbindd(get_sorted_dc_list+0x40) [0x8107b70] #16 /usr/sbin/winbindd...
2005 Apr 05
6
net ads join fails
I am trying to connect to an ADS domain and it is failing all the time. I am running SuSE Linux 9.0 with Samba 3.0.13 and have configured Samba with ldap and heimdal kerberos Attached is my debug level 10 error log created when the join is attempted. I would appreciate any advice on solving this problem. Thanks in advance Penny Willisson DISCLAIMER: The information contained within or
2004 Dec 30
3
PDC + LDAP group mappings
Alright now that samba can talk to LDAP I have a blank slate. I know I need to setup group mappings, but I'm a little confused about this. Since it's an ldap backend do the groups need to have unix counterparts? Should I use the net groupmap command to add the mappings or should I use an LDIF file? David Sonenberg Systems / Network Administrator Stroz Friedberg, LLC 15 Maiden Lane, Suite
2008 Oct 23
1
Join AD: no logon server
...:35, 3] libsmb/namequery_dc.c:rpc_dc_name(194) rpc_dc_name: Returning DC NSUK-UKDC3 (10.191.2.29) for domain NSUK [2008/10/22 16:51:35, 5] libads/ldap.c:ads_try_connect(180) ads_try_connect: sending CLDAP request to nsuk-ukdc3.uk.nsc.com (realm: NSUK.NSC.COM) [2008/10/22 16:51:38, 3] lib/util.c:interpret_addr(1332) sys_gethostbyname: Unknown host. nsuk-ukdc3.uk.nsc.com [2008/10/22 16:51:38, 1] libads/cldap.c:recv_cldap_netlogon(219) no reply received to cldap netlogon [2008/10/22 16:51:38, 3] libads/ldap.c:ads_try_connect(189) ads_try_connect: CLDAP request nsuk-ukdc3.uk.nsc.com failed. [2008/10/2...
2004 Oct 25
1
LDAP: strange "net groupmap" behaviour
...24 16:43:24, 10] lib/ms_fnmatch.c:ms_fnmatch(240) ms_fnmatch(lo,ng0) -> -1 [2004/10/24 16:43:24, 10] lib/ms_fnmatch.c:ms_fnmatch(240) ms_fnmatch(lo,ng1) -> -1 [2004/10/24 16:43:24, 10] lib/ms_fnmatch.c:ms_fnmatch(240) ms_fnmatch(lo,ng2) -> -1 [2004/10/24 16:43:24, 3] lib/util.c:interpret_addr(1034) sys_gethostbyname: Unknown host. lo [2004/10/24 16:43:24, 2] lib/interface.c:interpret_interface(128) can't determine netmask for lo [2004/10/24 16:43:24, 5] passdb/pdb_interface.c:make_pdb_context_list(763) Trying to load: ldapsam:ldap://127.0.0.1 [2004/10/24 16:43:24, 5] pas...
2007 Jul 28
1
Error while contacting ADS from Samba server
...ile or directory [2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78) Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead [2007/07/26 23:56:49, 5] lib/util.c:init_names(260) Netbios name list:- my_netbios_names[0]="TERABOX" [2007/07/26 23:56:50, 3] lib/util.c:interpret_addr(1203) sys_gethostbyname: Unknown host. eth0 [2007/07/26 23:56:50, 2] lib/interface.c:interpret_interface(130) can't determine netmask for eth0 [2007/07/26 23:56:50, 2] lib/interface.c:add_interface(81) added interface ip=172.16.131.21 bcast=172.16.143.255 nmask=255.255.240.0 [2007/07/26 2...
2002 Nov 10
2
Trying to join a Solaris 8 box to Windows 2000 AD.
I am having major problems with SAMBA samba-3.0alpha20 in trying to connect to Windows 2000 AD. I have attached info if that helps. Any help you can give me would be greatly appreciated. Thanks in advance Clive Elsum I can get samba-3.0alpha20 working if I include reference to our NT PDC in the smb.conf file and do a net rpc join command. This joins our NT PDC domain which has a trust