From bcb72d8437aae4a68bc1de6f54f010d3cd060180 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 17 Nov 2017 15:15:20 +0100 Subject: [PATCH] add a bit more docu --- doc/ad-migration.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/ad-migration.sh b/doc/ad-migration.sh index c2a13ab730..b89d3088e0 100755 --- a/doc/ad-migration.sh +++ b/doc/ad-migration.sh @@ -4,7 +4,16 @@ # # STDIN is csv with: ,,,, # -# change following 2 lines to EGroupware user with admin rights and his password +# has to be negative number for groups (eg. -123 for account_id=123)! +# +# Following command should be used as startpoint for the list: +# mysql -B -e "select account_lid,CASE account_type WHEN 'u' THEN account_id ELSE -account_id END,account_lid FROM egw_accounts ORDER BY account_type!='u',account_lid" egroupware | sed 's/ /,/g' +# Change if not equal to and append ,, to each line. +# +# If migration to LDAP instead of AD use uidNumber (gidNumber for groups) as . +# is NOT used and can be empty. +# +# Change following 2 lines to an EGroupware user with admin rights and his password # ADMIN=sysop PASSWD=PW