Displaying 20 results from an estimated 27 matches for "s3db".
Did you mean:
3db
2016 Nov 28
2
Samba on Debian 8; NT4 domain, win10
On Mon, 28 Nov 2016 09:49:31 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2016-11-26 um 20:50 schrieb Stefan G. Weichinger via samba:
>
> > Thanks for the hints, I already read the wiki, yes.
> > I will look at the users and groups next week then.
>
> attacked that now in a VM:
>
> cpied /var/lib/samba and /etc
2016 Nov 28
3
Samba on Debian 8; NT4 domain, win10
...ing group memberships of 'pl13'
> S-1-5-21-2940660672-4062535256-4144655499-2026: Unable to enumerate
> group memberships, (-1073741724,No such user)
>
> ?
>
> Thanks, Stefan
>
OK, that error message is coming from here:
try:
group_memberships = s3db.enum_group_memberships(user);
for group in group_memberships:
if str(group) in groupmembers:
if user.user_sid not in groupmembers[str(group)]:
groupmembers[str(group)].append(user.user_sid)
else:...
2015 Aug 11
3
Issue with computer accounts with classicupgrade
...(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line
1452, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/lib64/python2.7/site-packages/samba/upgrade.py", line 566,
in upgrade_from_samba3
user = s3db.getsampwnam(username)
So I created another LDIF that just changes all the machine account
uidNumbers to something that does not conflict with the user uidNumbers.
The classicupgrade process completes with this. I haven't done any
further testing yet, but this should resolve the issues that...
2013 Jul 29
1
Samba4 - Classicupgrade - pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
...wargs)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/upgrade.py",
line 616, in upgrade_from_samba3
s3db = samba3.get_sam_db()
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/samba3/__init__.py",
line 390, in get_sam_db
return passdb.PDB(self.lp.get('passdb backend'))
Im also cleaning etc and private directories in order to re-run
classicupgrade but no luck.
rm -rf...
2018 Jul 04
5
classicupgrade questions
..."/usr/local/samba.ad/lib64/python2.7/site-packages/samba/netcmd/
domain.py", line 1636, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba.ad/lib64/python2.7/site-packages/samba/upgrade.py",
line 568, in upgrade_from_samba3
user = s3db.getsampwnam(username)
The machine LDAP data:
# pc0027$, machines, nspuh.cz
dn: uid=pc0027$,ou=machines,dc=nspuh,dc=cz
uid: pc0027$
objectClass: account
objectClass: sambaSamAccount
sambaPwdMustChange: 2147483647
sambaAcctFlags: [W ]
sambaPwdCanChange: 1158129830
sambaPwdLastSet: 115812983...
2013 Jan 03
1
samba-tool domain classicupgrade with LDAP backend
...File
"/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py", line
1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba/lib/python2.6/site-packages/samba/upgrade.py",
line 635, in upgrade_from_samba3
grouplist = s3db.enum_group_mapping()
And this is the LDAP access LOG:
[03/Jan/2013:10:58:01 +0100] conn=24304 op=13 SRCH
base="dc=XXXXXXXXXX,dc=XX" scope=2 filter="(objectClass=sambaGroupMapping)"
attrs="gidNumber sambaSID sambaGroupType sambaSIDList description
displayName cn objectCla...
2018 Jul 09
1
Fwd: classicupgrade questions
...;/usr/local/samba.ad/lib64/python2.7/site-packages/samba/netcmd/
domain.py", line 1636, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba.ad/lib64/python2.7/site-packages/samba/upgrade.py",
line 568, in upgrade_from_samba3
user = s3db.getsampwnam(username)
The machine LDAP data:
# pc0027$, machines, nspuh.cz
dn: uid=pc0027$,ou=machines,dc=nspuh,dc=cz
uid: pc0027$
objectClass: account
objectClass: sambaSamAccount
sambaPwdMustChange: 2147483647
sambaAcctFlags: [W ]
sambaPwdCanChange: 1158129830
sambaPwdLastSet:...
2013 Feb 04
1
samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO
...**kwargs)
File
"/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py", line
1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba/lib/python2.6/site-packages/samba/upgrade.py",
line 612, in upgrade_from_samba3
s3db = samba3.get_sam_db()
File
"/usr/local/samba/lib/python2.6/site-packages/samba/samba3/__init__.py",
line 390, in get_sam_db
return passdb.PDB(self.lp.get('passdb backend'))
My smb.conf is:
[global]
unix charset = LOCALE
workgroup = SPEL.COM
netbios name = VS002
passdb...
2013 Apr 17
1
user both missing and present
I'm trying the classicupgrade, and it is crashing out:
ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception -
ProvisioningError: Could not add member 'S-1-5-21-305843216-174882882-
1673945419-42545' to group 'S-1-5-21-305843216-174882882-1673945419-
1231' as either group or user record doesn't exist: Unable to find GUID
for DN
File
2013 Nov 27
1
Problem migrate samba 3 (based on clearos 5.2) into new samba 4 server
...wargs)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/upgrade.py",
line 615, in upgrade_from_samba3
s3db = samba3.get_sam_db()
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/samba3/__init__.py",
line 394, in get_sam_db
return passdb.PDB(self.lp.get('passdb backend'))
can somebody helpme to undestand this error
--
Thx & Warm regards
Zhia Chandra
2015 Sep 01
0
Issue with computer accounts with classicupgrade
...64/python2.7/site-packages/samba/netcmd/domain.py",
>> line 1452, in run
>> useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
>> File "/usr/lib64/python2.7/site-packages/samba/upgrade.py", line
>> 566, in upgrade_from_samba3
>> user = s3db.getsampwnam(username)
>>
>> So I created another LDIF that just changes all the machine account
>> uidNumbers to something that does not conflict with the user
>> uidNumbers.
>> The classicupgrade process completes with this. I haven't done any
>> further t...
2018 Jul 10
0
classicupgrade questions
...4/python2.7/site-packages/samba/netcmd/
> domain.py", line 1636, in run
> useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
> File
> "/usr/local/samba.ad/lib64/python2.7/site-packages/samba/upgrade.py",
> line 568, in upgrade_from_samba3
> user = s3db.getsampwnam(username)
>
> The machine LDAP data:
> # pc0027$, machines, nspuh.cz
> dn: uid=pc0027$,ou=machines,dc=nspuh,dc=cz
> uid: pc0027$
> objectClass: account
> objectClass: sambaSamAccount
> sambaPwdMustChange: 2147483647
> sambaAcctFlags: [W ]
> sambaP...
2020 Jul 17
2
Ubuntu 18.04 classicupgrade help
...? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run? ? useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in upgrade? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist = s3db.search_users(0)
> I removed a bunch of duplicate log lines just to make it shorter.? Any ideas?? It's like the tool knows something is supposed to be in /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to /var/lib/samba.PCD before I ran the command like the wiki said.
> Thanks...
2020 Jul 17
2
Ubuntu 18.04 classicupgrade help
...;> in ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run? ? useeadb=eadb,
>> dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File
>> "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in
>> upgrade ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist =
>> s3db.search_users(0)
>> I removed a bunch of duplicate log lines just to make it shorter.?
>> Any ideas?? It's like the tool knows something is supposed to be in
>> /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to
>> /var/lib/samba.PCD before I ran the comma...
2015 Jun 04
1
error when samba-tool domain classicupgrade
...9;rid'] >= next_rid:
next_rid = entry['rid'] + 1
-
+ if username in "badretdinova":
+ continue
+ #2. The user has no in the ldap directory. I understand where he takes it. On it there is an error that no such user unix.
user = s3db.getsampwnam(username)
acct_type = (user.acct_ctrl & (samr.ACB_NORMAL|samr.ACB_WSTRUST|samr.ACB_SVRTRUST|samr.ACB_DOMTRUST))
if acct_type == samr.ACB_SVRTRUST:
smb.conf from the old server
[global]
workgroup = 74ru
netbios name = dc1
server string = Chelyabinsk P...
2020 Jul 17
0
Ubuntu 18.04 classicupgrade help
...? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run? ? useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in upgrade? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist = s3db.search_users(0)
I removed a bunch of duplicate log lines just to make it shorter.? Any ideas?? It's like the tool knows something is supposed to be in /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to /var/lib/samba.PCD before I ran the command like the wiki said.??
Thanks
Carl
2020 Jul 17
2
Ubuntu 18.04 classicupgrade help
...? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run? ? useeadb=eadb,
>>> dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File
>>> "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in
>>> upgrade ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist =
>>> s3db.search_users(0)
>>> I removed a bunch of duplicate log lines just to make it shorter.
>>> Any ideas?? It's like the tool knows something is supposed to be in
>>> /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to
>>> /var/lib/samba.PCD before I r...
2020 Jul 17
0
Ubuntu 18.04 classicupgrade help
...;> in ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run? ? useeadb=eadb,
>> dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File
>> "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in
>> upgrade ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist =
>> s3db.search_users(0)
>> I removed a bunch of duplicate log lines just to make it shorter.?
>> Any ideas?? It's like the tool knows something is supposed to be in
>> /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to
>> /var/lib/samba.PCD before I ran the comma...
2020 Jul 16
2
Ubuntu 18.04 classicupgrade help
On Thursday, July 16, 2020, 03:30:36 a.m. EDT, Rowland penny via samba <samba at lists.samba.org> wrote:
On 16/07/2020 01:59, Carl Hunter via samba wrote:
>? On Wednesday, July 15, 2020, 05:03:52 p.m. EDT, Rowland penny via samba <samba at lists.samba.org> wrote:
>?
>?
>? On 15/07/2020 21:53, Carl Hunter via samba wrote:
>>? ? On Wednesday, July 15, 2020,
2020 Jul 17
2
Ubuntu 18.04 classicupgrade help
...? ? ? ? ? ? ?run? ? useeadb=eadb,
>>>> dns_backend=dns_backend, use_ntvfs=use_ntvfs)? File
>>>> "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 554, in
>>>> upgrade ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? _from_samba3? ? userlist =
>>>> s3db.search_users(0)
>>>> I removed a bunch of duplicate log lines just to make it shorter.
>>>> Any ideas?? It's like the tool knows something is supposed to be in
>>>> /var/lib/samba on Ubuntu.? I moved the /var/lib/samba folder to
>>>> /var/lib/samb...