Hi, i try setting LDAP authentication on macOS. I add apple.schema on LDAP-server and filled several attributes at users and groups:
# id first.last uid=1537(first.last) gid=3174 groups=3174,1101(SRV0027),12(everyone),62(netaccounts),701(com.apple.sharepoint.group.1),702(com.apple.sharepoint.group.2) # dscl /LDAPv3/ldap.example.com -read /Users/first.last dsAttrTypeNative:displayName: last, first dsAttrTypeNative:mailHost: imap.example.com dsAttrTypeNative:mailQuota: 1048576 dsAttrTypeNative:objectClass: top inetOrgPerson kolabInetOrgPerson mailRecipient organizationalPerson person posixAccount shadowAccount apple-user extensibleObject dsAttrTypeNative:ou: ou=People,dc=example,dc=com dsAttrTypeNative:preferredLanguage: ru_RU AppleMetaNodeLocation: /LDAPv3/inldap.example.com AppleMetaRecordName: uid=first.last,ou=People,dc=example,dc=com Company: My Company EMailAddress: first.last@example.com FirstName: first GeneratedUID: F8C2ED3B-07E0-4222-83F2-2A58203CF919 HomeDirectory: /Users/first.last LastName: last NFSHomeDirectory: /home/first.last Password: PrimaryGroupID: 3174 RealName: first last RecordName: first.last RecordType: dsRecTypeStandard:Users UniqueID: 1537 UserShell: /bin/bash
I add LDAP-server, but when i log in system home dir can not create. I edit /etc/auto_master, but it don't fix. If i create home dir manually then all right.
I don't have idea, please need help! :(
