[Samba] Samba-4.3.11 Roaming profiles on FreeBSD10.3

L.P.H. van Belle belle at bazuin.nl
Fri Jul 29 06:58:14 UTC 2016


I sniped the best parts, and added comment. 

 

> 

> The situation is that assigning a new user the profile:

> //DC/PROFILES/%USERNAME%  does not produce anything on the DC's

> filesystem.  

Correct that only dan when you first login with the user and then logoff. 

 

>However, using the same string as a mapping for the

> user's home drive works fine.  In other words the directory

> //DC/PROFILES/%USERNAME% is created when used as the mapping argument.

//DC/PROFILES/%USERNAME% is created when you klik on the OK knop in windows tool.

 

 

> 

> However, the existence of this directory does not cure anything.  If

> following creation of the profile directory using the mapping gambit

> one changes the profile to use that directory then when one logs on as

> \\DC\%USERNAME% the profile cannot be found or created on the DC for

> that user.  If I rename the existing profile directory to

> PROFILES/%USERNAME%.V2 then I do not get the temporary profile error

> notice when logging in so the profile is found.  But when logging off

> I instead get the error notice that the roaming profile could not be

> synchronised and nothing is saved on the host filesystem.

 

 

It looks like you swapped these 2 paths. 

The user folder rights are bit different then the profiles folder. 

But you have to little info to be more precise. 

 

If you share the user folder. Example : 

/home/DOMAIN/users/Userfolders. 

In this path. /home/DOMAIN/users/Userfolders 

 

Share the users folder like 

\\DC\users\%username  and Now this folder wil be automatic created through RSAT. 

IF you assigned uid/gid ( samba AD backend ) first assign the UID/GID THEN set the user homedir.

Wrong order can give the problem off not creating the user folders. 

 

And for the profiles setup like this. 

/home/DOMAIN/profiles/Userfolders. 

 

And share like 

\\dc\profiles\%username% 

 

Once this is correct set, now choose. 

Windows profiles acl or (l(unix) posix acl. 

Setup exact like this : 

https://wiki.samba.org/index.php/Implementing_roaming_profiles 

and it works. 

 

Check it, if it doesnt work post the needed info. 

 

And recheck your homedir folders

https://wiki.samba.org/index.php/User_home_drives 

 

 

 

Greetz, 

 

Louis

 

 

 

> 

> I opened a bug about this on bugzilla.samba.org 12037 and I have

> uploaded the log file extract there.  If someone with the requisite

> skills could take a look at its contents and give me some idea of what

> is happening I would be greatly appreciative.  It is entirely possible

> that I have misconfigured some ACL or other but I will need someone to

> point out to me what exactly is wrong.  I have repeated the ACL set-up

> at least 10 times so if I am doing something wrong it is not evident

> to me what it might be.

> 

> 

> --

> ***          e-Mail is NOT a SECURE channel          ***

>         Do NOT transmit sensitive data via e-Mail

>  Do NOT open attachments nor follow links sent by e-Mail

> 

> James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca

> Harte & Lyne Limited          http://www.harte-lyne.ca

> 9 Brockley Drive              vox: +1 905 561 1241

> Hamilton, Ontario             fax: +1 905 561 0757

> Canada  L8E 3C3

> 

> 

> --

> To unsubscribe from this list go to the following URL and read the

> instructions:  https://lists.samba.org/mailman/options/samba

 



More information about the samba mailing list