LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-05-2009, 10:11 PM   #1
creeper3d
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Rep: Reputation: 0
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

Last edited by creeper3d; 07-06-2009 at 12:55 PM. Reason: I was drunk and forgot to add something
 
Old 07-06-2009, 11:04 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 07-12-2009, 05:48 PM   #3
creeper3d
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



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 samba share at boot with fstab keyboard1973 Linux - Server 2 09-04-2008 02:27 PM
how to mount samba share only when connected - at boot? adamruss Linux - Networking 1 08-21-2008 11:17 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
Mount samba share at boot with user write permissions Wynd Linux - Software 2 08-21-2006 11:48 PM
samba share mount on boot anthjaz Linux - Software 4 11-04-2003 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:50 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