LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-31-2005, 03:20 AM   #1
luna6
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Rep: Reputation: 0
long remote mount time for samba with cifs command


Hello,
I have a few computers at home, and when my linux2 box boots up, it has a few cifs remote directories to mount through samba on another linux1 computer, the problem is it takes maybe 3-5 minutes for linux2 to connect linux1 and authenticate and continue the boot (I know nfs maybe more appropriate, but I had troubles with getting nfs and my software firewalls to play nicely, so wont go there). Samba is configured to require username and password for all clients connecting to linux1, which I feel more comfortable with. In the past I did change something, and linux2 would mount the remote directories almost instantly but I cannot remember what it was I had setup to allow it to connect so quickly...any help on this issue (long time to mount samba directories) would be greatly appreciated.

Here is my smb.conf file on linux1 :


workgroup = Lunapark
netbios name = Linux1
server string = Linux1 Server
hosts allow = 192.168.1.91 192.168.1.92 127.

log file = /var/log/samba/%m.log
max log size = 50

security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
domain master = yes
preferred master = yes

#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
username map = /etc/samba/smbusers
[homes]
comment = Home Directories
browseable = no
writeable = yes


[Audio-N]
path = /Lunapark/Audio-N
guest ok = yes
writeable = no
write list = userfoo,userfoo1


[Audio-A]
path = /Lunapark/Audio-A
guest ok = yes
writeable = no
write list = userfoo,userfoo1



Here is the fstab file on linux2 :

//192.168.1.90/Audio-A /Lunapark/Audio-A cifs user,password=edited,username=userfoo 0 0
//192.168.1.90/Audio-N /Lunapark/Audio-N cifs user,password=edited,username=userfoo 0 0
 
Old 04-01-2005, 11:43 AM   #2
luna6
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
..bump....this shouldnt be an unusual problem? .....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
Command to time how long a program runs jing Linux - Newbie 1 07-19-2004 10:35 PM
long listing using ls -l command display year or time of the file mnd_world Linux - Newbie 1 05-20-2004 11:39 AM
Floppy takes long time to mount JimW Linux - General 9 09-05-2003 12:57 AM
route command taking a long time tpatwood Linux - Networking 1 07-01-2003 04:22 PM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration