Never mind...going to answer my own question.

The oddjobd daemon has to be running in ADDITION to dbus-daemon.


---
Don Hoover
d...@yahoo.com


--- On Thu, 10/7/10, Don Hoover <d...@yahoo.com> wrote:

> From: Don Hoover <d...@yahoo.com>
> Subject: mkhomdir not working
> To: rhelv6-beta-list@redhat.com
> Date: Thursday, October 7, 2010, 11:29 AM
> 
> I am trying to get mkhomedir working in pam using the new
> oddjob stuff instead of the tried and true pam_mkhomedir.
> 
> Here is the /etc/pam.d/system-auth file, I actually let
> authconfig build this one:
> 
> #%PAM-1.0
> # This file is auto-generated.
> # User changes will be destroyed the next time authconfig
> is run.
> 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     required   
>   pam_unix.so broken_shadow
> account     sufficient   
> pam_localuser.so
> account     sufficient   
> pam_succeed_if.so uid < 500 quiet
> account     [default=bad success=ok
> user_unknown=ignore] pam_ldap.so
> account     required   
>   pam_permit.so
> 
> password    requisite 
>    pam_cracklib.so retry=3
> password    sufficient    pam_unix.so
> md5 shadow nullok try_first_pass use_authtok
> password    sufficient    pam_ldap.so
> use_authtok
> password    required     
> pam_deny.so
> 
> session     optional   
>   pam_keyinit.so revoke
> session     required   
>   pam_limits.so
> session     optional   
>   pam_oddjob_mkhomedir.so skel=/etc/skel umask=0077
> session     [success=1 default=ignore]
> pam_succeed_if.so service in crond quiet use_uid
> session     required   
>   pam_unix.so
> session     optional   
>   pam_ldap.so
> 
> 
> BUT, I am getting this error when a user logs in and pam
> tries to call oddjob_mkhomedir.
> 
> 
> 
> org.freedesktop.DBus.Error.ServiceUnknown: The name
> com.redhat.oddjob_mkhomedir was not provided by any .service
> files
> 
> 
> I have both oddjob and oddjob-mkhomedir installed.  
> 
> 
> Any ideas?
> 
> 
> ---
> Don Hoover
> d...@yahoo.com
> 


_______________________________________________
rhelv6-beta-list mailing list
rhelv6-beta-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-beta-list

Reply via email to