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
  •  


Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives picture

Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives

$24.99



1TB Samsung 840 EVO Internal 2.5

1TB Samsung 840 EVO Internal 2.5" SATA III SSD MZ7TE1T0HMHP Solid State Drive

$69.83



SAMSUNG T9 Portable SSD 1TB, USB 3.2 Gen 2x2 External Solid State Drive 2000MB/s picture

SAMSUNG T9 Portable SSD 1TB, USB 3.2 Gen 2x2 External Solid State Drive 2000MB/s

$124.99



Samsung PM991 1TB M.2 SSD Internal PCIe 3.0x4 2230 NVMe R31264 Solid State Drive picture

Samsung PM991 1TB M.2 SSD Internal PCIe 3.0x4 2230 NVMe R31264 Solid State Drive

$94.05



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ... picture

Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...

$71.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G picture

Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G

$60.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$703.19