
sophomorix-samba helps managing samba 4

Options
  -h  / --help
  --backup-samba suffix    (backups the database)
  --restore-samba suffix   (restores the database)
  --schema-load            (loads the sophomorix-schema)

  --restart                (restarts samba)
  --stop                   (stops samba)
  --start                  (starts samba)
  --status                 (show samba status)

If you forgot the suffix look here:
# ls -l /var/lib/samba/private/*ldb*


Show a schema attribute in detail:
  --show-attribute <attribute>
Show all attribute names
  --show-all-attributes
Show all sophomorix attribute names:
  --show-sophomorix-attributes 
Show webui permissions
--show-webui-permissions

Show all user roles and group types:
  --show-roletype

Show all allowed languages:
  --show-lang

You shold know exactly what you are doing, if you use the following options:

Editing searchFlags of <attribute> with an editor (default is emacs):
  --edit-searchflags <attribute> (--editor <nano>|<vi>) 
    (use hyphenated name for <attribute>)
  Example
    --edit-searchflags sophomorix-Comment (--editor vi)
       searchFlags: 0    -> public visible attribute
       searchFlags: 128  -> confidential attribute

Please see the sophomorix-samba(8) man pages for full documentation

