Samba, winbindd and multiple home directories

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












My current situation is a system with an Windows AD and DC, which manage logging in to Samba. After an Upgrade of the underlieing OS from Windows Server 2008R2 to 2016, my coinfig doesn't work anymore.
I try to setup samba with the home directories of the respective user.
Now I have got 3 home dirs, /home1, /home2 and /home3, where merging is impossible.
How can I get winbindd to use the home-directory of a user that is given in /etc/passwd?
I can't change big things in the system as it's production.



Thanks in advance



EDIT:
The home-directories are not used, because winbindd does something like "", so it doesn't find all my users and their respective home directories.







share|improve this question





















  • winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
    – roaima
    Jun 21 at 15:24














up vote
1
down vote

favorite












My current situation is a system with an Windows AD and DC, which manage logging in to Samba. After an Upgrade of the underlieing OS from Windows Server 2008R2 to 2016, my coinfig doesn't work anymore.
I try to setup samba with the home directories of the respective user.
Now I have got 3 home dirs, /home1, /home2 and /home3, where merging is impossible.
How can I get winbindd to use the home-directory of a user that is given in /etc/passwd?
I can't change big things in the system as it's production.



Thanks in advance



EDIT:
The home-directories are not used, because winbindd does something like "", so it doesn't find all my users and their respective home directories.







share|improve this question





















  • winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
    – roaima
    Jun 21 at 15:24












up vote
1
down vote

favorite









up vote
1
down vote

favorite











My current situation is a system with an Windows AD and DC, which manage logging in to Samba. After an Upgrade of the underlieing OS from Windows Server 2008R2 to 2016, my coinfig doesn't work anymore.
I try to setup samba with the home directories of the respective user.
Now I have got 3 home dirs, /home1, /home2 and /home3, where merging is impossible.
How can I get winbindd to use the home-directory of a user that is given in /etc/passwd?
I can't change big things in the system as it's production.



Thanks in advance



EDIT:
The home-directories are not used, because winbindd does something like "", so it doesn't find all my users and their respective home directories.







share|improve this question













My current situation is a system with an Windows AD and DC, which manage logging in to Samba. After an Upgrade of the underlieing OS from Windows Server 2008R2 to 2016, my coinfig doesn't work anymore.
I try to setup samba with the home directories of the respective user.
Now I have got 3 home dirs, /home1, /home2 and /home3, where merging is impossible.
How can I get winbindd to use the home-directory of a user that is given in /etc/passwd?
I can't change big things in the system as it's production.



Thanks in advance



EDIT:
The home-directories are not used, because winbindd does something like "", so it doesn't find all my users and their respective home directories.









share|improve this question












share|improve this question




share|improve this question








edited Jun 22 at 6:38
























asked Jun 21 at 14:03









Werdck

62




62











  • winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
    – roaima
    Jun 21 at 15:24
















  • winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
    – roaima
    Jun 21 at 15:24















winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
– roaima
Jun 21 at 15:24




winbindd does use a user's home directory given in /etc/passwd where one exists. If your configuration doesn't then you're going to need to provide more information (for example, the non-comment lines from your [global] section in smb.conf).
– roaima
Jun 21 at 15:24















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451120%2fsamba-winbindd-and-multiple-home-directories%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451120%2fsamba-winbindd-and-multiple-home-directories%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay