If you use /home as the base directory for a new user's home directory, and this is mounted using autofs then the adding of the user will fail.
So I've added a check for this, and the user will be shown an error should it occur. Also, while there, I'm updating some of the #ifdef sun and #ifndef sun to be more appropriately based on #if defined(sun) && defined(__SVR4). Thanks, Darren. PS - Attached is a diff of the change not the whole file as will be in the committed files. -------------- next part -------------- A non-text attachment was scrubbed... Name: review.diff Type: text/x-patch Size: 2989 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20061129/2c4b17b3/attachment.bin>
