LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Another ? about connecting from Windows (https://www.linuxquestions.org/questions/linux-newbie-8/another-about-connecting-from-windows-619765/)

smakula 02-08-2008 05:48 PM

Another ? about connecting from Windows
 
Hi

I am trying to connect to a Fedora 8 machine from Windows Vista. I have configured Samba: added my fedora user to Samba as a Samba user, Made a directory shared, and created a share name for it in samba, turned on the samba service and rebooted. I still cannot connect. Does anyone have any ideas on what to check? Related question: When mapping from Windows, do I refer to the share by \\fedorahostname\sharename or \\sambaworkgroup\sharename?

Thanks

BrianK 02-08-2008 06:33 PM

you refer to the netbios or server name... or the ipaddress, so

\\netbios_name\sharename
\\192.168.1.1\sharename

your problem is probably in your smb.conf file. Care to posts it? If it's really long, leave out the comments.

smakula 02-11-2008 02:38 PM

Here is the smb.conf. Thanks for your help.


[global]

workgroup = f8group
server string = Samba Server Version %v

; netbios name = MYSERVER



# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50

security = user
passdb backend = tdbsam

username map = /etc/samba/smbusers

[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S

[Download]
path = /home/smakula/Download
writeable = yes
; browseable = yes
valid users = smakula

BrianK 02-11-2008 10:53 PM

don't know about the security bit. The rest look ok.

check out my UBER SIMPLE (and not secure) smb.conf:
Code:

[global]
        netbios name = foo
        server string = foo
        workgroup = MY_GROUP
        os level = 20
        domain master = No
        map to guest = Bad User
        security = share
        domain logons = No

[JOBS]
        comment = JOBS
        writeable = yes
        public = yes
        path = /JOBS

you might want to try that one to see if it works at all. If so, you can start securing it from there.

... so with this, you'd connect like \\foo\JOBS


All times are GMT -5. The time now is 07:00 AM.