Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I was wondering if this is possible. I am trying to copy files from a Linux server that I manage to a share on a Windows File Server that ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    Mounting windows share AD authentication

    Hello,

    I was wondering if this is possible. I am trying to copy files from a Linux server that I manage to a share on a Windows File Server that I have access to. At the moment I can only ssh to the server. Is it possible to mount the share using login credentials managed by Active Directory? I have done some testing in my lab and mount the share but only with a local account on the Windows machine.

    Here is the command that I use with the local account.

    mount -t smbfs -o username=<my username> //192.168.215.194/TestShare /mnt

    Any help would be much appreciated

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    The SMB protocol has a 2GB file size limit. I suggest using the "filesystem type" cifs.

    Just like when using domain auth in windows, the same syntax is used with Samba => DOMAIN\username

    * I don't remember if Linux wants DOMAIN/username instead of the backslash - you can test and confirm.

    Alternatively you can use the option domain=XXXX

    Google and you will find many examples.

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2
    I had tried authenticating the same way you would in Windows but no luck. I switched the file type to cifs and it worked first try without having to specify a domain. Thanks for your help it is much appreciated.

Posting Permissions

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