Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, Here is my config so far : 1. I installed Windows server 2008, with Active Directory, DNS, DHCP. 2. I installed Ubuntu 9.10 and joined it to the domain. ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Location
    Angers, France
    Posts
    91

    acces to shared folder on Windows 2008

    Hello,

    Here is my config so far :

    1. I installed Windows server 2008, with Active Directory, DNS, DHCP.
    2. I installed Ubuntu 9.10 and joined it to the domain. Everything is ok. I can see the Ubuntu in the active directory, it gets an Ip address from the DHCP.
    3. I create a shared folder on the server 2008.
    4. I can access the server from Ubuntu ONLY by going to "Connect to Server" and entering the data to connect.

    My problem :
    I would like to have the shared folder showing up when Ubuntu boots up or when the user is logging IN on the Ubuntu host. I have tried many things without success. I know how to do it so this is fine. BUT i would like a user to be able to access the shared folder without having to do anything (especially for users who are not familiar with computers). What is the best way to do it ?

    Thanks you very much.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    You can put it in your /etc/fstab assuming you assign a permanent mount point for it. It is a cifs file system time. You will need to specify the userid and password to use in the options field as in user=name,password=passwd, otherwise it won't connect, unless you specify on the Windows side that anyone can access the share, in which case you probably don't need the user,password options. So, the line to add to /etc/fstab would be something like this:
    Code:
    //server/share    /mount-point    cifs    defaults    0  0
    You would replace "defaults" with the "user=name,password=passwd" if you have to. Then you can test it without rebooting. Simply execute the (as root, or sudo) mount /mount-point or mount //server/share.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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