search for: pam_mkhomedir

Displaying 20 results from an estimated 435 matches for "pam_mkhomedir".

2007 Aug 07
2
CentOS5 pam_mkhomedir
I have a problem creating homedirs on the fly. Since RHEL5 / CentOS5 you have to use pam_oddjob_mkhomedir instead of pam_mkhomedir. Everything is working (the homedir is created) but two things. First on every logon I get the following error message, and I don't know how to fix it: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.oddjob was not provided by any .service files Second: The permissions of the...
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...
2004 Apr 08
1
Accent with winbind and pam_mkhomedir
Hello I am using Winbind to authenticate user against an NT Domain. client are mainly using Win98 I use pam_mkhomedir to auto create home directory of my users. everything work fine. even the accents in the shared directory but when i try to logon for the first time with an accented username it create a home directory with strange characters invit? seen from win98 and invi_ seen from linux. it seems that the...
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 ?
2005 Oct 03
1
am I the only one that pam_mkhomedir+samba makes machine folders for?...was RE: pam_mkhomdir.so is creating machine folders when usedwithsamba
I see a ton of past archive mails for pam_mkhomedir.so, but I don't see anyone else with my problem. Do others just not care that a bunch of extra folders with the machine names are getting created, or is it not happening for anyone else, and I have just done something wrong? RHEL 3.04 samba 2.0.14a-1 Barry Smoke Network Administrator AR...
2004 Aug 24
1
Winbind + pam_mkhomedir (case sensitive names) problem
Hi! I?m using windbind to authenticate an NT domain users. It works well, however when an user logs, it can use upper o lowercase letters, and that is ok. But pam_mkhomedir creates diferent case sensitive home dirs each time, even if shell prompt shows the name the propper way. Has anyone dealed with this issue ?. What is the best solution?. Thanks in advance !
2005 Dec 31
2
pam_mkhomedir.so problem
...recycle:repository = /home/recycle/%U recycle:touch = yes recycle:versions = yes I edited /etc/pam.d/samba, which now looks like : account required pam_unix.so password sufficient pam_winbind.so use_authtok auth required pam_unix.so nullok_secure session required pam_mkhomedir.so skel=/etc/skel/ umask=0077 @include common-auth @include common-account @include common-session Everything works super except the "pam_mkhomedir.so" module, which does not create the /home/%USERNAME% folder automaticaly ... In the log samba sais that /home/X does not exist ... and thi...
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....
2003 May 06
2
samba + ldap + pam_mkhomedir ?
...nt nt-domain) and a master server which maintains the central user database which gets replicated to all the other servers. Now I have just one more problem, namely homedirs. I want every user to have a homedir to store for example his profile. This has to exist, and it would be nice if I could use pam_mkhomedir to create it, but (without testing) I figure that samba has to authenticate against pam, am I right? But if I let samba autheticate against pam, do I still have all the information available, when autenticating against ldap? What I planned is this: User log onto pdc -> authentication against pam...
2002 Oct 29
0
pam_mkhomedir.so and Samba question (was: RE: Script question)
Worked like a charm. Thanks both to Tim and Josh for their assistance. It appears to be working beautifully!!! Thanks, Scott -----Original Message----- From: dj [mailto:dj@sin.khk.be] Sent: Tuesday, October 29, 2002 12:00 PM To: Scott Wrosch Cc: samba@samba.org Subject: Re: pam_mkhomedir.so and Samba question (was: RE: [Samba] Script question) On Tue, 29 Oct 2002, Scott Wrosch wrote: > Okay, I've got it partially working. Will that module also do it from a non-*nix login? For instance, say the user will more than likely never log into that server from a telnet session....
2002 Oct 30
0
pam_mkhomedir.so and Samba question (was: RE: Script question)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Message: 5 > Date: Tue, 29 Oct 2002 17:59:35 +0100 (CET) > From: dj <dj@sin.khk.be> > To: Scott Wrosch <swrosch@MarketingAssociates.com> > Cc: <samba@samba.org> > Subject: Re: pam_mkhomedir.so and Samba question (was: RE: [Samba] Script question) >On Tue, 29 Oct 2002, Scott Wrosch wrote: > > I've created a small howto detailing a Samba/Winbind setup as part of a > domain controlled by Windows DC's. It includeds all details on setting up > pam_mkhomedir. > &...
2005 Jan 27
1
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir
I hit a small snag using Dovecot-imapd smoothly in my environment with maildir and most of my accounts in LDAP. Since the accounts are created through a web interface on another server home directories on the mail server don't get created automatically. There's the handy pam module pam_mkhomedir.so to automagically create home directories, but unfortunatly Dovecot wasn't calling pam_open_session to run the session setup pam modules. I made a small patch to passdb-pam.c to call pam_open_session between pam_acct_mgmt and pam_get_item and now I my home dirs are automagically created...
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...
2004 Feb 03
3
How do I get pam_mkhomedir to work
...simple question but I have been struggling for many days trying to samba-3.0.2rc2 working with a win2k AD wbinfo -t works wbinfo -u works wbinfo -g works getent passwd username works sharing dirs works in fact everything seems to work with the exception of a users directory being created using pam_mkhomedir.so I am running on Redhat 9 with Samba 3.0.2rc2 Samba was built using the following options configure --with-quotas --with-pam I presume it is something wrong with my pam config which follows #%PAM-1.0 auth required pam_securetty.so #auth required pam_stack.so service=sy...
2003 Jan 28
5
pam_mkhomedir.so
where and how can i call this module ? is it in /etc/pam.d ? how is the sintax ? i'm a suse linux user.. thanx !
2004 Jul 23
0
pam_mkhomedir.so do not mk_home_dir
...tree connect failed: NT_STATUS_ACCESS_DENIED I tought it can't make the HOME bacause of permission so tux # mkdir /home/MADETA tux # chmod 777 /home/MADETA tux # chmod 777 /home (I know, I know, I imediatelly changed it back ...) And still nothing in log .... I am confused DID ANYONE SEE pam_mkhomedir.so DID HIS JOB? Thanks Petr Klima Samba 3.0.2-6.3E CENTOS-3 My /etc/pam.d/samba #%PAM-1.0 auth required pam_nologin.so auth required pam_stack.so service=system-auth auth required /lib/security/pam_winbind.so account required /lib/security/pam_winbind....
2002 Oct 29
1
pam_mkhomedir.so and Samba question (was: RE: Script question)
Okay, I've got it partially working. Will that module also do it from a non-*nix login? For instance, say the user will more than likely never log into that server from a telnet session. Where would I put the following line: session required /lib/security/pam_mkhomedir.so skel=/etc/skel I'm running RedHat 7.3. In the /etc/pam.d directory, there are a bunch of different files. Currently I have it in two spots, the login file, and the samba file. I know it works fine in the login file as far as a telnet session goes. It does nothing though when connecting...
2005 Feb 02
1
pam_mkhomedir and dovecot
Hi all, Just wondering if anyone has successfully managed to configure pam_mkhomedir and dovecot, so that users home directories are automatically created? As far as I can tell, the login process runs as a non-root user, which results in a permission denied error while trying to create the users home directory. I'm not sure if this error is specific to dovecot or pam though....
2005 Feb 02
0
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir (fwd)
...ritten: > Nicolas Lopez wrote: > > maildir and most of my accounts in LDAP. Since the accounts are created > > through a web interface on another server home directories on the mail > > server don't get created automatically. There's the handy pam module > > pam_mkhomedir.so to automagically create home directories, but > > unfortunatly Dovecot wasn't calling pam_open_session to run the session > > setup pam modules. I made a small patch to passdb-pam.c to call > > pam_open_session between pam_acct_mgmt and pam_get_item and now I my > &...
2020 Apr 10
3
Users' Home Folders - conflicting advice in WiKi
...is a version of Unix. > > Are you sure that ADUC is creating the users home directory on your > Linux machines ? > > As far as I am aware Samba doesn't have the code to do this and ADUC > running on Windows has no ability to do it either. > > It could be that you have pam_mkhomedir set in your PAM stack and it > is this that is creating your users home directories at login. > > Myself and Louis collaborated to write a 'root prexec' script to > create the users home directory at Samba connection. > > To the best of my knowledge, you have to use one...