Skip to main content
deleted 62 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 238

I am new to LDAP. I have configured ldap local server running centos 7, using this article: https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html.

Now my LDAP server is running without any issue. In my ldap server firewall is disabled. However, selinux is enabled.

Also, I migrate my local users to ldap db using migrationtools and it was also successful.

Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client (I installed sssd, krb5-workstation, and use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks

I am new to LDAP. I have configured ldap local server running centos 7, using this article: https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html.

Now my LDAP server is running without any issue. In my ldap server firewall is disabled. However, selinux is enabled.

Also, I migrate my local users to ldap db using migrationtools and it was also successful.

Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client (I installed sssd, krb5-workstation, and use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks

I have configured ldap local server running centos 7, using this article: https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html.

Now my LDAP server is running without any issue. In my ldap server firewall is disabled. However, selinux is enabled.

Also, I migrate my local users to ldap db using migrationtools and it was also successful.

Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client (I installed sssd, krb5-workstation, and use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied
formatting
Source Link
Ulrich Schwarz
  • 16.5k
  • 4
  • 49
  • 59

I am new to LDAP. I have configured ldap local server running centos 7. Use, using this article
 : https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html. Now

Now my LDAP server is running without any issue. In my ldap server firewall is disabled. howeverHowever, selinux is enabled. Also

Also, I migrate my local users to ldap db using migrationtools and it was also successful. Also

Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client  ( iI installed sssd, krb5-workstation., and use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks

I am new to LDAP. I have configured ldap local server running centos 7. Use article
 https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html. Now my LDAP server is running without any issue In my ldap server firewall is disabled. however, selinux is enabled. Also, I migrate my local users to ldap db using migrationtools and it was also successful. Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client( i installed sssd, krb5-workstation. use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks

I am new to LDAP. I have configured ldap local server running centos 7, using this article: https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html.

Now my LDAP server is running without any issue. In my ldap server firewall is disabled. However, selinux is enabled.

Also, I migrate my local users to ldap db using migrationtools and it was also successful.

Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client  (I installed sssd, krb5-workstation, and use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks

Source Link

ldap users unable to ssh to the server

I am new to LDAP. I have configured ldap local server running centos 7. Use article
https://www.itzgeek.com/how-tos/linux/centos-how-tos/step-step-openldap-server-configuration-centos-7-rhel-7.html. Now my LDAP server is running without any issue In my ldap server firewall is disabled. however, selinux is enabled. Also, I migrate my local users to ldap db using migrationtools and it was also successful. Also, I install and configure phpldapadmin and it was also successful. Then I have connected my another ldap server as client( i installed sssd, krb5-workstation. use authconfig-tui to connect), just for authentication.

When I test my ldap connectivity (from clientserver) using

[root@ldapclient ~]# getent passwd user1

user1:*:1001:1001:user1:/home/user1:/bin/bash

[root@ldapclient ~]# id user1

uid=1001(user1) gid=1001 groups=1001

[root@ldapclient ~]# id testfromphpldapadmin

uid=1003(testfromphpldapadmin) gid=1010(ldapusers) groups=1010(ldapusers)

(testfromphpldapadmin - create from using phpldapadmin user1 - user that migrate using migration tools)

according to the previous result, I was thinking that my ldap authentication just works without any issue

But when I tried to ssh using that ldap user accounts

login as: user1

user1@centclient's password:

Access denied

can someone help me with this? Thanks