Changes

Jump to navigation Jump to search
1,387 bytes added ,  16:42, 28 September 2013
Line 17: Line 17:  
===Smecontribs repository for SME Server===
 
===Smecontribs repository for SME Server===
   −
  yum install --enablerepo=smecontribs smeserver-lazy_admin_tools
+
  yum install --enablerepo=smecontribs smeserver-lazy_admin_tools smeserver-userpanel smeserver-mailsorting
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
   Line 36: Line 36:  
       -a, --add
 
       -a, --add
 
           Add a user account to the server.
 
           Add a user account to the server.
 +
 +
      -n
 +
        create pseudonyms firstname.lastname/firstname_lastname
    
       -c ""Arguments"", --command-line=""Arguments""
 
       -c ""Arguments"", --command-line=""Arguments""
Line 85: Line 88:  
  lat-users -a -c "harry | Harry | Potter | Quidditch"
 
  lat-users -a -c "harry | Harry | Potter | Quidditch"
 
       Creates user 'harry' from the command line, with password 'Quidditch'.
 
       Creates user 'harry' from the command line, with password 'Quidditch'.
 +
 +
lat-users -a -c "harry ||| Quidditch"
 +
      Update the account 'harry' with the new password  'Quidditch'.
 +
 +
lat-users -a -n  -c "harry | Harry | Potter | Quidditch"
 +
      Creates user 'harry' from the command line, with password 'Quidditch'
 +
      and pseudonyms firstname.lastname/firstname_lastname
    
  lat-users -a -i /root/users.list
 
  lat-users -a -i /root/users.list
Line 107: Line 117:  
       Creates user 'ron' and assigns him to groups quiddich and dada. If any
 
       Creates user 'ron' and assigns him to groups quiddich and dada. If any
 
       of these groups doesn't exist, it will be created.
 
       of these groups doesn't exist, it will be created.
 +
 +
===Known issues===
 +
 +
====Large user database====
 +
 +
it has been reported that large user imports might be really long ( 60s per user in SME server already containing 4000 users) (see [[bugzilla:7545]]).
 +
This script is using sme internal processing. The purpose of doing so is to do everything that is included by other contribs.
 +
 +
S95ldap-update-simple is called with user-modify user-create, group-modify and group-create events. S56update-domain-group-maps is called with the same events. These events allow also the full creation of the user, but have the adverse effect to be really long during large user importation.
 +
 +
A workaround to avoid this could be to:
 +
- disable ldap in the db configuration during the import (if you have not enable ldap auth)
 +
- or temporally remove the link inside the events to this two scripts and create them back after import.
 +
 +
and revert bacj theses change after importation and then running the signal event once (user-modify)
 +
 +
 
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
and select the e-smith-lazy_admin_tools component or use {{BugzillaFileBug|product=SME%20Contribs|component=e-smith-lazy_admin_tools|title=this link}}.  
 
and select the e-smith-lazy_admin_tools component or use {{BugzillaFileBug|product=SME%20Contribs|component=e-smith-lazy_admin_tools|title=this link}}.  
 
[[Category:Howto]] [[Category:Administration]]
 
[[Category:Howto]] [[Category:Administration]]

Navigation menu