Forums

×

Warning

JUser: :_load: Unable to load user with ID: 152261
JUser: :_load: Unable to load user with ID: 152291
Medium
Offline
Resolved
0 votes
I want to limit access to the shares on the server to a select group of users. What is the best method available to accomplish this? Is it simply a matter of creating a local group, and then mapping it to an Active Directory group, or is there a better method?
Friday, April 01 2016, 07:24 AM
Share this post:
Responses (1)
  • Accepted Answer

    Friday, April 01 2016, 08:59 AM - #Permalink
    Resolved
    0 votes
    Make sure the machine is in your local DNS . This also requires a reverse PTR record.
    Make sure the /etc/network/interface file is set up as follows::

    auto eth0
    #iface eth0 inet dhcp
    iface eth0 inet static
    address 192.168.2.[proper number which is in DNS]
    gateway 192.168.2.1
    netmask 255.255.255.0
    network 192.168.2.0
    broadcast 192.168.2.255

    Make sure /etc/resolv.conf contains the following::

    search <your local domain>
    nameserver <your local DNS server>

    Make sure Ubuntu sources are set up to include the "Universe" repository. Then install the following packages::

    samba
    smbclient
    smbfs
    smbldap-tools
    winbind
    krb5-config
    krb5-user

    Configure /etc/samba/smb.conf . Key thing is to add domain.
    The reply is currently minimized Show
Your Reply