Announcement

Collapse
No announcement yet.

Home network problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Home network problem

    I've been trying to set up a network between 2 Kubuntu computers. I installed Samba and shared some folders. When I go to smb:// I can see the network both computer are in, I can see both of the computer, I can see the files that have been shared, but I just cant open them. When I open a folder it says it doesn't exist.
    When I try to add a user like it was in KubuntuGuide (sudo smbpasswd username) I get this:

    sudo smbpasswd enola
    New SMB password:
    Retype new SMB password:
    Failed to find entry for user enola.
    Failed to modify password entry for user enola.

    And nothing else. I've tried to add users from Settings -> Internet & Network -> Samba, but I see no difference after doing this.

    Should konqueror ask for password when I browse to a folder I have no right to read or how should this work? I'm in a dead end

    #2
    Re: Home network problem

    1. Why use Samba where no Windoze is involved ( - further reading) ...?

    2a. A possible point to (re-)start Samba from
    2b. Samba's manual (worth being read :P )

    Comment


      #3
      Re: Home network problem

      This reminds me of and old question:

      I love ssh. Truly it's way better than smb (and faster, and encrypted). I use it for remote consoles, rsyncing, remote GUIs, and file sharing.

      But is there any way to have something like nmb for linux systems?. As I always work in mixed enviroments (linux plus windows) I have relied always on the "windows-side-of-name-resolving".

      Please, something simple, not dynamic dns, or using static IPs and hosts files . Oh, no LISA please, I had quite bad experiences in the past with her.

      Javier.

      Comment


        #4
        Re: Home network problem

        Thanks for the advice.http://www.penguin.ch/dokuwiki/doku....onf#a_showcase this helped me, and I now got a little further, but I have one simple question.. How do I set the password? I used the server computer password and the same username, but it didn't work.

        Comment


          #5
          Re: Home network problem

          Use smbpassword.

          I mean, if you want to allow connections to the machine "machine1" to the user "joe", in "machine1" type:

          Code:
          $ sudo smbpassword joe
          Note that joe should be a real user of the computer.

          Now when asked for an user in another computer type joe and his smbpassword (that can be the same than the regular one, or not).

          Javier.

          Comment


            #6
            Re: Home network problem

            "New SMB password:
            Retype new SMB password:
            Failed to find entry for user crube.
            Failed to modify password entry for user crube"

            This is what I get everytime. And that is exacly the same username I have on this computer

            Comment


              #7
              Re: Home network problem

              Ok I solved it. It wanted me to type sudo smbpasswd -a crube to add crube as a user ( I did that already in smb.conf ) :S

              Comment


                #8
                Re: Home network problem

                In order to open files on a remote computer using samba, you must first mount the directory on the remote computer on the local computer.

                Comment


                  #9
                  Re: Home network problem

                  I just go to smb:/ and from there I browse to Network -> Computer Name -> Shares. No need to mount

                  Comment


                    #10
                    Re: Home network problem

                    Originally posted by Crube
                    No need to mount
                    Of course not - although mounting the remote share to a local folder could make the actual handling easier

                    Comment


                      #11
                      Re: Home network problem

                      From your original post:

                      Originally posted by Crube
                      When I go to smb:// I can see the network both computer are in, I can see both of the computer, I can see the files that have been shared, but I just cant open them. When I open a folder it says it doesn't exist.
                      That's why I suggested mounting the remote folder (directory).

                      Comment


                        #12
                        Re: Home network problem

                        Originally posted by Detonate
                        That's why I suggested mounting the remote folder (directory).
                        Nice try but still, the server's settings in reference to the share in question are what should be reviewed prior to adding a second set of (possibly wrong) permissions to the problem at hand by explicitly mounting the "half done" share ...

                        Comment


                          #13
                          Re: Home network problem

                          OK, I don't know whether we are agreeing or disagreeing . But I defer to your greater knowledge.

                          Comment


                            #14
                            Re: Home network problem

                            Originally posted by Detonate
                            OK, I don't know whether we are agreeing or disagreeing . But I defer to your greater knowledge.
                            Don't do that ... I'll try to rephrase my argument:

                            The original poster's problem is that the server won't let him access the shared files and folders the way he (the user) would like to - which, quite obviously, counts for "server-side" trouble. Mounting this share (read: locally), in contrast, would change the "client-side" situation only.

                            Comment

                            Working...
                            X