|
From: Fabio <fab...@du...> - 2006-01-20 11:08:46
|
hi!
I solved my problem setting in slapd.conf "schemacheck off".
In nis.schema there is:
attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top STRUCTURAL
DESC 'Abstraction of a group of accounts'
MUST ( cn $ gidNumber )
MAY ( userPassword $ memberUid $ description ) )
Is this right?
How I can change it to accept multiple memberUid?
Thanks,
Fabio
> hi!
>
> I have a problem: I have to add a memberUid attribute in ldap directory
> and I use modify_s() and MOD_ADD but I get this error:
> {'info': 'modify/add: memberUid: value #0 already exists', 'desc': 'Typ=
e
> or value exists'}
>
> I know that another memberUid exists but I have to add another one.
>
> In docs (http://csci.mrs.umn.edu/twiki/view/Dungeon/PythonLDAP) I see:
> Objects can have more than one value of the same type. For instance, gr=
oup
> objects have a memberUid entry for each user that is in them. Use MOD_A=
DD
> to add new entries, and MOD_REPLACE to change the value of entries.
>
> I use ldap 2.2.23-8 (sarge) and samba.
>
> A group can have multiple memberUids or not?
>
> Thanks in advance,
> Fabio
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=12164=
2
> _______________________________________________
> Python-LDAP-dev mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>
|