LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-25-2023, 02:51 PM   #1
Phunction
LQ Newbie
 
Registered: Dec 2009
Posts: 11

Rep: Reputation: 0
Angry Samba 4 AD DC not working right


Hi, I have setup an LXC container with ubuntu lobster, Samba 4.17.7 in an active directory dc.
(i followed the samba wiki and other sites on setting up and provisioning)

I almost have it working, I can join windows 10/11 computers but the login does not work quite right.
When a user logs in I get the error that they can't be signed in and event viewer shows this:

"Windows could not load your profile because a server copy of the profile folder already exists that does not have the correct security. Either the current user or the Administrators group must be the owner of the folder. "

I tried using pdbedit to set the profile path to the users home folder and also tried a GPO.
(gpresult /R does show the GPO is being applied)

For example if I set the profile path to //home/user/winprofile, the folder winprofile is created but I still get the error.
I have been reading and trying thins for days but I cannot get it to logon properly.

It looks like some kind of permission error but I can't find what it would be.

Any help would be appreciated.
 
Old 08-27-2023, 11:18 PM   #2
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417
Blog Entries: 43

Rep: Reputation: 36
I've been studying samba, so let me give this a try!

First, can you post your configuration for the samba domain controller, possibly minus any personal identifying information? Second, what type of profiles are you trying to use? Those two things will probably find a solution soon, I think. It will probably help someone find a solution even if I can't do it. But I'll give this a try, and see if I can help. I haven't actually messed with a DC in a live enviroment yet, not since it only supported NT4 style domains. But I'm headed that direction, as my server 2019 installation is meant for evaluation purposes only for me. I just wanted to learn about it from setting up a real domain and maintaining it, but I really want Linux to do the work instead for the 100% real thing, except if incapable.
 
Old 08-27-2023, 11:19 PM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417
Blog Entries: 43

Rep: Reputation: 36
P.S. - I would suggest after finding a solution, try to script the solution for being able to repeat it later. At least with joining a domain, that's what I did. You DO have to know bash scripting to give that a try, but I recommend it when possible. If that's too much, however, we'll just get you through any way we can.
 
  


Reply

Tags
samba



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 Clinet not working right in KDE4 and Slack 13.1 bogzab Slackware 3 06-22-2010 06:18 AM
[SOLVED] not getting right ouput to right terminal window..... iqra Programming 2 06-19-2010 06:25 AM
Samba share not working right with Excel 97 Phaethar Linux - Software 7 03-07-2005 10:26 PM
samba not working right derfaust Slackware 12 07-23-2004 05:41 AM
samba working, then installed openSSL and not samba not working hamish Linux - Networking 3 05-17-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:24 AM.

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