Eu configurei o Domínio na minha máquina de teste (Win2k8) e o nome de domínio é win2008ad.local e o nome do computador é win2k8. Portanto, o nome completo é win2k8.win2008ad.local .
Eu instalei pacotes no RHEL 5 relacionados ao winbind, Samba e KRB
Depois de fazer todas as configurações quando eu executo este comando
os anúncios da rede se associam a -U administrador , isso me dá esse erro
ewbinfo-uapresentaesteerroErroaoprocurarusuáriosdodomínio
Conteúdode/etc/security/pam_winbind.conf
:
##pam_winbindconfigurationfile##/etc/security/pam_winbind.conf#[global]#turnondebugging;debug=yes#requestacachedloginifpossible#(needs"winbind offline logon = yes" in smb.conf)
;cached_login = yes
# authenticate using kerberos
krb5_auth = yes
# when using kerberos, request a "FILE" krb5 credential cache type
# (leave empty to just do krb5 authentication but not have a ticket
# afterwards)
;krb5_ccache_type = FILE
# make successful authentication dependend on membership of one SID
# (can also take a name)
;require_membership_of =
Conteúdo de /etc/krb5.conf
:
[root@rhmain ~]# cat /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = WIN2008AD.LOCAL
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
forwardable = yes
[realms]
#EXAMPLE.COM = {
#kdc = kerberos.example.com:88
#admin_server = kerberos.example.com:749
#default_domain = example.com
WIN2008AD.LOCAL = {
kdc = win2k8.win2008ad.local
admin_server = win2k8.win2008ad.local
}
[domain_realm]
#.example.com = EXAMPLE.COM
#example.com = EXAMPLE.COM
.win2k8.win2008ad.local = WIN2008AD.LOCAL
[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
Conteúdo de /etc/hosts
:
10.20.20.221 win2k8.win2008ad.local winad
Conteúdo de /etc/nsswitch
:
passwd: files winbind
shadow: files
group: files winbind
Conteúdo de /etc/pam.d/system-auth
:
auth required pam_env.so
auth sufficient pam_winbind.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
account required pam_unix.so
account required pam_winbind.so
account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_winbind.so
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
E finalmente /etc/samba/smb.conf
:
security = ads
realm = WIN2008AD.LOCAL
O que estou perdendo?