Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

Autenticazione locale con OpenLDAP

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
UnoSD
Apprentice
Apprentice
Posts: 273
Joined: Mon Jun 27, 2011 12:45 am

Autenticazione locale con OpenLDAP

  • Quote

Post by UnoSD » Fri Apr 06, 2012 11:55 am

Salve a tutti,

sto facendo delle prove (tutte fallite) per cercare di creare un server che permetta a dei client di autenticarsi tramite credenziali in un database creato da OpenLDAP.

Purtroppo non riesco nemmeno a far funzionare correttamente il demone slapd che, dopo averlo configurato, parte perfettamente, ma se provo la semplice query: "ldapsearch -x -D "cn=Manager,dc=genfic,dc=com" -W" mi dice "Invalid credentials"...

Ho provato con varie configurazioni, ma qui posto l'ultima:

ldap.conf:

Code: Select all

BASE	dc=unosd
URI	ldap://127.0.0.1
slapd.conf:

Code: Select all

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

database bdb
suffix "dc=unosd"
rootdn "cn=Manager,dc=unosd"
rootpw "{SSHA}PASSWORDCRIPTATA"
directory "/var/lib/openldap-ldbm"
index objectClass eq
Il file slapd.conf ho provato anche a copiarlo pari pari da quello di esempio nella guida Gentoo (http://www.gentoo.org/doc/it/ldap-howto.xml) ma non funziona lo stesso:

Code: Select all

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/misc.schema

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

serverID 0
#Usato in caso di replicazioni

loglevel 0

## Controlli di accesso
access to dn.base="" by * read
access to dn.base="cn=Subschema" by * read
access to *
  by self write
  by users read
  by anonymous read

## Definizione database
database hdb
suffix "dc=unosd"
checkpoint 32 30
rootdn "cn=Manager,dc=unosd"
rootpw "{SSHA}PASSCRIPTATA"
directory "/var/lib/openldap-ldbm"
index objectClass eq

index entryCSN eq
index entryUUID eq


overlay syncprov
syncprov-checkpoint 100 10
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy