Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to find LDAP search string on Windows 2003

Posted on 2007-03-26
3
Medium Priority
?
11,818 Views
Last Modified: 2011-08-18
Hi

I need help finding out what my LDAP search string is - we recently purchased a photocopier which also has the ability to scan and email the scan onto a user - instead of entering everyones email address into the machine I would like to enter our LDAP server (windows 2003 SBS active directory server) search string into into it to do this automatically - any ideas / suggestions??
0
Comment
Question by:sagarh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 18792257
This wouldn't happen to be a Cannon ImageRunner that you're trying to configure would it?

I've fought with those things for quite some time now.  There was a solution posted a while back for this issue which I was never able to test because I convinced the couple of clients that had these machines to get rid of them.  At any rate, you can view the recommendation here:  http:Q_22084755.html

From what I understand you cannot actually authenticate against LDAP in a Server 2003 environment unless it's from a domain member device.  Generally those machines cannot join a domain... so we come to the point at which you now find yourself.

If you leased this machine and have an opportunity to send it back... I'd do so.  I can tell you that a machine in a similar class but MUCH better to integrate into an SBS domain is the Savin 4045e.  They are near perfect.

Jeff
TechSoEasy
0
 

Author Comment

by:sagarh
ID: 18792447
Thanks for the info...

However, my question was how to form a LDAP search string...not specifically on how to get a photocopier to work. I have not got to the stage yet of finding out if my photocopier will authenticate or not.

Thanks
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 2000 total points
ID: 18792676
Oops... I guess I did bring my own issues into the question a bit.  Sorry about that.  :-)

There are some good examples of how to construct an LDAP search string here:

http://www.petri.co.il/ldap_search_samples_for_windows_2003_and_exchange.htm

For querying the full list of User accounts on SBS for example, the string would be:
(ld, "OU=SBSUsers,OU=Users,OU=MyBusiness,DC=DomainName,DC=local", 1, "(objectclass=*)", attrList,  0, &msg)

FYI, I use the LDP GUI tool (included in Windows 2003 Support Tools) to create search strings... because I can never remember the syntax as I don't use it that often.  

Jeff
TechSoEasy
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question