-
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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s
$78.00

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99