[Date Prev][Date Next] [Chronological] [Thread] [Top]

Get machines in Base LDAP


I have in my smb.conf, the follow line is:

add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u

So, with the line machines get logon in domain, but machines come to /etc/passwd.

I would like add all machines in LDAP, how I can to do it ?

ldap admin dn = cn=admin,dc=brazil,dc=mg,dc=gov,dc=br
        ldap group suffix = ou=groups
        ldap machine suffix = ou=computers
        ldap passwd sync = yes
        ldap suffix = dc=brazil,dc=mg,dc=gov,dc=br
        ldap ssl = no
        ldap user suffix = ou=defensoria
        passdb backend = ldapsam:ldap://
        passdb backend = tdbsam
        hosts allow =,