When you have Shares connected to an Active Directory database, by default the usernames taken from the AD are in the pre Windows 2000 format.
It may be the case that you want the more current AD username format to be used instead. You can change the value taken from AD by modifying a few lines in a Shares file.
1. The file you need to edit is the following:
Make a backup of the file before making changes:
cp ../active_directory.rb ../active_directory.rb.bak
copy ..\active_directory.rb ..\active_directory.rb.bak
2. Open the file in a text editor and locate the following lines:
sAMAccount refers to the attribute for pre Windows 2000 username formats. To change this to the newer AD username format, you would replace these values with the
Save the file.