FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-14-2008, 03:08 PM
"Joseph L. Casale"
 
Default Samba Hosts Allow/Deny

I am running CentOS 5.2 w/ Samba 3.0.28 and have a basic
user level setup and


am trying to use hosts allow and deny but it does not
have an effect? I have


specified them in the share level of the config.


*


I have tried:


***** hosts allow = 192.168.0.72/32


***** hosts deny = 0.0.0.0/0


*


Also:


;**** hosts allow = 192.168.0.72/32


***** hosts deny = 0.0.0.0/0 except 192.168.0.72/32


*


Still, any hosts can gain access? Can anyone shed some
light on this?


*


Thanks,


jlc


*







_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-14-2008, 03:16 PM
Craig White
 
Default Samba Hosts Allow/Deny

On Tue, 2008-10-14 at 09:08 -0600, Joseph L. Casale wrote:
> I am running CentOS 5.2 w/ Samba 3.0.28 and have a basic user level
> setup and
>
> am trying to use hosts allow and deny but it does not have an effect?
> I have
>
> specified them in the share level of the config.
>
>
>
> I have tried:
>
> hosts allow = 192.168.0.72/32
>
> hosts deny = 0.0.0.0/0
>
>
>
> Also:
>
> ; hosts allow = 192.168.0.72/32
>
> hosts deny = 0.0.0.0/0 except 192.168.0.72/32
>
>
>
> Still, any hosts can gain access? Can anyone shed some light on this?
----
man page suggests that you use this type of reference...

hosts allow = 192.168.0.72/255.255.255.255

Craig

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-14-2008, 04:06 PM
"Joseph L. Casale"
 
Default Samba Hosts Allow/Deny

>man page suggests that you use this type of reference...
>
> hosts allow = 192.168.0.72/255.255.255.255
>
>Craig

Whoops, my bad!
Thanks for the correction.
jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org