Openexchangeserver: Version 4.0.3
/sbin/:
/usr/sbin/add_user_ldap /usr/sbin/add_user_cyrus /usr/sbin/add_user_comfire /usr/sbin/add_group_ldap /usr/sbin/add_folder /usr/sbin/add_host_ldap /usr/sbin/del_userYou can access the help material for these programs by executing the command with the parameter
--help/opt/comfire/application/scripts/insUpdSystemUser /opt/comfire/application/scripts/deleteUser
| user friendly | Parameter | Value |
| LDAP base DN | -bDN | dc=suse,dc=de |
| Administrator | -al | cyrus |
| Administrator password | -ap | secret |
| LDAP host | -H | localhost |
| LDAP port | -P | 389 |
| user friendly | Parameter | Value |
| Name | -givenname | John |
| Surname | -sn | Smith |
| Login name | -uid | smith |
| Password | -up | secret |
| E-mail address | jsmith@suse.de | |
| Company | -o | SuSE Linux AG |
| Country code | -c | Germany |
| Preferred language | -preferredlanguage | DE |
| E-mail alias | -alias | john.smith |
| City | -l | Nuremberg |
| Home directory | -homedirectory | /home/smith |
| Login shell | -loginshell | /bin/bash |
| Primary group (number) | -gidnumber | 100 |
| User ID (number) | -uidnumber | 555 |
| Writting in global address book | -writeglobaladdress | allowed |
| Organisation unit | -ou | Support |
| Title | -title | Professor |
| Initials | -initials | JS |
| Home telephone | -homephone | 0123456789 |
| Mobile telephone | -mobile | 0987654321 |
| FAX number | -facsimiletelephonenumber | 5463728190 |
| Pager | -pager | 0192837465 |
| Office telephone | -telephonenumber | 1920834756 |
| URL | -labeleduri | http://sdb.suse.de |
| Street | -street | Deutschherrnstr. |
| ZIP code | -postalcode | 90419 |
| Region | -st | Bavaria |
add_user_ldap -bDN dc=suse,dc=de -al cyrus -ap secret -uid smith -sn Smith -up secret -o "SuSE Linux AG" -c DE
add_user_cyrus -al cyrus -ap secret -uid smith -mb sent -mb trash -mb drafts -mb spam
add_user_comfire -al comfire -ap postgres -uid smith -rights-profile everything -imapadmin cyrus -imapadminpwd secret -sent sent -trash trash -drafts drafts -spam spam -uid smithAdditionally you have to execute this script for making the user visible at the contacts page:
/opt/comfire/application/scripts/insUpdSystemUser smith
add_group_ldap -bDN dc=suse,dc=de -al cyrus -ap secret -cn newgroup -mUID smith
add_folder -ul smith -up secret -mb INBOX.newmailbox
add_host_ldap -bDN dc=suse,dc=de -al cyrus -ap secret -uid workstation.suse.de$
del_user -al cyrus -ap secret -uid smith -imap -ldap -bDN dc=suse,dc=de -sieveThere's a second step necessary to delete this user also from the Groupware
/opt/comfire/application/scripts/deleteUser smith
SDB-rsimai_slox_bulkadd)