Re: [Samba] Logon scripts, home directories, and Samba4 AD

2013-07-03 Thread Daniel Müller
--- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Lee Allen Gesendet: Mittwoch, 3. Juli 2013 00:20 An: samba@lists.samba.org; samba-techni...@lists.samba.org Betreff: [Samba] Logon scripts, home directories, and Samba4

Re: [Samba] Logon scripts, home directories, and Samba4 AD

2013-07-03 Thread Gémes Géza
...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Lee Allen Gesendet: Mittwoch, 3. Juli 2013 00:20 An: samba@lists.samba.org; samba-techni...@lists.samba.org Betreff: [Samba] Logon scripts, home directories, and Samba4 AD I apologize if this appears twice: I posted

Re: [Samba] Logon scripts, home directories, and Samba4 AD

2013-07-03 Thread Lee Allen
...@lists.samba.org] Im Auftrag von Lee Allen Gesendet: Mittwoch, 3. Juli 2013 00:20 An: samba@lists.samba.org; samba-technical@lists.samba.**orgsamba-techni...@lists.samba.org Betreff: [Samba] Logon scripts, home directories, and Samba4 AD I apologize if this appears twice: I posted it several

Re: [Samba] Logon scripts, home directories, and Samba4 AD

2013-07-03 Thread Daniel Müller
, 3. Juli 2013 14:56 An: Gémes Géza Cc: samba@lists.samba.org Betreff: Re: [Samba] Logon scripts, home directories, and Samba4 AD Thank you, that works great, and it eliminates the need to create logon scripts for each user. That's a big improvement. ADUC complains it cannot create the folder

Re: [Samba] Logon scripts, home directories, and Samba4 AD

2013-07-03 Thread Lee Allen
--- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Lee Allen Gesendet: Mittwoch, 3. Juli 2013 14:56 An: Gémes Géza Cc: samba@lists.samba.org Betreff: Re: [Samba] Logon scripts, home

[Samba] Logon scripts, home directories, and Samba4 AD

2013-07-02 Thread Lee Allen
I have two separate (virtual) servers: one running Samba4 functioning as an AD controller, and one running Samba 3.6.1 functioning as a file print server. I am using security=ads and winbind. Everything is working great. Where things get a little messy is with the [homes] shares. Here is

[Samba] Logon scripts, home directories, and Samba4 AD

2013-07-02 Thread Lee Allen
I apologize if this appears twice: I posted it several hours ago and it has not appeared on the list, so I am tweaking the email address and trying again. I have two separate (virtual) servers: one running Samba4 functioning as an AD controller, and one running Samba 3.6.1 functioning as a file

Re: [Samba] Logon scripts

2013-03-11 Thread Daniel Müller
--- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Terry Austin Gesendet: Freitag, 8. März 2013 23:38 An: samba@lists.samba.org Betreff: Re: [Samba] Logon scripts OK, once I found the Group Policy editor

[Samba] Logon scripts

2013-03-08 Thread Terry Austin
Is there a detailed howto on setting up logon scripts on Samba 4? Or is it the same as for 3? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Logon scripts

2013-03-08 Thread Ricky Nance
Hello Terry, You will need to define a logon script for each user in the Active Directory Users and Computers (ADUC) tool or you can do this through user GPO's (there is a logon script option under the user module). In ADUC, select a user (or highlight several users) then under the profiles tab

Re: [Samba] Logon scripts

2013-03-08 Thread Terry Austin
OK, once I found the Group Policy editor, I got what I needed (which was to enforce a screen saver with a password). Thanks. Anybody know how to (ir if you can) get XP Pro to go to the welcome screen instead of the locked screen when it comes out of the screen saver? Unlocking can only be done

[Samba] logon scripts and variable substitution on the windows side

2011-12-17 Thread nikos sarantopoulos
i am really wondering a logon script stated in the config file with for example logon script = %L.bat can't contain inside variable substitutions from samba for example a script that it will have inside and it will be uploaded in the client to contain net use z: \\%L\%u to be translated to net

Re: [Samba] logon scripts and variable substitution on the windows side

2011-12-17 Thread Helmut Hullen
Hallo, nikos, Du meintest am 17.12.11: i am really wondering a logon script stated in the config file with for example logon script = %L.bat can't contain inside variable substitutions from samba for example a script that it will have inside and it will be uploaded in the client to

Re: [Samba] Logon scripts not executed when NT4 trusted domain users log in a S3-controlled domain

2011-03-22 Thread Christian PERRIER
Quoting Christian PERRIER (bubu...@debian.org): - I get a notice that the domain paassword is expired. I can either change it or ignore the warning, but: This was bug #7066. Fixed in 3.5.8. - the DomB user logon script is not executed This seems to be bug #6356 though my client is a

[Samba] Logon scripts not executed when NT4 trusted domain users log in a S3-controlled domain

2011-03-21 Thread Christian PERRIER
I'm currently building a Samba3-based domain (DomA) that has a trust relationship with an existing production NT4 domain (DomB). DomA uses an LDAP backend. The LDAP server is local on the PDC and is dedicated to such use. DomA runs Samba 3.5.6 on Debian 6.0. DomB is an old-timer: NT4 domain

[Samba] Logon scripts in Windows 2000

2009-01-03 Thread Bruce Ferrell
I am certain this is a stupid question, but I have been reading books and searching Google for the answer and have come up blank. Are domain logins required for login scripts to work or will they work in workgroup mode as well? Thanks in advance and I have my asbestos underwear in case the

Re: [Samba] Logon scripts in Windows 2000

2009-01-03 Thread John H Terpstra
On Saturday 03 January 2009 21:18:09 Bruce Ferrell wrote: I am certain this is a stupid question, but I have been reading books and searching Google for the answer and have come up blank. Please tell us which books you have been reading. They should all be burnt! ;-) Are domain logins

Re: [Samba] Logon scripts in Windows 2000

2009-01-03 Thread Tim Bates
Bruce Ferrell wrote: Are domain logins required for login scripts to work or will they work in workgroup mode as well? Yes. Workgroup is what you could call a peer to peer mode. Nothing controls anything, and nothing really trusts anything. TB -- To unsubscribe from this list go to the

Re: [Samba] Logon scripts in Windows 2000

2009-01-03 Thread Helmut Hullen
Hallo, Bruce, Du (bferrell) meintest am 03.01.09: Are domain logins required for login scripts to work or will they work in workgroup mode as well? You can put a local script into the user's autostart directory which calls the logon script of the server. That's the way I connect Windows XP

[Samba] Logon scripts not working on all users

2007-06-08 Thread Boaz Bezborodko
I have set up a logon script to run when users login. It works for me when I log in, but my user ID is mapped to a root group as well as administrative privileges. But it is not executing for regular users. What am I doing wrong? Thanks in advance, Boaz logon script = stdlogon.bat

[Samba] Logon scripts

2005-08-29 Thread Edson Capitani
Hi list! Need your advice! Im looking for a way to do this: I have one SAMBA+LDAP+DNS+DHCP (DC) server running fine in a debian box, my problem now is that a need to have 2 different logon scripts, one is a specific user only, let's say user1 when this user login in winxp client

Re: [Samba] Logon scripts

2005-08-29 Thread Joachim Kieferle
Edson Capitani wrote: Hi list! Need your advice! Im looking for a way to do this: I have one SAMBA+LDAP+DNS+DHCP (DC) server running fine in a debian box, my problem now is that a need to have 2 different logon scripts, one is a specific user only, let's say user1 when this user

RE: [Samba] Logon scripts

2005-08-29 Thread Paul Gienger
I have one SAMBA+LDAP+DNS+DHCP (DC) server running fine in a debian box, my problem now is that a need to have 2 different logon scripts, one is a specific user only, let's say user1 when this user login in winxp client machine the server send to it a script loginA.cmd, and when all user of

Re: [Samba] Logon scripts

2005-08-29 Thread Geert Stappers
On Mon, Aug 29, 2005 at 12:10:40PM -0500, Paul Gienger wrote: Here we generate the login script on the fly on the server using the root preexec parameter whenever someone connects to the netlogon share. A perl script runs on the server that pulls data from LDAP and checks against all their

[Samba] logon scripts no longer run with p-node netbios type 2

2005-08-15 Thread Chris
For several days (at least 4) after using DHCP to switch the NetBIOS node type from h-node (8) to p-node (2) the systems have worked fine (the lease time is only three hours so everyone was affected reasonably early). This morning, however, the logon scripts would not run until I changed the

Re: [Samba] logon scripts no longer run with p-node netbios type 2

2005-08-15 Thread Chris
On Monday 15 August 2005 04:40 pm, Chris wrote: There was one change but I can't really test that until tonight: Samba was rebuilt with the hide-special-files patch - https://bugzilla.samba.org/show_bug.cgi?id=2514 , which doesn't seem like it should cause a problem. Rebuilt the previous

Re: [Samba] logon scripts no longer run with p-node netbios type 2

2005-08-15 Thread Chris
The Samba log for the system: using h-node starting at logon time: [2005/08/15 23:31:03, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service netlogon initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:03, 1] smbd/service.c:close_cnum(830)

Re: [Samba] logon scripts no longer run with p-node netbios type 2

2005-08-15 Thread Chris
Apparent user mind loss issue p-node works fine as long as you don't disable NetBIOS over TCP/IP, seems I did both at the same time..will sleep now...for many hours -- To unsubscribe from this list go to the following URL and read the instructions:

[Samba] Logon scripts on Win2k w/s

2005-04-14 Thread tom burkart
Hi, The issue is as follows: When a Win2k box becomes a domain member, the first time a user logs into the box on that domain, the Win2k box actually downloads the logon script and executes it. It appears to then save it locally and on subsequent logons does not get it off the server again.

Re: [Samba] logon scripts with kixtart

2005-01-01 Thread Joachim Kieferle
Shawn Henderson wrote: Any body using kixtart with your samba server..? or anyone have any great scripting tools for logon scripts... Dear Shawn, we use KIXTART since years with 500 users +. Runs very reliable and up to now without any problems. We e.g. use it for - Unmounting and mounting

[Samba] logon scripts with kixtart

2004-12-31 Thread Shawn Henderson
Any body using kixtart with your samba server..? or anyone have any great scripting tools for logon scripts... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] logon scripts execute randomly

2004-11-29 Thread mathias schenker
I use samba 3.0.9 as a pdc with ldapsam. In the ldap entries, for every user there is a logon script sambaLogonScript. I only use two different scripts for 1000 users and 100 computers. The scripts lehrer.bat and schueler.bat reside in the netlogon share and provide more shares with the net use

RE: [Samba] logon scripts execute randomly

2004-11-29 Thread Lee Baker
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mathias schenker Sent: 29 November 2004 14:33 To: [EMAIL PROTECTED] Subject: [Samba] logon scripts execute randomly I use samba 3.0.9 as a pdc with ldapsam. In the ldap entries, for every user there is a logon

[Samba] logon scripts by group

2004-10-06 Thread Misty Stanley-Jones
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

Re: [Samba] logon scripts by group

2004-10-06 Thread Paul Gienger
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. We got around a problem like that here initially by using the ifmember tool, however that only returned the primary group, at the time that was under 2.2.x. To

RE: [Samba] logon scripts by group

2004-10-06 Thread Lee Baker
-Original Message- Sent: 06 October 2004 16:33 To: [EMAIL PROTECTED] Subject: [Samba] 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

Re: [Samba] logon scripts by group

2004-10-06 Thread rruegner
Misty Stanley-Jones schrieb: 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

[Samba] Logon Scripts Fail to Execute at Logon

2004-09-10 Thread Dustin A. Dortch
I am running Samba 3.0.6 with and LDAP backend. Here is the output of pdbedit for my user: pdb_set_logon_script: setting logon script scripts\logon.cmd, was element 4 - now SET While logging in with this account (or any other account), this script never executes. I am able to run it

[Samba] Logon scripts and Windows NT

2004-06-29 Thread Michael Crider
We have Samba 2.2.5 recompiled with LDAP support running on RedHat 8 as PDC. A mixed network of Windows 98 and NT 4 clients log in using it. We have a logon script set to run for all users. It runs fine on 98 clients, but never appears to run on NT. I can access the netlogon share through

[Samba] logon scripts doen't run

2004-05-03 Thread LanRol
Hi all, I have problem with my logon scripts. drwxrwxrwx5 root root 4096 May 2 20:26 . drwxr-xr-x 25 root root 4096 May 3 09:36 .. drwxrwxrwx2 root root 4096 May 2 20:11 netlogon drwxr-xrwt4 root root 4096 May 2 22:14 profiles

[Samba] Logon scripts

2004-04-02 Thread Kent L. Nasveschuk
Hello Urs, I've been experimenting with RunAsP.exe to do exactly what you are suggesting. By using kixtart script processor you can fork part of your clients that login (2000/XP) to runasp.exe. This can switch user context to an administrator, run a program, then return to the user's context.

[Samba] Logon Scripts

2003-09-18 Thread David Bronson
Hi All, I have a samba pdc that uses login scripts to apply several registry changes. I tried the config.pol and ntconfig.pol and didn't ever seem to find that they were reliably applied. Here is my question. I am able to apply serveral changes for HKEY_CURRENT_USER. HKEY_LOCAL_MACHINE keys seem

RE: [Samba] Logon Scripts

2003-09-18 Thread Max Harvey
To: [EMAIL PROTECTED] Subject: [Samba] Logon Scripts Hi All, I have a samba pdc that uses login scripts to apply several registry changes. I tried the config.pol and ntconfig.pol and didn't ever seem to find that they were reliably applied. Here is my question. I am able to apply

[Samba] logon scripts, shares, and permissions

2003-02-18 Thread Demian Lessa
Hi, RedHat 8 and Samba 2.2.7 I'm a little confused on setting user/group/other permissions on my RedHat box to allow logon scripts to execute, and files to be created/deleted and even listed/read from their shares. In Windows, it was easy to make all shares fully accessible and set permissions

Re: [Samba] Logon Scripts for Mandrake 9.0

2003-01-18 Thread Buchan Milne
From: David Sexton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri, 17 Jan 2003 12:16:00 -0500 Subject: [Samba] Logon Scripts for Mandrake 9.0 I was wondering if some one could help me make some basic login scripts and tell me where to place them. I know nothing about them. I am

[Samba] Logon Scripts for Mandrake 9.0

2003-01-17 Thread David Sexton
TEXTAREA NAME=Signature ROWS=4 COLS=60 I was wondering if some one could help me make some basic login scripts and tell me where to place them. I know nothing about them. I am trying to get my windows based mechines to login to my Mandrake 9.0 server I have windows ME and XP i got ME to