Перейти к содержимому
Калькуляторы

samba4 bdc

Имеются 2 сервера на freebsd 11 них крутится samba 4.4

cat /usr/local/etc/smb4.conf

[global]
       workgroup = TEST
       realm = test.local
       netbios name = SAMBA
       server role = active directory domain controller
       server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns
       idmap_ldb:use rfc2307 = yes
       allow dns updates = nonsecure
       nsupdate command = /usr/local/bin/samba-nsupdate -g
       timeserver = yes
       template shell = /usr/local/bin/bash
       template homedir  = /usr/home/samba/home/%ACCOUNTNAME%
       unix charset = koi8-r
       dos charset = cp866
        vfs objects = acl_xattr
        map acl inherit = yes
       store dos attributes = yes
       acl allow execute always
       dns forwarder = 172.16.0.5
       log level = 3
       idmap config TEST:backend = ad
       idmap config TEST:schema_mode = rfc2307
       idmap config TEST:default = yes
       winbind nss info = rfc2307
       winbind enum users = yes
       winbind enum groups = yes
       winbind trusted domains only = no
       winbind use default domain = yes 

смотрю id пользователя на основном

id 11
uid=3000082(TEST\11) gid=20(staff) groups=20(staff),3000082(TEST\11)

и на резервном

id 11
uid=3000077(TEST\11) gid=10002(users) groups=10002(users),3000077(TEST\11)

uid у пользователей разный

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.