XP não entra no domínio com Samba 4.7.5

1. XP não entra no domínio com Samba 4.7.5

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/02/2018 - 21:09h

Não resolve nome

# /opt/samba/bin/samba-tool domain provision \
> --realm=jmn.example.com \
> --domain=JMN \
> --adminpass='senha' \
> --server-role=dc
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=jmn,DC=example,DC=com
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=jmn,DC=example,DC=com
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba AD has been generated at /opt/samba/private/krb5.conf
Once the above files are installed, your Samba AD server will be ready to use
Server Role: active directory domain controller
Hostname: centos7
NetBIOS Domain: JMN
DNS Domain: jmn.example.com
DOMAIN SID:


# cat /etc/resolv.conf
domain jmn.example.com
search jmn.example.com
nameserver 10.0.0.1

nameserver 8.8.8.8



# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.1 jmn.jmn.example.com jmn


# /opt/samba/bin/smbclient -L localhost -U%

Sharename Type Comment
--------- ---- -------
netlogon Disk
sysvol Disk
exatas Disk compartilha com exatas
IPC$ IPC IPC Service (Samba 4.7.5)
Reconnecting with SMB1 for workgroup listing.

Server Comment
--------- -------

Workgroup Master
--------- -------


Fonte:

https://www.vivaolinux.com.br/topico/Samba/Samba4-AD-DC-XP-nao-entra-no-dominio



  


2. Re: XP não entra no domínio com Samba 4.7.5

Carlos A. P. Cunha
Carlos_Cunha

(usa Deepin)

Enviado em 05/03/2018 - 21:30h

XP até aonde sei, so trabalha com NTLM V1, que é antigo e bem inseguro, o Samba 4 a partir da versão 4.5.0, alterou por padrão e vem com suporte apenas para NTLM V2, isso pode ser alterado.


NTLMv1 authentication disabled by default
-----------------------------------------

In order to improve security we have changed
the default value for the "ntlm auth" option from
"yes" to "no". This may have impact on very old
clients which doesn't support NTLMv2 yet.

The primary user of NTLMv1 is MSCHAPv2 for VPNs and 802.1x.

By default, Samba will only allow NTLMv2 via NTLMSSP now,
as we have the following default "lanman auth = no",
"ntlm auth = no" and "raw NTLMv2 auth = no".


https://www.samba.org/samba/history/samba-4.5.0.html
#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts