About 80% of the samba logon time is consumed by univention-mount-homedir, which is a bash script. Already small obvious optimizations in the script reduce logon time by nearly 50%. We should consider rewriting it, e.g. in python. Test results obtained with UCS 3.1-1 samba4 4.0.3 by running while true; do time smbclient4 -L localhost -UAdministrator%univention >/dev/null & sleep 3; done
*** This bug has been marked as a duplicate of bug 31256 ***