uBuntu Server, Netatalk, LDAP

[<Back>] [<Edit>]

uBuntu server running Netatalk (AFP shares) and authenticating via LDAP Server

install ldap

# apt-get install libpam-ldap libnss-ldap nss-updatedb libnss-db ldap-utils

modify nsswitch.conf
passwd: files ldap
group: files ldap
sudoers: files
shadow: files ldap

modify /etc/pam.d/common-account
account [success=1 default=ignore]
account sufficient
account required

modify /etc/pam.d/common-auth
auth [success=1 default=ignore]
auth sufficient use_first_pass
auth required

modify /etc/pam.d/common-password
password sufficient
password required nullok obscure min=4 max=8 md5

install netatalk

# apt-get install netatalk

edit afpd.conf -> -> ->

Setup ssh to allow both local and ldap user to gain ssh connection

edit /etc/ssh/sshd_config and add

UsePAM yes

restart sshd with

# /etc/init.d/sshd restart

By: Ted Simbajon

Instagram Stats
my Kung Fu