Skip to content

Instantly share code, notes, and snippets.

@6ewis
Created August 25, 2015 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 6ewis/ac4a2c18cb9ce7f9ce08 to your computer and use it in GitHub Desktop.
Save 6ewis/ac4a2c18cb9ce7f9ce08 to your computer and use it in GitHub Desktop.
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'louis': - unable to parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 176, in run
uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in newuser
dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment