-
Fix an FAQ!
The FAQ Samba Quick needs updating I think. Maybe my setup is different [I'm running of the CD] but the line
Code:
mount -t smbfs -u username=foo,password=bar //windowsbox/sharename /mnt/myshare
should have the -u changed to -o
mount -t smbfs -o username=foo,password=bar //windowsbox/sharename /mnt/myshare
definition of pain--spending 3+ hours trying to figure it out!
I found a cool page from IBM about setting up Samba. I's got some neat (and simple) steps to change & test one thing at a time to get going! It's for Linux-to-AS/400 [iSeries] connection, but it's pretty good.
to the google cache (pdf-html)
http://216.239.39.100/search?q=cache...hl=en&ie=UTF-8
search: ibm as400 file shares linux client
p.s. how do you get rid of the overtyping in the root shell--it's really hard to see what you're doing.
-
Good point. I made the change. Next time you need to mount a samba share and can't remember the syntax, enter the command "smbmount" with out any arguments and you will get the help screen with the last line of
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
to use as a reference for your mount command.
-
Thanks
Thanks, that was quick. Wow!
-
tdb(null): tdb_open_ex: could not open file /var/run/samba/u
Hi,
I tried to mount -t smbfs, but received error tdb(null): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory.
Anyone can advise what happened?
Thank you
Cheers,
Tjioe
-
I get the same message (3 times), but I still get a password prompt and a successfull log on. Do you get a password prompt? I do not include the "password=" option when I mount smb shares.
-
Re: tdb(null): tdb_open_ex: could not open file /var/run/sam
Originally Posted by
frenky
Hi,
I tried to mount -t smbfs, but received error tdb(null): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory.
Anyone can advise what happened?
Thank you
Cheers,
Tjioe
I found this work around online. I don't know if it will work in your situation. Try typing:
Code:
sudo touch /var/run/samba/unexpected.tdb
Let us know if this fixes the problem. If it does, it appears that the samba implementation is missing the unexpected.tdb file and by creating it (with touch) you are diverting the error messages. This probably isn't a full blown fix as unexpected.tdb probably does something important... but it appears that it works around the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand
$60.00
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem
$39.99
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$143.98