Jump to content
Калькуляторы

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 у пользователей разный

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.