Results 1 to 6 of 6

Thread: Fix an FAQ!

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Posts
    61

    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.

  2. #2
    Member registered user
    Join Date
    Dec 2002
    Location
    Thousand Oaks, CA
    Posts
    96
    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.

  3. #3
    Member registered user
    Join Date
    Feb 2003
    Posts
    61

    Thanks

    Thanks, that was quick. Wow!

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Posts
    1

    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

  5. #5
    Member registered user
    Join Date
    Dec 2002
    Location
    Thousand Oaks, CA
    Posts
    96
    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.

  6. #6

    Re: tdb(null): tdb_open_ex: could not open file /var/run/sam

    Quote 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
  •  


Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1690.40



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



ASUS - ROG Zephyrus G14 14

ASUS - ROG Zephyrus G14 14" OLED 3K 120Hz Gaming Laptop

$1350.00



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



SKhinix 1TB Internal SSD M.2 Solid State Drive PCIe Gen4 NVMe M.2 Internal Solid picture

SKhinix 1TB Internal SSD M.2 Solid State Drive PCIe Gen4 NVMe M.2 Internal Solid

$100.00



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$452.53



Acer Aspire 16 16

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished

$519.99



Western Digital Black SN770 1TB NVME SSD picture

Western Digital Black SN770 1TB NVME SSD

$150.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$545.25