Active Directory: Storing Images? Best approach
Basically I need to store a single photo in active directory (picture ID of the employee).
Is there anyway I can actually store this picture directly into active directory?
I figure my options are:
1# Find a way to store in AD
2# Upload it to the server, and stick the location of it in some field in AD (like webpages?)
3# Use a database (I got old code that does exactly this, but we are looking for a pure AD solution)
Re: Active Directory: Storing Images? Best approach
AD objects, e.g. users, have useful extendedAttributes that you could store a location to the file on the file system with?
Re: Active Directory: Storing Images? Best approach
Extended attributes is option two right now (ewe arent usiung the webpage field).
Re: Active Directory: Storing Images? Best approach
Isn't there a jpegPhoto attribute? What server OS are you using? I think this was new in Windows Server 2003.
Re: Active Directory: Storing Images? Best approach
I cannot find that attribute in AD Users and Computers. Is it a field that does not have a GUI?
Re: Active Directory: Storing Images? Best approach
I've never heard of that jpegPhoto attribute but if it exists you will not find it in AD Users & Computers - you could use ADSI Edit (built in with Server 2008, free download for Server 2003) to view all of the attributes of a user object.
EDIT: in fact a quick google of that attribute returns the following VB.NET tutorial on how to use it :) http://blogs.technet.com/btrst4/arch...30/222629.aspx