?
Solved

ifmember maps the wrong groups

Posted on 2003-10-28
4
Medium Priority
?
418 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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

Question has a verified solution.

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

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
OfficeMate Freezes on login or does not load after login credentials are input.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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