Networking Forums

Networking Forums > Computer Networking > Linux Networking > OpenLDAP Schemas

Reply
Thread Tools Display Modes

OpenLDAP Schemas

 
 
Chris Fowler
Guest
Posts: n/a

 
      09-10-2003, 01:47 PM
I'm looking into adding support for LDAP in our embedded
product. I'm not sure where to add special attributes? Does
our compnay need to register for a schema number like we
did for snmp?

I have special acls that look like the followig:


Power Control = true/false
Admin Privs = true/false
Access Port 1 = true/false
Access Port 7 = true/false

As you can see those do not fit in /etc/passwd and would not
fit for a regular UNIX system. They are special to our product.

Thanks,
Chris
 
Reply With Quote
 
 
 
 
F.Wiegerinck
Guest
Posts: n/a

 
      09-10-2003, 03:52 PM
You could use PAM to authenticate users for power control by adding
them to a special group using pam_wheel and define another gid then
0.

something like
poweroff authenticate sufficent /lib/security/pam_wheel.so use_uid group

Access to port 1 and 7 -> is this hardware? and accessable via
/dev? The change ownership to a specialised group can help?
make a group accessToPort1. Make accessToPort1 owner of /dev/port1
and add everone who has access to this group..
The same for Port 7...

For admin Privs? Depends on how the admin works...



Frank Wiegerinck

Chris Fowler wrote:
> I'm looking into adding support for LDAP in our embedded
> product. I'm not sure where to add special attributes? Does
> our compnay need to register for a schema number like we
> did for snmp?
>
> I have special acls that look like the followig:
>
>
> Power Control = true/false
> Admin Privs = true/false
> Access Port 1 = true/false
> Access Port 7 = true/false
>
> As you can see those do not fit in /etc/passwd and would not
> fit for a regular UNIX system. They are special to our product.
>
> Thanks,
> Chris


 
Reply With Quote
 
Dave Carrigan
Guest
Posts: n/a

 
      09-10-2003, 05:12 PM
Chris Fowler <(E-Mail Removed)> writes:

> I'm looking into adding support for LDAP in our embedded product. I'm
> not sure where to add special attributes? Does our compnay need to
> register for a schema number like we did for snmp?


If your company already has an OID number for SNMP, add another branch
under that OID for ldap schemas (and probably add three more branches
for objectclasses, attributes and syntaxes). There's nothing special
about an OIDs that makes them SNMP-only; what you do with your OID
branch is up to you.

> I have special acls that look like the followig:
>
> Power Control = true/false
> Admin Privs = true/false
> Access Port 1 = true/false
> Access Port 7 = true/false
>
> As you can see those do not fit in /etc/passwd and would not
> fit for a regular UNIX system. They are special to our product.


Create a new objectclass that inherits from posixaccount; define the
attributes and add them to this objectclass.

--
Dave Carrigan
Seattle, WA, USA
(E-Mail Removed) | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PCAnywhere with OpenLDAP CaptSnuffy@gmail.com Linux Networking 0 01-24-2006 08:55 PM
OpenLDAP backup Dm Linux Networking 1 10-16-2003 06:39 PM
Authenticating with OpenLDAP Arron Linux Networking 1 09-30-2003 04:30 PM
OpenLDAP 1.2.13 and BerkeleyDB 2.7.7 tylernt Linux Networking 0 09-22-2003 04:45 PM
Emplimenting OpenLDAP Keegan Alex Linux Networking 0 07-12-2003 11:51 PM



1 2 3 4 5 6 7 8 9 10 11