Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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

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 = 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
comment = Home Directories
browseable = no
writeable = yes

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

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

Here is the fstab file on linux2 :

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

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


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

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration