For When You Can't Have The Real Thing
[ start | index | login ]
start > cyrus > cyradm

cyradm

Created by dave. Last edited by dave, 20 years and 52 days ago. Viewed 5,038 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
Invoking it:

$ cyradm --help                                                 
Usage: cyradm [args] server
  --user <user>         Connect as <user> (authentication name)
  --authz <user>        Authorize as <user>
  --[no]rc              (Do not) load the configuration files
  --systemrc <file>     Use system-wide configuration <file>
  --userrc <file>       Use user configuration <file>
  --port <port>         Connect to server on <port>
  --auth <mechanism>    Authenticate with <mechanism>

For some reason the authentication sometimes doesn't work properly when you don't specify an authentication mechanism, as so:

$ cyradm --auth DIGEST-MD5

Note that if you are not the administrating user, you'd better use the --user switch as well.

OK. So you get it up. Here's a sample creation session:

$ cyradm --auth DIGEST-MD5
Cannot find termcap: Can't find a valid termcap file at /opt/UXdmz/perl/lib/5.8.0/Term/ReadLine.pm line 333

cyradm> connect localhost Password: localhost> cm user/dave@gridway.net localhost> setquota user/dave@gridway.net 1000000 quota:1000000 localhost> quit

The whimpering about termcap can be ignored.

Note that this does nothing in regards to the authentication. If you are using the /etc/sasldb2 mechanism, you'd better trot off and use saslpasswd2.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt