net ads command throws the below error when run as non privileged user: create_local_private_krb5_conf_for_domain: smb_mkstemp failed, for file /var/lib/samba/smb_tmp_krb5.user. Errno Permission denied

Solution Verified - Updated -

Issue

  • net ads command throws the below error when run as non privileged user:
[2011/06/09 10:59:27.693279, 0] libads/kerberos.c:959(create_local_private_krb5_conf_for_domain)
create_local_private_krb5_conf_for_domain: smb_mkstemp failed, for file /var/lib/samba/smb_tmp_krb5.JboAIf. Errno Permission denied
[2011/06/09 10:59:28.087008, 0] libads/kerberos.c:959(create_local_private_krb5_conf_for_domain)
create_local_private_krb5_conf_for_domain: smb_mkstemp failed, for file /var/lib/samba/smb_tmp_krb5.21JAIx. Errno Permission deni

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • samba-3.5.4-68.el6
  • samba3x-3.5.4-0.70.el5_6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.