passwd composite works - worried opened security hole

Mark Worsdall <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Hi,

On this system I am using poppasswd and ldap in the composite driver 
section.

I 1st got poppasswd going then got ldap going successfully, then 
combined into the composite part.

My worry is it worked 1st time and so have I done something that will 
allow any user to access the unix account, but mainly the users ldap 
account?

$uid = Auth::getAuth();
$backends['composite'] = array(
   'name' => ' UNIX & LDAP accounts AT Shadow.',
   'preferred' => '',
    // Not really the password policy, just removed even
    // though this is on office machine and not on Internet
   'password policy' => array(),
   'driver' => 'composite',
   'params' => array('drivers' => array(
        'poppassd' => array(
            'name' => 'Poppassd Server',
            'driver' => 'poppassd',
            'required' => true,
            'params' => array(
                'host' => 'thoth.shadow.local',
                'port' => 106
             ),
        ),
    'ldap' => array(
        'name' => 'LDAP Server',
        'driver' => 'ldap',
        'required' => true,
        'params' => array(
          'host' => 'thoth.shadow.local',
          'port' => 389,
          'basedn' => 'uid=' . $uid . ',ou=account,dc=shadowrobot,dc=com'
          'realm' => 'ou=account,dc=shadowrobot,dc=com',
          'encryption' => 'crypt',
          'tls' => false
        ),
    ),
  )),
);


Oh and is the password policy truley global to both passwords if before 
each driver params?

Hate it when things go to well. its un-nerving!!

M.
-- 
Mark Worsdall
http://www.shadowrobot.com/  need a hand??
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.