Re: Change logon script property for all users under a OU
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
This is likely the ldap query size governor which is set on the
properties of the domain. If you increase it keep in mind that
this has effect for all ldap queries, which can be a performance
and potentially a denial of service issue given a malicious person
automating a query load.
Given that, I have to wonder why you are not just setting the
login script using a GPO for the accounts of that OU.
"TomKing" <TomKing@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7A1E6921-31BF-485F-9FF4-C492E07A6DD0@xxxxxxxxxxxxxxxx
>I have more than 1000 users under a OU and want to change all their logon
> script properties. I am using
> SELECT distinguishedName FROM '
LDAP://ou=Students,dc=myUni,dc=com' WHERE
> objectCategory='user'
> to get the user LDAP path.
>
> But I guess the Recordset has a limitation for 1000 items. The rest users
> just been ignored. So are there any other ways to get all user objects?
.
Relevant Pages
- Re: Populating Exchange 2003 Address List from External LDAP server
... external box that we only have LDAP connectivity to, so they don't actually exist on our box to have that attribute. ... do above is find a way we could effectively have a "dynamic address list" that would point to that LDAP box, and allow us to map attributes, would have been a much better solution to having to import them as contacts, but Exchange doesn't seem to natively have this functionality from what I've read. ... The dynamic LDAP query I was after wouldn't require anything of the sort, so you're off base with that one by saying I'm correct due to the fact there is no directory, when that is exactly what I was trying to avoid populating. ... effectively as SMTP contacts in a separate address list (or possibly multiple separate address lists, that remains to be seen, but that really doesn't change what needs to be done or how to do it). ... (microsoft.public.exchange.admin) - How to retrieve a user name from LDAP after authentication
... I'm trying to solve a problem with a LDAP query via ASP classic. ... I have got a working code that tests if the credential of a user are correct ... perfirming an Active Directory authentication. ... (microsoft.public.scripting.vbscript) - Re: ADSI and NDS help
... I didn't think of appending a blank string. ... I have tested the LDAP query in ... trying to locate a user object in eDirectory via LDAP using ADSI. ... (microsoft.public.scripting.vbscript) - Re: ldap_routing and local aliases
... that this logic includes "look up local aliases" (e.g. all domains must ... Where I am currently is that I am making the LDAP query, and my LDAP logs are showing that addresses that are listed in LDAP are being found, and non-existent addresses are not being found. ... However, if the address is invalid, the message is still being passed through, and the result continues to be an accept/bounce, rather than the desired rejection. ... (comp.mail.sendmail) - Re: ldap_routing and local aliases
... Where I am currently is that I am making the LDAP query, ... However, if the address is invalid, the message is still being passed ... Messages to addresses in the local sendmail ... (comp.mail.sendmail) |
|