Project

General

Profile

Bug #662

Need for admin users when in PDC mode

Added by rgmhtt over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
SMB
Target version:
-
Start date:
10/27/2010
Due date:
% Done:

100%


Description

Need to add the smb.conf line of:

admin users = u, v, w

Where u, v, w are the admin users.

Some functions can only be done by admin users, for example installing local printer drivers to be used by regular domain users.

History

#1 Updated by cpg over 10 years ago

  • Status changed from New to Feedback
  • Assignee set to rgmhtt

that is a quick one. try this platform:

http://alpha.amahi.org/tmp/hda-platform-5.5.1-28.noarch.rpm

you should see a line with admins under [global].

#2 Updated by rgmhtt over 10 years ago

What did you change?

I downloaded the rpm and did a yum localupdate with it. Then I looked at the share.rb file that creates the smb.conf, and all of my hard coded changes are still there. (hmmm, I had it open in gedit at the time of the yum update).

Anyway I don't see a change to share.rb and how do I get it to rebuild the smb.conf file?

#3 Updated by cpg over 10 years ago

#4 Updated by rgmhtt over 10 years ago

I can't test this until you tell me how to get the share.rb to execute.

And how about rolling in bug #653, it is a simple case fix.

#5 Updated by cpg over 10 years ago

in an email i said: change anything in the shares area: make one share read only and revert it back, change the name of the domain and revert it back, set debug and revert it back ...

#6 Updated by cpg over 10 years ago

allright, found another small issue and rolled in bug #653 ... please use

http://alpha.amahi.org/tmp/hda-platform-5.5.1-29.noarch.rpm

#7 Updated by rgmhtt over 10 years ago

If I force an update of smb.conf by changing a share, I see the new smb.conf and it has a 'proper' 'admin users =' line.

Only thing now is to get this script to run when user permissions are changed.

#8 Updated by cpg over 10 years ago

This version adds and removes users to the admin setting for samba when they are set or unset as admins:

http://alpha.amahi.org/tmp/hda-platform-5.5.1-34.noarch.rpm

i tested it, but please confirm so that we can close these two bugs!

#9 Updated by rgmhtt over 10 years ago

  • Status changed from Feedback to Resolved

This is working as needed to the best of my testing ability.

So please roll it out, and then I can push out some content on the value of PDC mode over Workgroup.

Though I am custom editing to add feature requests 656 & 657.

#10 Updated by Anonymous over 10 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:"db0314348ee9c242a734315a0df07265f24e5dde".

#11 Updated by cpg over 10 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from rgmhtt to cpg

reopening - this creates an issue when installing apps that have associated shares.
found by user kent when installing transmission with PDC enabled.

#12 Updated by Anonymous over 10 years ago

  • Status changed from Assigned to Closed

Applied in changeset commit:"2f5c3ef7718034d929d1606ec1467c69c9c44f6c".

Also available in: Atom