Author Topic: Provisioning OpenChange creates errors, no username/password  (Read 3485 times)

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Provisioning OpenChange creates errors, no username/password
« on: February 16, 2016, 07:59:26 pm »
This is my fourth attempt to setup a Zentyal box for our organization. I'm trying to test this out, and I can't seem to get it to work.

I have the box configured and seeing active directory, samba, file shares, etc. However when I go to setup OpenChange I get thrown all kinds of errors.

The most recent error is the following:

Quote
Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

Error provisioning: Missing user and/or password for provision

Now I know that I typed in a password but tried it again....and again...and yet again. After several tries, I checked the log file that was referenced in the error message.

Quote
root@mail:/# tail -f /var/log/zentyal/zentyal.log
EBox::Module::Base::save('EBox::OpenChange=HASH(0x5834130)') called at /usr/shar                                     e/perl5/EBox/GlobalImpl.pm line 656
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x34a79d0)', 'progress',                                      'EBox::ProgressIndicator=HASH(0xe42408)') called at /usr/share/perl5/EBox/Globa                                     l.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x34a7418)', 'progress', 'EBox::Progre                                     ssIndicator=HASH(0xe42408)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2016/02/16 13:45:34 INFO> SysvolSync.pm:194 EBox::Samba::SysvolSync::sync - Sync                                     hronizing sysvol share from pmsyrdc01.global.punkmedia.net
2016/02/16 13:47:45 WARN> SmbClient.pm:69 EBox::Samba::SmbClient::new - Error co                                     nnecting with SMB server: Failed to connect: NT_STATUS_CONNECTION_DISCONNECTED a                                     t /usr/share/perl5/EBox/Samba/SmbClient.pm line 63, <GEN0> line 15.
, retrying (1 attempts)
2016/02/16 13:47:46 INFO> SmbClient.pm:65 EBox::Samba::SmbClient::new - Connecti                                     on to Samba SMB successful after 2 tries.

2016/02/16 13:49:27 WARN> zentyal.psgi:43 main::__ANON__ - Argument "" isn't numeric in numeric lt (<) at /usr/share/perl5/EBox/Model/DataTable.pm line 2648.
2016/02/16 13:49:29 INFO> GlobalImpl.pm:624 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall openchange
2016/02/16 13:49:29 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2016/02/16 13:49:32 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: openchange
2016/02/16 13:51:36 ERROR> Provision.pm:456 EBox::OpenChange::Model::Provision::provision - Missing user and/or password for provision at Missing user and/or password for provision at /usr/share/perl5/EBox/OpenChange/Model/Provision.pm line 456
eval {...} at /usr/share/perl5/EBox/OpenChange/Model/Provision.pm line 442
EBox::OpenChange::Model::Provision::provision('EBox::OpenChange::Model::Provision=HASH(0x68b0bb0)', '***COMPANY NAME OMITTED***') called at /usr/share/perl5/EBox/OpenChange.pm line 286
EBox::OpenChange::_setConf('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Service.pm line 972
EBox::Module::Service::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 332
EBox::Module::LDAP::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Kerberos.pm line 375
EBox::Module::Kerberos::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 656
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3b4ddc8)', 'progress', 'EBox::ProgressIndicator=HASH(0x14e8478)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3b4d7f8)', 'progress', 'EBox::ProgressIndicator=HASH(0x14e8478)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2016/02/16 13:51:36 DEBUG> Provision.pm:491 EBox::OpenChange::Model::Provision::provision - Error provisioning: Missing user and/or password for provision at Error provisioning: Missing user and/or password for provision at /usr/share/perl5/EBox/OpenChange/Model/Provision.pm line 491
EBox::OpenChange::Model::Provision::provision('EBox::OpenChange::Model::Provision=HASH(0x68b0bb0)', '***COMPANY NAME OMITTED***') called at /usr/share/perl5/EBox/OpenChange.pm line 286
EBox::OpenChange::_setConf('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Service.pm line 972
EBox::Module::Service::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 332
EBox::Module::LDAP::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Kerberos.pm line 375
EBox::Module::Kerberos::_regenConfig('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::OpenChange=HASH(0x5eed590)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 656
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3b4ddc8)', 'progress', 'EBox::ProgressIndicator=HASH(0x14e8478)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3b4d7f8)', 'progress', 'EBox::ProgressIndicator=HASH(0x14e8478)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30


Now to be completely honest, the above log is gibberish to me. It's not working...that's all I know.

Can anyone tell me why, and how to fix this issue?

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #1 on: February 17, 2016, 09:24:45 am »
Hello:

Is Zentyal owning the FSMO roles on AD, or are there any other DC, and is such other DC owning any FSMO role. If this is your case Zentyal should be showing a form to introduce a Schema Admin username and password

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #2 on: February 17, 2016, 02:03:35 pm »
jbahillo,

Thank you for your response.

There are three domain controllers. 2 Microsoft AD Servers, and Zentyal (as an additional DC).

I've tried my AD's Administrator account (in the schema admins), and I've created a custom account called Zentyal, and added that to the Schema Admins group.

Both produce the same error I posted.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #3 on: February 17, 2016, 02:17:36 pm »
Which is the Schema Master in your DOmain? Are you asked for such username/password on Zentyal Openchange provision section?

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #4 on: February 17, 2016, 02:21:07 pm »
Quote
Which is the Schema Master in your DOmain? Are you asked for such username/password on Zentyal Openchange provision section?

The schema master should be the Administrator account for the domain. I am asked for that information. When I attempt to use that information, I am getting that same error about not entering a username/password.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #5 on: February 17, 2016, 02:25:51 pm »
I mean which DC owns the Schema Master FSMO role, as another option is to make Zentyal to own such role

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #6 on: February 17, 2016, 02:28:22 pm »
Howdy,

maybe a problem with special characters in the username / password? I think I had a similar problem when using some german special chars (ä / ö / ü / ß)

Regards

Thomas

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #7 on: February 17, 2016, 02:55:15 pm »
maybe a problem with special characters in the username / password? I think I had a similar problem when using some german special chars (ä / ö / ü / ß)

Our password is in English, no special characters. The only non-alphanumerical characters in it at is exclamation points.
« Last Edit: February 17, 2016, 02:59:50 pm by btrammell »

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #8 on: February 17, 2016, 02:58:42 pm »
I mean which DC owns the Schema Master FSMO role, as another option is to make Zentyal to own such role

Sorry, just finished my first cup of coffee. It's a Microsoft AD DC. Named PMSYRDC01, that is the master server, the secondary is 02 and the Zentyal server is named Zentyal.

I would prefer to leave the network the way it is with 2 WIN DC's and just add Zentyal as an additional controller.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #9 on: February 17, 2016, 03:01:41 pm »
Hello:

Are logs still complaining about a missing user/pass?

Probably you could enable debug  on /etc/zentyal/zentyal.conf, restart webadmin and then check logs agin (please note that this might reveal the user you're using credentials...

btrammell

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Provisioning OpenChange creates errors, no username/password
« Reply #10 on: February 17, 2016, 03:22:26 pm »
Are logs still complaining about a missing user/pass?
Probably you could enable debug  on /etc/zentyal/zentyal.conf, restart webadmin and then check logs agin (please note that this might reveal the user you're using credentials...

I attempted that debug option, and a new error showed up.

Quote
no value sent for required parameter 'model' Stack: [<anonymous component>:180] [/usr/share/perl5/HTML/Mason/Component.pm:138] [/usr/share/perl5/HTML/Mason/Request.pm:1305] [/usr/share/perl5/HTML/Mason/Request.pm:1295] [/usr/share/perl5/HTML/Mason/Request.pm:486] [/usr/share/perl5/HTML/Mason/Request.pm:486] [/usr/share/perl5/HTML/Mason/Request.pm:436] [/usr/share/perl5/HTML/Mason/Interp.pm:345] [/usr/share/perl5/EBox/Html.pm:157] [/usr/share/perl5/EBox/CGI/Base.pm:158] [/usr/share/perl5/EBox/CGI/Base.pm:200] [/usr/share/perl5/EBox/CGI/Base.pm:199] [/usr/share/perl5/EBox/CGI/Base.pm:359] [/usr/share/perl5/EBox/CGI/Base.pm:358] [/usr/share/perl5/EBox/CGI/Run.pm:92] [/usr/share/perl5/EBox/CGI/Run.pm:68] [/usr/share/zentyal/psgi/zentyal.psgi:46] [/usr/share/perl5/Plack/App/URLMap.pm:71] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/EBox/Middleware/Auth.pm:366] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/Plack/Middleware/Conditional.pm:16] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/EBox/WebAdmin/Middleware/SubAppAuth.pm:57] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/Plack/Middleware/Session.pm:52] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/Plack/Middleware/ReverseProxy.pm:68] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/perl5/EBox/Middleware/UnhandledError.pm:78] [/usr/share/perl5/EBox/Middleware/UnhandledError.pm:77] [/usr/share/perl5/Plack/Component.pm:50] [/usr/share/zentyal/psgi/zentyal.psgi:0] [/usr/share/zentyal/psgi/zentyal.psgi:0] at /usr/share/perl5/EBox/CGI/Base.pm line 364