If I can change:
logon script = logon.bat
In /etc/samba/smb.conf to
logon script = $U.bat
I will have a login script per user. Of course I have to create one. The default content would be:
call logon.bat
Of course, I am ASSuMEing that when the logon script is running, it is the 'current directory'...
So do I change a database field or a script file (like hdactl) to effect this smb.conf change?
PDC per user logon script
Re: PDC per user logon script
send a patch to have a check button in the setup -> shares -> settings pdc screen for
sounds reasonable.
if nothing else, file a feature request, and if you REALLY want it done, we can open a premium support line
Code: Select all
[X] execute per user script
sounds reasonable.
if nothing else, file a feature request, and if you REALLY want it done, we can open a premium support line
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: PDC per user logon script
And until then, how is this line in smb.conf generated? So that I can set it and forget it...
Re: PDC per user logon script
you can manually edit the smb.confAnd until then, how is this line in smb.conf generated? So that I can set it and forget it...
it should not be editted untill you either add/modify shares, or reboot the machine.
LANTEA: Amahi 7 (vm), HP Proliant Microserver, 8GB RAM, 2x 1TB HDD, 1GB eth
Re: PDC per user logon script
yes, it's very brittle in that sense. any time anything in shares change, like even adding an app that has a share, it will make the setting you added go.
best thing is to file a bug.
but if you insist, the code that generates the header is in
the method is self.header_pdc.
any changes there:
- require httpd restart for the code to take effect
- require ONE change to shares to be pushed out
- will last until the next release of the platform, which happens every so often (one probably this week), and they are announced shortly after major releases. this is still brittle, though not as much
honestly, our lifeblood is bug reports.
best thing is to file a bug.
but if you insist, the code that generates the header is in
Code: Select all
/var/hda/platform/html/app/models/share.rb
any changes there:
- require httpd restart for the code to take effect
- require ONE change to shares to be pushed out
- will last until the next release of the platform, which happens every so often (one probably this week), and they are announced shortly after major releases. this is still brittle, though not as much
honestly, our lifeblood is bug reports.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: PDC per user logon script
Well it has been a while since I submitted a bug report.honestly, our lifeblood is bug reports.
I just went to the URL above and cannot see how to submit a bug report.
The only link there that seems close is: http://bugs.amahi.org/issues But there is no 'new' bug on this page.
I went to the wiki to see how to file bugs, and got taken right back to bugs.amahi.org
So I am missing something here...
Re: PDC per user logon script
they call them issues ---> "New Issue"
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: PDC per user logon script
they call them issues ---> "New Issue"
On http://bugs.amahi.org/issues
There is a pull down on Status and a filter. Neither have an option for 'New Issues'
Nowhere else on this page do I see any button looking like 'new issues'.
And on http://bugs.amahi.org/, the only reference to 'new' is 'new apps'.
So I am still lost.
Re: PDC per user logon script
http://bugs.amahi.org/projects/amahi/issues/new
under projects -> platform -> new issue
(can be a bug, a feature or support, make it feature)
under projects -> platform -> new issue
(can be a bug, a feature or support, make it feature)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: PDC per user logon script
OK Going to http://bugs.amahi.org/projects/amahi/issues/ I see 'new issues'.http://bugs.amahi.org/projects/amahi/issues/new
under projects -> platform -> new issue
(can be a bug, a feature or support, make it feature)
Can you put this URL on the bugs.amahi.org page or do you need a bug report on that?
Who is online
Users browsing this forum: No registered users and 16 guests