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

Bug #761729 reported by Eric Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
centrifydc (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.