Announcement

Collapse
No announcement yet.

SAMBA not working right

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

    SAMBA not working right

    Normally, with any other distro, I can get SAMBA working, but I am struggling with this KDE install.

    I've checked the settings as far as I know who, but printer and file shares just aren't working. As far as I can tell, KDE does not install a firewall, but the printer config does not find the printer connected to the network and clicking on the "network" link in Dolphin won't open the directories on the NAS box, either.

    When I do use Dolphin to access shares, it gives the error that it can't find any workgroups. Normally, a file manager will show my "MEDIA" and the typical Windows "workgroup".

    I presume the issue is with setting up SAMBA, but how do I fix this?
    I only have one post and the limit won't let me post "links".

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No
    locking = No
    strict locking = No

    #2
    Originally posted by ddalley View Post
    Normally, with any other distro, I can get SAMBA working, but I am struggling with this KDE install.

    I've checked the settings as far as I know who, but printer and file shares just aren't working. As far as I can tell, KDE does not install a firewall, but the printer config does not find the printer connected to the network and clicking on the "network" link in Dolphin won't open the directories on the NAS box, either.

    When I do use Dolphin to access shares, it gives the error that it can't find any workgroups. Normally, a file manager will show my "MEDIA" and the typical Windows "workgroup".

    I presume the issue is with setting up SAMBA, but how do I fix this?
    I only have one post and the limit won't let me post "links".

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No
    locking = No
    strict locking = No
    Is the samba service running? Are the permissions set up correctly?

    Comment


      #3
      As far as I know, the service restarts when I tell it to do so.

      As for permissions, I am not getting permission errors when trying to access files or the printer.

      Comment


        #4
        just use smb:/<ip or server name> to find your smb shares. (if *nix only you should use NFS anyway). i never see workgroups in dolphin . check that your server is really saying its part of one (pretty sure mine is workgroup)
        Mark Your Solved Issues [SOLVED]
        (top of thread: thread tools)

        Comment


          #5
          When I...

          $ smbclient -L myusername
          Connection to myusername failed (Error NT_STATUS_UNSUCCESSFUL)

          $ smb:/192.168.2.15
          bash: smb:/192.168.2.15: No such file or directory

          $ smb://192.168.2.15
          bash: smb://192.168.2.15: No such file or directory

          And the same goes for any other appropriate variation that I could think of.

          Comment


            #6
            Not that I know what it all means yet, but this is the status page from SWAT.
            I'm not sure if the not running parts are important yet, but there are no shares listed.

            Server Status


            Refresh Interval:
            version: 3.6.3
            smbd: running
            nmbd: not running
            winbindd: not running

            Active Connections

            PID Client IP address Date
            Active Shares

            Share User Group PID Client Date
            Open Files

            PID UID Sharing R/W Oplock Share File Date

            Comment


              #7
              Originally posted by ddalley View Post
              When I...

              $ smb:/192.168.2.15
              bash: smb:/192.168.2.15: No such file or directory

              And the same goes for any other appropriate variation that I could think of.
              he ment to type that in dolphins location bar!!!
              I think nmbd and winbindd nead to be running as well ,,,,, but thay may be for the server part and not the clyent ,,,not sure

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                yes in dolphins location bar sorry bout that.
                Mark Your Solved Issues [SOLVED]
                (top of thread: thread tools)

                Comment


                  #9
                  to get samba and dolphin playing nice I always have to install kdenetwork-filesharing. Of course that still didn't get it working for me on 12.10, so maybe that won't help, but it is simple to try.
                  FKA: tanderson

                  Comment


                    #10
                    Usually a file browser needs three slashes, though, for a SAMBA file path.

                    Comment


                      #11
                      Here is the whole test.

                      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
                      WARNING: The "password level" option is deprecated
                      Unknown parameter encountered: "update encrypted"
                      Ignoring unknown parameter "update encrypted"
                      WARNING: The "idmap uid" option is deprecated
                      WARNING: The "idmap gid" option is deprecated
                      Processing section "[homes]"
                      Processing section "[netlogon]"
                      Processing section "[profiles]"
                      Processing section "[printers]"
                      Processing section "[pdf-documents]"
                      Processing section "[pdf-printer]"
                      Loaded services file OK.
                      WARNING: You have some share names that are longer than 12 characters.
                      These may not be accessible to some older clients.
                      (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
                      Server role: ROLE_STANDALONE
                      Press enter to see a dump of your service definitions

                      [global]
                      workgroup = MEDIA
                      netbios name = SAMBA24
                      server string = Samba file and print server
                      interfaces = 127.0.0.1/8, 192.168.0.0/24
                      bind interfaces only = Yes
                      client schannel = No
                      server schannel = No
                      allow trusted domains = No
                      obey pam restrictions = Yes
                      guest account = smbguest
                      passwd program = /usr/bin/passwd '%u'
                      passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
                      passwd chat timeout = 120
                      username map = /etc/samba/smbusers
                      password level = 6
                      username level = 6
                      unix password sync = Yes
                      log file = /var/log/samba/samba.log
                      max log size = 1000
                      name resolve order = lmhosts wins bcast host
                      client signing = No
                      client use spnego = No
                      socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
                      printcap name = cups
                      machine password timeout = 120
                      add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
                      delete user script = /usr/sbin/userdel '%u'
                      add group script = /usr/sbin/groupadd '%g'
                      delete group script = /usr/sbin/groupdel '%g'
                      add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
                      delete user from group script = /usr/sbin/userdel '%u' '%g'
                      add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
                      logon script = %G.bat
                      logon path = \\%L\profiles\%u
                      logon drive = m:
                      logon home = \\%L\homes\%u
                      os level = 33
                      local master = No
                      domain master = No
                      dns proxy = No
                      remote announce = 192.168.0.255
                      remote browse sync = 192.168.0.255
                      template shell = /dev/null
                      winbind separator = @
                      winbind cache time = 360
                      winbind use default domain = Yes
                      winbind trusted domains only = Yes
                      winbind nested groups = No
                      winbind nss info = no
                      idmap config * : range = 16777216-33554431
                      idmap config * : backend = tdb
                      hosts allow = 127., 192.168.0.
                      cups options = raw
                      follow symlinks = No

                      [homes]
                      comment = Home Directories
                      path = /home
                      valid users = %U
                      read only = No
                      locking = No
                      strict locking = No

                      [netlogon]
                      comment = Network Logon Service
                      path = /var/lib/samba/netlogon
                      locking = No
                      strict locking = No

                      [profiles]
                      comment = User Profiles
                      path = /var/lib/samba/profiles
                      read only = No
                      create mask = 0600
                      directory mask = 0700
                      locking = No
                      strict locking = No

                      [printers]
                      comment = All Printers
                      path = /var/spool/samba
                      printable = Yes
                      print ok = Yes
                      browseable = No
                      locking = No
                      strict locking = No

                      [pdf-documents]
                      comment = Converted PDF Documents
                      path = /var/lib/samba/pdf-documents
                      admin users = %U
                      read only = No
                      guest ok = Yes
                      locking = No
                      strict locking = No

                      [pdf-printer]
                      comment = PDF Printer Service
                      path = /tmp
                      guest ok = Yes
                      printable = Yes
                      print ok = Yes
                      printing = bsd
                      print command = /usr/bin/gadmin-samba-pdf %s %u
                      lpq command =
                      use client driver = Yes

                      Comment


                        #12
                        OK, it seems that this version of Kubuntu didn't get a few things SAMBA needs installed or running.

                        nmbd seems to have been installed, but it still isn't running.

                        winbindd was not installed, but it is now running after installing and a reboot.

                        The Network Manager remains a problem. In 2008, mySLQ interfered with someone's install and his nmbd wasn't running on bootup, either. mySLQ killed it.

                        Server Status


                        Refresh Interval:
                        version: 3.6.3
                        smbd: running
                        nmbd: not running
                        winbindd: running

                        Comment

                        Working...
                        X