Добрый день, настроил samba в качесте домена, пользователей и группы создаю, компьютеры в домен заводятся, но не могу настроить общий доступ т.к. нет интеграции и не вижу пользователей.Конфиг самбы:
[global]
workgroup=GOU
realm = GOU.NTKP
server string=%h server (Samba, Ubuntu)
dns proxy=no
log file=/var/log/samba/log.%m
max log size=1000
syslog=0
panic action=/usr/share/samba/panic-action %d
server role=standalone server
passdb backend=tdbsam
obey pam restrictions=yes
unix password sync=yes
passwd program=/usr/bin/passwd %u
passwd chat=*Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssucc$
pam password change=yes
map to guest=bad user
usershare allow guests=yes
idmap config * : range=10000-20000
idmap config * : backend=tdb
winbind enum groups=yes
winbind enum users=yes
winbind use default domain=yes
template shell=/bin/bash
winbind refresh tickets=yes
[printers]
comment=All Printers
browseable=no
path=/var/spool/samba
printable=yes
guest ok=no
read only=yes
create mask=0700
[print$]
comment=Printer Drivers
path=/var/lib/samba/printers
browseable=yes
read only=yes
guest ok=no
smbclient -L localhost -U%
Domain=[GOU] OS=[Unix] Server=[Samba 4.1.23]
Sharename Type Comment
--------- ---- -------
netlogon Disk
sysvol Disk
IPC$ IPC IPC Service (Samba 4.1.23)
Domain=[GOU] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]
Server Comment
--------- -------
108-1
NTKP ntkp server (Samba, Ubuntu)
Workgroup Master
--------- -------
GOU NTKP
kinit Administrator
Password for Administrator@GOU.NTKP:
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator@GOU.NTKP
Valid starting Expires Service principal
28.02.2018 10:02:02 28.02.2018 16:41:59 krbtgt/GOU.NTKP@GOU.NTKP
smbclient //localhost/netlogon -UAdministrator -c 'ls'
Enter Administrator's password:
Domain=[GOU] OS=[Unix] Server=[Samba 4.1.23]
. D 0 Mon Dec 11 08:22:56 2017
.. D 0 Tue Dec 5 10:30:50 2017
35283 blocks of size 2097152. 30136 blocks available
wbinfo -V
Version 4.3.11-Ubuntu
wbinfo -p
Ping to winbindd succeeded
wbinfo -t
checking the trust secret for domain GOU via RPC calls failed
wbcCheckTrustCredentials(GOU): error code was NT_STATUS_NO_SUCH_DOMAIN (0xc00000df)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
wbinfo -P
checking the NETLOGON for domain[GOU] dc connection to "" failed
failed to call wbcPingDc: WBC_ERR_DOMAIN_NOT_FOUND