Solved

How to find LDAP search string on Windows 2003

Posted on 2007-03-26
3
11,733 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
  • 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 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Do you have users whose passwords are expiring and they are constantly calling you?  Well I sure did and needed a way to put an end to this.  We have a lot of remote users which would not be notified that their passwords were expiring since they wer…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now