Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-1599: SWAT 500 server error with Centrify_Enabled_Samba 3.3.9-4.3.1

Centrify DirectAudit ,   Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:02 AM

Applies to: Centrify-Enabled Samba 3.3.9-4.3.1 on Redhat Linux


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


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


Create a symlink to redirect the path by running the below commands:

[root@iris share]# pwd

[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.


This will be fixed in a future release of Centrify-Enabled Samba.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.