This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
winbind_синхронизация_пользователей_с_microsoft_ad [2009/04/14 07:56] val |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== WINBIND синхронизация пользователей с Microsoft AD ====== | ||
- | ===== Настройка службы winbindd ===== | ||
- | |||
- | ==== FreeBSD ==== | ||
- | <code> | ||
- | [gX:~] # /usr/local/etc/rc.d/samba stop | ||
- | |||
- | [gX:~] # cat /etc/rc.conf | ||
- | … | ||
- | nmbd_enable="NO" | ||
- | smbd_enable="NO" | ||
- | winbindd_enable="YES" | ||
- | … | ||
- | |||
- | [gX:~] # cd /usr/local/etc/ | ||
- | </code> | ||
- | |||
- | ==== Ubuntu ==== | ||
- | <code> | ||
- | root@gX:~# /etc/init.d/samba stop | ||
- | |||
- | root@gX:~# apt-get install winbind | ||
- | |||
- | root@gX:~# cd /etc/samba | ||
- | </code> | ||
- | |||
- | ==== FreeBSD/Ubuntu ==== | ||
- | <code> | ||
- | gX# cat smb.conf | ||
- | </code><code> | ||
- | [global] | ||
- | workgroup = ADX | ||
- | security = DOMAIN | ||
- | idmap uid = 20000-40000 | ||
- | idmap gid = 20000-40000 | ||
- | template homedir = /home/%U | ||
- | template shell = /bin/sh | ||
- | winbind cache time = 36 | ||
- | winbind use default domain = Yes | ||
- | winbind enum users = yes | ||
- | winbind enum groups = yes | ||
- | </code><code> | ||
- | gX# testparm | ||
- | Load smb config files from /usr/local/etc/smb.conf | ||
- | Loaded services file OK. | ||
- | Server role: ROLE_DOMAIN_MEMBER | ||
- | Press enter to see a dump of your service definitions | ||
- | </code> |