[Samba] "Hosts allow" directive is not correctly evaluated for printer shares

Jeremy Allison jra at samba.org
Tue Jan 20 22:26:07 GMT 2009


On Tue, Jan 20, 2009 at 07:39:25PM +0100, Matthias Nagel wrote:
> 
> These two log message appear, if the client tries to connect to the printer. Oddly, access it permitted first and then denied in the same moment:
> 
> [2009/01/20 18:40:19, 2] lib/access.c:check_access(323)
>    Allowed connection from  (192.168.1.244)
> [2009/01/20 18:40:19, 0] lib/access.c:check_access(327)
>    Denied connection from  (192.168.1.244)
> 
> If I comment out the "allow hosts" directive, the problem stays the same. Something that is even more strange. Any ideas?

Send in a full debug level 10 log from smbd so we can see exactly
what is going on here.

Thanks,

Jeremy.


More information about the samba mailing list