henriquew
(usa Ubuntu)
Enviado em 23/04/2017 - 21:17h
Carlos_Cunha escreveu:
root@ubuntu:/# ldbsearch -H ldap://192.168.1.116 -U Administrator --password='C0c0t4$' '(&(sAMAccountName=henrique))'
Failed to bind - LDAP client internal error: NT code 0x80090302
Failed to connect to 'ldap://192.168.1.116' with backend 'ldap': (null)
Failed to connect to ldap://192.168.1.116 - (null)
Não foi possivel conectar no LDAP.
Provavel doi motivos
Um a senha do Administrator esta errada.
Defina para uma que tenha certeza
samba-tool user setpassword
Outra ldap não esta OK.
Poste a saida:
ip a
e
netstat -nltp
Abraço
#-------------------------------------------------------------------------------------#
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
ip a
root@ubuntu:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:e7:a5:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.1.116/24 brd 192.168.1.255 scope global enp0s3
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fee7:a5ec/64 scope link
valid_lft forever preferred_lft forever
netstat -nltp
root@ubuntu:/# netstat -nltp
Conexões Internet Ativas (somente servidores)
Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* OUÇA 966/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* OUÇA 1214/smbd
tcp 0 0 0.0.0.0:464 0.0.0.0:* OUÇA 1209/samba
tcp 0 0 0.0.0.0:53 0.0.0.0:* OUÇA 1217/samba
tcp 0 0 0.0.0.0:22 0.0.0.0:* OUÇA 948/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* OUÇA 804/cupsd
tcp 0 0 0.0.0.0:88 0.0.0.0:* OUÇA 1209/samba
tcp 0 0 0.0.0.0:445 0.0.0.0:* OUÇA 1214/smbd
tcp 0 0 0.0.0.0:1024 0.0.0.0:* OUÇA 1204/samba
tcp 0 0 0.0.0.0:389 0.0.0.0:* OUÇA 1115/slapd
tcp 0 0 0.0.0.0:135 0.0.0.0:* OUÇA 1204/samba
tcp6 0 0 :::139 :::* OUÇA 1214/smbd
tcp6 0 0 :::464 :::* OUÇA 1209/samba
tcp6 0 0 :::80 :::* OUÇA 1136/apache2
tcp6 0 0 :::53 :::* OUÇA 1217/samba
tcp6 0 0 :::22 :::* OUÇA 948/sshd
tcp6 0 0 :::631 :::* OUÇA 804/cupsd
tcp6 0 0 :::88 :::* OUÇA 1209/samba
tcp6 0 0 :::445 :::* OUÇA 1214/smbd
tcp6 0 0 :::1024 :::* OUÇA 1204/samba
tcp6 0 0 :::389 :::* OUÇA 1115/slapd
tcp6 0 0 :::135 :::* OUÇA 1204/samba