Announcement

Collapse
No announcement yet.

Network Problems

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

    #31
    Originally posted by jim3297 View Post
    I have used your suggestion to do some of my smb.conf. It hasn't rained for a while so I need to see if I can get some grass cut. If I can I will take a couple hours. I'm leaving everything up and running. I'll be back. It looks like you live in Salem, Or, is that so. I live just south of that, in Albany, Or.
    Not a problem. I have stuff I need to do also.

    I'm just trying investigate without changing things and making it harder to pinpoint the issue. I'm hesitant to suggest changes without knowing the reasons why or how your network was set up. For my network I just needed a print server and some shared directories that the windows computers and Linux computers can access. All my computers require a login and have the same user accounts and passwords. All computers are on the same subnet and belong to the same workgroup. There is only one Public share I have that is attached to a VirtualBox guest Ubuntu 12.04 LTS. The rest of the shares require authentication including the windows shares. I use smb4k from Kubuntu to access windows shares and Samba shares on my network. It's a pretty standard setup.

    I don't use Samba to share my printers attached to the Kubuntu computers. I set these printers up in System Settings --> Printer Configuration. I checked both "Share published printers connected to this system" and "Allow printing from the internet". This makes printing easy for my VirtualBox guest machines, my son (when he visits), and guests who need to print. All they have to do is map the printer (with my instructions and IP address).
    sigpic

    Comment


      #32
      Originally posted by jim3297 View Post
      ...It looks like you live in Salem, Or, is that so. I live just south of that, in Albany, Or.
      Almost neighbors. I had to mow the lawn too.

      Let me comment here that I am by no means an expert in Samba. I am on the learning curve myself. I just started using it a year or so ago and my setup is really basic. I have not deviated to far from the default smb.conf. Most important, I don't want to cause you to have to rebuild your entire network if something gets changed. I backed up my original smb.conf before I made changes.

      Here is a quick summary of what I see in your smb.conf. For some reason you needed winbind4 installed to get samba to work for you. I didn't. The only thing winbind related I have installed is libwbclient0. In the Gobal section I have wins support and wins server commented out. I have everything in the Printing section commented out. I'm not sharing my printer via Samba. The windows computers I have on my network are Windows XP, Windows Vista, and Windows 7. The Linux computers I have include Kubuntu 12.04 LTS and a small list VirtualBox guests that include Kubuntu 12.10, Kubuntu 13.10, Kubuntu 14.04, Ubuntu 12.04 LTS Server, and openSUSE. Printing and file sharing works well with the Kubuntu guests. openSUSE 13.1 is a new install so nothing is really setup on it yet.

      I'll let you ponder this for a while. Make changes a step at a time. Note what what changed and the outcome. I install everything from the terminal "sudo apt-get install [package name]" and keep a copy.

      Have to go. My wife rented Elysium, and I'll be in the dog house if I don't get off this computer and watch it with her.
      sigpic

      Comment


        #33
        jim3297, Please add the following in the Global section of your smb.conf below dns proxy = no
        Code:
        name resolve order = lmhosts host wins bcast
        Then do
        Code:
        sudo restart smbd
        sudo restart nmbd
        Then paste the output of this here.
        Code:
        sudo testparm /etc/samba/smb.conf
        Then paste the output of the following here
        Code:
        smbtree
        Try to browse the windows network from Dolphin by doing this.
        Click on the network icon
        Click the icon called Samba Shares
        Click on the icon with your workgroup name MSHOME
        Click on the computer to see the shares.

        Report your findings here.
        sigpic

        Comment


          #34
          I have commented out wins support ans service, as well as all the printer stuff. This had no effect on the problem.

          smb.conf
          Code:
          [Global]
            workgroup = Mshome
            server string = %h server (Samba, Kubuntu)
            #wins support = yes
            #wins server = yes
            #wins client = w.x.y.z
            #Load printers = yes
            #printcap name = cups
            #printing = cups
            preferred master = no
            local master = no
            dns proxy = no
            name resolve order = lmhost wins bcast
            security = share
            null passwords = yes
          
          
          [Security]
            admin users = Jim
            
          
          [share]
            comment = Kubuntu File Server Share
            path = /srv/samba/share
            browsable = yes
            guest ok = yes
            read only = no
            create mask = 0775
            directory mask = 0775
            
            
          [Print$]
            #path = /var/lib/samba/printers
            #browsable = yes
            #read only = yes
            #guest ok = yes
            
            
          [printer]
            #comment = All Printers
            #browseable = no
            #path = /var/spool/samba
            #printable = yes
            #writable = no
            #public = yes
            #guest ok = yes
            #read only = yes
            #create mask = 0775
            #directory = 0775
            
          
          [Public]
            comment = Public Files
            browseable = yes
            public = yes
            create mode = 0766
            guest ok = yes
            path = /home
          1. testparam /etc/samba/smb.conf

          Code:
          testparam /etc/samba/smb.conf
          No command 'testparam' found, did you mean:
           Command 'testparm' from package 'samba-common-bin' (main)
          testparam: command not found
          jim@Blevet:~$ sudo testparam /etc/samba/smb.conf
          sudo: testparam: command not found
          jim@Blevet:~$ sudo testparm /etc/samba/smb.conf
          Load smb config files from /etc/samba/smb.conf
          rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
          WARNING: The "null passwords" option is deprecated
          Processing section "[Security]"
          WARNING: No path in service Security - making it unavailable!
          NOTE: Service Security is flagged unavailable.
          Processing section "[share]"
          Processing section "[Print$]"
          WARNING: No path in service Print$ - making it unavailable!
          NOTE: Service Print$ is flagged unavailable.
          Processing section "[printer]"
          WARNING: No path in service printer - making it unavailable!
          NOTE: Service printer is flagged unavailable.
          Processing section "[Public]"
          WARNING: The security=share option is deprecated
          Loaded services file OK.
          Server role: ROLE_STANDALONE
          Press enter to see a dump of your service definitions
          
          [global]
                  workgroup = MSHOME
                  server string = %h server (Samba, Kubuntu)
                  security = SHARE
                  null passwords = Yes
                  name resolve order = lmhost wins bcast
                  local master = No
                  dns proxy = No
                  idmap config * : backend = tdb
          
          [Security]
                  admin users = Jim
                  available = No
          
          [share]
                  comment = Kubuntu File Server Share
                  path = /srv/samba/share
                  read only = No
                  create mask = 0775
                  directory mask = 0775
                  guest ok = Yes
          
          [Print$]
                  available = No
          
          [printer]
                  available = No
          
          [Public]
                  comment = Public Files
                  path = /home
                  create mask = 0766
                  guest ok = Yes

          2. smbtree
          Code:
          smbtree
          Enter jim's password: 
          resolve_name: unknown name switch type lmhost
          resolve_name: unknown name switch type lmhost
          MSHOME
          resolve_name: unknown name switch type lmhost
                  \\WIN_XP                        My Stuff
          resolve_name: unknown name switch type lmhost
                          \\WIN_XP\Printer                Quicken PDF Printer
                          \\WIN_XP\C$                     Default share
                          \\WIN_XP\HP7550Pl.2             HP 7550 Plus PLOTTER
                          \\WIN_XP\ADMIN$                 Remote Admin
                          \\WIN_XP\Printer2               Microsoft XPS Document Writer
                          \\WIN_XP\F              
                          \\WIN_XP\E              
                          \\WIN_XP\F$                     Default share
                          \\WIN_XP\Linux Backups  
                          \\WIN_XP\Printer3               Canon MP470 series Printer Lola's
                          \\WIN_XP\PDF Creator            eDoc Printer
                          \\WIN_XP\Printer5               PDFill PDF&Image Writer
                          \\WIN_XP\Printer6               hp psc 700 series Printer
                          \\WIN_XP\D              
                          \\WIN_XP\C              
                          \\WIN_XP\print$                 Printer Drivers
                          \\WIN_XP\SharedDocs     
                          \\WIN_XP\D$                     Default share
                          \\WIN_XP\IPC$                   Remote IPC
                  \\BLEVET                        Blevet server (Samba, Kubuntu)
          resolve_name: unknown name switch type lmhost
          That last line you had me add did the trick I can access everything from eather direction and the I can also access the printer.

          Comment


            #35
            Every thing seems to be working. Thanks a lot.

            Comment


              #36
              No problem. I'm glad you got it working. Please mark the thread solved.
              sigpic

              Comment

              Working...
              X