I am trying to find the script that builds /etc/samba/smb.conf.
I don't see it in the /etc/monit.d/ files nor in any of /usr/bin/hda* files.
In particular, I want to make changes to how the PDC is set up. I want per user login and control of the drive letter for the user's home directory. I also want to setup a hidden share for /home much like C$ in NT.
I also want to use different drive letters than what is in:
/var/hda/domain-settings/netlogon/logon.bat
(part of the reason for per user logins).
What script builds smb.conf?
Re: What script builds smb.conf?
it's generated by the platform software.
can you make it generic, i.e. a patch that works for you and everyone else?
or in git, it's under:
we have some way to make some settings and not expose them to the GUI - i.e. for uber advanced users.
if that helps and you can make it general, it reduces the burden to implementation (i.e. no need to build the GUI yet).
can you make it generic, i.e. a patch that works for you and everyone else?
Code: Select all
/var/hda/platform/html/app/models/share.rb
Code: Select all
platform/platform/html/app/models/share.rb
if that helps and you can make it general, it reduces the burden to implementation (i.e. no need to build the GUI yet).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: What script builds smb.conf?
Well I can make changes to what is generated, but I can't change the screen as that is beyond my skill set. I will make some basic changes, then post a features issue.it's generated by the platform software.
can you make it generic, i.e. a patch that works for you and everyone else?
Code: Select all
/var/hda/platform/html/app/models/share.rb
What is git?or in git, it's under:
we have some way to make some settings and not expose them to the GUI - i.e. for uber advanced users.Code: Select all
platform/platform/html/app/models/share.rb
if that helps and you can make it general, it reduces the burden to implementation (i.e. no need to build the GUI yet).
We do need a problem of single script, or per user script. In fact there are a few parameters needed.
Well I will try and get this done this week.
Re: What script builds smb.conf?
rgmhtt,
Were you able to get shares.rb to change smb.conf as you wanted?
I've been having a similar problem: http://forums.amahi.org/viewtopic.php?f=34&t=2626
Were you able to get shares.rb to change smb.conf as you wanted?
I've been having a similar problem: http://forums.amahi.org/viewtopic.php?f=34&t=2626
Who is online
Users browsing this forum: No registered users and 51 guests