That is an AppArmor message from the AppArmor cups profile, not a samba one.
I doubt it's related, but you could try and temporarily disable the AppArmor cups profile to make sure. Instructions for doing so are here: https://wiki.ubuntu.com/DebuggingApparmor -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. https://bugs.launchpad.net/bugs/526464 Title: intermittent authentication: check_ntlm_password: Authentication for user [someuser] -> [someuser] FAILED with error NT_STATUS_ACCESS_DENIED -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs