LDAP Linux Auth: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 10: Строка 10:
   
   
=LDAP COnfiguration=
+
=LDAP Configuration=
   
   
  +
slapcat
  +
<PRE>
  +
dn: dc=fuel
  +
objectClass: top
  +
objectClass: dcObject
  +
objectClass: organization
  +
o: fuel_org
  +
dc: fuel
  +
structuralObjectClass: organization
  +
entryUUID: 9e2a168a-a714-1035-9f39-4b3bdb074971
  +
creatorsName: cn=admin,dc=fuel
  +
createTimestamp: 20160505135423Z
  +
entryCSN: 20160505135423.540761Z#000000#000#000000
  +
modifiersName: cn=admin,dc=fuel
  +
modifyTimestamp: 20160505135423Z
  +
  +
dn: cn=admin,dc=fuel
  +
objectClass: simpleSecurityObject
  +
objectClass: organizationalRole
  +
cn: admin
  +
description: LDAP administrator
  +
userPassword:: e1NTSEF9dndjQVZSdnlXWHhyT05LTmpZQVIyMlpmMnFocmg4eWs=
  +
structuralObjectClass: organizationalRole
  +
entryUUID: 9e2a9772-a714-1035-9f3a-4b3bdb074971
  +
creatorsName: cn=admin,dc=fuel
  +
createTimestamp: 20160505135423Z
  +
entryCSN: 20160505135423.544062Z#000000#000#000000
  +
modifiersName: cn=admin,dc=fuel
  +
modifyTimestamp: 20160505135423Z
  +
</PRE>
  +
  +
  +
<PRE>
  +
# example.org
  +
dn: dc=fuel
  +
dc: organization
  +
o: Example Organization
  +
objectClass: dcObject
  +
objectClass: organization
  +
</PRE>
   
 
=Ссылки=
 
=Ссылки=

Версия 10:57, 6 мая 2016


1

getent passwd


LDAP Configuration

slapcat

dn: dc=fuel
objectClass: top
objectClass: dcObject
objectClass: organization
o: fuel_org
dc: fuel
structuralObjectClass: organization
entryUUID: 9e2a168a-a714-1035-9f39-4b3bdb074971
creatorsName: cn=admin,dc=fuel
createTimestamp: 20160505135423Z
entryCSN: 20160505135423.540761Z#000000#000#000000
modifiersName: cn=admin,dc=fuel
modifyTimestamp: 20160505135423Z

dn: cn=admin,dc=fuel
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: e1NTSEF9dndjQVZSdnlXWHhyT05LTmpZQVIyMlpmMnFocmg4eWs=
structuralObjectClass: organizationalRole
entryUUID: 9e2a9772-a714-1035-9f3a-4b3bdb074971
creatorsName: cn=admin,dc=fuel
createTimestamp: 20160505135423Z
entryCSN: 20160505135423.544062Z#000000#000#000000
modifiersName: cn=admin,dc=fuel
modifyTimestamp: 20160505135423Z


# example.org
dn: dc=fuel
dc: organization
o: Example Organization
objectClass: dcObject
objectClass: organization

Ссылки


PAM

PAM vs NSS

http://serverfault.com/questions/538383/understand-pam-and-nss

http://skeletor.org.ua/?p=464