?
Solved

Delete Groupmember via Batchfile

Posted on 1998-06-26
2
Medium Priority
?
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
saar2 earned 400 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 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