Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-24-2006, 09:25 PM   #1
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Kubuntu 20.04 on workstation, CentOS 6.x on servers
Posts: 1,206

Rep: Reputation: 49
samba domain controller - machine policies

Is it possible to create machine/user group policies with samba as a DC? If yes, how do I go about doing that?

A few things I'd like to do are set specific domain users under a specific local group (ex: administrators) and perhaps default computer settings, or basically anything regarding the registry. (which is what GPOs really do - modify the registry).

Also, how would I go about creating a default profile that is "pushed" to machines added to the domain? I'm thinking something like a login script, but that runs when the computer boots up, rather then logs in. So it would copy a default user directory to the c:\documents and settings\default user folder. And what about different OSes? (win2k, xp, 98) are profile settings stored differently? Or do I even need to modify profiles to change these type of things? Or can I simply do it by editing the registry?

I want to basically push default profile settings when a new user logs in, such as disabling personalized menues, removing XP fisher price interface and added classic start menu... all that good stuff.

Last edited by Red Squirrel; 08-24-2006 at 09:27 PM.
Old 08-25-2006, 01:03 AM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Here is one link to get you going. The key to your whole post is that you need to use the old NT4 poledit.exe application. Samba can distribute NT4 policy files created with poledit, if your looking for a slightly more complete solution then the Samba-TNG project might be something you want to look at. Samba's documentation will help out a lot, so head over to also.
Old 08-25-2006, 04:07 PM   #3
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Kubuntu 20.04 on workstation, CentOS 6.x on servers
Posts: 1,206

Original Poster
Rep: Reputation: 49
Thanks, I'll check into that.

Also, this is not related to a DC but related to samba, what is the difference between create mask and create mode? And is directory mode the same as create mode, but for directories? I finally got around to fixing the way my setup is by making a smbusers group so all files served by samba can be accessed by other users when chmodded to 770 (asuming smb.conf allows it) so I want all created files and folders to be chmodded to 770 but not sure which option I'm suppost to be using for that.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Connect the linux machine with windows domain controller hinetvenkat Linux - Networking 1 03-14-2006 11:50 AM
has anyone ever apply NT4 policies to an XP machine with samba as a PDC paul_mat Linux - Networking 3 04-12-2005 08:16 AM
policies in samba domain controller paul_mat Linux - Networking 1 03-02-2005 05:14 AM
Am having problems creating a machine account from XP WS to Samba 3 Domain Controller robertomason Linux - Wireless Networking 3 03-13-2004 04:37 PM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration