Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209395 - app-admin/sudo-1.6.8_p12-r1: missing openldap schema
Summary: app-admin/sudo-1.6.8_p12-r1: missing openldap schema
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 21:08 UTC by Michael Hammer (RETIRED)
Modified: 2013-06-17 01:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My sudo schema file (sudo.schema,1.22 KB, text/plain)
2008-02-08 21:10 UTC, Michael Hammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hammer (RETIRED) gentoo-dev 2008-02-08 21:08:18 UTC
I have just configured sudo to use ldap for the sudoers. I found that there is already a ldap USE which provides the /etc/ldap.conf.sudo for configuration. But I really missed the sudo.schema for creating objects in my ldap server.

Reproducible: Always

Steps to Reproduce:
1. Just emerge sudo and try to create objectClass sudoRole. You will need a sudo.schema for the ldap server which is not provided by either net-nds/openldap nor app-admin/sudo



Expected Results:  
I would like to see sudo openldap schema file. Perhaps it's a better way to provide it with the openldap ebuild?
Comment 1 Michael Hammer (RETIRED) gentoo-dev 2008-02-08 21:10:19 UTC
Created attachment 143010 [details]
My sudo schema file

It would be nice if you could provide this file by either sudo of openldap ebuild
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-12 09:43:29 UTC
Hmmm I think this is either space for an upstream bug (if they provide the schema as documentation we can just install it as documentation), or for a documentation bug.

I'll ponder a bit on it.
Comment 3 Michael Hammer (RETIRED) gentoo-dev 2008-02-13 09:00:49 UTC
There is a readme file on the sudo homepage relating to ldap:

http://www.sudo.ws/sudo/readme_ldap.html

There they are talking about a schema.OpenLDAP file which does not exist in their provided tgz. Perhaps it's really an upstream issue.

g, mueli
Comment 4 Michael Hammer (RETIRED) gentoo-dev 2008-02-25 09:41:40 UTC
Ok just found that the schema file is part of sudo-1.6.9p12. I would say the bug is fixed!
Comment 5 Michael Hammer (RETIRED) gentoo-dev 2008-02-25 09:53:04 UTC
One more comment for the dev:

Perhaps it would be nice to copy the schema files (schema.iPlanet & schema.OpenLDAP) into /usr/share/doc/ ?
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-25 11:44:41 UTC
Will install it as doc later then.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-25 13:26:04 UTC
Fixed, now schema.OpenLDAP is installed when USE=ldap is enabled.