Displaying 5 results from an estimated 5 matches for "get_sam_db".
2013 Jul 29
1
Samba4 - Classicupgrade - pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
..."/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 /usr/local/samba/et...
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
...ile
"/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 backend = ldapsam:ld...
2013 Nov 27
1
Problem migrate samba 3 (based on clearos 5.2) into new samba 4 server
..."/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
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
...ere are only a few of these, then they can be ignored, but if
there are a lot, it needs sorting.
If you examine this line:
group_memberships = s3db.enum_group_memberships(user);
it uses 's3db' to get the group memberships of the user, 's3db' is
obtained here:
def get_sam_db(self):
return passdb.PDB(self.lp.get('passdb backend'))
In English, this means 'what is to the right of 'passd backend =' in
smb.conf
So, at this point, it might help if you posted your smb.conf.
Rowland