LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Mounting Samba shares under Linux


Hey.

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?

Xarli
 
Old 08-23-2002, 04:19 AM   #2
xarli
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 =====================================
[global]
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 = 10.1.1.1
dns proxy = no

#============================ Share Definitions ==============================
#[homes]
# comment = Home Directories
# browseable = no
# writable = yes

[fax]
path = /pdf
read only = no
writable=yes
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?

Xarli
 
Old 10-29-2002, 10:22 PM   #3
darkspore
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, 06:12 AM   #4
Lazarus
Member
 
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
 
  


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


All times are GMT -5. The time now is 01:12 AM.

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