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 12:33:37, 0] lib/access.c:check_access(324) Denied connection from (131.234.166.51) [2001/04/18 12:33:37, 1] smbd/process.c:process_smb(824) Connection denied from 131.234.166.51 But testparm says it should be allowed: looking for 131.234.166.51 of domain hni in netgroup hni_hosts gave No looking for bugs of domain hni in netgroup hni_hosts gave Yes Allow connection from bugs (131.234.166.51) to homes Bug or feature? Or am I missing something? Greetings, Christopher -- ===================================================== Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb odenbach@uni-paderborn.de Tel.: +49 5251 60 6215 ======================================================
On Wed, 18 Apr 2001 05:35:45 Christopher Odenbach wrote:> > 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 12:33:37, 0] lib/access.c:check_access(324) > Denied connection from (131.234.166.51) > [2001/04/18 12:33:37, 1] smbd/process.c:process_smb(824) > Connection denied from 131.234.166.51 > > But testparm says it should be allowed: > > looking for 131.234.166.51 of domain hni in netgroup hni_hosts gave No > looking for bugs of domain hni in netgroup hni_hosts gave Yes > Allow connection from bugs (131.234.166.51) to homes > > Bug or feature? Or am I missing something?My bug I think. Send me your smb.conf. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
On Wed, 18 Apr 2001 05:35:45 Christopher Odenbach wrote:> > 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 12:33:37, 0] lib/access.c:check_access(324) > Denied connection from (131.234.166.51) > [2001/04/18 12:33:37, 1] smbd/process.c:process_smb(824) > Connection denied from 131.234.166.51Looking at you config files, this doesn't make a lot of sense to me (your problem that is). All that is there is hosts allow = @hni_hosts The debug messages above 'no hostnames in host allow/deny list' should only be printed if only_ipaddrs_in_list() returns True on both the allow list and the deny list. Can you send me a larger excerpt of the log for only the client that is denied (log file = /var/log/log.%m)? Thanks, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
Hi,> > > My bug I think. Send me your smb.conf. > > > > Attached. It is divided into two parts - one global one and one local > > one. You'll get the idea. > > Try this patch.Your patch contained only the first part. After inserting and recompiling I got an internal error... Luckily I just looked through the mailing list archive and found the complete patch from Andrew Dawson. That did it! OK, heading for testing again! Greetings, Christopher