Announcement

Collapse
No announcement yet.

Samba <SMB> Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Samba <SMB> Question

    Hi ALL,

    I hoping this question can be answered in this section.
    I have windows 2000 active directory. I have solaris 9 -which has samba.
    Right now its configured that I can let windows see all of solaris 9 folder like, /etc /home / etc
    I want to enable solaris 9 to browse windows servers. Specifically, active directory and file server.

    Has anyone have samba running over over solaris 9 os? Has it been done?

    Thanks for your input
    Joe

  • #2
    What version of Samba are you running ?

    Never done that on Solaris, but that should not be different from HP-UX or Linux.

    Mind posting your [global] section of smb.conf ?
    Guy Teverovsky
    "Smith & Wesson - the original point and click interface"

    Comment


    • #3
      global
      workgroup = mydomain
      security = domain
      log file = /usr/local/samba/var/log.1
      wins server = theip
      encrypt password = yes
      nt pipe support = yes
      nt status report = yes
      unix extensions = yes
      server signning = no
      client signing = auto
      socket options = TCP_NODELAY
      cups server =
      perfered master = auto
      ldap admin dn =
      (nothing for ldap)
      nt acl support = Yes
      ---------------------------------------------
      I read that samba can be a PDC. I dont want that.

      I can access solaris from windows client but solaris wont let me access windows- anyone of my windows servers.

      Thanks for you input
      Joe

      Comment


      • #4
        what do you get when trying something like:

        Code:
        mount -t smbfs -o username=myADAccount,password=myADPassword //w2kserver/share /mnt/w2kshare
        Is it samba 2.2 or 3.0 ?

        does "smbclient -L &lt;W2K server IP> -N" give you anything ?
        Guy Teverovsky
        "Smith & Wesson - the original point and click interface"

        Comment


        • #5
          Hi Guy

          Excuse my limited Linux knowledge but isn't it smbmount?
          Server 2000 MCP
          Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

          ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

          Comment


          • #6
            Originally posted by tonyyeb
            Hi Guy

            Excuse my limited Linux knowledge but isn't it smbmount?
            On Linux "mount -t smbfs" invokes smbmount.

            Yet, I am a bit rusty on Unix and it turns out that mounting smbfs filesystem requires kernel module (available only in Linux), hence bravored should ignore the the "mount -t smbfs..." line and try only smbclient.

            To get a list of shares on a remote server one would do:
            smbclient -L &lt;hostname> -U &lt;domain>/&lt;username>

            To connect to a specific share:
            smbclient //server/share -U &lt;domain/&lt;username>

            Unix is not about being user-friendly
            Guy Teverovsky
            "Smith & Wesson - the original point and click interface"

            Comment


            • #7
              Originally posted by Guy (Antid0t)
              Unix is not about being user-friendly
              LOL!
              Server 2000 MCP
              Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

              ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

              Comment


              • #8
                Hey Guys,

                Happy to report that its working.
                smbclient in solaris

                --Samba 3.0.10

                However:
                When I go from solaris into windows and mget a file
                it downloads the file in my bin directory where is smbclient is located.
                It would work better if the file I mget downloads into /home/user or any /tmp anywhere.

                Thanks

                Comment

                Working...
                X