Feature #176

Enhanced samba logon script

Added by Dmitry Fomenko over 10 years ago. Updated over 9 years ago.

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


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


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


Updated by Dmitry Fomenko over 10 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 10 years ago

  • Target version set to 11.0

Updated by Alexander Tratsevskiy about 10 years ago

  • Assignee set to Alexey Samoukin

Updated by Alexander Tratsevskiy almost 11 years ago

  • Target version deleted (11.0)

Updated by Dmitry Fomenko over 9 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!