Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th September 2007, 02:52 PM
mr_2062 Offline
Registered User
 
Join Date: Mar 2006
Posts: 8
Samba - Trouble with password??

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
Reply With Quote
  #2  
Old 15th September 2007, 03:24 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello mr_2062

I've just tried your variant on the mount command, I generally use the variant:

mount -t cifs //atx17/share /mnt -o username=bbfuller

a bit simpler to type. But whichever they both work on my system

You don't mention it, but have you created samba passwords on the linux machine as well as linux passwords.

If not then:

smbpasswd -a bbfuller

as an example, might be a good place to start.

The other thing is shares on the windows box. I've never tried sharing the whole hard disk, I just know it's frowned upon.

Try explicitly setting up a smaller share in windows. It always helps to have another windows box to view it in case of difficulties so that you can see your share is available on the network and it's not the windows end causing the trouble.

I notice as well that you have 'encrypt passwords' set as no.

I haven't tried, but I think windows expects encrypted passwords and the smbpasswd command above creates them and provides them for windows. If you were to be able to use unencrypted passwords it would be necessary to alter the windows registry so that it would deal with them.

Last edited by bbfuller; 15th September 2007 at 03:28 PM.
Reply With Quote
  #3  
Old 15th September 2007, 04:40 PM
mr_2062 Offline
Registered User
 
Join Date: Mar 2006
Posts: 8
bbfuller:

Thanks for the suggestions. I have tried your mount method and used to smbpasswd command per an earlier note from you to another soul in need. I created a windows share from a directory rather then root. Nothing worked. I noticed upon a reboot that NFS services failed to shutdown. Would samba and nfs be connected in anyway. I have no nfs mounts.

[root@redbarn Michael]# mount -t cifs //xpbox/test /mnt/Arc -o username=Michael
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@redbarn Michael]#

I appreciate your help and all the help you've given others on this forum.

Michael
Reply With Quote
  #4  
Old 15th September 2007, 04:50 PM
mr_2062 Offline
Registered User
 
Join Date: Mar 2006
Posts: 8
Another quick note. The XP system can now access my Fedora user home directory. I big help. Now I can pass files between the systems while trouble shutting the the Fedora to XP mount.

Thanks,
Reply With Quote
  #5  
Old 15th September 2007, 05:33 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello mr_2062

Well, if the system works Windows to Fedora but not the other way round, I suspect that it is something to do with permissions in the Windows machine.

It's a long time since I set up an XP machine for sharing, they don't get used or installed very much, but I seem to remember that as well as creating the shares, they wouldn't work unless I had run the Windows network sharing wizard. Just a thought
Reply With Quote
Reply

Tags
password, samba, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having to enter Samba password manually in Samba config screen after every reboot! Syncro Servers & Networking 3 17th July 2008 12:03 AM
SAMBA password problems on F7 bjrosen Servers & Networking 5 31st August 2007 09:07 PM
Samba not promptign for password mbrice81 Using Fedora 3 25th December 2005 02:22 AM
root password trouble and keyring manager lymz Using Fedora 1 10th July 2005 08:31 AM
samba server asking for password drews project Servers & Networking 14 21st May 2004 08:24 PM


Current GMT-time: 11:46 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat