1 == Add a guest account to ud-ldap ==
3 === add to guest keyring ===
8 cd projects/debian/d-a/guest-keyring
11 or whereever you keep the checkout. Then
14 echo -n "New user's key fingerprint: " &&
16 ./add-key "`echo $fingerprint | tr -d ' '`" &&
17 git add debian-guest/add-"`echo $fingerprint | tr -d ' ' | cut -b 25-`" &&
18 git add debian-guest/index debian-guest/index.gpg &&
25 Once that is done, to to db-master (aka draghi) and add the account:
31 * enter fingerprint, account name, [fml] name and forwarding address.
32 * do _not_ subscribe to -private (enter a space character)
34 * use 60000 as gid number
36 Then set an expire date for the user:
38 echo -n "userid of new user: " &&
40 ldapvi --encoding=ASCII -ZZ --ldap-conf -h db.debian.org -D uid=$USER,ou=users,dc=debian,dc=org "uid=$uid"
43 and set {{{shadowExpire}}} to today + 60 days ( {{{echo $(( `date +%s` / 3600 / 24 + 60 ))}}} ).