[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
add posixAccount to back-sql definition
- To: openldap-technical@openldap.org
- Subject: add posixAccount to back-sql definition
- From: DavidHornung <hornuda@googlemail.com>
- Date: Fri, 28 Dec 2012 18:14:35 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:disposition-notification-to:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=o5D1asLRCsiZiPwIFL5OYLafq6lkKuShtZlPfXFrzkU=; b=EKu7/G7uXfJ4qBteffJdlorO68uDMBZMwcE+fP8nVAeC0CfZzXJNMOcNWkeJ3DoeLp yE+9rxFJGyywTOdPOIPS6ugTnR7A+asgtIKIbMFZXTe6DWz+lHZj/FIGgeq2B2zDR+xH 51Ccf8wjJnrrhUgVKi5/m8020ohEvGrnuygqeu1BySCpKzgythfnk5+yx+EIi7tasVXF 3L4Ouv3XVnQdZw1cGJ1toUYc9UJYM+JjKE2MAIyJFOa0Kf+1XFQJa0sKveLfafSERXfg B2WipIrWtoRPQuKXcHJrpbcp9ZYfzeQ35PFOrO/FrVtrS1hOb68yAtx69PRkK8EMSRPr yjqQ==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
Hello,
up to now i used inetOrgPerson from the docs to auth my users via
LDAP/back-sql.
but in inetOrgPerson isnt a uid defined so the Object Class posixAccount
would fit better.
I created a table which represents the posixAccount - minimal I need uid
and password.
the entity integer refers to id's of table persons with mobliePhone,
mail, etc.
CREATE TABLE net_accounts
(
id serial NOT NULL,
entity integer NOT NULL,
password character varying NOT NULL,
uid character varying NOT NULL,
CONSTRAINT "net_accounts_pkey" PRIMARY KEY (id , uid )
)
I plan to use this posixAccount to auth with Mailserver, Intranet and
all other services ...
How to modify the example in the docs to do this ?
Thank you!
David