From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua> To: Community <community@altlinux.ru> Subject: [Comm] ldap Date: Tue, 30 Mar 2004 16:16:16 +0300 Message-ID: <40697320.5010102@iop.kiev.ua> (raw) Hi, Кто-то может пояснить лдапьи ацэли? Не идёт каменный цветок... Не хочет позволять никому кроме админа сервер ничего читать. А в логах тока такое: => access_allowed: search access denied by =n Если поставить отстрел на уровне прохождения ацэлей. Если поднять до 256 то получим такое, например: daemon: conn=1 fd=9 connection from IP=192.168.100.10:32782 (IP=0.0.0.0:389) accepted. Mar 30 14:57:28 dge slapd[440]: conn=1 op=0 BIND dn="" method=128 Mar 30 14:57:28 dge slapd[383]: deferring operation Mar 30 14:57:28 dge slapd[440]: conn=1 op=0 RESULT tag=97 err=0 text= Mar 30 14:57:28 dge slapd[440]: conn=1 op=1 SRCH base="ou=dge,o=ip nasu,o=nasu,c=ua" scope=2 filter="(cn=*)" Mar 30 14:57:28 dge slapd[440]: conn=1 op=1 SEARCH RESULT tag=101 err=0 text= Mar 30 14:57:28 dge slapd[440]: conn=1 op=2 UNBIND Mar 30 14:57:28 dge slapd[440]: conn=-1 fd=9 closed Mar 30 14:58:26 dge slapd[383]: daemon: conn=2 fd=9 connection from IP=192.168.100.10:33181 (IP=0.0.0.0:389) accepted. Mar 30 14:58:26 dge slapd[441]: conn=2 op=0 BIND dn="CN=DOBR,OU=DGE,O=IP NASU,O=NASU,C=UA" method=128 Mar 30 14:58:26 dge slapd[441]: conn=2 op=0 RESULT tag=97 err=0 text= Mar 30 14:58:26 dge slapd[440]: conn=2 op=1 SRCH base="ou=dge,o=ip nasu,o=nasu,c=ua" scope=2 filter="(mail=*)" Mar 30 14:58:26 dge slapd[440]: conn=2 op=1 SEARCH RESULT tag=101 err=0 text= При этом acl прописаны такие: cat slapd.conf |grep ^[^#] include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/misc.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/openldap.schema pidfile /var/run/slapd.pid argsfile /var/run/slapd.args modulepath /usr/lib/openldap TLSCertificateFile /etc/openldap/ldap.pem TLSCertificateKeyFile /etc/openldap/ldap.pem TLSCACertificateFile /etc/openldap/ldap.pem access to attr=userPassword by self write by anonymous auth by * none access to * by self write access to * by anonymous search access to * by users read access to dn="" by * search database ldbm suffix "ou=dge,o=ip nasu,o=nasu,c=ua" rootdn "cn=Manager,ou=dge,o=ip nasu,o=nasu,c=ua" directory /var/lib/ldap/bases loglevel 256 index objectClass,uid,uidNumber,gidNumber eq index cn,mail,surname,givenname eq,subinitial И по ldapsearch -xLLL "cn=*" получаем отлуп. No such object (32) Хотя объектов с cn в базе хватает. -- Rgrds, Andriy ********************************************************************* email: dobr at iop dot kiev dot ua Kyiv, Ukraine Phone: (380-44) 265-7824 Department of Gas Electronics Fax: (380-44) 265-2329 Institute of Physics of NASU *********************************************************************
next reply other threads:[~2004-03-30 13:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-30 13:16 Andriy Dobrovol's'kii [this message] 2004-03-31 3:15 ` BSW 2004-03-31 9:30 ` Andriy Dobrovol's'kii 2004-03-31 10:13 ` Andriy Dobrovol's'kii 2004-03-31 10:54 ` BSW
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=40697320.5010102@iop.kiev.ua \ --to=dobr@iop.kiev.ua \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git