If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > LDAP , ISeries DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-11, 09:38
ajh ajh is offline
Registered User
 
Join Date: Apr 2011
Posts: 31
Red face LDAP , ISeries DB2

Hi ,

We are currently maintaining our username and password management using LDAP. Now we need to convert this username and password functionality into the DB2 for iseries database [ i believe we will have to create uesr tables etc, this is what i think ] . I have no idea of how to go around. Any help and I am extremely grateful to you. Thanks in anticipation.
Reply With Quote
  #2 (permalink)  
Old 09-20-11, 10:30
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
It is not very clear what you want to achieve. When you say users and password, where are these usernames used ? Are they for the application or accessing the database direct ?
For clarity, Application users is similar to dbforums username ajh and your password.
whereas db users is a username that is used to read/write to tables in the database.


--
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 09-20-11, 11:32
ajh ajh is offline
Registered User
 
Join Date: Apr 2011
Posts: 31
LDAP and DB2 For Iseries

We use the LDAP for maintaining Users, Groups.
Actually when the user logs in to the application the authentication takes place on the LDAP. While logging in to the application the authentication takes place on the LDAP, if it is successfull username and pwd on the LDAP application opens up. We work on the application and for example save some data then the data is saved in the database.Now we want to get rid of this user authentication from the LDAP and transform it into database tables. For Eg : When the user will log in to the application the authentication will take place on the database level. I assume there will be a user table , Roles table etc.. Where is it that I should start . please help. Kindly let me know for any more details required.
Reply With Quote
  #4 (permalink)  
Old 09-21-11, 07:51
ajh ajh is offline
Registered User
 
Join Date: Apr 2011
Posts: 31
Red face LDAP , ISeries DB2

Experts Kindly guide please .
Reply With Quote
  #5 (permalink)  
Old 09-21-11, 08:51
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
in devworks there are some samples how to define security plugin to have db2 doing the authentication
look at
DB2 Security, Part 11: Develop a security plug-in for DB2 database authentication
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 09-21-11, 11:40
ajh ajh is offline
Registered User
 
Join Date: Apr 2011
Posts: 31
Red face User Authentication Logical Model DB2

Hi,

I am supposed to design a logical model of user authentication in the database.
By that I mean which all different tables to be used. Columns in the tables.
Relations in the tables.
Our application actually consists of an organization , departments, users, permissions / groups. Please guide any model or share link where i can find some help please . Im sorry to say that i have less time . Its the first time im actually designing a database. Kindly help. I just need to prepare an ERD of different tables to be involved and relations in those tables PK, FK, and attributes of those tables. Any link or sample designs if u cud share wud also be very helpful.
Thanks
Reply With Quote
  #7 (permalink)  
Old 09-21-11, 11:52
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
I have merged the two threads as I feel that your new thread is related to the previous one.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #8 (permalink)  
Old 09-23-11, 06:55
ajh ajh is offline
Registered User
 
Join Date: Apr 2011
Posts: 31
Red face User Authentication Logical Mode

Hi Im attaching a logical model. Experts please take a look an guide for changes or to include more details. This is basically a user authentication logical model ERD
Eagerly awaiting your reply. I am unable to attach a file if i can share the file it willl be easier... please tell me how to attach a word file .
Thanks
Organization

OrgId PK
LocId FK Location
ClientId FK Clients
Org Desc
Org Location
Create Date
Last Updated By
Location

LocId PK
Loc Desc
Address
Create Date
Last Updated By
Update Date

Clients
ClientID PK
ClientName

Department

DeptId PK
ClientID FK Clients
UserId FK Users
BookId FK
DeptName
Location
Create Date
Last Updated By
Update Date
USERS

UserId PK
Password :
User_Role_Id FK Roles/Grps
OrgId FK Organization
Effective Dt
Status
Create Date
Last Updated By
Update Date

User Roles ( Groups )

User_Role Id PK
UserId FK USERS
BookId Fk Book_Types
Role Id FK Roles
Group Desc
Create Date
Last Updated By
Update Date

Roles
Role Id PK
Role Name
Create Date
Last Updated By
Update Date

BookTypes

BookId PK
BookType
Create Date
Last Updated By
Update Date

USER_Details

UserId FK USERS
DeptId FK Department
Force Password Change Days
Secret Question
User Phone
User Address
DOB
User Email
User Mobile
User Status
User Supervisor
Last Updated By
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On