samba4 installation user group question

I've installed and re-installed samba4 on my Debian system several times for various reasons. I've downloaded the package directly from www.samba.org, current stable release. I do the usual `./configure`, `make`, `make install`.

My issue/question is, the `make install` process create /usr/local/samba/, subdirectories and files with group 50 "staff". Why? I don't see any config options to change the group, so I assume it must be important. However, I have to change /usr/local/samba/private/dns/ and files to group bind and mode g+w or the dhcpd program cannot update the zone and journal files. I get:
Jul 13 12:58:28 mail dhcpd: Unable to add reverse map from 101.0.168.192.in-addr.arpa. to PHONETREE.hprs.local: SERVFAIL

Open in new window

After changing group and group permissions, and restarting samba, bind9 and dhcpd, the update succeeds:
Jul 13 13:51:20 mail dhcpd: Added reverse map from 103.0.168.192.in-addr.arpa. to hplaptop.hprs.local

Open in new window

Is this selection of group 50 arbitrary? Could I change it for future installations without messing up samba in other ways? Why is it set this way?
LVL 1
jmarkfoleyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
I wondwr why you dont install with apt-get to have pre-configuration that mostly works?
0
jmarkfoleyAuthor Commented:
Actually, I tried that, but at the time it wouldn't install properly. I forget the error. I'll try again on a dummy box later and see what the issue was. Who knows, maybe "operator error". Is apt-get how you've done it? Does it create the /usr/local/samba/ hierarchy as group 50 or something else? If something else, what?
0
gheistCommented:
GID 50 is staff - i.e all interactive users.
Your manual installation went completely wrong.
0
Introducing the "443 Security Simplified" Podcast

This new podcast puts you inside the minds of leading white-hat hackers and security researchers. Hosts Marc Laliberte and Corey Nachreiner turn complex security concepts into easily understood and actionable insights on the latest cyber security headlines and trends.

jmarkfoleyAuthor Commented:
Well, it couldn't have gone *completely* wrong. I followed the instructions pretty exactly in https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO, and it is working OK. I can join computers to the domain and can add Active Directory users. I've browsed through the package folder and can't find where it create the /usr/local/samba folder.

What group does your /usr/local/samba belong to?
0
gheistCommented:
I have no /usr/local/samba
I installed dpkg via apt-get
And all files are group root (gid=0) like rest of system binaries.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jmarkfoleyAuthor Commented:
I've changed the group in /usr/local/samba to root. We'll see how it goes. That "Unable to add reverse map" message comes and goes, does not seem related to permissions on the folder. Haven't been able to identify the problem yet. Related to lease expiration time? Don't know will continue to investigate.
0
gheistCommented:
Problem is homemade build of samba which leaves you out of all possible support channels.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.