Help me.
I introduced in the domain http://forum.openmediavault.or…-Directory-Domain-V2-pdf/
wbinfo -u = OK
wbinfo -g = OK
error users WebGUI
Ошибка #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; getent shadow 'гость' 2>&1' with exit code '2': ' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/user.inc(74): OMV\System\Process->execute(Array)
#1 /usr/share/php/openmediavault/system/user.inc(229): OMV\System\User->getData('shadow')
#2 /usr/share/openmediavault/engined/rpc/usermgmt.inc(118): OMV\System\User->getLastChanged()
#3 /usr/share/openmediavault/engined/rpc/usermgmt.inc(145): OMVRpcServiceUserMgmt->getUserInfo('\xD0\xB3\xD0\xBE\xD1\x81\xD1\x82\xD1\x8C')
#4 /usr/share/openmediavault/engined/rpc/usermgmt.inc(335): OMVRpcServiceUserMgmt->enumerateUsersByType('normal')
#5 [internal function]: OMVRpcServiceUserMgmt->getUserList(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getUserList', Array, Array)
#8 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('UserMgmt', 'getUserList', Array, Array, 1)
#9 {main}
smb.conf
[global]
workgroup = DC-TREND.LOCAL
server string = %h server
dns proxy = no
log level = 3
syslog = 3
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = yes
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
map to guest = Bad User
use sendfile = yes
aio read size = 16384
aio write size = 16384
null passwords = yes
local master = yes
time server = no
wins support = no
realm = DC-TREND.LOCAL
security = ADS
domain master = no
preferred master = no
os level = 0
domain logons = no
show add printer wizard = no
disable spoolss = yes
idmap config * : range = 10000-20000
idmap config * : backend = tdb
winbind enum groups = yes
winbind enum users = yes
winbind use default domain = yes
winbind refresh tickets = yes
Alles anzeigen
krb.conf
[libdefaults]
default_realm = DC-TREND.LOCAL
dns_lookup_realm = true
dns_lookup_kdc = true
# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# The following encryption type specification will be used by MIT Kerberos
# if uncommented. In general, the defaults in the MIT Kerberos code are
# correct and overriding these specifications only serves to disable new
# encryption types as they are added, creating interoperability problems.
#
# Thie only time when you might need to uncomment these lines and change
# the enctypes is if you have local software that will break on ticket
# caches containing ticket encryption types it doesn't know about (such as
# old versions of Sun Java).
# default_tgs_enctypes = des3-hmac-sha1
# default_tkt_enctypes = des3-hmac-sha1
# permitted_enctypes = des3-hmac-sha1
# The following libdefaults parameters are only for Heimdal Kerberos.
v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}
fcc-mit-ticketflags = true
[realms]
dc-trend.local = {
kdc = srv-dc02
kdc = srv-dc01
#kdc = kerberos-2.mit.edu:88
admin_server = srv-dc02
default_domain = DC-TREND.LOCAL
}
[domain_realm]
.dc-trend.local = DC-TREND.LOCAL
dc-trend.local = DC-TREND.LOCAL
[login]
krb4_convert = false
krb4_get_tickets = false
#
Alles anzeigen
nsswitch.conf
Source Code
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat winbind
group: compat winbind
shadow: compat
hosts: files dns wins
bootparams: files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files
Alles anzeigen