Announcement

Collapse
No announcement yet.

SAMBA keeps asking for Username/Password?

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

    SAMBA keeps asking for Username/Password?

    I have Kubuntu 9.04 installed on my notebook computer, with KDE 4.4.1 also installed.

    I have 3-4 other windows computers in the house. Ranges from Windows 7, to Vista, to a couple of XP.

    I shared a folder (Inbound) in my home directory on the linux computer.

    All of the window computers on the network see the share, and will be able to move files to that folder.

    However when I go to the Linux computer, things don't work this way.

    I'll open up Dolphin, select "network", and select "Samba Shares".

    After a pause, I see the Windows workgroup name (SKYNET).

    I'll click on the "SKYNET" icon, then I'll be asked to provide "authorization information for skynet"

    Huh?

    I've tried all of my windows username/passwords. I've tried the standard linux/share, even tried just a username and no password. Also tried just hitting "OK" or "cancel", but nothing.

    Without providing anything, I'm denied access to the workgroup.

    I made sure the wireless was off, in case that was interfering, but that's not it either.

    [img width=400 height=250]http://www.scottyk.net/snapshot1.png[/img]

    The full size image of the screenshot can be found here
    http://www.scottyk.net/snapshot1.png

    Thanks!

    #2
    Re: SAMBA keeps asking for Username/Password?

    I tried this just know on my wife's vista laptop and got same results. I disabled password protected sharing on it and it let me on, but re-asks for login every few seconds. I'd say the issue is on the windows side as all my linux machines share via samba without this issue.

    Sorry I could only validate and not help.

    Please Read Me

    Comment


      #3
      Re: SAMBA keeps asking for Username/Password?

      Ok, here's what I did to get it working.

      all as sudo in a terminal

      apt-get install winbind
      kate /etc/nsswitch.conf
      edit line: files mdns4_minimal [NOTFOUND=return] dns mdns4
      to read: files mdns4_minimal [NOTFOUND=return] wins dns mdns4

      kate /etc/samba/smb.conf
      edit line: ; name resolve order = lmhosts host wins bcast
      to read: name resolve order = lmhosts wins bcast host

      changes above are highlighted in bold.

      and then I rebooted. Now it doesn't ask for a password or username - remember I set windows to no password sharing also.

      Please Read Me

      Comment


        #4
        Re: SAMBA keeps asking for Username/Password?

        Is winbond a typo? Apt-get keeps reporting that it can't find that package.

        Tried the rest of it to see if it would work, rebooted, and nope, still wants username/password.

        Comment


          #5
          Re: SAMBA keeps asking for Username/Password?

          I think he meant winbind

          Comment


            #6
            Re: SAMBA keeps asking for Username/Password?

            sorry - I HAT whan I do that!

            Please Read Me

            Comment


              #7
              Re: SAMBA keeps asking for Username/Password?

              You might need kdenetwork-filesharing also

              Please Read Me

              Comment


                #8
                Re: SAMBA keeps asking for Username/Password?

                Ok, winbind is already installed and I have the latest version

                kdenetwork-filesharing is also installed and I have the latest version.

                Still not working.

                Maybe the Windows7 computer is causing it?

                Comment


                  #9
                  Re: SAMBA keeps asking for Username/Password?

                  Possible, but you can't get to any computer? I'd check your windows filesharing settings first.

                  Please Read Me

                  Comment


                    #10
                    Re: SAMBA keeps asking for Username/Password?

                    I unplugged the windows 7 computer from the network, and still asks for a username and password.

                    Also noticed that I made an error in the post above, I'm running 9.10, not 9.04 if that matters.

                    Comment


                      #11
                      Re: SAMBA keeps asking for Username/Password?

                      I'm using 9.10 as well. I don't think one computer would block the others. Must be something we're missing.

                      Start by comparing my smb.conf to yours.
                      Attached Files

                      Please Read Me

                      Comment


                        #12
                        Re: SAMBA keeps asking for Username/Password?

                        great, I'll download it and check it out.

                        One thought I had this morning, when I was setting up Samba orginally, I remember being asked for a "user and password". I selected "linux" for the user, and "share" for the password. Even wrote them down.

                        Then shortly there after I changed the password to something else, for reasons I can't now remember.

                        Could this be the cause of it? Samba is wanting me to enter that original u/p??

                        If so, how do I recover it?

                        Comment


                          #13
                          Re: SAMBA keeps asking for Username/Password?

                          OK I went line by line, and for the most part they are identical. I call my workgroup something different from what you call yours, and I saw some sharing of a CD-ROM drive at the end of your's that I don't have for mine.

                          Here is my smb.conf file in case I'm missing something obvious!

                          www.scottyk.net/smb.conf

                          Comment


                            #14
                            Re: SAMBA keeps asking for Username/Password?

                            I only used SAMBA once, early in my foray into Linux when I had two laptops. I remember something about specifying paths in the SAMBA configuration file and the use of trailing /'s. In your case, the last entry in your file:

                            [INBOUND]
                            path = /home/scott/Inbound/
                            guest ok = yes
                            read only = no
                            contains a trailing / in the path statement. Try removing it so you have:
                            [INBOUND]
                            path = /home/scott/Inbound
                            guest ok = yes
                            read only = no
                            instead.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: SAMBA keeps asking for Username/Password?

                              Originally posted by ScottyK
                              great, I'll download it and check it out.

                              One thought I had this morning, when I was setting up Samba orginally, I remember being asked for a "user and password". I selected "linux" for the user, and "share" for the password. Even wrote them down.

                              Then shortly there after I changed the password to something else, for reasons I can't now remember.

                              Could this be the cause of it? Samba is wanting me to enter that original u/p??

                              If so, how do I recover it?
                              You can't really recover is. You can delete the password file and rebuild it. You might be able to reset it as root.

                              You also have

                              obey pam restrictions = yes
                              pam password change = yes


                              enabled (not default) so I don't know how this might effect you. Also I noticed this line is commented out

                              ; name resolve order = lmhosts wins bcast host

                              remove the semicolon

                              Please Read Me

                              Comment

                              Working...
                              X