Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-23-2002, 04:30 AM   #1
LQ Newbie
Registered: Aug 2002
Location: Biarritz, France
Posts: 2

Rep: Reputation: 0
Mounting Samba shares under Linux


I need to mount a Samba Share on my RedHat 7.2, so i installed Samba-common, and Samba-Client.

To mount the share i type :

smbmount //serveur_dev/fax /mnt/fax/ -o username=fax,password=toto,rw

Then i get the following error, repeated 3 times :

tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory

Any idea of the reason why it tells me this?? And how to fix it?

Old 08-23-2002, 05:19 AM   #2
LQ Newbie
Registered: Aug 2002
Location: Biarritz, France
Posts: 2

Original Poster
Rep: Reputation: 0
Ok, i answer myself. I "touch"ed the file to create it, and averything went fine, i could mount my share.

Now i have another question, i can read, but i can't write on my share.

My smb.conf :

[root@serveur-dev /pdf]# vi /etc/samba/smb.conf
path = /var/www/miniserv
read only = no

#======================= Global Settings =====================================
netbios name = serveur_dev
workgroup = MonGroupe
server string = Serveur de developpement
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server =
dns proxy = no

#============================ Share Definitions ==============================
# comment = Home Directories
# browseable = no
# writable = yes

path = /pdf
read only = no
locking = no
comment = Repertoire de reception des fax
write list = fax
force user = fax

And you have my smbmount command syntax in the first post.

any idea?

Old 10-29-2002, 11:22 PM   #3
LQ Newbie
Registered: Oct 2002
Posts: 3

Rep: Reputation: 0
I am encountering the same problem you have on the first post xarli. What so you mean by "touch"ed the file? I do not know how to create the file in the first place.
Old 10-31-2002, 07:12 AM   #4
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
touch is a standard linux/unix command
touch fred
will create a file called fred


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
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 07:13 AM
trouble mounting samba shares flynnhandley Linux - Software 5 07-01-2004 11:19 AM
Mounting Windows Shares using SAMBA Flossie Mandriva 2 03-26-2004 11:12 AM
Mounting Win2k Shares w/Samba HKDude Linux - Newbie 2 01-25-2004 07:42 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM

All times are GMT -5. The time now is 07:26 PM.

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