Displaying 20 results from an estimated 1000 matches similar to: "Login and logout scripts"
2007 Jan 23
7
access users homes share
hey list,
we are currently migrating our users from novell to samba. now we have one problem: in novell we could give e.g. user1 access to users2 home share so he could modify, delete or add files on this share. in samba we defined a global homes share that is mapped on logon. so how can we give user1 the needed rights?
here is the definition of the homes share in smb.conf:
[homes]
2008 Jun 17
4
different logon scripts and mappings for individual users
i'm not sure how to create different logon scripts for different
users. right now i have one logon script called 'logon.bat' that maps
all users to a server share and syncs the time with the server. i need
to be able to map different users to different server shares. not all
users should be mapped to all server shares. these should be automatic
mappings.
for example:
user1 should
2007 Jan 23
1
Samba as a PDC and LDAP - migration
Well, I'm having some problems migrating users.
I work on an university, and all teachers / students / users only have a
Webmail accout. What I want to do is migrate those users to a LDAP server,
and make Windows XP authenticate on a Samba Domain Controller.
So far, I've managed to make the PDC and LDAP base, but... how can I
migrate users from a passwd/shadow account to a samba
2008 Sep 03
5
universal netlogon script
Hi Guys,
Advise, I have 200 users, they all have access to 20 shares in different
combinations. They all have their own netlogon scripts... its a management
nightmare,
is there a way to create a universal netlogon script that I can include all
the shares to mount and it will silently fail on the ones it cant? Perhaps
there is a smarter way to implement this idea,
lynching is welcome, so is
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)
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
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
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
2009 Jun 11
3
Gathering "metal" stats
Hey All,
I’m attempting to gather stats on usage of the “metal”, by which I mean the
physical host’s hardware. I would like to know the CPU, IO, and network
stats for the hardware.
Normally I would get these from /proc/stat, /proc/diskstat, and ifconfig
respectively. However, because of the segregation of VMs and Dom0’s special
relationship as a paravirtualized I don’t know if I can trust this
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
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
2011 Oct 27
2
PXELINUX LOCALBOOT 0 hang on Dell Optiplex 990
I have been using PXELINUX, with "LOCALBOOT 0" when wanting to boot
from disk, for many years. Now on new Dell Optiplex 990 machines,
PXE boot with "LOCALBOOT 0" hangs after message
Booting from local disk...
without the expected "Exiting PXE" message. I tried "LOCALBOOT -1" and
some other values also, none seemed to work. I tested SYSLINUX 4.04.
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
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
2006 Apr 14
3
Many to Many
Hi, I have three tables, a domain of Sites, a domain of Users, and a
junction of Sites_Users with the tables named as such.
My RoR application has a model and controller both User and Site. I
tried to add a controller and model named Site_User but I can''t
reference any functions in the controller, I get an Uninitialized
Constant error.
I''m very new to RoR, but not to
2007 Jun 04
2
missing IntegerFromString()
I have created a DLL not so long ago using C code. My code used the
IntegerFromString() function that used to be exported in the
Rinternals.h header file (and thus easily accessible). Recently I
upgraded to R 2.5.0 and my DLL stopped working. I see that the
IntegerFromString() function is not exported in any of the header files
in the RHOME\include directory. Is it possible for me to use it
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 :
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
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: