However, in order to ensure that you can amend the samba configuration files, access shares, and add resources, you must make sure that you are a member of the administration group and that the group has the necessary permissions. If, when you log in to the swat web page, you only see four boxes (Home, Status, View, and Password), you must change the permissions on the smb.conf file.
Open a terminal and type:
sudo chmod g+w /etc/samba/smb.conf
This command changes the files "mode bits" to execute permission for the group.
sudo chgrp adm /etc/samba/smb.conf
And this command changes the group to Admin.
Now, when you type your user name and password into the login box, you should have full access to samba from the web page. You might even try simply refreshing your browser to see if the changes have taken effect. If you find that your user name still doesn't work, try logging in using root as your user name.