Hi, I don't have a answer, it's more kind of a question/suggestion..

I've got a quite similar problem:
Integration of user permissions into samba, email server, database, and a mod_perl webinterface.

So I'd like to describe what I'm most possibly going to do/already have done:
The webinterface/authentication mechanism was the first task, is already finished and uses postgresql as backend.
Because users are managed from within the webinterface and the permissions structure is quite complex, I'll stay with this.
Writing an apache handler for authentication was quite simple and didn't take long.
If someone is interested I can post the code here.

After this there was the need to integrate the users´ fax numbers and emails into a device which is able to scan, fax and send emails.
The device has a ldap interface, so I wrote a ldapserver with Net::LDAP::Server which accesses the postgresql database.

Getting the server to work has also been a matter of one day.

Now I still have to integrate the users into samba and the emailserver.
There are already ldap backends for emailservers, so I'm most possibly going to adapt my own ldap server.

Samba has also a ldap backend, but I'm thinking about writing a fuse fs for the quite sophisticated permissions of file access/preventing the users from editing files at the same time.

I believe ldap has some advantages: It's mature, spreaded widely, and very many programs can access ldap servers already.

That's however just a suggestion, you might wan't to google for ldap yourself.

And I'm really interested in how you solve this task/What others think about the ldap approach.

In reply to Re: web authentication 2008 by misc
in thread web authentication 2008 by cutlass2006

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.