Fedora 13 makinede samba kurulumum var ve bunu aile odasındaki xbmc müşterim ile paylaşmak için kullanıyorum. Bunu kurduğumda orada şifre ya da hiçbir şey gerekli değildi, sadece aşağıdaki gibi yollara girdim:
smb://<host>/<share> and all worked.
Şimdi ubuntu 10.04 makinemde aynı ana bilgisayarlara erişmeye çalıştığımda, örneğin bir hata almama rağmen smbmount aracılığıyla.
smbmount //media/Music ~/Music/ # media is in my /etc/hosts and resolves to
# correct IP address for the machine
Hata alıyorum: şifre istendiğinde enter tuşuna basıldıktan sonra işleme izin verilmiyor.
İşte /etc/samba/smb.conf adresinden girişim:
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
# log files split per-machine:
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
security = user
passdb backend = tdbsam
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server = <NT-Server-Name>
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
; logon script = %m.bat
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
; local master = no
; os level = 33
; preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
load printers = yes
cups options = raw
; printcap name = /etc/printcap
# obtain a list of printers automatically on UNIX System V systems:
; printcap name = lpstat
; printing = cups
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
# Un-comment the following and create the netlogon directory for Domain Logons:
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share.
# The default is to use the user's home directory:
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory that is read only, except for users in the
# "staff" group (which have write permissions):
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[tv]
comment = TV
path = /media/Isos/tv
public = yes
writable = yes
printable = no
write list = +media
[music]
comment = Music
path = /media/Storage/music/
public = yes
writable = yes
printable = no
write list = +media
[pictures]
comment = Pictures
path = /media/Storage/pictures
public = yes
writable = yes
printable = no
write list = +media