[Samba] Samba keeps resetting smbpasswd permissions

Gerald (Jerry) Carter jerry at samba.org
Fri Apr 11 20:03:37 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Novosielski wrote:
> Gerald (Jerry) Carter wrote:
>> Volker Lendecke wrote:
>>> On Fri, Apr 11, 2008 at 02:19:02PM +0200, Martin v. Wittich wrote:
>>>> Are there any plans to remove that code or at least make in
>>>> configurable? For example, there could be options like this in the
>>>> smb.conf file:
>>>>
>>>> smb passwd owner = root
>>>> smb passwd group = freerad
>>>> smb passwd mode = 640
>>> I'd much rather go with a solution that keeps the existing
>>> permissions on smbpasswd.
>> I'd much rather just leave this as a local mod for this person :-)
>> And the let upstream stay the same.
> 
> He does have a point though. If you want to use this file format, it
> should probably be up to you what permissions you want on it --
> certainly to allow another group to read it if necessary. I myself have
> not had this need, but I could see it.
> 
> Unless the preferred situation would be to use something other than
> smbpasswd for something like that anyway.

Sure.  Add a permission mode define to local.h and let
it be changed there at compile time.  I don't think there is enough pent
up demand to make this a run-time parameter. That's all I'm saying.



jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/8QZIR7qMdg1EfYRAiYsAJ9hg1cIR1YJdosEa99ReZpKkc3m5gCeICmk
ceu4nWDK+vx3o3x/bDt7gno=
=dMwJ
-----END PGP SIGNATURE-----


More information about the samba mailing list