Bug 221728 - net/samba44: samba-tool fails to add user
Summary: net/samba44: samba-tool fails to add user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-22 20:32 UTC by MMacD
Modified: 2018-10-12 01:24 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MMacD 2017-08-22 20:32:13 UTC
This is from a fresh buildup of 10.3R from scratch.  The problem was one of many that I ran into trying to build up an install of 11.1, which is why I decided to revert to 10.3.  Unfortunately it's there, too!

15:28 Tue, 22 Aug                                                               [fastcat:root]~ > samba-tool user create root

New Password: 
Retype Password: 
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'root':  - unable to parse dn string
  File "/usr/local/lib/python2.7/site-packages/samba/netcmd/user.py", line 197, in run
    gecos=gecos, loginshell=login_shell)
  File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 356, in newuser
    dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "")

15:29 Tue, 22 Aug                                                               [fastcat:root]~ >
Comment 1 Timur I. Bakeyev freebsd_committer freebsd_triage 2017-12-18 04:13:09 UTC
(In reply to MMacD from comment #0)

With the iXsystems fixes to Samba AD it seems everything works Ok in the net/samba47:

# samba-tool user create root
New Password:
Retype Password:
User 'root' created successfully


Please, try to upgrade.
Comment 2 jeffmartin19 2018-05-17 12:38:11 UTC
As soon as iXsystems fixed everything my https://writemyessaytoday.net/ projects work fine.
Comment 3 Muhammad Ibrahim 2018-10-12 01:24:51 UTC
MARKED AS SPAM