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
  •  


Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS picture

Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS

$67.99



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



Evergreen 586 - Processor upgrade 486 to 586 picture

Evergreen 586 - Processor upgrade 486 to 586

$149.99



Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested* picture

Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*

$32.99



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor picture

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor

$14.49



Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor picture

Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor

$62.95



Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6 picture

Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6

$10.99



AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad picture

AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad

$355.99