The script sets the encrypted password string in /etc/shadow and the NT-Hash and Lanman-Hash in /etc/samba/smbpasswd with the values retrieved from server SOURCESERVER. For ibays only the encrypted password string in /etc/shadow is set.
+
The 'PasswordSet' property of the account/ibay record is set to 'no', if the encrypted password string start with two exclamation marks.