-
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 PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox
$620.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99