]> Pileus Git - ~andy/sunrise/blob - app-admin/ldapscripts/files/ldapscripts.conf.patch
app-misc/ccpublisher: Remove app-misc/ccpublisher - it has the wrong copyright. Pleas...
[~andy/sunrise] / app-admin / ldapscripts / files / ldapscripts.conf.patch
1 --- ldapscripts.conf.org        2005-12-31 18:01:29.000000000 +0200
2 +++ ldapscripts.conf    2006-12-18 14:07:03.000000000 +0200
3 @@ -35,10 +35,19 @@
4  # User properties
5  USHELL="/bin/sh"
6  UHOMES="/home/%u" # You may use %u for username here
7 -CREATEHOMES="no" # Create home directories and set rights ?
8 +CREATEHOMES="no"  # Create home directories and set rights ?
9 +ASK_GECOS="no"    # ask user for gecos (full name)? prevents scripting, so the default is no.
10 +
11 +# Home directories
12 +# This is useful if you want to have a roaming home directory
13 +# that would be available on all clients your users login.
14 +CREATEHOMES="yes"        # Should the script create home directories?
15 +SRV_HOMES="/homes/%u"    # Where the user's home directory is located on the NFS server?
16 +HOME_SKEL="/etc/skel/"   # Where is the skeleton home located? (If not defined, home is left empty)
17  
18  # User passwords generation
19  # Command-line used to generate a (random ?) password for the users (you may use %u for username here)
20 +# !! Note that this is eval'd, and what command you place here, will be run .. 
21  PASSWORDGEN="head -c8 /dev/random | uuencode -m - | sed -n -e '2s|=*$||;2p' | sed -e 's|+||g' -e 's|/||g'"
22  #PASSWORDGEN="echo changeme"
23  #PASSWORDGEN="echo %u"