SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022691ClearOSapp-configuration-backup - Configuration Backuppublic2019-01-08 10:312019-02-23 12:37
ReporterNickH 
Assigned Todloper 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.6.0 Updates 
Target Version7.6.0 UpdatesFixed in Version 
Summary0022691: Restore of an AD environment fails without Windows Networking
DescriptionIf you are doing a v6 config backup to a v7 restore and you are using the Active Directory Connector, then the restore will complete but leave an invalid Samba configuration. The symptoms are that in the Winbind section of smb.conf you will see something like:
# Winbind
idmap config * : backend = rid
idmap config * : range = 20000000-29999999

instead of:
# Winbind
idmap config MYDOMAIN : backend = rid
idmap config MYDOMAIN : range = 20000000-29999999
idmap config * : backend = tdb
idmap config * : range = 30000000-39999999

"testparm -s" complains at this and the Accounts System stays off-line.

Th way to get the restore to work is to install Windows Networking (Samba) first. There is no need to initialise it or choose between Standalone or Master/Slave. It just needs to be installed.

If you forget to install it and do your configuration restore, then there is no direct way back apart from a complete re-installation. You cannot get away with installing Windows Networking (Samba) after a restore then restoring again.

Although filed as an app-configuration-backup bug, it may end up as an app-samba bug with something needing to be moved from app-samba to one of the lower level packages like app-smba-core.
TagsNo tags attached.
Attached Files

- Relationships
related to 0022741closeddloper Restore of an AD environment fails to create /var/samba 

-  Notes
(0009141)
dloper (administrator)
2019-02-23 12:37

Migrated to: https://gitlab.com/clearos/clearfoundation/app-configuration-backup/issues/2 [^]

- Issue History
Date Modified Username Field Change
2019-01-08 10:31 NickH New Issue
2019-01-08 12:05 NickH Description Updated View Revisions
2019-01-14 03:50 NickH Description Updated View Revisions
2019-01-14 04:17 NickH Relationship added related to 0022741
2019-02-23 12:37 dloper Note Added: 0009141
2019-02-23 12:37 dloper Status new => closed
2019-02-23 12:37 dloper Assigned To => dloper
2019-02-23 12:37 dloper Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7