Copy link to clipboard
Copied
i've setup a fedora directory server in my server, through coldfusion i can add, modify,remove users, also i can create, delete groups.
but the problem comes when i want to add a user to a group. coldfusion gives me this nice error:
An error has occured while trying to execute modify :[LDAP: error code 32 - No Such Object].
and here's my query:
cfldap action="modify" dn="cn=testesmod,ou=Groups,dc=com"
attributes="member=uid=tusertest,ou=People,dc=com"
separator=";" modifytype="add"
server="serverip
username="cn=Directory Manager"
password="password" />
can anyone give an idea on how to solve this?
how can i add a user to a group?
thanks in advance
help would be appreciated.
Copy link to clipboard
Copied
one thing, that i figured out was that member wasn't working because the plugin in fedora directory server (a.k.a 389 directory server) wasn't enabled.
so i enabled it, restarted the directory and tried that query, same error.
replaced member with memberOf, and it gave the the following error:
An error has occured while trying to execute modify :[LDAP: error code 65 - attribute "memberOf" not allowed ].
anyone?
can anyone give any help?