Solved

Delete Groupmember via Batchfile

Posted on 1998-06-26
2
318 Views
Last Modified: 2012-05-04
Hi
We are using Netware 4.11 and I would like to delete a user from a group with a batchfile. This batchfile should be called by the loginscript of the user and the last command should delete his membership of the group.
Is this possible? And how can I do this?
0
Comment
Question by:kuehn
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
saar2 earned 100 total points
ID: 1592734
You should download the file ftp://ftp.cdrom.com/pub/novell/n4utl145.zip

In the ZIp file there is a utility called N4attr.exe. You should use it.

This utility can change any NDS property (groupmembership in this case).

Read the readme (or use n4attr /?) and read what is the syntax (username  , operation [add/remove] , property [groupmembership]

The creator address is dcollins@fastlane.net (if you need his help).

HTH,
Saar Carmi,

Email: saar@bigfoot.com
UIN: 3233305
0
 
LVL 4

Expert Comment

by:saar2
ID: 1592735
The right syntax of N4attr for groupmember ship changing:

N4attr <username> "group membership" + <group name>

or

N4attr <username> "group membership" - <group name>

HTH
Saar.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now