'samaccountname' AD attribute missing when browsing

gabby3
Kilo Contributor

Hi Guys,

I can't seem to pull out the sAMAccountname attribute when browsing the LDAP directory from within ServiceNow. I'm using the default filter from SN:

(&(objectClass=person)(sn=*)(!(objectClass=computer))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

This is what I get when browsing the LDAP:

find_real_file.png

Does this have something to do with the LDAP's security? Or is there something within SN that I need to configure?

Thanks,
G

6 REPLIES 6

Also, is it possible that a list of attributes has been defined that does not include sAMAccountname?




LDAP Integration Setup - ServiceNow Wiki


..


5.2 Specify Attributes for Better Performance or Security Considerations

By default, the ServiceNow system loads all of the attributes for each object that it has permission to read from your LDAP server. By configuring the LDAP Server form and adding the Attributes field, you can specify, and thereby limit, the attributes the LDAP server query returns. Using this approach for large LDAP imports can greatly improve the speed of those imports.


Soleil Levant
Tera Contributor

Hi 

 

2 things to verify:

 

1- your attributes list :see field 'attributes' on your ldap server

2- verify your import table, see if the field (your sAMAccountname) is created, if not add the field on your import table with the same name (sAMAccountname)

Regards