[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
what is wrong with my permissions?
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: what is wrong with my permissions?
- From: Igor Shmukler <igor.shmukler@gmail.com>
- Date: Mon, 16 Mar 2015 15:27:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vKeVw4wYBNBrfiHjN4UXVyp3wDfwBwx2Gj9tqeV7HVg=; b=i/BxQNTJkJWJjqpk6RTHkNlF7Q8sU1vIevDxjZTkMyjoTM2eHr2hwubAWBV6PoxzPo xKADTJukt9uWku0HGFZ282PhZvoRkr8ottStkPSYFEGebvZQQSdD04T0kIee50kVTTgg Z897HZsKJfU1PnK2QU3LzNJMWO9FTg/BBjwVDB7UJKgHGm+04ktd5d0Gr6ND9B/I6cys ioPyIAiZZybnnxuP//2wLicLzobJ73bh6U+/QvAet9ZIlKRGjLM0H0kv7pWRTQl9vsPL TuKTGiUNa2LHA+uUlxCD0v5DlfdSN7ZD0D56UQlTHCu/G0JWa0sx9iQ6EPzIoR3se+xy O9jA==
Hello,
Sorry. I need help, again!
I am trying to configure my OpenLDAP so that cn=config has full
over-the-network write-access with a password.I thought at one point
that I got the permissions working. It turns out, those are not
working, now. Please say what I am doing wrong.
Last time, I had a similar problem with policy. Michael S. saved me a
bunch of time by advising to load ppolicy.ldif [with the appropriate
schema]. This is obviously no indicator of any kind, yet the problem
might be not in the LDIFs or ...
I understood that manage is the LDIF version of full permissions.
Found olcAccess syntax as "olcAccess: to <what> [ by <who>
[<accesslevel>] [<control>] ]+"
My OLC directives for ldapmodify(1) are below:
dn: olcDatabase={0}config,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external
,cn=auth manage by * break
olcAccess: {1}to * by self write by dn="cn=config" write by * read
dn: olcDatabase={0}config,cn=config
changetype: modify
add: olcRootPW
olcRootPW: {SSHA}HyVltU836iL4aR0P0C6O8eHkOJt8nYGK
I tried various combinations, like: olcAccess: {1}to * by dn=cn=config
manage by * read
The old commands are valid, yet do not result in the desired
configuration. Instead, when ldapdelete(1) is invoked, I get:
ldap_delete: Insufficient access (50)
additional info: no write access to parent
Please advise.
I thank everyone on who has been reading my messages. People on this
list have been extremely helpful.
Sincerely,
Igor Shmukler