Announcement

Collapse
No announcement yet.

Samba logon problems

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

    Samba logon problems

    Thanks to good postings here and google, I am now able to access Kubuntu -> Windows. Using the same workgroup it's no problem.

    I can also go to the W2000 PC, and see the Kubuntu PC. But when I try opening, I get a logon window, where I cannot choose user. It is "greyed out".

    I have tried setting the password using the
    Code:
    smbpasswd
    command, but I can't use it from the PC.

    As I'm on a semi open wireless network (one other workgroup using it, autheticized MAC addresses only, I need the PC's protected, or the workgroup prtected.

    If I am getting near too "understanding" the smb.conf file, the logon things should be here:

    Code:
    ####### Authentication #######
    
    # "security = user" is always a good idea. This will require a Unix account
    # in this server for every user accessing the server. See
    # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
    # in the samba-doc package for details.
    security = share
    
    # You may wish to use password encryption. See the section on
    # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
    encrypt passwords = true
    
    # If you are using encrypted passwords, Samba will need to know what
    # password database type you are using.
    passdb backend = tdbsam
    
    obey pam restrictions = yes
    
    # guest account = nobody
    # invalid users = root
    
    passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
    sword:* %n\n *passwd:*password\supdated\ssuccessfully* .
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

    #2
    Re: Samba logon problems

    I've actually had the same problem with WinXP machines. Going from Kubuntu to Kubuntu works great! Windows XP not so good. I get the same problem. The UN is greyed out as GUEST. I've read a bunch of stuff where MS "forces" Guest Logon, and I've even tried the helps to keep WinXP from doing that without any luck. This problem is true for Kubuntu in the same "workgroup/domain" and not in the same "workgroup/domain". It has puzzed me greatly and I realy think it is on the MS side, but for the life of me can't find where. Anyone?

    Comment


      #3
      Re: Samba logon problems

      Give Windows, Linux, and Samba a look. Seems to be well put together and it might just help you solve your problem.
      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


        #4
        Re: Samba logon problems

        Originally posted by MoonRise
        I've actually had the same problem with WinXP machines. Going from Kubuntu to Kubuntu works great! Windows XP not so good. I get the same problem. The UN is greyed out as GUEST. I've read a bunch of stuff where MS "forces" Guest Logon, and I've even tried the helps to keep WinXP from doing that without any luck. This problem is true for Kubuntu in the same "workgroup/domain" and not in the same "workgroup/domain". It has puzzed me greatly and I realy think it is on the MS side, but for the life of me can't find where. Anyone?
        Here's a config file that works - sort of.

        [global]

        workgroup = WORKGROUP

        interfaces = eth0
        # interfaces = lo, eth0
        # bind interfaces only = true

        unix charset = UTF-8
        map to guest = bad user

        [Delt]

        path = /home/nils/Delt
        wide links = no
        username = nils
        create mask = 0644
        force user = nils
        case sensitive = no
        strict locking = no
        # msdfs proxy = no



        ;[DVD-ROM Drive]
        path = /media/cdrom
        guest ok = yes

        I found the advice to use the same smb.conf at all Linux PCs, and used one on the portable I use working outside (not much use these days) - and done some small alterations

        I've had to comment out some of the security in the beginning,

        # interfaces = lo, eth0
        # bind interfaces only = true

        the well-known

        # msdfs proxy = no

        and add

        force user = nils

        Most probably I still have a problem at this PC (7.10), but it may be the way I have set up sharing.

        (And yes, Fintan, I'm still grateful for the "template" - but first testing things "out of the box" on this experimental PC.)

        Comment


          #5
          Re: Samba logon problems

          Originally posted by nilsA





          Most probably I still have a problem at this PC (7.10), but it may be the way I have set up sharing.
          It turned out to be just that. I deleted the share folder - both in Dolphin and the smb.config file, restarted, and made a new (different name!) share. At the moment 4 out of 5 PCs - 2 kubuntu, 1 XP and 1 W2000 is sharing happily, while the XP laptop is behaving badly for some reason not having to do with Samba. It is visible and see the other - but don't accept any connection.

          And I found that the share option in system settings do (some times?) reintroduce the msdfs line.

          Comment


            #6
            Re: Samba logon problems

            Unfortunately none of those suggestions helped me.
            I can go linux to linux fine. Windows 2000/XP do see the share, I just can't get them to
            "log in" to the share properly. Windows 2000 at least let me type in the User Name, but
            still couldn't authenticate against the Samba. Windows XP still wants to prompt a grayed
            out User Name that is populated with "Guest".

            Comment


              #7
              Re: Samba logon problems

              Originally posted by MoonRise
              Unfortunately none of those suggestions helped me.
              I can go linux to linux fine. Windows 2000/XP do see the share, I just can't get them to
              "log in" to the share properly. Windows 2000 at least let me type in the User Name, but
              still couldn't authenticate against the Samba. Windows XP still wants to prompt a grayed
              out User Name that is populated with "Guest".
              Did you try the simplified smb.conf file?

              Comment

              Working...
              X