[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-admin
Subject:    Net::LDAP Problem
From:       "Müller_Thomas,_CH"
Date:       1999-12-22 9:26:45
[Download RAW message or body]

Hello!

I have a problem with this code below.


If I write this:

$result = $exch->add ( dn =>
"cn=$Account{userName},cn=$conf{ExContainer},ou=$conf{domain},o=$conf{ExOrg}
",
			 attrs => [ 'objectClass' =>
['organizationalPerson'],
				   'cn'   =>"$Account{displayName}",
				   'uid' =>"$Account{userName}",
				   'mail' =>"$Account{firstName}",
				   'assoc-nt-account' => [ $MySid ],
				   'nt-security-descriptor' => [ $MySD ],
				   'mailPreferenceOption' => 0,
				   'sn' => "$Account{lastName}",
				   'co' => "$Account{country}",
				   'telephoneNumber' => "$Account{phone1}",
				   'mobile' => "$Account{phone2}"
				 ]
		       );
Than it works fine.

But if I write this one:

$result = $exch->add ( dn =>
"cn=$Account{userName},cn=$conf{ExContainer},ou=$conf{domain},o=$conf{ExOrg}
",
			 attrs => [ 'objectClass' =>
['organizationalPerson'],
				   'cn'   =>"$Account{displayName}",
				   'uid' =>"$Account{userName}",
				   'mail'
=>"$Account{firstName}.$Account{lastName}\@fja.com", # <- Changes here
				   'assoc-nt-account' => [ $MySid ],
				   'nt-security-descriptor' => [ $MySD ],
				   'mailPreferenceOption' => 0,
				   'sn' => "$Account{lastName}",
				   'co' => "$Account{country}",
				   'telephoneNumber' => "$Account{phone1}",
				   'mobile' => "$Account{phone2}"
				 ]
		       );

It doesn't. It creats the account but after this it waits and waits ...
Whats the matter?

Thanks for your help.

mfG
Thomas Mueller

--
Zeit bringt Rat. Erwartets mit Geduld.



---
You are currently subscribed to perl-win32-admin as: [perl-win32-admin@progressive-comp.com]
To unsubscribe, forward this message to
         leave-perl-win32-admin-90393O@lyris.activestate.com
For non-automated Mailing List support, send email to  
         ListHelp@ActiveState.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic