
The perl crypt() "e. g. crypt($Pw, $User)" is used for the encrypted password in the DB.
I did see that in the SetPassword function. so $User is the salt?
Tell me more about the used authentication system and I can show you the best way. Is there a LDAP interface? Do you sync the users into the OTRS DB?
No I don't have LDAP. :( What I want to do is take the encrypted password from our system password (/etc/shadow) and insert that into system_users.pw, that way I can control otrs access from our central user management tool. The issue I am having is that if I take an encrypted password and put it into the db, it will not authenticate. My first impression is that the decrypt password function is using the wrong salt. From what I have gathered so far it appears that the first two characters of the username are used as the salt. So I guess what I am basicaly looking for is a way to take an encrypted password that was created with perls crypt() i.e. crypt($pw, &random_salt) and use that in otrs. Thank you in advance, Andrew