PDA

View Full Version : SUSE 10.1 Firewall



SkypeUser
03-12-2006, 08:40 PM
I installed SLED 10.1 on a pc thats part of a network of 3 PC's of which 2 are windows XP. How can i have the XP machines access the SLED machine without turning off the firewall? I have created samba accounts with the 'smbpasswd' command.

Another thing i want to know is, if i change the value of 'security' in the smb.conf file to 'user' its supposed to ask me for a username + password, but it doesnt.

Any help will be much appreciated.

koffiejunkie
04-12-2006, 09:36 PM
Read through /etc/sysconfig/SuSEfirewall2 - most of it is pretty well explained by the comments.

Then, you need to make sure your network card is listed. Mine shows:

FW_DEV_EXT="eth-id-00:0f:b0:fa:68:71"

Then you need to list the services you want to make available:

FW_SERVICES_EXT_TCP="microsoft-ds netbios-dgm netbios-ns netbios-ssn"

As for samba, it won't ask you for a password if the share you're trying to access is left open in any way. Use something like

valid users = @users

under the share's config

And also check the filesystem permissions.

Nod
07-12-2006, 08:23 PM
Might be easier to authenticate against the ADS, and then have a users allowed file on the Samba server. No password maintenance from your side then. The HOWTO's should explain that in detail. Some examples (http://us5.samba.org/samba/docs/man/Samba-Guide/).

nayyares
01-01-2007, 03:38 AM
Hello,
Linux Firewall do not have any thing to do with your samba login, for that you should provide
valid user [your-user] in share define in smb.conf.

thanks