Solved

samba ntconfig.pol

Posted on 2006-12-01
12
390 Views
Last Modified: 2011-09-20
Hi all,

I have a quick question. I have a samba server acting as domain controller which is working fine. I want to implement policies so i created NTConfig.POL and have it placed in the root of the netlogon folder and I have the permissions set to 777. However it is not implemeting these policies when I logon to the domain.

The domain members are windows xp and the policy was created on one of these computers then copied across.

Anyone have any ideas?

Thanks a lot.
0
Comment
Question by:blaadom
  • 6
  • 6
12 Comments
 
LVL 5

Expert Comment

by:dasmaer
ID: 18052709
How are you telling Samba to use these policies?
0
 

Author Comment

by:blaadom
ID: 18052718
Thats what i need to know. How do you tell samba to use this file? thanks for the quick response.
0
 
LVL 5

Expert Comment

by:dasmaer
ID: 18052738
When a Windows NT4/200x/XP machine logs onto the network, the client looks in the NETLOGON share on the authenticating domain controller for the presence of the NTConfig.POL file. If one exists, it is downloaded, parsed, and then applied to the user's part of the registry.

So make sure you have a NETLOGIN share on the domain controller (it should be created by default), and make sure that you have yourNTConfig.POL file there... or are you doing this already?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:blaadom
ID: 18052752
yep i have a netlogon folder which has NTConfig.POL in it. Both the folder and the file are chmod to 777 yet for some reason the windows client doesn't pick it up. Is there even any way of checking if the client is trying to get the.pol file
0
 
LVL 5

Expert Comment

by:dasmaer
ID: 18052756
By default the client will look there and download it, I don't know if you can tell if its fetching it.  It may be the case that the client is trying to execute it though, I take it you chmod'd to 755 before and had no luck?
0
 
LVL 5

Accepted Solution

by:
dasmaer earned 500 total points
ID: 18052770
sorry, I meant 744.
0
 

Author Comment

by:blaadom
ID: 18052771
yea tried it at 755 and then changed to 777 just in case. from what i have been reading it just seems as easy as creating the pol file and placing it in the netlogon share. im just wondering am i missing something simple. thanks a lot for your help your giving
0
 

Author Comment

by:blaadom
ID: 18052785
oh ok i will try 744 now, 1 sec
0
 
LVL 5

Expert Comment

by:dasmaer
ID: 18052796
Just another thought, have you restarted Samba since placing the file there? Or is that not practical in your situation?
0
 

Author Comment

by:blaadom
ID: 18052803
hey your a god it worked!!! thanks a bunch, excellent help, fully deserve 500 points
0
 
LVL 5

Expert Comment

by:dasmaer
ID: 18052807
np. was it the 744 that fixed it?
0
 

Author Comment

by:blaadom
ID: 18052808
yep it was the 744, again thanks a bunch, your an expert! :)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Red Hat 7 Linux on Azure cannot run a command as root 22 51
Linux script delete files 3 47
AWS EC2 HTTP & HTTPS 2 44
Linux Real Time Memory on Distinct 24 Cycle 7 29
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question