search for: only_ipaddrs_in_list

Displaying 17 results from an estimated 17 matches for "only_ipaddrs_in_list".

2013 Apr 18
1
Strange behavior when using 'hosts allow' parameter
I wanted to bring attention to some odd behavior which I don't believe is intentional. With Samba running, I can go to a Windows machine on the network (10.0.0.0/24) and see all of the Samba shares by pulling up an Explorer window and going to \\Server1 Everything appears to work as expected. However, if I populate the 'hosts allow' parameter within smb.conf as follows: hosts allow
2010 Apr 01
4
Printer Admin Difficulties
...Found policy hnd[0] [0000] 00 00 00 00 02 00 00 00 00 00 00 00 B3 4B C7 89 ........ .....K.. [0010] F9 54 00 00 .T.. [2010/03/31 13:43:35, 4] rpc_server/srv_spoolss_nt.c:377(get_printer_snum) short name:ZZZ [2010/03/31 13:43:35, 3] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (127.) [2010/03/31 13:43:35, 3] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2010/03/31 13:43:35, 2] lib/access.c:406(check_access) Allowed connection from 127.0.0.1 (127.0.0.1) [2010/03/31 13:43:35, 10] s...
2013 Feb 12
3
Samba3.5 + OpenLDAP config/install problem
...[2013/02/11 17:40:43.135583, 3] smbd/process.c:1298(switch_message) switch message SMBtconX (pid 14343) conn 0x0 [2013/02/11 17:40:43.135599, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/02/11 17:40:43.135644, 3] lib/access.c:365(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (127.) [2013/02/11 17:40:43.135683, 3] lib/access.c:399(check_access) check_access: hostnames in host allow/deny list. [2013/02/11 17:40:43.135779, 2] lib/access.c:409(check_access) Allowed connection from ::ffff:128.114.163...
2005 Jun 08
1
connection denials
I'm pulling my hair out on this one... I'm using Suse 9.3 with their current release of samba 3.0.13... in my smb.conf I have hosts allow = 129.219 149.169 127 Still, I get [2005/06/07 17:14:56, 4] lib/time.c:get_serverzone(125) Serverzone is 25200 [2005/06/07 17:14:56, 3] lib/access.c:only_ipaddrs_in_list(291) only_ipaddrs_in_list: list has non-ip address (127) [2005/06/07 17:14:56, 3] lib/access.c:check_access(316) check_access: hostnames in host allow/deny list. [2005/06/07 17:14:56, 0] lib/access.c:check_access(328) Denied connection from teancum.pp.asu.edu (129.219.69.212) [2005/06/07 17:1...
2005 Aug 18
0
Use of netgroups and LDAP in Samba
...its directory. Now that I've converted the samba server to use LDAP as its directory, samba will no longer find hosts in the netgroup. I've inserted the netgroup information into LDAP and the log information seems to indicate that it is looking there: [2005/08/18 17:31:21, 3] lib/access.c:only_ipaddrs_in_list(291) only_ipaddrs_in_list: list has non-ip address (@hosts_smb) [2005/08/18 17:31:21, 3] lib/access.c:check_access(316) check_access: hostnames in host allow/deny list. [2005/08/18 17:31:21, 5] lib/access.c:string_match(100) looking for 128.40.40.89 of domain ee.ucl.ac.uk in netgroup hosts_sm...
2003 Oct 17
5
Samba Connection Problem
I've just set up samba for a small LAN. I'm running samba 2.2.7 on RH 8. Now I have a real problem that I have no clue on. I have VERY intermittent connectivity to the Samba server. If I left a computer (Windows 98) idle for a while, and then try to browse the contents in the Samba server, I will get this error " domain is unavailable" or "The specified network name is no
2003 Jun 12
0
Win XP machine account not found
...x.c:linux_init_kernel_oplocks(303) Linux kernel oplocks enabled [2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)] smbd/oplock.c:init_oplocks(1245) open_oplock ipc: pid = 1446, global_oplock_port = 34529 [2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)] lib/access.c:only_ipaddrs_in_list(292) only_ipaddrs_in_list: list has non-ip address (localhost) [2003/06/12 13:30:49, 3, pid=1446, effective(0, 0), real(0, 0)] lib/access.c:check_access(317) check_access: hostnames in host allow/deny list. [2003/06/12 13:30:49, 1, pid=1446, effective(0, 0), real(0, 0)] lib/util_sock.c:get_so...
2010 Mar 18
0
No subject
...h 80 (0 toread) 173 [2010/04/29 15:34:42, 3] smbd/process.c:switch_message(1378) 174 switch message SMBtconX (pid 1220) conn 0x0 175 [2010/04/29 15:34:42, 3] smbd/sec_ctx.c:set_sec_ctx(324) 176 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 177 [2010/04/29 15:34:42, 3] lib/access.c:only_ipaddrs_in_list(362) 178 only_ipaddrs_in_list: list has non-ip address (10.0.1.) 179 [2010/04/29 15:34:42, 3] lib/access.c:check_access(396) 180 check_access: hostnames in host allow/deny list. 181 [2010/04/29 15:34:42, 2] lib/access.c:check_access(406) 182 Allowed connection from 10.0.1.11 (10.0...
2010 Jun 12
2
Problems with ldap groups in share folders ACCESS_DENIED
...id=(0,0) gid=(0,0) [2010/06/08 19:52:04, 4] smbd/reply.c:680(reply_tcon_and_X) Client requested device type [?????] for share [SIS] [2010/06/08 19:52:04, 5] smbd/service.c:1216(make_connection) making a connection to 'normal' service sistemas [2010/06/08 19:52:04, 3] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (127.) [2010/06/08 19:52:04, 3] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2010/06/08 19:52:04, 2] lib/access.c:406(check_access) Allowed connection from 172.16.5.204 (172.16.5.204) [2010/06/08 19:52:04, 3...
2009 Sep 06
0
No subject
...;s "__ffff_172.16.123.123", or the IP address of the client. I really want to say this has something to do with name resolving but I can't seem to pin it down.=20 =20 The log is long, so I'll say thanks for any help here. Thanks! =20 [2009/10/08 08:48:12, 3] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (128.252.) [2009/10/08 08:48:12, 3] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2009/10/08 08:48:12, 2] lib/access.c:406(check_access) Allowed connection from __ffff_172.16.24.49 (::ffff:172.16.24.49)...
2010 May 04
9
Vista error 67 The network name cannot be found
...read) 173 [2010/04/29 15:34:42, 3] smbd/process.c:switch_message(1378) 174 switch message SMBtconX (pid 1220) conn 0x0 175 [2010/04/29 15:34:42, 3] smbd/sec_ctx.c:set_sec_ctx(324) 176 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 177 [2010/04/29 15:34:42, 3] lib/access.c:only_ipaddrs_in_list(362) 178 only_ipaddrs_in_list: list has non-ip address (10.0.1.) 179 [2010/04/29 15:34:42, 3] lib/access.c:check_access(396) 180 check_access: hostnames in host allow/deny list. 181 [2010/04/29 15:34:42, 2] lib/access.c:check_access(406) 182 Allowed connection from 10.0....
2001 Apr 18
3
samba 2.2.0: host access by netgroup
Hi, I am just fiddeling with 2.2.0 final. I am having trouble with the config files I used with 2.2.0alpha3: check_access: no hostnames in host allow/deny list. [2001/04/18 12:33:37, 3] smbd/server.c:exit_server(473) Server exit (connection denied) [2001/04/18 12:33:37, 5] lib/access.c:string_match(89) looking for 131.234.166.51 of domain hni in netgroup hni_hosts gave No [2001/04/18
2010 Oct 22
1
Joining domain works - logging in doesn't
...2010/10/22 12:01:55.419645, 4] smbd/reply.c:786(reply_tcon_and_X) Client requested device type [?????] for share [IPC$] [2010/10/22 12:01:55.419726, 5] smbd/service.c:1227(make_connection) making a connection to 'normal' service ipc$ [2010/10/22 12:01:55.419771, 3] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (160.5.) [2010/10/22 12:01:55.419794, 3] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2010/10/22 12:01:55.419824, 2] lib/access.c:406(check_access) Allowed connection from pc67.isc.keele.ac.uk (160.5.50.10...
2010 Oct 20
0
No subject
...message) switch message SMBtconX (pid 12823) conn 0x0 [2011/02/02 16:30:58.581269, 3, pid=12823, effective(0, 0), real(0, 0)] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2011/02/02 16:30:58.581478, 3, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (10.0.) [2011/02/02 16:30:58.581508, 3, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2011/02/02 16:30:58.581554, 2, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:4...
2010 Oct 20
0
No subject
...message) switch message SMBtconX (pid 12823) conn 0x0 [2011/02/02 16:30:58.581269, 3, pid=12823, effective(0, 0), real(0, 0)] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2011/02/02 16:30:58.581478, 3, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:362(only_ipaddrs_in_list) only_ipaddrs_in_list: list has non-ip address (10.0.) [2011/02/02 16:30:58.581508, 3, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:396(check_access) check_access: hostnames in host allow/deny list. [2011/02/02 16:30:58.581554, 2, pid=12823, effective(0, 0), real(0, 0)] lib/access.c:4...
2003 Dec 01
0
No subject
...1, 5] lib/access.c:string_match(89) looking for 194.94.29.66 of domain e-technik.fh-schmalkalden.de in netgroup etpcsm gave No As one can see the IP number is looked up in the netgroups database instead of the host name. I have done some investigations and added debug messages. So i found that only_ipaddrs_in_list() returned True even if is_ipaddress() from util.c returned False for one ore more of the tokens. As a result the host name lookup is skipped. I have written a corrected version, on my server it works properly. Greetings Dirk /* ----- Changed function only_ipaddrs_in_list() ----- */ static BOO...
2003 Dec 01
0
No subject
...ow = .ac.upc.es,.cepba.upc.es hosts deny = ALL Running some tests we found the problem occurred when the values in "host allow" were names, and the results were corrects for IP addresses. By taking a look at the source we've come to the conclusion that in file lib/access.c, routine only_ipaddrs_in_list(), there is a bug when testing the occurrences of the character '/' to determine whether it is dealing with an IP/mask pair or not. Please, find attached a simple patch to solve this problem. One final comment: when debugging the program we found that by setting the debug level to 3 sur...