Re: when creating a user, home dir not created!

Eric Sandall <[email protected]>
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
Quoting Ken Kleiner <[email protected]>:
> Yes, but DA doesn't always run on the system where the user's homedir  
> would reside.
> 
> For example, I run it on a MAC OS X system - creating entries on a  
> linux ldap server.  I sure wouldn't want DA to create a homedirectory  
> on my MAC system for a linux
> user.  If it did do that, I would have to first make sure that my MAC  
> nfs mounts the linux server's home directory filesystem so that it can  
> get created in the right place.
> 
> An option to do this would be nice, but I don't think that was the  
> intent of DA.
> 
> Am I off base here?
> 
> I am thankful for the tool even w./out that option!
> 
> -Ken

At a guess, that's probably the main reason this functionality hasn't been
implemented in DA. As it is, I'm sure a patch to add /optional/ support for
this (i.e. another tab, such as the e-mail or samba tab, with a single tick
[default off] to enable creating /home, and then if that tick is selected,
another tick is shown, or perhaps just grayed out, [this time, probably default
on, as most people who create a user directory want /etc/skel to be copied] to
copy the contents of /etc/skel to the user's new directory).

An additional idea would be to have a way to define the file server in this tab,
and then somehow (SSH?) DA could connect to the server (if it's not localhost,
which wouldn't require a connection) and create the user's home directory, but
this adds more complexity (what if they don't have SSH running on the file
server? Is there some way to not need DA to login with another shell? Can we
use LDAP (and assume that the file server is connected to the LDAP server,
which it should be, but again, assume...?), etc.)?

-sandalle

-- 
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.