hi there,
I saw several ways to give domain permissions to normal users, with the user panel it's work so good; But I want to ask if some body knows if is possible to make a "Domain Administrator" user account capable to join a windows machine to the samba domain?
I had a "lost configuration problem" because the co-administrator want to change it`s own permissions to web surf...
If some body knows howto, how or where I can find info, about give administrator access to some irresponsible "format computers" guy that dont't gave me another headache after format an XP PC?
My guess is you will need to change the samba configuration for that as by default only the admin is defined as administrator in the smb.conf file:
1. Create the custom templates directory:
mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/
2. Copy the template fragment into the new location:
cp /etc/e-smith/templates/etc/smb.conf/11adminUsers /etc/e-smith/templates-custom/etc/smb.conf/
2. Use your favourite editor to change the content to point to your Domain Administrator group defined in the server-manager, e.g. like so:
admin users = @admins.domain
The @ sign means that this is a group and not a user.
3. Expand your smb.conf file:
expand-template /etc/samba/smb.conf
4. Reload samba:
service smb restart
Now it should be possible to join computers to the domain using all members of the group you just added. Keep in mind that gives all the user full samba access rights so they are also able to access your Primary ibay using the windows share and modify stuff there...
Edit: corrected command in step 4