Samba share connection error

  • snuggles
  • Novice
  • Novice
  • snuggles
  • Posts: 27

Post 3+ Months Ago

Hey,

I've installed and configured Samba on Centos 5.2. I can see the share folder when I try to map it on the windows client, but when I select the directory and then press finish I get the error:

"The network path \\<server>\<dir> could not be found."

I find this odd considering it let me browser to the dir in the first place. Below is a copy of my smb.conf file.

Anyone know what is going on?

Code: [ Select ]
 
[global]
    ; General server settings
    netbios name = CENTOS
    server string = Samba Server Version %v
    workgroup = HOME
    announce version = 5.0
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
 
    passdb backend = tdbsam
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    name resolve order = hosts wins bcast
 
    wins support = yes
 
    ;printing = CUPS
    ;printcap name = CUPS
 
    syslog = 1
    syslog only = yes
 
    interfaces = eth* lo
    bind interfaces only = yes
    host allow = 192.168.0.0/255.255.255.0
 
; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
    ;valid users = %S
    ;create mode = 0600
    ;directory mode = 0755
    ;browseable = no
    ;read only = no
    ;veto files = /*.{*}/.*/mail/bin/
 
; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
    ;path = /var/lib/samba/netlogon
    ;admin users = Administrator
    ;valid users = %U
    ;read only = no
 
; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
    ;path = /var/lib/samba/profiles
    ;valid users = %U
    ;create mode = 0600
    ;directory mode = 0700
    ;writeable = yes
    ;browseable = no
 
; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
;[print$]
    ;path = /var/lib/samba/printers
    ;browseable = yes
    ;guest ok = yes
    ;read only = yes
    ;write list = root
    ;create mask = 0664
    ;directory mask = 0775
 
;[printers]
    ;path = /tmp
    ;printable = yes
    ;guest ok = yes
    ;browseable = no
 
; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
    ;path = /media/cdrom
    ;browseable = yes
    ;read only = yes
    ;guest ok = yes
 
[public_share]
    path = /home/public_share/
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = root
    force group = root
 
  1.  
  2. [global]
  3.     ; General server settings
  4.     netbios name = CENTOS
  5.     server string = Samba Server Version %v
  6.     workgroup = HOME
  7.     announce version = 5.0
  8.     socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
  9.  
  10.     passdb backend = tdbsam
  11.     security = user
  12.     null passwords = true
  13.     username map = /etc/samba/smbusers
  14.     name resolve order = hosts wins bcast
  15.  
  16.     wins support = yes
  17.  
  18.     ;printing = CUPS
  19.     ;printcap name = CUPS
  20.  
  21.     syslog = 1
  22.     syslog only = yes
  23.  
  24.     interfaces = eth* lo
  25.     bind interfaces only = yes
  26.     host allow = 192.168.0.0/255.255.255.0
  27.  
  28. ; NOTE: If you need access to the user home directories uncomment the
  29. ; lines below and adjust the settings to your hearts content.
  30. ;[homes]
  31.     ;valid users = %S
  32.     ;create mode = 0600
  33.     ;directory mode = 0755
  34.     ;browseable = no
  35.     ;read only = no
  36.     ;veto files = /*.{*}/.*/mail/bin/
  37.  
  38. ; NOTE: Only needed if you run samba as a primary domain controller.
  39. ; Not needed as this config doesn't cover that matter.
  40. ;[netlogon]
  41.     ;path = /var/lib/samba/netlogon
  42.     ;admin users = Administrator
  43.     ;valid users = %U
  44.     ;read only = no
  45.  
  46. ; NOTE: Again - only needed if you're running a primary domain controller.
  47. ;[Profiles]
  48.     ;path = /var/lib/samba/profiles
  49.     ;valid users = %U
  50.     ;create mode = 0600
  51.     ;directory mode = 0700
  52.     ;writeable = yes
  53.     ;browseable = no
  54.  
  55. ; NOTE: Inside this place you may build a printer driver repository for
  56. ; Windows - I'll cover this topic in another HOWTO.
  57. ;[print$]
  58.     ;path = /var/lib/samba/printers
  59.     ;browseable = yes
  60.     ;guest ok = yes
  61.     ;read only = yes
  62.     ;write list = root
  63.     ;create mask = 0664
  64.     ;directory mask = 0775
  65.  
  66. ;[printers]
  67.     ;path = /tmp
  68.     ;printable = yes
  69.     ;guest ok = yes
  70.     ;browseable = no
  71.  
  72. ; Uncomment if you need to share your CD-/DVD-ROM Drive
  73. ;[DVD-ROM Drive]
  74.     ;path = /media/cdrom
  75.     ;browseable = yes
  76.     ;read only = yes
  77.     ;guest ok = yes
  78.  
  79. [public_share]
  80.     path = /home/public_share/
  81.     browseable = yes
  82.     read only = no
  83.     guest ok = no
  84.     create mask = 0644
  85.     directory mask = 0755
  86.     force user = root
  87.     force group = root
  88.  
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 51 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.