on 2013 Nov 21 11:58 AM
Hello,
I am new to Sybase having been an Oracle user for the longest time. I am working with a Database user that has no Password but is a Member of a group. What I need to understand is how is this user able to connect to the database?
I am not clear on how it does it.
Thanks
Users without a password simply cannot connect to the database. They are usually just used to own database objects, usually as users that are groups. Apparently, a DBA must connect and create/alter objects in their name.
Cf. this doc topic - it's from the v12 docs but AFAIK it is valid for older versions, too:
If that user is not a group herself, then I guess the only reasonable usage case IMHO would to be that a DBA would connect and then use SETUSER to impersonate that user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Technically said, even then, an integrated login can only connect when the according database user has a password.
However, from an OS user's point of view, it will appear as if the login process would be successful without a password - the database connection will be validated with the OS/domain credentials.
@jazz: If that is the situation you have noticed then I guess my answer was technially right but did not relate to integrated logins. When configured correctly, those can be used to connect successfully and do not require a password.
User | Count |
---|---|
57 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.