Using Samba

From: Unknown (PepeBoris_at_pbworldofhorrorsandchew.com)
Date: 01/29/05

  • Next message: Phil Witt: "Re: GYRATION question"
    Date: Fri, 28 Jan 2005 18:30:55 -0500
    
    

    The following is a nice recipe for smb shares that I invented after alot
    of pain. Of course this is a trusted network, and uses on the most basic
    security I placed "administrator" in for window computers, but I make sure
    the password for the admin on my Windows computer does not match the smb
    password.

    A note on NFS. NFS is good for streaming, because it uses UDP packets, not
    TCP. So, the overhead allows for easier transmission of info. Personally,
    I find SMB a better solution, especially across a VPN over the internet.
    UDP packets may get mangled.

    [global]
            netbios name = myserver
            server string = Samba on MyServer
            workgroup = MyPrivateWorkGroup
            encrypt passwords = yes
            security = user
            mangled names = no
    [myShare]
            comment = myShare on MyServer
            path = /myShare
            valid users = boris ed administrator # for Windows users
            public = no
            writable = yes
            printable = no
            create mask = 770
            directory mask = 770
            force group = boriscompany

    Make sure your users are part of the same Unix group, so they can
    Red/Write to the smb share.


  • Next message: Phil Witt: "Re: GYRATION question"

    Relevant Pages

    • Re: Filesystem monitoring question
      ... server as a directory. ... A number of SMB and NFS clients, around 30, will need to write to this ... Writing to the directory is 24/7 since some clients VPN into the network ...
      (freebsd-hackers)
    • Re: Network performance
      ... > I also tried NFS and it was still much slower than Windows. ... > Can you give me any pointers on how to gain faster NFS transfers? ... SMB Client: 11,0MB/s ... NFS clients: 8,7MB/s ...
      (alt.os.linux.suse)
    • Re: Help me replace some Windows installations
      ... >> I thought SMB permissions were based on who mounted the share? ... > NFS is NFS, not SMB. ... >> against OS X's OpenDirectory if I just fill in the appropriate fields in ...
      (comp.os.linux.setup)
    • Re: NFS or SMB
      ... > are also consistent. ... >>filesystems that they cannot be set with SMB. ... Samba has to rest atop the UNIX file system, ... In theory, you could run AFS instead of NFS, but that's another ...
      (comp.os.linux.security)
    • Re: (OT) Open Office - save over network (smb??)
      ... > If your smb or nfs shares are mounted then they will show up in the "save ... versions of oo.o I am using, than the linux configuration. ... in this respect in 'doze over the smb network. ... If there is a way of doing it which is not pointy clicky I would be ...
      (alt.os.linux.suse)