Displaying 20 results from an estimated 1000 matches similar to: "IF MEMBER OF "GROUP" THEN"
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)
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
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 :
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
2009 Jul 05
4
login.bat has error?
Dear all,
I ran PDC on smbpasswd auth.
When i use following the command, i receive :
//////////////////////////////////////////
debian:/usr/local/etc/samba_3# ./bin/net rpc join mylove -U root
Enter root's password:
Creation of workstation account failed
Unable to join domain MYLOVE.
debian:/usr/local/etc/samba_3#
///////////////////////////////////////////////////////
my smb.conf is :
2005 Jul 02
1
limiting netlogon scripts to a subnet?-will this work?
Would this work? The problem is, I do not have
roaming profiles in use(As it is not practical for us,
as users tend to use the same computers). I want only
users with IP from 192.168.1.x to load the databases.
The loaddatabases.cmd file in question would contain
rem Grab IP address and dump to a file
ipconfig >"%userprofile%\ipconfig.txt"
echo Checking for your location
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
2002 Jun 04
1
[Fwd: Re: [K12OSN] Re: [Lrlug-discuss]emergency....file/directory recovery]
I sent to samba list, with the wrong e-mail account, so it never made
it...
Any help with this is appreciated.
Barry Smoke
District Network Administrator
Bryant Public Schools
-----Forwarded Message-----
> From: Steve Langasek <vorlon@dodds.net>
> To: k12osn@redhat.com
> Cc: lrlug-discuss@lrlug.org, samba@lists.samba.org
> Subject: [Samba] Re: [K12OSN] Re:
2002 Jun 03
2
Re: [Lrlug-discuss]emergency....file/directory recovery
We have had another instance of this.....
since I am forwarding to other lists, "this" involves a lost file, due
to accidental deletion.
in this case, we had a backup, but from the backup time, till deletion
time, a lot of data had been lost.
So, we have not enough disk space to do hourly backups,
novell allowed recovery of a lost file like this,
so:
is there a filesystem that we
2005 Nov 15
9
Multiple Login scripts
Hi all,
Just a quick question about login scripts for a large number of users who
change rooms a lot.
I have several rooms each with a printer, and nearly a thousand users divided
into two main groups - pupils and teachers who change rooms on a routine
basis. Is it possible to set up multiple login scripts that would be executed
in sequence i.e. run by user is %u, and machine is %m is it
2006 Feb 15
1
repeated measurements and lme
I am trying to do a repeated measurement anova using an lme. I have the
following variables:
-ID, the identification of the individual
-trail, with 2 levels
-treatment, with 3
-time, measure 5 times the same individual
-VCL, the response variable
I tried the following in R,
within.gr<-groupedData(VCL~time|ID/treatment/time,data=within)
2010 Nov 09
1
Windows 7 problems
Hi,
I have upgraded to Samba 3.5.6 for Windows 7 Pro compatibility.
I am in a test phase to evaluate the behavior of Windows 7 in a Samba PDC
environment.
I have one Samba server as a PDC with tdbsam backend (no LDAP at all), and I
applied the reg and patch as described in the wiki.
I have a couple of questions related to Windows 7 :
- opening a domain session on the Win7 client takes a
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.
2000 Jun 25
2
Login script
Is there a file I can place in the netlogin directory (or anywhere else
for that matter) that will represnet a logon script? I want to have my
workstations auto-mount particular shares on the samba server, without the
user having to make the mount. This way when I add new users, the shares
are automatically present.
If there is a script I can place somwehre, please tell me what it's name
is
2007 Jun 25
7
problem after update 3.0.22 -> 3.0.24
Hello everybody,
we were running into trouble after upgrading our samba PDC to a new
hardware (and a new debian release).
Before the upgrade we used 3.0.22 on a debian sarge machine without
problems.
Moving the installation to a new machine with debian etch (amd64, samba
3.0.24-6etch4) worked good at the first look.
A closer look shows the following problems:
- a domain member server (samba
2004 Sep 10
2
[Flac-users] Re: my flac -t issue: next approach
| yes, the exit code will be 1 if any of the flac files failed
| testing, else 0 (i.e. if all of them passed).
Thank you, Josh! Now the only trick is to see whether command.com can do
anything with that information.
2010 Mar 09
3
Enhanced MDISKCHK.COM and MEMDISK patches
Good day to all,
Gert Hulselmans requested a feature for MDISKCHK.COM that would function
roughly like GETARGS.COM[1] by Murali Krishnan Ganapathy: DOS SET
command output for MEMDISK kernel arguments passed by previous
boot-loaders. He also needed to support the case for
MEMDISK-in-a-MEMDISK type situations, where all MEMDISK kernel arguments
could be gathered together and output as a list
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=1002(Group1),545(Users),1000(Group0)",
User is a member of group
2004 May 24
2
Re: Windows XP machine not connecting to Samba 3.04 after upgrade
Hi,
as I wrote before: I'm not able to connect a Windows XP Pro notebook
to a Samba 3.0.4 server. All the other machines (most Windows XP Pro,
but also a few Windows 2000 and Windows 98) can connect without any
problem.
This one machine is not part of the NT domain because it needs to
connect 1 or 2 times a week only, and is on the road most of the
time.
The machine could connect