Displaying 20 results from an estimated 10000 matches similar to: "creating homedir"
2019 Apr 10
2
chown: changing ownership of 'test': Invalid argument
Hi Rowland,
Please see my replies inline.
On Wed, 10 Apr 2019 at 09:58, Rowland Penny via samba <samba at lists.samba.org>
wrote:
> On Wed, 10 Apr 2019 09:04:06 +0200
> Ian Coetzee via samba <samba at lists.samba.org> wrote:
>
> > Hi All,
> >
> > I have a very weird issue on one of my servers. I think I might just
> > be missing something quite
2008 Feb 25
2
pam_mkhomedir.so not working.
Sambains, I gotta samba setup where I use pam_mkhomedir.so to create
home dir for first time users. Same configuration is working on many
hosts and if I create a home directory manually, I can login, but not
on fly. And also when I change the /home permission to 777, its
creating home directory for new users on fly.
When strace a su session, I getting the following error. My guess is
the module
2002 Nov 18
1
Help with PAM Config
I've installed SAMBA, Winbind etc and everything is working great for users
to login with GDM using DOMAIN+username
Although this is working, now I can no longer login as a generic Linux user
(ex. root). The following is my GDM file from /etc/pam.d/gdm
I wonder if someone might have a suggestion as to what it's missing to allow
Linux users to login?
#%PAM-1.0
auth required
2004 Jun 22
1
two problems with pam authentication
Hi,
my etc/pam.d/login file is given at the end.
i am using winbind and single sign on is working now. on the fly
directory creation also works.
when i check the /var/log/messages i have this error in there
1.Jun 23 05:40:46 niit158VM pam_winbind[1696]: user 'linwin/zubair'granted
acces
2.Jun 23 05:40:46 niit158VM pam_winbind[1696]: user 'linwin/zubair'
granted acces
2015 Feb 08
2
Did you get my previous email? Not Spam.
On 08/02/15 06:51, Jason Long wrote:
> Thanks a lot.
>
> [root at printmah ~]# getent passwd jason
> jason:*:11303:10513:jason JASON:/home/JASONDOMAIN/jason:/bin/false
>
> But I can't login to Linux via AD username and it show me :
>
>
>
> Last login: Sun Feb 8 01:48:32 2015
> Could not chdir to home directory /home/JASONDOMAIN/jason: No such file or directory
2017 Jun 13
3
Creating home folders on file server automatically
Hello Rowland,
Am 12.06.2017 um 19:32 schrieb Rowland Penny via samba:
> On Mon, 12 Jun 2017 10:04:56 -0700
> Luke Barone via samba <samba at lists.samba.org> wrote:
>
>> Hi list,
>>
>> We have a script we are using to create new users, and drop them into
>> the proper OUs on our Samba AD server, using samba-tool. We have a
>> Samba member file server
2004 Feb 03
3
How do I get pam_mkhomedir to work
Message follows this disclaimer
--------------------------------------------------------------------------------------------------
This email and any files transmitted with it is confidential and intended solely
for the person or organisation to whom it is addressed. If you are not the
intended recipient, you must not read, copy or disseminate the information
or take any action in reliance on it
2005 Dec 31
2
pam_mkhomedir.so problem
Hello Samba People,
I'm doing some tests with samba on a debian Sarge in order to implement a
file server
with the recycle bin module, so my smb.conf loks like this :
[global]
workgroup = HOME
server string = %h server (Samba %v)
preferred master = no
realm = home.local
security = ADS
encrypt passwords = true
password server = 192.168.0.15
socket options = TCP_NODELAY
#
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:
2005 Dec 16
1
Dovecot & pam_mkhomedir
Hi there,
Does anyone have Dovecot working correctly with pam_mkhomedir, please?
I seem to be going through quite a number of IMAP servers this week,
trying to find one that will not only authenticate against a Windows
domain but which will also create home directories for users the first
time they log in.
I'm using winbind to do the authentication & that seems to be doing the
trick
2018 May 03
2
Using samba AD in mixed OS environment
On Thu, 3 May 2018 18:08:20 +0100
Zdravko Zdravkov via samba <samba at lists.samba.org> wrote:
> Hi Rowland.
>
> As suggested I switched to winbind with rid backend, since I had free
> time for tests today. This is what I've done for few min.
>
> smb.conf from the testing pc
>
> [global]
> workgroup = XXXX
> security = ads
>
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
2007 Jan 04
1
how do i tell winbind to use PAM
quick question how do i tell winbind to use PAM to authenticate user against
03 AD?
vi /etc/pam.d/samba
#%PAM-1.0
auth required pam_nologin.so
auth required pam_stack.so service=system-auth
auth required pam_winbind.so
account required pam_winbind.so
account required pam_stack.so service=system-auth
session required pam_mkhomedir.so
2020 Sep 17
1
smbd do not start
El 17 de septiembre de 2020 10:06:29 GMT-04:00, Rowland penny via samba <samba at lists.samba.org> escribi?:
>On 17/09/2020 14:51, Rommel Rodriguez Toirac via samba wrote:
>> No, I can not log in as rommel.rodriguez and this user exist in the
>samba4 ADDC.
>>
>Does the users home directory exist '/home/rommel.rodriguez' ?
>
>If it doesn't, you will need
2019 Oct 10
1
how to automatically create the home directory
On 10/10/2019 12:26, Rowland penny via samba wrote:
> There are three ways, depending on how the user connects.
>
> You can manually create a home directory for each user.
>
> If the user actually logs into the unix domain member, you can lever PAM
> to create the home directory the first the user connects
>
> If the user only connects over Samba, then you need to create
2002 Nov 15
1
Winbind and Samba
Hi all, I was wondering if someone could lend a little assistance.
I recently setup SAMBA/Winbind to allow users to login to a Redhat 8 box
using their Windows NT Domain credentials. All is working well in that
regard.
The issue I am having is getting regular UNIX based users to be able to
login. The following is my PAM configuration. For example, if I try to
login as root, it does not work.
2012 Jul 31
2
Can,t get pam_mkhomedir to work...
On a ldap enabled CentOS 6.3 x64 system, I try to make it so home
directories are auto-created. I added this :
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
to my /etc/pam.d/system-auth
And it does nothing. I restarted messagebus (I've seen references to
that) and sshd, and logs don't mention anything in regards to
pam_mkhomedir...
Any hints ?
2015 Oct 08
2
Changing User password from ssh member server
Hi Rowland,
This is a CentOS 6.7 server.
I was able to make some progress. I have edited /etc/pam.d/system-auth, and
now it looks like:
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth sufficient pam_ldap.so use_first_pass
auth required pam_deny.so
account
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
2007 Jan 05
2
Kerberos and PAM
I am new to samba. I followed the docs on samba.com to configure samba as
"domain member", security = domain, and to user winbind to authenticate
users against windows 2003 AD. well, my question is the steps mentioned the
use of PAM to do the authentications against the AD but it doesn't work - do
I also need to configure kerberos for this type of installation?
[root@itbox john]#