search for: canonical_str

Displaying 9 results from an estimated 9 matches for "canonical_str".

2019 Mar 26
1
Samba dns update failing
...b_vars = get_subst_vars(samdb)       File "/usr/sbin/samba_dnsupdate", line 261, in get_subst_vars         vars['DNSDOMAIN'] = samdb.domain_dns_name()       File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 650, in domain_dns_name         return domain_dn.canonical_str().split('/')[0]     AttributeError: 'NoneType' object has no attribute 'canonical_str' Which in turn references to this part of the samdb.py file:      def domain_dns_name(self):             """return the DNS name of the domain root"""    ...
2020 Nov 20
2
Can't create users?
...File "/usr/local/samba/lib/python3.7/site-packages/samba/netcmd/user.py", line 395, in run ??? smartcard_required=smartcard_required) ? File "/usr/local/samba/lib/python3.7/site-packages/samba/samdb.py", line 458, in newuser ??? dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "") How do I fix this? Everthing is using the default path (/usr/local/samba). The only paramater I passed to configure was --enable-fhs since I remember that it croaks without that. So I just did: ./configure --enable-fhs make && make install I tried...
2020 Nov 20
1
Can't create users?
...ckages/samba/netcmd/user.py", >> line 395, in run >> ??? smartcard_required=smartcard_required) >> ? File "/usr/local/samba/lib/python3.7/site-packages/samba/samdb.py", >> line 458, in newuser >> ??? dnsdomain = ldb.Dn(self, >> self.domain_dn()).canonical_str().replace("/", "") >> >> >> How do I fix this? Everthing is using the default path >> (/usr/local/samba). The only paramater I passed to configure was >> --enable-fhs since I remember that it croaks without that. > It shouldn't 'croak&...
2015 Nov 10
3
Unable to use samba-tool
.../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("/", "") ---------------------------------------------- samba-tool user list ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file /var/lib/samba/private/sam.ldb: Permission denied Unable to open tdb '/var/lib/samba/private/sam.ldb': Pe...
2017 Dec 08
2
DNS issue with clean install of samba 4.5.12-Debian
On Fri, 8 Dec 2017 14:25:19 -0500 lingpanda101 via samba <samba at lists.samba.org> wrote: > On 12/8/2017 1:50 PM, Rowland Penny via samba wrote: > > On Fri, 8 Dec 2017 12:27:30 -0600 > > Taylor Hammerling via samba <samba at lists.samba.org> wrote: > > > >> Will do, thanks! > >> > > Specifically, go here: > >
2015 Nov 10
1
Unable to use samba-tool
...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("/", "") >> >> ---------------------------------------------- >> >> samba-tool user list >> ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open >> file /var/lib/samba/private/sam.ldb: Permission denied >> &gt...
2017 Dec 11
4
DNS issue with clean install of samba 4.5.12-Debian
...install of Samba I believe but only for the purposes of this script? I went and installed anyways, but I was greeted with another error I don't know how to proceed. ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'NoneType' object has no attribute 'canonical_str'   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run     return self.run(*args, **kwargs)   File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 415, in run     forest_dn = samba.dn_from_dns_name(samdb.forest_dns_name())...
2015 Nov 10
0
Unable to use samba-tool
...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("/", "") > > ---------------------------------------------- > > samba-tool user list > ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open > file /var/lib/samba/private/sam.ldb: Permission denied > > Unable to open tdb '/v...
2020 Nov 20
0
Can't create users?
...ba/lib/python3.7/site-packages/samba/netcmd/user.py", > line 395, in run > ??? smartcard_required=smartcard_required) > ? File "/usr/local/samba/lib/python3.7/site-packages/samba/samdb.py", > line 458, in newuser > ??? dnsdomain = ldb.Dn(self, > self.domain_dn()).canonical_str().replace("/", "") > > > How do I fix this? Everthing is using the default path > (/usr/local/samba). The only paramater I passed to configure was > --enable-fhs since I remember that it croaks without that. It shouldn't 'croak' without '--enabl...