KB-1599: SWAT 500 server error with Centrify_Enabled_Samba 3.3.9-4.3.1
Auditing and Monitoring Service
,
Authentication Service
,
Mac & PC Management Service
,
Show Properties
Hide Properties
|
10/28/2013 12:48 PM |
|
6/29/2017 12:28 PM |
|
4/12/2016 11:02 AM |
|
Article Audience |
|
Products |
Authentication Service, Mac & PC Management Service, Auditing and Monitoring Service
|
|
|
|
|
000001890 |
|
KB-1599: SWAT 500 server error with Centrify_Enabled_Samba 3.3.9-4.3.1 |
|
Applies to: Centrify-Enabled Samba 3.3.9-4.3.1 on Redhat Linux
Problem:
After installing Centrify-Enabled Samba package and configuring SWAT service connecting to http://localhost:901/ from browser results in
500 Server Error
chdir failed - the server is not configured correctly
Cause:
This is due to SWAT directory path location not matching the default value compiled within Centrify-Enabled Samba 3.3.9-4.3.1
SWAT is looking for /opt/centrify/samba/share/samba/swat but Centrify-Enable Samba directory structure is /opt/centrify/samba/share/swat
Workaround:
Create a symlink to redirect the path by running the below commands:
[root@iris share]# pwd
/opt/centrify/samba/share
[root@iris share]# cd samba
-bash: cd: samba: No such file or directory
[root@iris share]# mkdir samba
[root@iris share]# cd samba
[root@iris samba]# ls
[root@iris samba]# ln -s ../swat
[root@iris samba]# ls -lr
total 4
lrwxrwxrwx 1 root root 7 Apr 22 10:20 swat -> ../swat
Send SIGHUP to xinetd process
or restart it and follow it by restarting Centrifydc-samba services.
Resolution:
This will be fixed in a future release of Centrify-Enabled Samba.