Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-21-2008, 11:08 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
samba pdc: force 1 mandatory profile

Hi folks,
I am trying to setup a samba pdc server for my WinXP Network. All systems have XP Pro. I have a working setup right now. I can add new users, and those new users automatically load the Default User Profile that I have placed in the NETLOGON.

From this point, once the user has a profile I can go into their profile with WinSCP and change their ntuser.dat to a, which essentially makes their profile mandatory. (which is what i want)

However, I would have to do this for every new account that is being setup, and whenever I do workstation updates then users will be bugged with update issues since their profiles would still be locked to an older profile.

Now, how would I go about forcing users to receive the same mandatory profile, rather than all having individual mandatory profiles? It would be much better to maintain an updated mandatory profile each time system changes are made, and then upload that updated mandatory profile for all users.

If there is a way to group users to point to a choice of 2 mandatory profiles (1 for staff, 1 for students) that would be valuable as well.

Thanks for any pointers you folks can help me with.
Old 07-30-2008, 04:41 AM   #2
LQ Newbie
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
Hi bluesky2005,

I am also trying to setup same things in my environment.but not succeed yet. could you please share your ntuser.dat and . so that i can try it on my setup to check whether it is working or not..


Old 07-30-2008, 04:04 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hi, I ended up using the Default Profile folder on the PDC as my mandatory file for all users. I tweaked my desktop on a workstation until it had all the links, programs, etc, how i wanted them. Then i copied that profile onto the pdc in the Default Profile folder, and changed it to

Now, whenever a new user logs in, they grab that profile, and on their first login it automatically creates their own mandatory profile. Upon their second login, it is a replica of the master profile, and remains mandatory from that point on. Users still have access to their own "private" folder on the server for storing personal files. This is independent of the mandatory profile.

If i want to make changes to the master profile for everyone, I can update as necessary and copy/replace the newest profile into the Default Profile. To have all existing users use the newest profile, I can delete their profile folders in WINSCP which forces them to fetch the newest mandatory profile again. The only snag is they have to do the initial login/logout that 1 time whenever a change is made to the master profile.

If specific users require a roaming profile, you can go into that specific user's profile folder and rename their back to a ntuser.dat, which allows them to use it as a roaming profile.

It might be unorthodox, but it works very well, and is quite simple to do.

ps: as a cool bonus i also set the default wallpaper as a bitmap with specific filename (eg. "defback.bmp" that is stored on a shared folder on the pdc. Then anytime you want to update a new wallpaper for everyone, you can just replace with a new wallpaper using the exact same filename.... and presto.... all users now load that new wallpaper automatically without any changes to profiles. Works great for seasonal changes in a school setting to keep things fresh.


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
Samba PDC Profile problem npayne Linux - Newbie 0 07-21-2008 09:55 AM
Samba pdc: making mandatory profiles bluesky2005 Linux - General 0 10-07-2007 06:38 PM
Samba PDC/WinXP Roaming profile terran2k Linux - Networking 1 02-20-2006 05:35 PM
samba PDC does not load profile Donald1000 Linux - Software 1 09-01-2005 03:31 PM
Samba PDC Windows Profile Issue danieltham Linux - Networking 3 02-08-2004 04:49 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:42 AM.

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