Displaying 6 results from an estimated 6 matches for "add_sam_account".
2006 Jul 28
1
troubleshooting a custom passdb module
...e:
(*pdb_method)->setsampwent = pdb_udb_setsampwent;
(*pdb_method)->endsampwent = pdb_udb_endsampwent;
(*pdb_method)->getsampwent = pdb_udb_getsampwent;
(*pdb_method)->getsampwnam = pdb_udb_getsampwnam;
(*pdb_method)->getsampwsid = pdb_udb_getsampwsid;
(*pdb_method)->add_sam_account = pdb_udb_add_sam_account;
(*pdb_method)->update_sam_account = pdb_udb_update_sam_account;
(*pdb_method)->delete_sam_account = pdb_udb_delete_sam_account;
(*pdb_method)->rid_algorithm = pdb_udb_rid_algorithm;
pdb_udb_rid_algorithm just returns true like pdb_smbpasswd.c and
pdb_udb_...
2006 Jul 12
1
updated samba-3.0.23/examples/pdb/test.c
...("testsam_update_sam_account called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************************
Adds an existing struct samu
****************************************************************************/
static NTSTATUS testsam_add_sam_account (struct pdb_methods *methods, struct samu *newpwd)
{
DEBUG(10, ("testsam_add_sam_account called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
{
NTSTATUS nt_status;
if (!NT_STATUS_IS_OK(nt_status = make_pdb_meth...
2018 Jul 26
2
passdb.error: uncaught exception - requested file lock
...run(*args, **kwargs)
File "/usr/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/lib64/python2.7/site-packages/samba/upgrade.py", line 803, in
upgrade_from_samba3
s4_passdb.add_sam_account(userdata[username])
ldb: A transaction is still active in ldb context [0x555d563d0180] on
/var/lib/samba/private/sam.ldb
Background:
I tried to upgrade our existing server using classicupgrade previously
working before with the previous version but because it was pending in a
couple of months as w...
2016 Aug 15
1
classic upgrade error "uncaught exception - Unable to add sam account 'guest', "
...run(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line
1565, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/lib64/python2.7/site-packages/samba/upgrade.py", line 801, in
upgrade_from_samba3
s4_passdb.add_sam_account(userdata[username])
what should I do?pls help
2013 Jan 04
1
Samba 3 classicupgrade to Samba AD
...File "/usr/local/samba/lib/python2.7/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.7/site-packages/samba/upgrade.py", line 896, in upgrade_from_samba3
s4_passdb.add_sam_account(userdata[username])
Hopefully someone sees something that I"m doing blatently wrong and can point out my mistake. Thanks in advance for any help!
Thanks,
Max
2015 Jun 04
1
error when samba-tool domain classicupgrade
When you try to upgrade on a test stand, an error occurs.
I do not understand that you need to add ldap, or improve migration script?
Before that I tried to version 4.1.7, but the error was the sam
root at dc1:~/smb_old# samba --version
Version 4.2.2-SerNet-Ubuntu-7.trusty
I also modified the file
--- ./upgrade.py 2014-10-01 00:00:00.000000000 +0600
+++