ClearFoundation Tracker - ClearOS
View Issue Details
0001370ClearOSapp-samba-directory - Samba Directorypublic2013-10-08 21:092018-10-30 18:28
dloper 
 
lowminoralways
closedopen 
6.5.0 Beta 2 
 
0001370: Samba 4 Directory fails to initialize if password doesn't meet complexity requirements.
**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.
Use 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.
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: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
No tags attached.
Issue History
2013-10-08 21:09dloperNew Issue
2013-10-09 08:12user2ProjectClearOS => ClearCenter
2013-10-09 08:12user2Categoryapp-samba - Windows Networking => General
2013-10-09 08:29user2Note Added: 0001040
2013-10-09 08:29user2Statusnew => confirmed
2013-10-09 08:29user2CategoryGeneral => app-samba-directory - Samba Directory
2013-10-09 08:29user2Target Version6.5.0 Beta 3 =>
2013-10-09 08:48user2Note Added: 0001041
2015-04-03 10:58user2ProjectClearCenter => ClearOS
2018-10-30 18:28user2Note Added: 0008401
2018-10-30 18:28user2Statusconfirmed => closed

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.