Displaying 20 results from an estimated 1000 matches similar to: "ldap + samba + group membership problem"
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 18
2
Need a working model of smb.conf for a PDC
Having some major troubles with smb and making it a PDC
For 2 weeks now I have been testing, and retesting. At one point I had it
all working except for password changing. Has anyone goten Samba 3.0.4 to
work correctly as a PDC with an smbpasswd back ground (not pam or ldap). If
so could you please send me a working copy of your SMB file (only core
components needed, no need for shares or
2004 Jun 23
1
Problems with 3.0.4 PDC - Trust Relationship failed
I have just set up Samba 3.0.4 from scratch, I am running Mandrake 10, and
did not install its default 3.0.2a. When I try and jpoin a domain,
everything works right up to the add user portion.
>From the XP machine I am able to complete the following steps
1. Enter windws username and domain information
2. Add the machine name to the domain (it is created on the linux box, and
entered into
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 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
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
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 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 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 :
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
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
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
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 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:
2011 Feb 09
1
Questions about dovecot-shared in 1.2 and inherit group membership from parent mailbox
Hi,
I read the Wiki about dovecot-shared a few times but it is not 100%
clear to me (at least for 1.2).
First, if I want shared keywords I *must* have a dovecot-shared. In this
case, the permissions are not taken any longer from the parent folder
(what is exactly this parent folder?) but from the dovecot-shared file.
So in some sense dovecot-shared is always required (since everyone would
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
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.
2009 Jul 09
6
Active Directory Integration Problems
Hello everyone,
I have setup Samba 3.0.28a on an Ubuntu 8.04 server. The setup that I
am working with is an exact copy (as far as I can tell) if an identical
installation that I did on a test box. Kerberos is setup and working
properly. I can use kinit to issue tickets. The box has been
successfully joined to the Active Directory domain. I can enumerate AD
users and groups. I can log
2020 Sep 03
3
Changing IP Scope on a Samba DC
On 03/09/2020 20:57, Peter Pollock wrote:
> Ubuntu 20.4 and whatever Samba it installs (sorry, I'm not in front?of
> the server right now).
4.11. x if I remember correctly, so okay to start with, but can I
introduce to Louis Van Belle's repo:
http://apt.van-belle.nl/
Once you get up and running, you can use the packages there to keep current.
>
> Bind 9.16 (although there