ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001370ClearOSapp-samba-directory - Samba Directorypublic2013-10-08 21:092018-10-30 18:28
Reporterdloper 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version6.5.0 Beta 2 
Target VersionFixed in Version 
Summary0001370: Samba 4 Directory fails to initialize if password doesn't meet complexity requirements.
Description**This issue is with app-samba_directory and not app-samba**

When initializing the samba 4 directory the initialization will hang and fail if the password for Administrator fails to meet complexity requirements. The user engine properly catches this but the initialization doesn't.
Steps To ReproduceUse the steps to set up Samba 4 on ClearOS 6.5 Beta2

specify a weak password when initializing the directory.

Check /var/log/system for errors.
Additional InformationOct 8 19:53:14 hybrid engine: exception: error: /usr/clearos/apps/samba_directory/libraries/Samba_Directory.php (394): ERROR(ldb): uncaught exception - 0000052D: Constraint violation - check_password_restrictions: the password does not meet the complexity criteria!
Oct 8 19:53:14 hybrid engine: exception: debug backtrace: /usr/sbin/app-samba-initialize (160): initialize
Oct 8 19:53:14 hybrid engine: exception: error: /usr/clearos/apps/samba_directory/libraries/Samba_Directory.php (394): ERROR(ldb): uncaught exception - 0000052D: Constraint violation - check_password_restrictions: the password does not meet the complexity criteria!
Oct 8 19:53:14 hybrid engine: exception: debug backtrace: /usr/sbin/app-samba-initialize (160): initialize
Oct 8 19:55:27 hybrid engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (207): Command execution failed.
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: /usr/clearos/apps/clearcenter/libraries/Rest.php (470): execute
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: /usr/clearos/apps/marketplace/libraries/Marketplace.php (646): request
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: /usr/clearos/apps/marketplace/controllers/ajax.php (81): get_app_details
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: GUI (0): get_app_details
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (359): call_user_func_array
Oct 8 19:55:27 hybrid engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (222): require_once
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001040)
user2
2013-10-09 08:29

There is an upstream bug report on this topic:

https://bugzilla.samba.org/show_bug.cgi?id=9710 [^]

We'll have to workaround it for now.
(0001041)
user2
2013-10-09 08:48

More references:
https://groups.google.com/forum/#!topic/mailing.unix.samba-technical/PVtL3YyLkAk [^]
(0008401)
user2
2018-10-30 18:28

Implementation has changed.

- Issue History
Date Modified Username Field Change
2013-10-08 21:09 dloper New Issue
2013-10-09 08:12 user2 Project ClearOS => ClearCenter
2013-10-09 08:12 user2 Category app-samba - Windows Networking => General
2013-10-09 08:29 user2 Note Added: 0001040
2013-10-09 08:29 user2 Status new => confirmed
2013-10-09 08:29 user2 Category General => app-samba-directory - Samba Directory
2013-10-09 08:29 user2 Target Version 6.5.0 Beta 3 =>
2013-10-09 08:48 user2 Note Added: 0001041
2015-04-03 10:58 user2 Project ClearCenter => ClearOS
2018-10-30 18:28 user2 Note Added: 0008401
2018-10-30 18:28 user2 Status confirmed => closed