Displaying 10 results from an estimated 10 matches for "get_default_basedn".
2013 Jul 08
1
samba4 - error during classicupgrade
...line 885, in upgrade_from_samba3
add_group_from_mapping_entry(result.samdb, g, logger)
File "/usr/local/samba/lib/python2.6/site-packages/samba/upgrade.py",
line 274, in add_group_from_mapping_entry
m.dn = ldb.Dn(samdb, "CN=%s,CN=Users,%s" % (groupmap.nt_name,
samdb.get_default_basedn()))
The connection to the LDAP server was closed
I use ldap backend.
anyone could help me ?
St?phane Purnelle
-----------------------------------
St?phane PURNELLE Admin. Syst?mes et R?seaux
Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
2015 Oct 27
2
[PATCH] Re: Samba 4.1.17 classic update w/LDAP - parsing error
...;,
line 771, in upgrade_from_samba3
add_group_from_mapping_entry(result.samdb, g, logger)
File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
line 275, in add_group_from_mapping_entry
m.dn = ldb.Dn(samdb, "CN=%s,CN=Users,%s" % (groupmap.nt_name,
samdb.get_default_basedn()))
Dňa 08.10.2015 o 08:47 Mgr. Peter Tuharsky napísal(a):
> Well, since I have no answer from Debian in order of patch, I'm trying
> to do the import using group names with no special character at all.
>
> Strange thing - it dosen't work.
> I have also removed all diacritic...
2019 Mar 26
1
Samba dns update failing
... 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"""
domain_dn = self.get_default_basedn()
return domain_dn.canonical_str().split('/')[0]
It seems that there is no value returned but I'm afraid that I myself
can not find out why. Can someone point me to the right redirection or
explain what is missing?
The smb.conf file for good measure:
[global]
...
2024 Jun 13
1
winbind error after startup on Samba member server
...s.py", line 694, in
find_samaccount
Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208633, 0,
pid=582, effective(0, 0), real(0, 0)]
lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:???? res
= samdb.search(samdb.get_default_basedn(), ldb.SCOPE_SUBTREE,
Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208650, 0,
pid=582, effective(0, 0), real(0, 0)]
lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
2024 Jun 13
1
winbind error after startup on Samba member server
...gt; in find_samaccount
> Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208633,
> 0, pid=582, effective(0, 0), real(0, 0)]
> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
> res = samdb.search(samdb.get_default_basedn(), ldb.SCOPE_SUBTREE,
> Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208650,
> 0, pid=582, effective(0, 0), real(0, 0)]
> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
> ^^^^^^^^^^^^^^^^^^^^^^^^...
2015 Oct 28
0
[PATCH] Re: Samba 4.1.17 classic update w/LDAP - parsing error
...rom_samba3
> add_group_from_mapping_entry(result.samdb, g, logger)
> File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
> line 275, in add_group_from_mapping_entry
> m.dn = ldb.Dn(samdb, "CN=%s,CN=Users,%s" % (groupmap.nt_name,
> samdb.get_default_basedn()))
>
> Dňa 08.10.2015 o 08:47 Mgr. Peter Tuharsky napísal(a):
>> Well, since I have no answer from Debian in order of patch, I'm trying
>> to do the import using group names with no special character at all.
>>
>> Strange thing - it dosen't work.
>> I ha...
2024 Jun 13
1
winbind error after startup on Samba member server
...unt
>> Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208633,
>> 0, pid=582, effective(0, 0), real(0, 0)]
>> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
>> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
>> res = samdb.search(samdb.get_default_basedn(), ldb.SCOPE_SUBTREE,
>> Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208650,
>> 0, pid=582, effective(0, 0), real(0, 0)]
>> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
>> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
>> ^^^^^^...
2012 Sep 24
4
samba4: samba-tool and (unix) uids
Hello,
at my universities CS computer pools we're trying to migrate our
samba3 based NT domain to AD with samba4-rc1.
In the past we had a little script which our users could run on their
own from their linux account which created a samba user with
their own uid/gid and set their password (via smbpasswd).
We're trying to recreate this behaviour with "samba-tool user create"
2024 Jun 14
1
winbind error after startup on Samba member server
...13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208633,
>>> 0, pid=582, effective(0, 0), real(0, 0)]
>>> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
>>> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:
>>> res = samdb.search(samdb.get_default_basedn(), ldb.SCOPE_SUBTREE,
>>> Jun 13 12:41:36 datasrv winbindd[582]: [2024/06/13 12:41:36.208650,
>>> 0, pid=582, effective(0, 0), real(0, 0)]
>>> lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
>>> Jun 13 12:41:36 datasrv winbindd[582]: /usr/sbin/samba-gpupdate:...
2013 Feb 25
7
"Samba 4" - "smbd"; "can't parse the PAC: NT_STATUS_BUFFER_TOO_SMALL" error but only for a single domain user ("Server 2008 R2" domain, "Server 2008" functional level forest).
Hello,
We're having a problem with "Samba 4" joined to a "Server 2008 R2" domain
(at "Server 2008" functional level across the forest).
The interesting thing is that this only affects a single user - all other
accounts work without problems.
When accessing our main server using that account, "smbd" always reports
"can't parse the PAC: