.


:




:

































 

 

 

 





Windows

  • Windows
    • DNS
    • Kerberos
      • kinit
    • Samba
      • net
    • Winbind
    • Winbind
    • Ubuntu
      • -
      • -

Linux- Windows. , Samba. , Kerberos, Samba Winbind.

:

sudo aptitude update

sudo aptitude upgrade

:

sudo aptitude install krb5-user samba winbind

:

sudo aptitude install libpam-krb5 libpam-winbind libnss-winbind

, Ubuntu Desktop, Synaptic.

. , DOMAIN.COM, dc.domain.com IP 192.168.0.1. DNS . 1), DNS - dc2.domain.com IP 192.168.0.2. smbsrv01.

DNS

DNS , DNS 2) - .

IP-, Ubuntu Desktop Network Manager, Ubuntu Server /etc/resolv.conf :

domain domain.com

search domain.com

nameserver 192.168.0.1

nameserver 192.168.0.2

resolv.conf . : /etc/resolvconf/resolv.conf.d/head , /etc/resolv.conf

IP- DHCP resolv.conf resolv.conf', nameserver 192.168.0.1 domain search. /etc/dhcp/dhclient.conf. domain search supersede domain-name, :

supersede domain-name "domain.com";

nameserver prepend domain-name-servers ip :

prepend domain-name-servers 192.168.0.2;

:

/etc/init.d/networking restart

, /etc/hostname:

smbsrv01

/etc/hosts , , IP:

#

127.0.0.1 localhost

127.0.1.1 smbsrv01.domain.com smbsrv01

, , :

ping dc

ping dc.domain.com

, - - .

. 5 Kerberos. :

sudo net time set dc

, :

ntpdate ntp.mobatime.ru

ntpd, . :

sudo aptitude install ntp

/etc/ntp.conf, :

# You do need to talk to an NTP server or two (or three).

server dc.domain.com

ntpd:

sudo /etc/init.d/ntp restart

.





:


: 2017-03-12; !; : 278 |


:

:

, .
==> ...

1549 - | 1389 -


© 2015-2024 lektsii.org - -

: 0.009 .