similar to: Samba AD and the [homes] share

Displaying 20 results from an estimated 40000 matches similar to: "Samba AD and the [homes] share"

2018 Apr 27
0
Homes, folder redirection and hide files...
On Fri, 27 Apr 2018 10:17:52 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote: > > Samba 4.5 in AD mode, domain in ''beta'' stage. ;-) Yes, but what 'AD mode' ?? Is it a DC or Unix domain member ? > > I've created homes for users following: > > https://wiki.samba.org/index.php/User_Home_Folders > > using
2018 Apr 27
2
Homes, folder redirection and hide files...
Samba 4.5 in AD mode, domain in ''beta'' stage. ;-) I've created homes for users following: https://wiki.samba.org/index.php/User_Home_Folders using 'POSIX' mode, eg using: [users] comment = Home Directories path = /home browseable = No veto files = /.mail/.inbox/.ssh/ root preexec = /etc/samba/createhome "%U" force create mode = 0600 force
2015 Oct 21
0
Can't get 'root preexec' to run
Louis, thanks for the idea! I can execute the script as root on linux (tested this), because I do folder (zfs data set) creation via remote ssh commands, so not in the domain context. But the point is that the script won't even execute. Even on failure, there would be a log file created by my script which can't be found anywhere. Ole Am 20.10.2015 um 17:29 schrieb L.P.H. van
2019 Apr 08
0
home user
For got to mention. Other option, add in smb.conf : root preexec = mkdir -p /home/%U [homes] comment = Home Direcotries path = /home/%U root preexec = /var/lib/samba/scripts/mksambahomedirs.sh %U mksambahomedirs.sh --- #!/bin/env bash if [ ! -d /home/$1 ]; then mkdir /home/$1 chmod g+s /home/$1 chown $1:"domain admins" /home/$1 chmod 770
2015 Oct 21
1
Can't get 'root preexec' to run
Maybe I finally figured it out. I found that sentence "For example, the [test] and [homes] sections are unique disk shares; they contain options that map to specific directories on the Samba server." here: https://www.samba.org/samba/docs/using_samba/ch06.html Does that mean that this "preexec" in the [homes] section is not invoked if the user is accessing his or her home
2023 Jan 16
1
pam_winbind and home folders
On 1/14/23 16:44, Marco Gaiarin via samba wrote: > Mandi! Piviul via samba > In chel di` si favelave... >> Well, I can understand that System account use AD machine account to do >> things so a uid for a machine account is needed but I don't think the pc >> account need an home, didn't it? If you use mkhomedir in pam_winbind >> module, home folders are
2023 Jan 14
1
pam_winbind and home folders
Mandi! Piviul via samba In chel di` si favelave... > Well, I can understand that System account use AD machine account to do > things so a uid for a machine account is needed but I don't think the pc > account need an home, didn't it? If you use mkhomedir in pam_winbind > module, home folders are created even using idmap AD backend or it's a > problem only of
2019 Aug 27
2
How can i know the user home directory with wbinfo or smbclient.
On 27/08/2019 14:54, Juan Ignacio via samba wrote: > I set the homeDirectory directly in the AD object. > For it i like know if i can access to that info throw some tool. > Have you set it something like: \\fileserver\users\username If you have, then you only need a root preexex script and these lines in smb.conf: ??? winbind use default domain = yes ??? template homedir =
2015 Oct 21
1
Can't get 'root preexec' to run
On 21/10/15 13:30, Rowland Penny wrote: > On 21/10/15 12:41, mourik jan heupink wrote: >> Hi, >> >> On 10/21/2015 01:21 PM, Rowland Penny wrote: >>> I am now beginning to think it doesn't work at all, if samba4 is >>> involved in any way. I knew that it wouldn't work on a DC (probably >>> because the user is DOMAIN\username and not just
2016 Apr 11
0
Home directory of AD-User
On 11/04/16 20:50, Luca Bertoncello wrote: > Rowland penny <rpenny at samba.org> schrieb: > >> Can you post your entire smb.conf >> What OS ? >> What Samba version ? > Samba 4.1.6 on Ubuntu 14.04. > My smb.conf: > > # Global parameters > [global] > workgroup = CCH > realm = CCH.INTRA > netbios name = MAIN >
2016 Apr 11
2
Home directory of AD-User
Rowland penny <rpenny at samba.org> schrieb: > Can you post your entire smb.conf > What OS ? > What Samba version ? Samba 4.1.6 on Ubuntu 14.04. My smb.conf: # Global parameters [global] workgroup = CCH realm = CCH.INTRA netbios name = MAIN interfaces = lo, br50 bind interfaces only = Yes server role = active directory domain
2015 Oct 20
0
Can't get 'root preexec' to run
You tried the pam module mkhomedir ? And have your tried : root preexec = "/usr/local/samba/scripts/createzfshome.sh %U" or root preexec = /usr/local/samba/scripts/createzfshome.sh "%U" Is the homedir on a NFS mounted dir? Exports correctly set? Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Ole
2015 Oct 20
5
Can't get 'root preexec' to run
Looks like my nfsv4 kerberos and root access problem. In that case, root didnt have a kerberos ticket, and was not allowed to access the needed folder. I think this is a bit the same. Creating the users and profiles shares from ADUC is working fine for me but not scripted from user root. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at
2015 Oct 21
4
Can't get 'root preexec' to run
Hi, On 10/21/2015 01:21 PM, Rowland Penny wrote: > I am now beginning to think it doesn't work at all, if samba4 is > involved in any way. I knew that it wouldn't work on a DC (probably > because the user is DOMAIN\username and not just username), but from my > experiment (see my earlier post) it doesn't seem to work at all, try > your setup with '[home]' and a
2015 Oct 21
0
Can't get 'root preexec' to run
On 21/10/15 12:41, mourik jan heupink wrote: > Hi, > > On 10/21/2015 01:21 PM, Rowland Penny wrote: >> I am now beginning to think it doesn't work at all, if samba4 is >> involved in any way. I knew that it wouldn't work on a DC (probably >> because the user is DOMAIN\username and not just username), but from my >> experiment (see my earlier post) it
2014 Jul 08
1
Homes shares randomly dissapear on AD-DC'S
Hi, I have an strange issue on our company network. We run samba4 ad-dc's on four branches as separate sites, they are connected via ipsec tunnels, all servers are debian wheezy systems using sernet 4.1.9-8 samba packages. We use roaming profiles with folder redirection configured via GPo's. In tree of the four branches users suddenly losse the connection to their home shares, since
2018 Oct 25
2
automatic home dirs
I was reading through this https://wiki.samba.org/index.php/User_Home_Folders My goal was to be able to have samba automatically create the share \\server\username I'm not sure what it means : "" Windows does not support this feature, and certain settings, such as folder redirection in an Active Directory (AD), require a workaround instead and you cannot use the official solution.
2014 Dec 26
1
Use Samba with ACL for read Active Directory and set Permissions via it.
I use this script to create folders for users #!/bin/bash if [ ! -e /data/homes/$1/$2 ]; then /usr/bin/mkdir -p /data/homes/$1/$2 /usr/bin/chown "$2":"Domain Users" /data/homes/$1/$2 /usr/bin/chmod g+s /data/homes/$1/$2 /usr/bin/chmod 770 /data/homes/$1/$2 /usr/bin/setfacl -m g:"domain admins":rwx /data/homes/$1/$2
2019 Aug 27
0
How can i know the user home directory with wbinfo or smbclient.
Yes i have something like that on the user. But my objective is from the linux client machine get that attribute or info to mount or sync the windows home. I have that line on my script for example: rsync -avzX -e "ssh -o StrictHostKeyChecking=no -i /home/public/id_rsa" --progress -m --chown=$USER:$GROUP root at 10.20.1.5:/domain/samba/jfk/homes/staff/adscripcion/$USER/
2015 Oct 21
0
Can't get 'root preexec' to run
MJ, thanks a lot! Just to make sure I get you right: This section is in the smb.conf. a) on the DC acting as file sever as well, or b) on a separate file server running Samba 4.1.17? The user log-on happens on a third machine, that is neither DC nor that file server, right? How and where is the home dir for each user specified? On the DC? In the smb.conf or via the ADUC console in the user