The search returned 5 results

by MaxDagoba
September 13, 2016 - 11:26 PM
Forum: Tips and Tricks
Subject: Logon Batch Script
Answers: 8
Views : 12943

Re: Logon Batch Script

If.
But I have the impression that
logon script = %U.bat
Is taken into account second or not at all.
I'll have to test that more closely too ^^
by MaxDagoba
September 13, 2016 - 8:02 PM
Forum: Tips and Tricks
Subject: Logon Batch Script
Answers: 8
Views : 12943

Re: Logon Batch Script

Yes, I know, but that's not the goal right now.

Once I've created a web interface to manage everything, I'll make a module to assign a drive letter to a reader.

For now, my script is a bit basic.
by MaxDagoba
September 12, 2016 - 12:43
Forum: Tips and Tricks
Subject: Logon Batch Script
Answers: 8
Views : 12943

Re: Logon Batch Script

Well, after a few more tests, it seems to be coming from my Windows 10 (version 14393.105).
I tested it on Windows 8.11 and it works perfectly, no duplicate drives.
I'll have to test it with a clean Windows 10 installation (without any updates) to see if the problem is with the system itself or caused by an update.
by MaxDagoba
September 11, 2016 - 2:16 PM
Forum: Tips and Tricks
Subject: Logon Batch Script
Answers: 8
Views : 12943

Re: Logon Batch Script

Hello,

my script is executed via Samba with the following configuration in smb.conf:
`root preexec = bash /opt/scripts/samba/test.sh %U`
which generates the user.bat file, and then
`logon script = %U.bat`.
Users are created with the
`--script-path="user.bat"`
The user.bat script is located in the logon folder...
by MaxDagoba
September 8, 2016 - 12:27
Forum: Tips and Tricks
Subject: Logon Batch Script
Answers: 8
Views : 12943

Script logon bat

Hello everyone,

I'm seeking your help with a problem I'm having with a logon script.
I've configured my Samba server so that users log in using a script named after them (%u.bat), which is generated dynamically by another script to mount network drives based on...