Solved

ifmember maps the wrong groups

Posted on 2003-10-28
4
408 Views
Last Modified: 2013-12-04
If i run ifmember /list it displays the correct groups

But it seems to map the first group in the script which looks like the following..


:52Commerce
%logonserver%\ifmember Domain\52Commerce
if not errorlevel 1 goto 53Fresno
net use j: \\server\Commerce
0
Comment
Question by:torino420
  • 2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
oBdA earned 250 total points
ID: 9640786
I guess ifmember.exe is running just fine ...
It's just the line
%logonserver%\ifmember Domain\52Commerce
that is not correct.
You'll (probably) want
%logonserver%\netlogon\ifmember.exe Domain\52Commerce
(or just leave the path out completely if this is running in a logon script and ifmember is in the netlogon share).
0
 

Author Comment

by:torino420
ID: 9642797
That did it! not sure wether it was the .exe extension added and/or the netlogon, but it works.
By the way, if I leave the %logonserver% parameter out, it says ifmember is an unrecognized command.

Anyways your solution worked, thanks a bunch.
0
 
LVL 83

Expert Comment

by:oBdA
ID: 9642886
It wasn't the .exe extension; there's just no share "ifmember" on your server ;)
I just like to add the .exe extension for external programs in my scripts because it makes them easier to read (at least for me); you can see easier which is an external command, and it makes it easier to identify which external tools are used in a script in case you forgot to document it ...
0
 

Author Comment

by:torino420
ID: 9642898
oh yeah....DUH :)

thanks again.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

17 Experts available now in Live!

Get 1:1 Help Now