LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fighting with samba (https://www.linuxquestions.org/questions/linux-newbie-8/fighting-with-samba-870852/)

linux hates me 03-24-2011 09:16 PM

Fighting with samba
 
Ok So I have been using Webmin to set up samba on my Centos 5.5 machine (Domain name in Samba is KISKA).

I set up a test directory /smbtest on the machine and made a share on webmin.

My problem is that when I try to connect to the share on my windows machine (im running windows 7) it gives me a message saying this:

Code:

Windows Cannot Access \\Kiska\smbtest
I have made sure to make the permissions on /smbtest 777 and I have tried alot of other stuff as well.

Here is my Smb.conf

Code:

[global]
        load printers = yes
        cups options = raw
        netbios name = KISKA
        winbind enum users = no
        default = global
        workgroup = NUS
        os level = 20
        winbind enum groups = no
        null passwords = yes
        winbind enable local accounts = no
        winbind trusted domains only = yes
        security = share
        preferred master = no
        passdb backend = tdbsam

[SMBTEST]
        writeable = yes
        delete readonly = yes
        path = /smbtest
        force directory mode = 777
        force create mode = 777
        public = yes
        create mode = 777
        directory mode = 777

Thanks for any help you can give!!!

sandy.bhadoriya 03-25-2011 02:13 AM

try adding one line in your samba .conf file

valid user = username

and after that you can add that user using using this command

smbpasswd -a username

and try to access

zjoske 03-30-2011 01:30 AM

A first thing to check is whether your samba is running or not.

do a "ps -ef" and check if there are any smbd and nmbd processes

a second step is to check samba's log files

chrism01 03-30-2011 07:20 PM

Also, have you checked the iptables on the Centos system: http://www.linuxtopia.org/online_boo...a-daemons.html. You'll need ports 137, 139, 445. Possibly 138 as well.


All times are GMT -5. The time now is 02:01 PM.