hi again,
i've done as you said but when i run fred-client i get an authentication error allthough i'm putting the right username and passwd in fred-client.conf

root@nic0:~# fred-client -f /etc/fred/fred-client.conf
Czech translation not available
FredClient upstream/2.6.0.rc1-92-g7aa8
Type "help", "license" or "credits" for more information.

Using configuration from /etc/fred/fred-client.conf
Connecting to localhost, port 700 ...
ERROR: Login failed.

here's my fred-client.conf:

;; Example of configuration file.
;; Modify line with schema=... and dir=... set real path of your files.
;; and save into /etc/fred/fred-client.conf or ~/.fred-client.conf
;; EXPLANATION: Double semicolon (;;) means comment. Single semicolon (;) means disabled value.

[connect]
dir=/usr/share/fred-client/ssl
host = localhost
port = 700
ssl_cert = %(dir)s/test-cert.pem
ssl_key  = %(dir)s/test-key.pem
#username = REG-FRED_A
#password = passwd
#username2 = REG-FRED_B
#password2 = passwd
username = NIC-REG1
password = passwd

;; Every XML namespace can have the version independent to others:
;schema_version_contact = 1.4
;schema_version_nsset   = 1.2
;schema_version_domain  = 1.3
;schema_version_enum    = 1.1
;schema_version_fred    = 1.2
;schema_version_epp     = 1.0

;; socket timeout in sec. In MS Windows MUST be set to 0.0 (timeout bug)
timeout = 10.0

;; Force socket type. Valid value is: IPv4 or IPv6.
;; Default is to use server's socket type.
;socket = IPv6

;; turn off automatic login process after start up
;nologin = y

[session]
schema=/usr/share/fred-client/schemas/all.xsd

;; send "poll ack" right after to "poll req"
poll_autoack = off

;; confirm all editable commands
confirm_send_commands = on

;; enable/disable xmllint
validate = on

;; display colors on tty console
colors = on

;; if your input is escaped ('<example&test>'), set this value on
escaped_input = on

;; set verbose level 1,2,3
verbose = 1

;; if lang is not set, it used value from os.environ.LANG
;; lang = cs
lang = en

;; substitution of NULL value
;null_value = None

;; substitution of SKIP value
;skip_value = None

;; cltrID - client transaction ID for all communication
;; Symbol %d is replaced by number of the command.
;; Value 04 between % and d pads all numbers to four digits (leading zero).
; cltrid = myid%04d

;; Reconnect automaticly if connection fell down (default yes)
; reconnect = no

what could it be?

thanks,
Samer


On Sun, May 12, 2013 at 12:08 AM, Mario Guerra <mguerra@nic.cr> wrote:
On Sat, 11 May 2013 21:59:39 +0300
samer khalil <samerk1@gmail.com> wrote:

> hi Mario,
>
> I was able to initiate the db and add a registrar with a zone as u
> suggested. i used:
>
>   fred-admin --registrar_add --handle=NIC-REG1 --country=LB --no_vat
>   fred-admin --zone_add --zone_fqdn=test.lb --ex_period_min=1
> --ex_period_max=241 --hostmaster=samerk1.gmail.com
> --ns_fqdn=nic0.net.lb--refresh=1800
>  fred-admin --zone_ns_add --zone_fqdn=test.lb
> --ns_fqdn=nic0.net.lb--addr=147.28.0.44
>
> Now what's next? I am looking for a good documentation for
> Fred Administration and user guide. Do you have any to share?
>
> thanks,
>  Same
>
>

Almost done. Associate the zone with the registrar:

registrar_add_zone options:
  --registrar_add_zone  add access right for registrar to zone
  --zone_fqdn arg       zone fqdn
  --handle arg          registrar handle
  --from_date arg       from date (default today)
  --to_date arg         to date (default not filled)

Like:

fred-admin --registrar_add_zone --zone_fqdn test.lb --handle NIC-REG1

After that, you are supposed to use fred-client.


>
> On Thu, May 9, 2013 at 1:07 AM, Mario Guerra <mguerra@nic.cr> wrote:
>
> > On Wed, 8 May 2013 23:51:50 +0300
> > samer khalil <samerk1@gmail.com> wrote:
> >
> > > Hi,
> > > I am new to this list and would like to install a test environment of
> > Fred
> > > and eventually have it operational for our TLD registry in Lebanon (.LB).
> > > I am seeking your assistance and guidance in order to proceed with the
> > > installation.
> > > I am working on ubuntu 12 and so far i have installed the following fred
> > > packages:
> > >
> > > ii  fred-adifd                         2.13.5~rc1-1~precise+1
> > >     FRED Administration Interface Daemon
> > > ii  fred-client                        2.6.0~rc1-1ubuntu3~precise+1
> > >     FRED client for registrars, text interface
> > > ii  fred-client-qt4                    2.6.0~rc1-1ubuntu3~precise+1
> > >     FRED client for registrars, GUI interface
> > > ii  fred-common                        2.14.0~rc7-1~precise+1
> > >     FRED common files
> > > ii  fred-db                            2.13.0~rc3-1~precise+1
> > >     DB schema and example data for FRED
> > > ii  fred-doc2pdf                       2.5.1~rc1-2ubuntu2~precise+1
> > >     PDF generator for FRED registry system
> > > ii  fred-idl                           2.14.0~rc1-1~precise+1
> > >     IDL files for FRED
> > > ii  fred-logd                          2.13.5~rc1-1~precise+1
> > >     FRED logging daemon
> > > ii  fred-mifd                          2.13.5~rc1-1~precise+1
> > >     FRED backend for MojeID
> > > ii  fred-msgd                          2.13.5~rc1-1~precise+1
> > >     FRED messaging daemon
> > > ii  fred-pifd                          2.13.5~rc1-1~precise+1
> > >     FRED Public Interface Daemon
> > > ii  fred-pyfred                        2.4.2~rc2-1~precise+1
> > >      FRED Support Daemons
> > > ii  fred-pylogger                      1.2.0~rc1-1ubuntu1~precise+1
> > >     Python wrapper for logging to FRED logger
> > > ii  fred-rifd                          2.13.5~rc1-1~precise+1
> > >     FRED Registrar Interface Daemon
> > > ii  fred-stats                         1.2.2~rc1-1~precise+1
> > >      FRED is complete central domain registry
> > > ii  fred-transproc                     1.2.0-1~precise+1
> > >      FRED support for importing bank statements
> > > ii  fred-webadmin                      3.10.0~rc1-1ubuntu4~precise+1
> > >      www administration interface for FRED
> > > ii  fred-whois                         2.11.0-1ubuntu1~precise+1
> > >      Web Whois interface for FRED registry system
> > > ii  nagios-pyfred-genzone-plugin       2.4.2~rc2-1~precise+1
> > >      Nagios plugin to FRED Zone Generator
> > > ii  pyfred-filemanager                 2.4.2~rc2-1~precise+1
> > >      FRED File Manager Client
> > > ii  pyfred-genzone                     2.4.2~rc2-1~precise+1
> > >      FRED Zone Generator Client
> > >
> > > Apache, postgres, python, corba are installed as well.
> > > I loaded the sql database from /usr/share/fred-db/structure.sql
> > >
> > > I am stuck at this level and would appreciate your help to proceed.
> > >
> > > Regards,
> > > Samer
> >
> > Hello, Samer:
> >
> > Run:
> >
> > su - postgres
> > /usr/sbin/fred-dbmanager install
> > exit
> >
> > This setup the database "fred" and the tables. After that, add a
> > registrar, then add one or more zones and associate them with the registrar.
> >
> > Best regards.
> >
> > --
> > Mario Guerra <mguerra@nic.cr>
> > _______________________________________________
> > fred-users mailing list
> > fred-users@lists.nic.cz
> > https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users
> >


--
Mario Guerra <mguerra@nic.cr>
_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users