0 votes

Hello,

I need to give the help desk the ability to add users to eDirectory groups from Adaxes.

I can bind to the eDir tree, read attributes of objects, but I cannot add user to a group.
On Novell eDirectory, to add a member to a group we need to add it to "Members" attributes and "Security Equal to Me".

Is there a way to do it?

Example :

#Add user to Group
$context.LogMessage("Add User $TrgtUserDN to Group $GroupName", "Information")
$DomainGroup.PSBase.Invoke('Add',$DomainEntry.PSBase.Path)
$DomainGroup.psbase.commitchanges()
$context.LogMessage("User now in the Group $GroupName", "Information")

by (1.1k points)

1 Answer

0 votes
by (215k points)
selected by
Best answer

Hello,

We've put together a small sample that allows adding a eDirectory user to a eDirectory group. See the following script in our repository: http://www.adaxes.com/script-repository ... p-s406.htm. It works flawlessly in our testing eDirectory domain.

0

Great, thank you!

Related questions

0 votes
1 answer

Hello, Is there a way to send an email notification when a user is added to a group dynamically (with LDAP filter) , it's work only when i add the user manually Thank you

asked Jun 30, 2021 by GG (70 points)
0 votes
1 answer

Hello, we offer our team leads to manage their teams: - the manager select "My Team" - then all member of the team are listed - the manager selects a member of the team and ... by") :o How can I set such a filter which restricts the groups? Many thanks, Horst

asked Mar 23, 2018 by HorstR (460 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (360 points)
0 votes
1 answer

Hello We are using the Computer Manager security role and have given access to this group of staff to a web console, what I can't get working is getting it to display the ... else like OS, service pack, role are displaying OK. Can you help please? Thank you.

asked Feb 4, 2015 by CBurn (700 points)
0 votes
1 answer

Hello I need some help to implement the following task: In a business rule "Before adding a member to a group" an approval should be sent to the manager of the member who will be added to the group. Do you have an example for this? Thanks and greetings Pudong

asked Jun 14 by pudong (580 points)
2,807 questions
2,541 answers
6,615 comments
65,409 users