LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2015, 05:06 PM   #16
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653

Any firewall running on Machine B?

Also could you try mounting with 'sec=ntlmv2'

Last edited by kbp; 03-18-2015 at 05:11 PM.
 
Old 03-18-2015, 05:16 PM   #17
tonj
Member
 
Registered: Sep 2008
Posts: 544

Original Poster
Rep: Reputation: 37
yes definitely, machine-B is connected to the internet so it is firewalled, however the firewall doesn't stop any other lan machine from connecting to its share. It gets even weirder.... machine-A has no problem connecting to other shares on the lan. The incompatibility appears to be only with the other centos5 machine - machine-B. I'm beginning to think this is a software bug/incompatibility that is unsolvable....
 
Old 03-18-2015, 07:18 PM   #18
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
So no go with mounting with 'sec=ntlmv2'? What about hardening, can you think of any specific hardening action that may be causing this issue?
 
Old 03-19-2015, 02:00 PM   #19
tonj
Member
 
Registered: Sep 2008
Posts: 544

Original Poster
Rep: Reputation: 37
sec=ntlmv2 = no go. I don't know what 'hardening' means in this context.
 
Old 03-19-2015, 02:05 PM   #20
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Possible to paste the output for the following share section from smb.conf:

Code:
//ip-machine-B/share
Also, did you try:
Code:
mount -t cifs //ip-machine-B/share /media/machine-B -o user=domain\my-user
I have removed the password section from the command it will prompt when you hit enter.

And the thing I am most curious about, why not NFS when both boxes are Linux?
 
Old 03-19-2015, 02:19 PM   #21
tonj
Member
 
Registered: Sep 2008
Posts: 544

Original Poster
Rep: Reputation: 37
smb.conf
Quote:
[share]
path = /home/share
writable = yes
browsable = yes
valid users = <user>
mount -t cifs //ip-machine-B/share /media/machine-B -o user=domain\my-user
Quote:
mount error 13 = Permission denied
I've not used NFS before, I'm not familiar with it.
 
Old 03-19-2015, 02:25 PM   #22
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Wait a sec which password are you using? Are you using the normal user password or smb password? Things you have to make sure for authentication to work are:

1. The user account you are using exist on destination (samba hosting server).
2. The user account password has been set using smbpasswd <user>
3. You are using not the normal account password but the password that has been setup using smbpasswd.

Try this because I think you are using normal account password.

If that doesn't work we can figure out something, if you are open for NFS setup let us know and we will assist you with that setup.
 
Old 03-28-2015, 05:32 AM   #23
tonj
Member
 
Registered: Sep 2008
Posts: 544

Original Poster
Rep: Reputation: 37
I've been doing some deeper digging on this and discovered that on machine-A the command
Quote:
# nmap <ip-machine-B>
returns nothing. machine-A can ping machione-B and get a response but that's all. Surely this is where the problem lies. For some reason machine-A can't see any ports on machine-B.
On machine-A if I try to nmap other ip's on my LAN it works fine, it shows the ports up on the other ip's but from machine-B...nothing. I'm puzzled as to why this is.

Last edited by tonj; 03-28-2015 at 05:33 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount error (13). Permission denied Esaraujo Linux - Newbie 3 06-05-2013 07:47 AM
Mount error 13:permission denied while trying to mount Buffalo NAS to RHEL grendle65 Linux - Newbie 4 05-06-2013 05:39 PM
mount cifs error 13 (permission denied) but... realized Linux - Networking 2 10-25-2012 06:00 PM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
Permission denied error when trying to mount image contained in sshfs mount openSauce Linux - General 2 03-08-2009 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration