Announcement

Collapse
No announcement yet.

SOLVED - Can't see Kubuntu on in XP Network neighborhood

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

    SOLVED - Can't see Kubuntu on in XP Network neighborhood

    I have a small home (wireless and wired) network, which contains 4 physical computers, 3 Windows XP Pro SP3, and one MacBook Pro Snow Leopard 10.6.4. On the MacBook Pro, I'm running Parallels 5.0, and have two virtual machines, an XP Pro SP3, and a Kubuntu 10.04. All the machines can see each other on the network, and connect to each other, except for the Kubuntu vm. On the XP machines, I go into network neighborhood, and I can see all the XP machines, including the virtual machine, and the MacBook Pro. Unfortunately, I can't see the Kubuntu virtual machine. I'm no networking guru by any means, and Samba has turned out to be a real pia. I don't know if the Samba configuration on the Kubuntu vm is the problem, but I've included the smb.conf file below for your perusal. I need to be able to connect to a printer on one of the XP machines, that's the main reason I'm trying to fix this.
    Code:
       1 [global]                                                
       2 netbios name = MBP17K                                         
       3 server string = Samba file and print server                              
       4 workgroup = HADEN                                           
       5 security = user                                            
       6 hosts allow = 127. 192.168.1.                                     
       7 interfaces = 127.0.0.1/8 192.168.1.1/9                                 
       8 bind interfaces only = yes                                       
       9 remote announce = 192.168.1.255                                    
      10 remote browse sync = 192.168.1.255                                   
      11 printcap name = cups                                          
      12 load printers = yes                                          
      13 cups options = raw                                           
      14 printing = cups                                            
      15 guest account = smbguest                                        
      16 log file = /var/log/samba/samba.log                                  
      17 max log size = 1000                                          
      18 null passwords = no                                          
      19 username level = 6                                           
      20 password level = 6                                           
      21 encrypt passwords = yes                                        
      22 unix password sync = yes                                        
      23 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192                       
      24 local master = no                                           
      25 domain master = no                                           
      26 preferred master = no                                         
      27 domain logons = no                                           
      28 os level = 33                                             
      29 logon drive = m:                                            
      30 logon home = \\%L\homes\%u                                       
      31 logon path = \\%L\profiles\%u                                     
      32 logon script = %G.bat                                         
      33 time server = no                                            
      34 name resolve order = wins lmhosts bcast                                
      35 wins support = no                                           
      36 wins proxy = no                                            
      37 dns proxy = no                                             
      38 preserve case = yes                                          
      39 short preserve case = yes                                       
      40 client use spnego = no                                         
      41 client signing = no                                          
      42 client schannel = no                                          
      43 server signing = no                                          
      44 server schannel = no                                          
      45 nt pipe support = yes                                         
      46 nt status support = yes                                        
      47 allow trusted domains = no                                       
      48 obey pam restrictions = yes                                      
      49 enable spoolss = yes                                          
      50 client plaintext auth = no                                       
      51 disable netbios = no                                          
      52 follow symlinks = no                                          
      53 update encrypted = yes                                         
      54 pam password change = no                                        
      55 passwd chat timeout = 120                                       
      56 hostname lookups = no                                         
      57 username map = /etc/samba/smbusers                                   
      58 smb passwd file = /etc/samba/smbpasswd                                 
      59 passwd program = /usr/bin/passwd '%u'                                 
      60 passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n            
      61 add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'       
      62 add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'                                                      
      63 add group script = /usr/sbin/groupadd '%g'                               
      64 delete user script = /usr/sbin/userdel '%u'                              
      65 delete user from group script = /usr/sbin/userdel '%u' '%g'                      
      66 delete group script = /usr/sbin/groupdel '%g'                             
      67 add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'                                                 
      68 machine password timeout = 120                                     
      69 idmap uid = 16777216-33554431                                     
      70 idmap gid = 16777216-33554431                                     
      71 template shell = /dev/null                                       
      72 winbind use default domain = yes                                    
      73 winbind separator = @                                         
      74 winbind cache time = 360                                        
      75 winbind trusted domains only = yes                                   
      76 winbind nested groups = no                                       
      77 winbind nss info = no                                         
      78 winbind refresh tickets = no                                      
      79 winbind offline logon = no                                       
      80                                                     
      81 [homes]                                                
      82 comment = Home Directories                                       
      83 path = /home                                              
      84 read only = no                                             
      85 available = yes                                            
      86 browseable = yes                                            
      87 writable = yes                                             
      88 guest ok = no                                             
      89 public = no                                              
      90 printable = no                                             
      91 locking = no                                              
      92 strict locking = no                                          
      93                                                     
      94 [netlogon]                                               
      95 comment = Network Logon Service                                    
      96 path = /home/netlogon                                         
      97 read only = no                                             
      98 available = yes                                            
      99 browseable = yes                                            
      100 writable = no                                             
      101 guest ok = no                                             
      102 public = no                                              
      103 printable = no                                             
      104 locking = no                                              
      105 strict locking = no                                          
      106                                                     
      107 [profiles]                                               
      108 comment = User Profiles                                        
      109 path = /var/samba/profiles                                       
      110 read only = no                                             
      111 available = yes                                            
      112 browseable = no                                            
      113 writable = yes                                             
      114 guest ok = no                                             
      115 public = no                                              
      116 printable = no                                             
      117 create mode = 0600                                           
      118 directory mask = 0700                                         
      119 locking = no                                              
      120 strict locking = no                                          
      121                                                     
      122 [printers]                                               
      123 comment = All Printers                                         
      124 path = /var/spool/samba                                        
      125 browseable = yes                                            
      126 writable = no                                             
      127 guest ok = no                                             
      128 public = no                                              
      129 printable = yes                                            
      130 locking = no                                              
      131 strict locking = no                                          
      132                                                     
      133 [pdf-documents]                                            
      134 path = /home/pdf-documents                                       
      135 comment = Converted PDF Documents                                   
      136 available = yes                                            
      137 browseable = yes                                            
      138 writeable = yes                                            
      139 guest ok = yes                                             
      140 locking = no                                              
      141 strict locking = no                                          
      142                                                     
      143 [pdf-printer]                                             
      144 path = /tmp                                              
      145 comment = PDF Printer Service                                     
      146 printable = yes                                            
      147 guest ok = yes                                             
      148 use client driver = yes                                        
      149 printing = bsd                                             
      150 print command = /usr/bin/gadmin-samba-pdf %s %u                            
      151 lpq command =                                             
      152 lprm command =                                             
      153
    Please, if anyone can help, I'd be extremely grateful. I've been working on this for days!
    PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

    #2
    Re: Can't see Kubuntu on in XP Network neighborhood

    One note, I can ping the ip address for the Kubuntu vm and get a reply.
    PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

    Comment


      #3
      Re: Can't see Kubuntu on in XP Network neighborhood

      Any help here? http://kubuntuforums.net/forums/inde...opic=3109512.0

      Comment


        #4
        Re: Can't see Kubuntu on in XP Network neighborhood

        Thanks for trying, but I already read this before posting. I'm running XP Pro, not Vista, and I believe the problem is on the Kubuntu/Samba side, not anything to do with Windows. (I know, that's hard to believe!)
        PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

        Comment


          #5
          Re: Can't see Kubuntu on in XP Network neighborhood

          I run a Win XP and also a Win 7 VM in VMware Player, on my desktop rig, and using Samba networking they can do file sharing and printing with both my Linux systems and another Windows box in the house. I have the impression that your smb.conf file is about ten times longer than mine, and probably overly complex. I'm a couple hours from home, but when I'm there I will post my smb.conf file. It is way simple, not designed for security (there are only 2 users in my house and I trust them both), but it has worked for years.

          Comment


            #6
            Re: Can't see Kubuntu on in XP Network neighborhood

            dibi, I'd really appreciate seeing your smb.conf files. I'm sure mine has a lot of stuff that can be deleted. I'm only concerned with my home network, I'm the only user, so security isn't my biggest concern either. The files got bloated because every time I tried to upgrade an OS, something had to be changed in the smb.conf file. I'd like something simple to share my printers and files. The concern I have is that I can't see the Kubuntu share in the XP network neighborhood window. Would you mind posting two other items for me? The results of "findsmb", and the results of "smbclient -L <ip address>"? That might help me out too. Thanks for sharing your expertise with me.
            Peter V.
            PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

            Comment


              #7
              Re: Can't see Kubuntu on in XP Network neighborhood

              OK, we're behind a router (with the factory default address changed), so I nuked all the security-related settings. Here's what's left:


              Code:
              dibl@lucid:~$ cat /etc/samba/smb.conf
              #
              [global]
              
              workgroup = HIBISCUS
              interfaces = eth0
              map to guest = Bad User
              security = share
              
              [Data]
              path = /home/dibl
              read only = no
              guest ok = yes
              case sensitive = no
              strict locking = no
              force user = dibl
              
              [Canon_iP6220D]
              
              printing = cups
              path = /var/tmp
              printable = yes
              guest ok = yes
              guest only = yes
              
              [Documents]
              path = /home/dibl
              read only = no
              browseable = yes
              guest ok = yes
              That's it. From the Windows VM, what I see looks like this:
              [img width=400 height=241]http://img820.imageshack.us/img820/329/win7sambaview.png[/img]

              You can see the other computers in the lower left of the screenshot. "Win7VM" is the VM that I took the screenshot from. "Sidbox" is the host running VMware Player. The other one is my wife's Win XP box.
              Attached Files

              Comment


                #8
                Re: Can't see Kubuntu on in XP Network neighborhood

                dibl, I'm almost where I need to be. I copied your smb.conf file, and made a few minor changes to fit my system. Now I can see the Kubuntu vm in my XP network neighborhood window, but I can't access the files on that vm. I get a message saying \\mbp17k\data is not accessible. You might not have permission to use this network resource. I assume it has something to do with the security setting in the smb.conf file, but I'm not familiar with that. I'll have to look it up. If you have any ideas, please pass them on. Either way, thanks very much for getting me this far! I'm going to archive this smb.conf for future use!
                Peter V.
                PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

                Comment


                  #9
                  Re: Can't see Kubuntu on in XP Network neighborhood

                  dibl, Figured it out! I had 2 problems. One was that I didn't notice the "force user" parameter you had in the file, and I changed that to my id, and it worked perfectly. The second was that one of my entries had the pathname with the incorrect case, I changed that and it all works great now. Thank you very much for all your help!
                  Peter V.
                  PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

                  Comment


                    #10
                    Re: Can't see Kubuntu on in XP Network neighborhood

                    Excellent -- congratulations!

                    Now, if you would be so kind as to edit your original post, and add "SOLVED" to the beginning of the title, this thread could be helpful to the next person with a similar problem.

                    Thanks!

                    Comment

                    Working...
                    X