similar to: winbind: auto create home directories

Displaying 20 results from an estimated 9000 matches similar to: "winbind: auto create home directories"

2011 Aug 31
1
Auto creation of home directories on Samba-3.5.4(CentOS 6) using PAM authenticating via ADS
Hi, I have installed samba 3.5.4 on Centos 6 and have set it up to authenticate to a Windows 2008 Domain Controller. When I do a "su - some-domain-user", the home directory gets created. However, I want the home directory to be created when a user accesses the samba shares(no shell access). Following are the relevant configurations. What are the PAM changes I need to make? Help is much
2004 Sep 04
0
Auto-remove home-directories from Active Directory?
Hi, I have setup a working Samba 3.0.5 joined to a Windows 2003 Active Directory. I have used pam_mkhomedir.so to auto-create home-directories on Samba-server for users that is added to Active directory and it works great. My question is how do I auto-remove home-directories from Samba-server when I delete a user in Active Directory? Regards Thomas
2008 Sep 24
0
auto create user home by vsftpd
Hi everybody, we using our centos server with vsftpd and windbind. our users can log on via ftp on the centos server by using their windows-ad-domain-accounts. That's working fine. But vsftpd doesn't auto create user home dirs, if the user connects the first time to the system. Anybody some suggestions why? Our configuration in the /etc/pam.d/vsftp: session
2011 Jul 14
0
authentication problems with pam_mkhomedir
Hi! I'm struggling with pam_mkhomedir. Accounts are stored in LDAP (CentOS Directory Server AKA 389 Directory Server). I am not pre-creating user home directories, and would like to use the pam_mkhomedir module to create the directories on the fly, when a user is authenticated via pop3s. pam_mkhomedir is working for interactive (e.g. SSH logins), but I don't want to require users to
2020 Apr 11
0
Users' Home Folders - conflicting advice in WiKi
On 10/04/2020 21:53, Rowland penny wrote: > On 10/04/2020 21:25, Alex MacCuish via samba wrote: > > The way I do it, I create the home folder share on the server and set > > the required ACLs as in the wiki. Then I fill in the field in the ADUC > > Pane, Profile Path. Then I click ok. At that point, ADUC should open a > > connection to the share, create the new folder,
2007 Jan 15
2
Auto Create user home directory
now that all permissions are right - if i create a new user on the win 2003 active directory and specify a home user under profile i will get " the home folder could not be created because: the network name cannot be found" I know for sure I am getting that error because the user home folder doesn't exist yet on the samba machine - is there any way to get the user home created
2011 Mar 30
1
Samba Authentication wrecking my head [ADS]
Ive recently installed three servers with RHEL5u5. After some messing on the original, I got samba working with ADS authentication. I then went and got it working so that users could log in using their domain name & password to the box. I got this working with both no restriction, and ADS group restriction. I have left it on no restriction wheil I get these systems up and running. I then
2019 Jun 14
2
AD home drive
Hi Rowland, I've added the bit to the pam.d and rebooted the server but still no go The following is from the log file for the machine (user is testhome2) adding home's share [VM-WIN7-01$] for user 'LIN\VM-WIN7-01$' at '/home/%U/samba' get_auth_event_server: Failed to find 'auth_event' registered on the message bus to send JSON authentication events to:
2018 May 31
0
Fw: Home directory is not created
On Thu, 31 May 2018 08:25:52 +0000 Suman Koirala <koiralasu at mnstate.edu> wrote: > I am using ubuntu 18.04 > and samba Version 4.7.6-Ubuntu > > > I am able to login using domain credentials but not being able to get > the script executed to make the home directory. > I am very surprised that it works, you do not use the winbind ldap backend on a Unix domain
2019 Jun 13
0
AD home drive
On 13/06/2019 12:42, Praveen Ghimire via samba wrote: > Hi , > > We have an DC (Ubuntu18.04) which also acts as a file server. The server was recently classic upgraded to AD. Before that all the home drives were in /home. When we migrated to change we added the following in smb.conf to give users access to their existing home folders. > > The problem now is that when we create a
2015 Feb 09
2
Did you get my previous email? Not Spam.
On 09/02/15 06:29, Jason Long wrote: > Thanks. > I added the Two lines to "smb.conf" but I got below error : > > Could not chdir to home directory /home/jason: No such file or directory > mkdir: cannot create directory ?/home/jason?: Permission denied > -sh-4.2$ > > > About "PAM", I have not the file that you said : > > > [root at printmah
2015 Feb 09
0
Did you get my previous email? Not Spam.
Thanks a lot. Thanks a lot. Problem solved and I can login in to Linux without any problem but I guess it is just for CentOS 7 and if you remember CentOS 6.5 not have this problem. Step 1 finished. Step 2 How can I create a Directory and apply permission via AD? Cheers. On Monday, February 9, 2015 12:34 AM, Rowland Penny <rowlandpenny at googlemail.com> wrote: On 09/02/15 06:29, Jason
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
2019 Jun 14
1
AD home drive
2 things. Hai, Change [homes] to [users] and create the folder /home/LIN AD-DC's dont like [homes] Share /home/LIN as [users] Now, in the AD DC smb.conf, the templates settings are used by default. template homedir = /home/%D/%U Which results in your case to : /home/LIN/testhome2 That should do it, but rethink this part of you setup. You might need to change the pam part a bit, but
2020 Apr 10
4
Users' Home Folders - conflicting advice in WiKi
On 10/04/2020 21:25, Alex MacCuish via samba wrote: > The way I do it, I create the home folder share on the server and set > the required ACLs as in the wiki. Then I fill in the field in the ADUC > Pane, Profile Path. Then I click ok. At that point, ADUC should open a > connection to the share, create the new folder, set the acl correctly > and then change the ownership. Hang
2016 Oct 13
0
Unable to set up home share correctly
On Thu, 13 Oct 2016 17:56:50 +0200 Udo Willke via samba <samba at lists.samba.org> wrote: > Hello Rowland, > > Am 13.10.2016 um 16:53 schrieb Rowland Penny via samba: > > On Thu, 13 Oct 2016 16:22:47 +0200 > > Udo Willke via samba <samba at lists.samba.org> wrote: > > > >> Hello Rowland, > >> > >> I have removed the rfc2307-IDs
2017 Oct 23
0
Unable to apply mysqld_db_t to mysql directory
On 23 October 2017 at 19:18, Bernard Fay <bernard.fay at gmail.com> wrote: > Thanks, I managed to fix /var/lib/mysql > > # ls -ldZ /var/lib/mysql > drwxr-xr-x. mysql mysql system_u:object_r:mysqld_db_t:s0 /var/lib/mysql > > To fix it, I tried: > semanage fcontext -d -e /var/lib/mysql > this command returned: > KeyError: /var/lib/mysql > I tried restorecon
2007 May 18
1
3.0.25 Winbind high CPU usage
I just upgraded from 3.0.23d to 3.0.25 and I'm noticing that winbind is chewing up a lot of CPU usage. There are always 2 winbindd processes and one uses about 80% cpu and the other use 15% cpu. When I run a tcpdump and look at the traffic going to/from the domain controller winbindd is connected to, there is a constant flow of traffic. Here is the winbind setup from my smb.conf file:
2016 Oct 30
0
Auto Create Home - shadow_copy2 and root preexec
On Sun, 2016-10-30 at 14:10 +0100, Leander Schäfer via samba wrote: > Hi, > > I make use of shadow_copy2 and root preexec. The vfs root preexec is  > responsible to auto create home directories which initially don't > exist.  > The script behind it is well tested and works perfectly. > Unfortunaltely  > shadow_copy2 seems to be called before root preexec and fails due
2003 Oct 27
0
home dirs
hi folks, i have a problem with unified logons between my linux box and a nt 4.0 domain using winbind. every user should have his own home-directory on the linux-box. if it doesn't exist, it should be created automatically. i configured /etc/pam.d/login as the following: #%PAM-1.0 auth required /lib/security/pam_env.so auth sufficient /lib/security/pam_winbind.so auth