Find the answer to your Linux question:
Results 1 to 5 of 5
Hi All, I'm trying to help get some files off an old RedHat 7 box to a Windows 2003 file server. The W2k3 server is a member of a domain ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    8

    Exclamation [SOLVED] Samba gets access denied on mounted Windows 2003 share.

    Hi All,

    I'm trying to help get some files off an old RedHat 7 box to a Windows 2003 file server. The W2k3 server is a member of a domain and I am using that domain account to connect to the share. I have been able to create the mount point and use smbmount to mount the share and I can see the connection on the W2k3 server. But every time I try to look at the share using the ls command I get Acess denied.

    Here is what I have tried so far.
    1. Verify file permissions on the Win2k3 server
    2. Verified the permissions on the mount point.
    3. Tried using local account to w2k3 server (failed to connect)

    It's weird because I can see the connection on the W2k3 server from the the domain account with that Redhat box, but is will not let me view the share.

    Any help would be appriciated.

    Thanks.

    Ray Laureyns

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    8
    Wel, today I tried enabling the NFS on the W2k3 server with anonymous access but still get access denied every time I try to access the mounted share. Not sure if it is Windows or Linux blocking. Does not look like the FW is blocking and I can still see open sessions on the Win2k3 box. Any help would be greatly appriciated. I'm against a deadline.

    Thanks

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    8
    Ok, here is the next piece in my puzzle. I have been able to mount the Win2k3 share using mount.cifs. I can now see and copy files to the share but for some reason only SOME of the files will copy. When I use cp -r /source /sharemount I get cp: cannot create regular file <destination file> : Input/Output error '<source> -> '<destination>.

    I have tried adding the following options to the mount:
    file_mode=ntfs dir_mode=ntfs iocharset rw noperm sfu.

    This is REALLY FRUSTRATING because I know it is not permissions on either side.

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    have you tried making linux the server (via samba) and windows the client? if you are trying to get files from linux to windows, this would seem the logical way to go. Then you also wouldn't need to wory about write permision, as your just reading, whereas the oposite way, you have to write to the server, which isn't as easy.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    8
    Case closed!

    I finally got it working, my problem wan the Windows server was running Quota server and the share didn't have enough space to copy the files. The othe major hurdle was the Linux box was completely locked down. SAMBA was not installed and neither was FTP, so that was really limiting my options on getting hte data off. Now I have another problem that I will post a new thread for. Many of the files I have to copy had "::" in the name which of course is invalid in windows. So now I'm trying to come up with a way to change the files names on the fly to replace the "::" with"-".

    Oh what fun!!!



    Thanks

    Ray

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...