I'm trying to mount an XP share \\XPbox\share using samba under Fedora 7. After reviewing and attempting nearly every fix noted in the forum, it's time to ask for help with this seemingly simple task.
SELinux was disabled using the "Security Level Configuration" tool.
I've all tried many mount commands. Here's one:
[root@fedorabox samba]# mount -t cifs "\\\\XPbox\\D" -o username=Michael /mnt/Arc
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@fedorabox samba]#
My fedora user name is Michael Upper case M. Same for the XP box or at least is appears as Michael at logon.
No matter the mount command, I can't seem to overcome some password inconsistence. To simplify matters the password is the same on both systems.
smb.conf
[global]
workgroup = redbarn
server string = Samba Server Version %v
encrypt password = yes
smb passwd file = /etc/samba/smbpasswd
# --------------------------- Logging Options -----------------------------
# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
# ----------------------- Standalone Server Options ------------------------
security = tdbsam
passdb backend = smbpasswd
# --------------------------- Filesystem Options ---------------------------
; map archive = no
; map hidden = no
; map read only = no
; map system = no
encrypt passwords = no
; guest ok = no
; guest account = nobody
username map = /etc/samba/smbusers
; store dos attributes = yes
#============================ Share Definitions ==============================
[Michael]
comment = Michael Documents
path = /home/Michael/Documents
writable = yes
browseable = yes
valid users = Michael
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes