TheDarkRose
05.07.10, 14:59
Hallo
Habe hier folgende Konstellation am laufen: Server mit LDAP und zukünftig Postfix. Die User am Server selbst identifizieren sich per auth_pam auch gegen LDAP und haben ein Homedirectory.
D.h. ich könnte mir das ganze mit den virtual directories doch sparen und per local transport zustellen. Oder nimmt postfix nur die user aus der /etc/passwd oder alle wie z.b wenn ich 'getent passwd' ausführe??
Meine /etc/nsswitch.conf sieht so aus:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
# pre_auth-client-config # passwd: compat ldap
passwd: files ldap
# pre_auth-client-config # group: compat ldap
group: files ldap
# pre_auth-client-config # shadow: compat ldap
shadow: files ldap
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
# pre_auth-client-config # netgroup: nis
netgroup: nis
Habe hier folgende Konstellation am laufen: Server mit LDAP und zukünftig Postfix. Die User am Server selbst identifizieren sich per auth_pam auch gegen LDAP und haben ein Homedirectory.
D.h. ich könnte mir das ganze mit den virtual directories doch sparen und per local transport zustellen. Oder nimmt postfix nur die user aus der /etc/passwd oder alle wie z.b wenn ich 'getent passwd' ausführe??
Meine /etc/nsswitch.conf sieht so aus:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
# pre_auth-client-config # passwd: compat ldap
passwd: files ldap
# pre_auth-client-config # group: compat ldap
group: files ldap
# pre_auth-client-config # shadow: compat ldap
shadow: files ldap
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
# pre_auth-client-config # netgroup: nis
netgroup: nis