Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ifmember maps the wrong groups

Posted on 2003-10-28
4
Medium Priority
?
420 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
[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
4 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 1000 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 85

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

604 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