LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Open SUSE 11.1 mount samba share at boot??? (https://www.linuxquestions.org/questions/suse-opensuse-60/open-suse-11-1-mount-samba-share-at-boot-737945/)

creeper3d 07-05-2009 10:11 PM

Open SUSE 11.1 mount samba share at boot???
 
OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is

mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx
please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks

jschiwal 07-06-2009 11:04 PM

Here is an example of a samba share entry in my /etc/fstab file:
Code:

//192.168.1.102/podcasts        /mnt/maxtor/podcasts    cifs    rw,user,_netdev,noauto,cred=/home/jschiwal/.credentials,uid=jschiwal,gid=jschiwal,file_mode=0117,dir_mode=0007,nls=utf8
Remove the `noauto' option if you want the share mounted during bootup. The `_netdev' option will delay trying to mount the share until the network is up.
The .credentials file contains the username and password:
Code:

username=<username>
password=<password>

Since the fstab file is world readable, don't use the username & password fstab options. Use a credentials file instead.
If the server could be down when you boot up, it may be a good idea to still use the "noauto" and run "sudo mount /net" manually to mount it. If an auto mount entry in /etc/fstab fails when you boot up, your boot up could fail.

creeper3d 07-12-2009 05:48 PM

thanks
 
your help is greatly appreciated... but now I'm getting an error 13 - permission denied... are there any special encryption methods used in samba shares that i need to know about? I've checked all options on the server, and it seems to be set up properly, but not accepting my user name and password... any ideas?


All times are GMT -5. The time now is 08:31 AM.