[Samba] Users, home directories and profiles

L.P.H. van Belle belle at bazuin.nl
Wed Jul 1 15:15:47 UTC 2020


Are you using radius or something what opens the switch ports after authenticating the users? 
Wifi login? 
 
This is a windows thingy.. 
im leaving the office atm, but i need to think here which options you have.. 
Which windows version is this? windows 10 2004 ? 
 
 
so far, 
 
greetz, 
 
Louis
 
 

Van: Enrico Morelli [mailto:morelli at cerm.unifi.it] 
Verzonden: woensdag 1 juli 2020 16:00
Aan: L.P.H. van Belle
Onderwerp: Re: [Samba] Users, home directories and profiles





In data 1 luglio 2020 2:12:56 PM "L.P.H. van Belle via samba" <samba at lists.samba.org> ha scritto:


-----Oorspronkelijk bericht-----
Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
Enrico Morelli via samba
Verzonden: woensdag 1 juli 2020 14:06
Aan: samba at lists.samba.org
Onderwerp: Re: [Samba] Users, home directories and profiles


On Wed, 1 Jul 2020 12:35:08 +0100
Rowland penny via samba <samba at lists.samba.org> wrote:


On 01/07/2020 12:15, Robi. T. Wagner via samba wrote:
root at localhost:~# getfacl /home/samba/users/
getfacl: Removing leading '/' from absolute path names
# file: home/samba/users/
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
root at localhost:~# samba-tool ntacl get /home/samba/users 
--as-sddl


O:LAG:S-1-22-2-0D:(A;;0x001f01ff;;;LA)(A;;0x001f01ff;;;S-1-22-
2-0)(A;;0x001f01ff;;;WD)(A;OICIIO;0x001f01ff;;;CO)(A;OICIIO;0x
001200a9;;;CG)(A;OICIIO;0x001200a9;;;WD)  


--------------------------------------------------------------
------------------------------------------------------
Sorry for the bad format....I am fighting to get lists.samba.org
into a newsreader without success (bloody Austrian A1 doesn't have
a news server anymore and I couldn't find a nntp server with samba
lists) If you change the file/directory owner to a unix user,
windows explorer is crashing immediately in the security tab. The
only exception is the user root, because it mapped to 
Administrator.




Mani  


Now I think about it, we have had this before and it is a Windows
bug, if I remember correctly, someone at Windows was supposed to be
looking into it.


Rowland








Ok, for the moment with the patch I'm able to set the permissions to the
home directories of the domain users. 


Why are you "manualy" setting the permissions, thats not needed. 


In ADUC, you need to set 2 things and profiles and homedirs are created automaticly. 
Tab Profile 
Path to user profile :  \\server.fqdn\profiles\%username% 
BaseFolder : Connect (choose a letter:) connect with :  \\server.fqdn\users\%username% 


Apply and its created, ( note, profiles is created when you login/loggoff )


Now the other problem is that after I created new users on samba server


I'm unable to login into the windows client. When I try to login using
a new user I receive:


We can't sign you with this credential because your domain isn't
available. Make sure your device is connected to your organization's
network and try again. If you previously signed in on this device with
another credential, you can sign in with that credential.


Any windows Event ID's might help .. ID + description .. 






But I'm able to login using the user I created as administrator.


Try in the GPO's, Wait for Network ( apply for computer ). 
Reboot 2 times. 


And try again. 


Greetz, 


Louis








-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

I set the wait for network and restart two times but the problem persist. 
In the event log I see: the processing of Group Policy failed because of lack of network connectivity to a domain controller..... 
Event is 1129
-----------------------------------------------------------
  Enrico Morelli
  System Administrator | Programmer | Web Developer




  CERM - Polo Scientifico
  via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY
 -----------------------------------------------------------




More information about the samba mailing list