Hi all,
I'm following the documentation at
http://www.openchange.org/cookbook/configuring.html
Installed: SOGo 2.2.8, OpenChange 2.2, MySQL 5.1, PGSQL 9.3, on CentOS 6.
I setup the OpenChange for the usage of several users. In order to set
it up, I need to loop on the users list and create a profile for each users.
The example on the documentation is to issue:
/usr/local/samba/bin/mapiprofile --create -P testing -S \
-I 192.168.102.48 --domain=OC --realm=oc.local \
--username=JohnDoe --password='openchange2!'
If I want ot loop on my users, I have to
for username in $( <command to output my users> )
do
/usr/local/samba/bin/mapiprofile --create -P testing -S \
-I 192.168.102.48 --domain=OC --realm=oc.local \
--username=${username} --password='openchange2!'
done
But it leads to an error telling the profile 'testing' already exists.
[ERROR] mapiprofile: profile "testing" already exists
It seems fair to me to have one profile per user.
Then I change my loop to:
for username in $( <command to output my users> )
do
/usr/local/samba/bin/mapiprofile --create -P ${username} -S \
-I 192.168.102.48 --domain=OC --realm=oc.local \
--username=${username} --password='openchange2!'
done
I notice then that each added profile becaomes the default one.
The last one become then the default profile. This does not look good to me.
I think I missed something: How should I invoke mapiprofile in order to
create a profile per user?
Thank you.
--
[email protected]
https://inverse.ca/sogo/lists