Authenticate with Computers LDAP account?

Status
Not open for further replies.

CDuv

Dabbler
Joined
Aug 11, 2014
Messages
17
Hello,

I can get my LDAP users (objectClass=person, OU=Users) to be listed on FreeNAS 9.2.1.7 via:
getent passwd
but my machines accounts aren't.
Here is an LDIF example of such computer:

dn: cn=foobarcomp,ou=Computers,dc=example,dc=com
objectClass: top
objectClass: posixAccount
objectClass: simpleSecurityObject
objectClass: account
cn: foobarcomp
gidNumber: 4242
homeDirectory: /home/foobarcomp
uid: foobarcomp
uidNumber: 666
userPassword:
description: The foobarcomp computer

Both usersuffix and machinesuffix are set correctly (respectivly: OU=Users and OU=Computers) in WebGUI.

On other servers (Debian 7) I've managed without any issue to setup PAM so that both my users and computers are listed by getent passwd.

By looking at the source depot, I can tell the "gui/common/freenasldap.py" file seems to completely ignore the "machinesuffix" setting but cannot understand how this Python script modify PAM behavior.
 
D

dlavigne

Guest
Please create a feature request at bugs.freenas.org and post the issue number here.
 
Status
Not open for further replies.
Top