View Full Version : SUSE 10.1 Firewall
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.
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:
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.
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/).
01-01-2007, 03:38 AM
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.