[THIN] Re: OT: Visual Basic Help

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 12 Jan 2005 09:55:13 -0000

Comments inline...

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Taylor, George
> Sent: 11 January 2005 17:37
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: Visual Basic Help
> 
> Right now I'm just looping through users that are mail enabled:
> 
> "<LDAP://"; & varDomainNC & 
> ">;(&(&(objectClass=user))((mail=*)));adspath,cn;subtree"
> 
> I've found the way to write to it now.  But I'm still trying 
> to clean up my script, for some reason I can't get it to read 
> what is currently there.  I would like to read it, write and 
> read it again for comparason purpose before touching the live 
> network at all.

Are you sure that there's definitely data set for the cases where you
can't read the attribute? Does ADSIEDIT show a DN in there?

> I haven't decided exactly what to put in there right now.  If 
> I could simply "unset" it that would be nice, but setting it 
> to a null doesn't seem to work, it doesn't get changed.  

I did notice that, but didn't bother doing much to find out the proper
way of doing it, as of yet I've never wanted to code / script the
"unsetting" of an attribute.

> Setting it to a blank (space) corrupts it, so I may end up 
> setting it to the root of our domain.

Sounds good - defaultnamingcontext - unless you can be sure your
(exchange) users are all grouped in some sub-hierarchy.

Neil

***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************

********************************************************
This Weeks Sponsor SeamlessPlanet.com Domain Names
Register your .com domain name for as low as $7.85
One of the lowest prices on the web! Part of The Kenzig Group.
http://www.seamlessplanet.com
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Awesome SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: