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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD picture

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD

$249.00



Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590 picture

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590

$129.00



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY picture

AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY

$39.99



AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked picture

AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked

$79.99



Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11 picture

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11

$89.99



Dell Optiplex 7040 MT, i7-6700 3.40GHz, 16GB DDR4 RAM, NO HDD/OS #95 picture

Dell Optiplex 7040 MT, i7-6700 3.40GHz, 16GB DDR4 RAM, NO HDD/OS #95

$65.00