diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-06 15:49:25 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-06 15:49:25 +0100 |
commit | 59d9de33f18268d276e0c71f5de50b7dcd3826d3 (patch) | |
tree | 7ddc644344c46c9af63e0c56b890362587baf023 | |
parent | eccf3173adb444c257557c088d3ebcc9c6099939 (diff) |
fix search filter objectClass for hosts
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1376 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | pynslcd/host.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pynslcd/host.py b/pynslcd/host.py index 146523e..e1db101 100644 --- a/pynslcd/host.py +++ b/pynslcd/host.py @@ -1,5 +1,5 @@ -# host.py - lookup functions for hostnet addresses +# host.py - lookup functions for host names and addresses # # Copyright (C) 2011 Arthur de Jong # @@ -28,7 +28,7 @@ import socket class HostRequest(common.Request): - filter = '(objectClass=ieee802Device)' + filter = '(objectClass=ipHost)' attmap_cn = 'cn' attmap_ipHostNumber = 'ipHostNumber' |