Feature #176

Enhanced samba logon script

Added by Dmitry Fomenko about 14 years ago. Updated over 13 years ago.

Status:New Start:09/28/2010
Priority:Low Due date:
Assignee:- % Done:

0%

Category:Calculate Directory Server Spent time: -
Target version:-
Votes: 0

Description

For add own parameters/operations/command in script.cmd, which are logon script for windows hosts (parameter "logon script =" in /etc/samba/smb.conf). Adds all lines from /etc/calculate/start.cmd.add with properly EOL (CR LF) netlogon/$USER/start.cmd when user generated by cl-useradd. Linux-style comments (line started with "#") will be ignored. File /etc/calculate/start.cmd.add must ended by empty line.

start.cmd.diff (1.1 KB) Dmitry Fomenko, 09/28/2010 06:29 pm

start.cmd-r1.diff (565 Bytes) Dmitry Fomenko, 06/27/2011 04:19 pm

History

Updated by Dmitry Fomenko about 14 years ago

1) May be better not ignore linux-style comments, but convert to win-style comment (line started "rem")?
2) May be not generate default start.cmd from python script, entirely transfer default start.cmd to .conf and always generate start.cmd from the .conf file?
What are you think about it?

Updated by Alexander Tratsevskiy about 14 years ago

  • Target version set to 11.0

Updated by Alexander Tratsevskiy almost 14 years ago

  • Assignee set to Alexey Samoukin

Updated by Alexander Tratsevskiy almost 14 years ago

  • Target version deleted (11.0)

Updated by Dmitry Fomenko over 13 years ago

Also space-string (tab, space, \n ) and win-style comment ('[Rr][Ee][Mm]') will be ignored

Also available in: Atom PDF

Thank you!