<div>I had asked this question previously on the forum, Wes had sent me a Cisco doc regarding LDAP filtering on CCM 5 and 6 (I would include the doc but it said something about confidential and I dont want to get in trouble but you can ask Wes about it). Basically there is a hidden field in CCM 5-6 SQL where u can enter a ldap filter string. I made mine so that only users with a IPPhone Field are included. You have to edit the SQL database directly so I used this AXL command. just replace the filter with whatever you would like to use.</div>
<div> </div>
<div><SOAP-ENV:Envelope xmlns:SOAP-ENV="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"><br> <SOAP-ENV:Body><br> <axlapi:executeSQLUpdate sequence="1" xsi:schemaLocation="<a href="http://www.cisco.com/AXL/API/1.0">http://www.cisco.com/AXL/API/1.0</a> axlsoap.xsd" xmlns:axlapi="<a href="http://www.cisco.com/AXL/API/1.0">http://www.cisco.com/AXL/API/1.0</a>" xmlns:axl="<a href="http://www.cisco.com/AXL/1.0">http://www.cisco.com/AXL/1.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<sql>UPDATE ldapfilter SET filter= '(&amp;(objectclass=user)(!(objectclass=Computer)(ipPhone=*))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))' WHERE tkldapserver=1</sql><br> </axlapi:executeSQLUpdate><br>
</SOAP-ENV:Body><br></SOAP-ENV:Envelope></div>
<div><br><br> </div>
<div class="gmail_quote">On Fri, Mar 28, 2008 at 6:51 AM, Ryan Ratliff <<a href="mailto:rratliff@cisco.com">rratliff@cisco.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">I believe the only way you can do this is via a custom corporate directory URL. Even in 4.x the ciscoprivateuser attribute would prevent the user from showing up in CCMUser/Admin as well. All users that show up as End Users in CCMAdmin will show in the default corporate directory.
<div><br><font color="#888888">
<div>
<p style="MARGIN: 0px"><font style="FONT: 12px Helvetica" face="Helvetica" size="3">-Ryan</font></p></div></font>
<div>
<div></div>
<div class="Wj3C7c"><br>
<div>On Mar 28, 2008, at 7:56 AM, Nick wrote:<br>But I want the users to sync and be in the CM User list as I need to use them for extension mobility profiles, I just do not want them to display in the corporate directory.<br>
<br>
<div><span class="gmail_quote">On 28/03/2008, <b class="gmail_sendername">Paul Dillon</b> <<a href="mailto:pdillon@gmail.com" target="_blank">pdillon@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi Nick </div>
<div>I have not looked at this but can it be done using AD OUs - basically have users you want to see in the OU that LDAP syncs too and all other users in another OU</div>
<div>Thanks</div>
<div>Paul<br><br> </div>
<div><span><span class="gmail_quote">On 3/28/08, <b class="gmail_sendername">Nick</b> <<a href="mailto:csvoip@googlemail.com" target="_blank">csvoip@googlemail.com</a>> wrote:</span> </span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span>I have CUCM 6.1 and AD in LDAP sync and I would like to exclude some of the users fromm being shown in the Corporate directory, I know this could be done on previous versions 4.X but can't seem to find it on 6.1, does anyone know if this can still be done. <br>
</span>_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></blockquote></div><br>
<div style="MARGIN: 0px">_______________________________________________</div>
<div style="MARGIN: 0px">cisco-voip mailing list</div>
<div style="MARGIN: 0px"><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a></div>
<div style="MARGIN: 0px"><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></div></div><br></div></div></div></div><br>_______________________________________________<br>
cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br>