Question Re: NIS netgroups in PHPLDAPAdmin

View: New views
2 Messages — Rating Filter:   Alert me  

Question Re: NIS netgroups in PHPLDAPAdmin

by Mark Hennessy-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found a document for setting up NIS netgroups and I was able to set  
up the basic  two rules in PHPLDAPAdmin just fine, but now when I try  
to add a new nisnetgrouptriple after creating the initial netgroup  
records I keep getting this error:

<TEXTBLOCK>

Could not perform ldap_mod_add operation.

LDAP said: Inappropriate matching
Error number: 0x12 (LDAP_INAPPROPRIATE_MATCHING)
Description: This usually means that your LDAP server has not defined  
an equality rule for the attribute you are trying to alter. This is  
not phpLDAPadmin's fault as the LDAP server has refused to perform the  
operation (as well it should if there is no equality rule for it to  
use for the operation). This generally applies when adding a new value  
to a binary attribute, or removing a single value from a multi-valued  
binary attribute.

</TEXTBLOCK>

I know it says that it's my LDAP server's fault, but I figured that  
I'd ask anyway to see if anyone has encountered this problem before  
and what they did to resolve it.  I'm using PHPLDAPAdmin 1.02 on PHP  
5.2.5 on FreeBSD 7.0 with OpenLDAP 2.3.39 as my server(s).

Any advice would be greatly appreciated, thanks!


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Re: Question Re: NIS netgroups in PHPLDAPAdmin

by Mark Hennessy-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks!  I found an answer to the problem.

Remove all fields using nisnetgrouptriple in my LDAP config and then  
update my schema in the appropriate locations to allow for setting the  
values.

http://www.openldap.org/lists/openldap-software/200402/msg00584.html

http://www.openldap.org/lists/openldap-software/200401/msg00392.html

Now I don't have the problem anymore, thanks!

Quoting Mark Hennessy <phpldapadmin@...>:

> I found a document for setting up NIS netgroups and I was able to set
> up the basic  two rules in PHPLDAPAdmin just fine, but now when I try
> to add a new nisnetgrouptriple after creating the initial netgroup
> records I keep getting this error:
>
> <TEXTBLOCK>
>
> Could not perform ldap_mod_add operation.
>
> LDAP said: Inappropriate matching
> Error number: 0x12 (LDAP_INAPPROPRIATE_MATCHING)
> Description: This usually means that your LDAP server has not defined
> an equality rule for the attribute you are trying to alter. This is
> not phpLDAPadmin's fault as the LDAP server has refused to perform the
> operation (as well it should if there is no equality rule for it to
> use for the operation). This generally applies when adding a new value
> to a binary attribute, or removing a single value from a multi-valued
> binary attribute.
>
> </TEXTBLOCK>
>
> I know it says that it's my LDAP server's fault, but I figured that
> I'd ask anyway to see if anyone has encountered this problem before
> and what they did to resolve it.  I'm using PHPLDAPAdmin 1.02 on PHP
> 5.2.5 on FreeBSD 7.0 with OpenLDAP 2.3.39 as my server(s).
>
> Any advice would be greatly appreciated, thanks!
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> phpldapadmin-users mailing list
> phpldapadmin-users@...
> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
LightInTheBox - Buy quality products at wholesale price