Displaying 20 results from an estimated 34 matches for "ifmemb".
Did you mean:
ifmem
2004 May 23
1
A (maybe)_ easy solution to global login script for group checking
Hello
While searching the archives and googling for :
-login script to map drives according to group membership
I saw lots of complicated solutions (on-the-fly scripts, group directories)
etc. but the following works very well for me:
I downloade dthe ifmember.exe from the microsoft website, and stuck it in
the netlogon directory (not the scripts directory)
http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp
Then the script is:
@echo off
ifmember "DOMAIN\group1"
if not errorlevel 1 goto group2
net use r: \\SER...
2007 Jan 23
3
Login and logout scripts
Is there a way to run a script on my samba PDC machine when a user logs in
and logs out?
Thanks in advance.
--
Air conditioners and Computers are the same - they both crash when you open
Windows.
2004 Jun 17
2
ldap + samba + group membership problem
Hi to all,
I have recently set up a new linux serveur with SAMBA 3.0.4 + Openldap
The server is PDC , users and groups are stored into LDAP
All is working fine for the moment, I can join the domain without Pb on a W2k
machine.
but, Here is my problem :
I've some users members of differents groups and not only the "main" group.
Like user "joe" First Group :
2007 Jun 01
2
Not seeing the expected group memberships with ifmember.exe /list
...strators" "LDS-DEMO\ntadmins" /ADD
NET LOCALGROUP "Power Users" "LDS-DEMO\ntpwrusr" /ADD
NET LOCALGROUP "Users" "LDS-DEMO\ntusers" /ADD
NET LOCALGROUP "Guests" "LDS-DEMO\ntguests" /ADD
What is specifically missing in "ifmember /list" are:
LDS-DEMO\Domains Admins
LDS-DEMO\ntadmins
We are at least getting membership to:
LDS-DEMO\Domain Users
<><><><><><><><><>
What steps should we try as we try to track down this case of missing group memberships?
--
Michael...
2005 Jun 06
1
Problem listing group membership from Windows
I planned using ifmember.exe from Windows 2000 resource kit to map the right
drive-mappings to the right shares with logon-scripts. Unfortunately it seems
as ifmember simply doesnt report the right groups for the users.
Even tho "id user1" shows the right groups;
"uid=2082(user1) gid=1002(Group1)roups=100...
2007 Jun 25
7
problem after update 3.0.22 -> 3.0.24
...ba on the PDC are showing a succeeding auth request for the user, but
the windows box claims access rights problems. This is a minor problem,
as we could temporarily go around that by mounting the necessary
filesystem via NFS to the PDC and exporting them from there.
- our logon script (which uses ifmember.exe to check the group
membership of the user for printer mapping) does not work any more.
Testing "ifmember.exe /list" directly at the windows command line shows
that group memberships are not reported any more.
- additionally some users are reporting problems accessing shares with
s...
2008 Aug 25
1
Samba Groups questions
Hi,
When Samba is running as a PDC and a workstation is joined to the
Domain, should the user
logged into the workstation be able to see all the groups they are a
member of using `ifmember /list`?
Is the below output as expected? I'm I correct thinking that as all my
groups originate
in the Unix world, I don't need winbind to allow the Workstations to see
them?
For what it's worth, Solaris 10 (Sparc) Samba 3.2.1 and OpenLDAP,
everything bar
the Samba version should...
2009 May 30
2
logon script
Hi,
I have configured a samba PDC with a logon script. The logon script includes
dos commands to map a drive letter for different shares. One share has user
home directory, one has common folder for all the users and other share is
group share. For assigning a drive letter to group share I have used the
command "net use g: \\%L\group\%G" but group share drive is not mounting for
any of
2008 Jun 19
6
login scripts --what to use
Hi,
We're setting up a PDC, and would like to have a login script to deliver
the mapped drives to users in particular groups, and connect to
printers. The printer drivers come from the [print$], share.
Does anyone have any good resources for this? What's the easiest and
simplest thing to get going --vbscript or batch files?
Thanks,
chris
2004 Feb 01
3
Several logon script bat files?
I simply wonder if I can have several different logon script bat files for
MS Win users that validates through my Samba PDC?
Let's say that group "users" should have logon batch users.bat and the
members of the group "sales" should have both users.bat and sales.bat
executed at logon? Or can I in some way use ONE script with parameters that
knows about what groups the user
2009 Jul 05
4
login.bat has error?
...ed on the fly by
genlogin.pl
rem this script is only valid for win2000/NT/XP
rem exec bat for logged in machine ( maybe software status or machine
data )
echo %COMPUTERNAME%
call %COMPUTERNAME%.bat
rem exec bat for login user
echo %USERNAME%
call %USERNAME%.bat
rem exec bat for different groups
rem ifmember.exe must be in the netlogon share download it at
microschrott
ifmember Administrators
if errorlevel 1 call Administrators.bat
ifmember users
if errorlevel 1 call users.bat
//////////////////////////////////////////////////////////////
Please help me................
2004 Oct 12
3
Group membership
I am using Samba PDC with OpenLDAP2 and smbldap-tools. As part of my
logon.bat, I call a script called ifmember.exe. This script can list out the
groups a user is a member of. It is reporting that my root user is a member
of the group 'engr.' I don't know if this is a bug with ifmember.exe or if
it's an issue in Samba or in LDAP. Here is some relevant data:
oink:/etc/smbldap-tools #...
2004 Nov 10
2
Login scripts based on group
I have users that belong to several groups. I want a logon script to be
run for each of the groups to which a user belongs. For example, when I
logon, I want admin.bat, users.bat, and someothergroup.bat to run. On
Novell I used to use 'if Member of groupName...', but I don't know how
to do this in Samba..
Thanks,
Dean
2001 Sep 27
2
IF MEMBER OF "GROUP" THEN
yes, we are using %g in the mapping of primary group based f drives, but
these scripts I want to run I don't want to base on primary group.
-----Original Message-----
From: Mike Rees [mailto:samba@glanymor.carms.sch.uk]
Sent: Thursday, September 27, 2001 5:40 AM
To: barry@arhosting.com
Subject: Re:IF MEMBER OF "GROUP" THEN
Barry
You can specify the file that is executed when a
2008 Jan 29
3
Samba Administrator account for XP
Dear all
I have install samba + ldap and it is successfully joing the domain but problem is when i login in XP machine with Administrator account of samba i cannot change anything in XP even not system time so is it problem of privileges ??
$ cat ~/satish/url.txt
http://www.linuxbug.org
2004 Oct 06
3
logon scripts by group
Hi,
I am having a hard time figuring out how to have logon scripts that only
execute if the user is a member of a certain group. I had the smart idea of
putting the supplemental logon script in a share only available to the group,
and then calling it from the normal logon script using "CALL
"path_to_script". However it looks like it always executes that CALL even if
the user
2005 Mar 09
2
windows /bat script question
Subject isn't exactly samba, but samba people usually know a lot about
windows bat scripting. Here's my problem:
Currently our domain login script is doing this (among other things):
ifmember.exe "WINDOWS-DOMAIN\Projects"
if errorlevel 1 ( net use p: \\server1\projects )
This works fine. The problem is I'm moving the projects storage to a
different server called server 2 (which is linux running samba 3, so it
is samba related somewhat). The logic I need is:
If p: is...
2006 Mar 10
1
Why do un-groupmap'ed Unix groups show up in Windows?
Typical Linux Distros add all sorts of Unix groups to users when it creates them, like cdrom, floppy, dialout, audio, etc...
Logging in to the domain from Windows with an account that has such membership over on Linux... "ifmember.exe /list" shows all of those memberships. Why exactly? I would expect only the groups I did a
"net groupmap" on would be considered by Samba. Makes me wonder the real results of...
net groupmap add ntgroup=ntadmins unixgroup=ntadmins type=d
since groups I did not map show up on...
2006 Oct 31
0
Suse+Yast+Webmin
I have SUSE-SLES10 with samba Version 3.0.22-13.23 and openldap (slapd
2.2.24). When I add a user(for example, john) in a group(for example,
admin) using Webmin or LdapAdmin, and after I logon in workstation and
execute IFMEMBER.EXE, the list of groups is not completed, The group
"admin" don't appears.
But if I use YAST for to add "john" in group "admin", and after I
logon in workstation and after execute IFMEMBER.EXE, appears the
correct list of groups, also the group "admin"....
2004 Oct 12
1
Redirect "My Documents" for NT through XP
...ne NT server which is not connected to the domain. I really want to
redirect My Documents because I'm worried about what will happen if someone
saves a document and their machine crashes before they log out of the PDC
(no, Windows NEVER crashes).
Any help would be appreciated. By the way, ifmember.exe is beautiful. If
anyone needs help with group-aware logon.bat scripts, I will be glad to give
you some examples.
Misty