Page 52 of 106 FirstFirst ... 242505152535462102 ... LastLast
Results 511 to 520 of 1059

Thread: HOWTO: Setup Samba peer-to-peer with Windows

  1. #511
    Join Date
    Nov 2007
    Beans
    253
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by buccaneere View Post
    sudo /etc/init.d/samba stop
    sudo /etc/init.d/samba stop
    * Stopping Samba daemons... start-stop-daemon: warning: failed to kill 4910: No such process

    What's this critter???
    Looks like you tried to stop the same process twice.

    Second time through, it was gone already.

  2. #512
    Join Date
    Nov 2007
    Beans
    253
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by tbrothers View Post
    Ubuntu server 7.10

    Thanks StormBringer! Your config file and instructions worked Perfect!

    However - for the life of me I cannot find the file smbusers. Following your instructions and using the commands

    "sudo smbpasswd -L -a <username>"
    "sudo smbpasswd -L -e <username>"

    I've granted the appropriate users the ability to map drives via samba ... and they all work great. I just don't know where the user information is being stored. I've searched the entire drive and cannot find file smbusers.

    What am I missing?

    Thanks,
    Terry
    Don't know where they are actually located, but I can suggest that they are much easier to see and manage with the graphic management program:

    system-config-samba

    download it with synaptics

    Once installed, use it by clicking to System>Administration>Samba

  3. #513
    Join Date
    Dec 2007
    Beans
    2

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Another TY to stormbringer!

    You gave new life to a unique (read: really old) box of mine

    Just for a quick reference, the box is an old IBM PC 704 server
    2 pentium pro's ( 4 capable) at 200mhz each (lol)
    1 gig of simm ram ( you know, that stuff from before SD RAM )
    12 scsi hot swap hard drives in a raid
    8 gig pata hard drive for /

    bloody thing weighs over 75 lbs.

    tried Damn Small Linux, ran and installed fine, but just installing samba was a nightmare

    tried knoppix, samba ran fine, but install made everything break

    various other distros just plain old didnt work, including debian, ubuntu 7.10, and ubuntu 7.04

    I was about to give up on the whole project, but I came across your tut after getting ubuntu 6.06 up and running. Thank you so much for the helping hand and making my project something other than a complete flop

  4. #514
    Join Date
    Nov 2007
    Location
    eastern NC
    Beans
    657
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    This sequence/process needs to be executed on all 5 machines... Correct?
    If you wanna' help, great. But explain as you go. Otherwise, you're just giving away fish, and not the important stuff - pole, bait, net, etc...

    Still a beginnerd, but not absolute...

  5. #515
    Join Date
    Nov 2007
    Location
    eastern NC
    Beans
    657
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    HTML Code:
    sudo chmod 0777 /media/samba
    I got here, and the return was, 'no such file or directory'.

    Somethin' about the assumptions just prior to this command I didn't follow...

    Help?
    If you wanna' help, great. But explain as you go. Otherwise, you're just giving away fish, and not the important stuff - pole, bait, net, etc...

    Still a beginnerd, but not absolute...

  6. #516
    Join Date
    Nov 2007
    Location
    eastern NC
    Beans
    657
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    What is 'fixed dhcp lease?

    From my router settings (red is current values):

    DHCP Server Settings :
    Use this section to configure the built-in DHCP Server to assign IP addresses to the computers on your network.

    Enable DHCP Server : Y

    DHCP IP Address Range : 100
    to 199 (addresses within the LAN subnet)
    DHCP Lease Time : 180
    (minutes)
    If you wanna' help, great. But explain as you go. Otherwise, you're just giving away fish, and not the important stuff - pole, bait, net, etc...

    Still a beginnerd, but not absolute...

  7. #517
    Join Date
    Nov 2007
    Beans
    253
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by buccaneere View Post
    HTML Code:
    sudo chmod 0777 /media/samba
    I got here, and the return was, 'no such file or directory'.

    Somethin' about the assumptions just prior to this command I didn't follow...

    Help?

    This will work only if you have a folder called /media/samba. You would need to create that folder.

    You could name it anything -- /media/samba is just an example name.

    It does have to be the same name as the one you refer to in your samba config file (look at the example toward the end of that config file)

    the chmod command changes the permissions to that /media/samba file -- but since you didn't create that folder in the first place, your system reported an error -- 'no such file or directory/

  8. #518
    Join Date
    Nov 2007
    Beans
    253
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by buccaneere View Post
    What is 'fixed dhcp lease?

    From my router settings (red is current values):

    DHCP Server Settings :
    Use this section to configure the built-in DHCP Server to assign IP addresses to the computers on your network.

    Enable DHCP Server : Y

    DHCP IP Address Range : 100
    to 199 (addresses within the LAN subnet)
    DHCP Lease Time : 180
    (minutes)
    This means that your DHCP leases are not permanent. They last for 180 minutes.

    Since you are using DHCP, and since the adrress assigned to your computer only lasts 180 minutes before it is renewed (and possibly changed) you should carefully follow Stormbringer's instructions.

    Mainly that means NOT enabling WINS.

    That's okay, however. I'm writing you from a home network that does not use WINS in the Samba config (like you) and it works fine.

  9. #519
    Join Date
    Dec 2007
    Location
    Lancashire, UK
    Beans
    7

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    A very excellent guide which I enabled me to get my netowork working perfectly. However, after I did the last Windows step (to map the network drive) I can't access my laptop from Ubuntu.

    "Sorry, couldn't display all of contents of Windows Network: nyx"

    It was working both ways before that point (although it may because I logged out? Although I'm pretty certain it was working on re-log too) now I can only access the Ubuntu shares.

    Thanks for any help - and thanks again for the howto!

    BTW: nyx is the name of my Windows laptop I realized that it may sound a bit confusing.
    Last edited by 2017-Z; January 5th, 2008 at 01:00 PM.

  10. #520
    Join Date
    Jan 2008
    Beans
    11

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    I did everything you said but am unable to log in. I am trying to log in from my laptop using windows vista. I can see the computer that is running ubuntu but when i try to log in it says logon failed. It says it needs to be in the format of DOMAIN\username. I have tried everycombination I know of but it still says login failed. Am I not putting it in the right format? It is wanting the password for the linux pc right? I set up samba with the same user names and passwords as ubuntu so its not like there is that many choices. I am so frustrated please help!

Page 52 of 106 FirstFirst ... 242505152535462102 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •