← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 761729] [NEW] centrifydc's copying contents of the skel directory into a new home directory stops when a broken link is encountered.

 

Public bug reported:

Binary package hint: centrifydc

## Issue

- CentrifyDC's copying of contents of the skel directory into a new home 
  directory stops when a broken link is encountered.

- Partial creation of home directories for new Active Directory users due 
  to broken symlinks

## Environment

- Ubuntu 10.04 LTS

- centrifydc 4.4.2-310-0ubuntu1

- pam.homedir.create is set in /etc/centrifydc/c

- previously-unknown ADS user logs in

- broken links encountered under (e.g.) /etc/skel

## Resolution

- (workaround) repair broken links


## Diagnostic Steps

- create broken link under /etc/skel

ln -s /usr/local/0000_asdfasdfasdfsadf /etc/skel/

find /etc/skel -exec

- remove any existing home directory

rm -rf /home/aduser

- login as adsuser

- check /var/log/auth.log

WARN  <fd:# PAMCreateHomeDirectory> daemon.ipcclient Unable to create
home directory for user adstwo: cannot stat
/etc/skel/0000_asdfasdfasdfsadf:  No such file or directory

- find /etc/skel/|wc -l

- find /home/adsuser/ | wc -l

** Affects: centrifydc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to centrifydc in Ubuntu.
https://bugs.launchpad.net/bugs/761729

Title:
  centrifydc's copying contents of the skel directory into a new home
  directory stops when a broken link is encountered.



Follow ups

References