search for: account_policy

Displaying 20 results from an estimated 162 matches for "account_policy".

2019 May 31
0
Inconsistency with LANMAN1 and Samba 4.9
...d_from_rid:     setting user sid S-1-5-21-2045757840-2064742327-2345991121-3000 from rid 3000 Opening cache file at /var/cache/samba/gencache.tdb Opening cache file at /var/cache/samba/gencache_notrans.tdb gid 1001 -> sid S-1-22-2-1001 Forcing Primary Group to 'Domain Users' for andreas account_policy_get: name: password history, val: 0 pdb_set_username: setting username andreas, was pdb_set_domain: setting domain ORCANE, was pdb_set_nt_username: setting nt username , was pdb_set_full_name: setting full name , was Home server: orcane pdb_set_homedir: setting home dir \\orcane\andreas, was pdb_se...
2019 May 31
2
Inconsistency with LANMAN1 and Samba 4.9
On Fri, 2019-05-31 at 11:40 -0700, Jeremy Allison via samba wrote: > On Fri, May 31, 2019 at 07:09:44PM +0200, Andreas Reichel wrote: > > > > When adding me as the user with 'smbpasswd -a andreas', and entering a password, > > > > no LANMAN hash is generated. The generated smbpasswd entry always contains 32 X as the first hash. > > > > > > >
2016 Oct 22
0
samba 4.5.0 on HPUX(IA-64) make quicktest fails with error Failed to add entry for user.
...30:00 1970 IST] (-1477104420 seconds in the past) Adding cache entry with key=[IDMAP/GID2SID/3] and timeout=[Sat Oct 29 08:17:00 2016 IST] (604800 seconds ahead) LEGACY: gid 3 -> sid S-1-22-2-3 Forcing Primary Group to 'Domain Users' for root tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_open_ex: could not open file /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb: No such file or directory Could not open tdb: No such file or directory check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/...
2016 Jul 22
1
"state directory" ignored in samba-3.6.6
..."/usr/local/samba-3.6.6" --without-winbind --with-fhs --sysconfdir=/etc --localstatedir=/var --with-piddir=/var/run/samba smb.conf contains : private dir = /var/lib/samba/private lock directory = /var/run/samba state directory = /var/lib/samba cache directory = /var/cache/samba So *account_policy.tdb* should be in located in */var/lib/samba/account_policy.tdb*. Surprisingly, here is what I get in the logs : tdb(/var/run/samba/account_policy.tdb): tdb_open_ex: could not open file /var/run/samba/account_policy.tdb: No such file or directory account_policy_get: tdb_fetch_uint32 failed for typ...
2013 Jan 12
3
Samba4 Domain Account Lockout
...lled but from what I can tell it's just samba4.0 (that's what it tells me when I use samba --version) What I've tried thus far: 1. Use testparm -v to get a complete list of all possible smb.conf values - didn't see much in there that looked like account lockout 2. Manually edit the account_policy.tdb database within the samba folder identified in the current smb.conf file with tdbtool - it looks like there ARE settings here that might apply, but for some reason changes aren't being reflected. For example, when I use the "samba-tool domain passwordsettings set --min-pwd-age=5"...
2020 Mar 03
1
start/stop ctdb
# tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check Database integrity is OK and has 18 records. Guess no? Am 03.03.2020 um 10:42 schrieb Ralph Boehme: > tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check
2009 Jun 23
1
PDC -> BDC Question
...rrently working on what files I need to have copied between the computers and which need to be made on each server. The specific question I am dealing with is what TDB files I need to replicate filesystems between the two servers. Below is a list of what the files I see in my samba directory are: account_policy.tdb ntdrivers.tdb ntforms.tdb share_info.tdb group_mapping.ldb ntprinters.tdb registry.tdb wins.dat private/schannel_store.tdb private/secrets.tdb I am wondering first which of these need to be replicated from server to server and which need to be unique to each server? For instance I know that ac...
2020 Mar 03
2
start/stop ctdb
...td[1386]: listening on /usr/local/samba/var/run/ctdb/eventd.socket Mar? 3 10:31:52 ctdb1 ctdbd[1385]: Set runstate to INIT (1) *Mar? 3 10:31:52 ctdb1 ctdb-eventd[1386]: 00.ctdb: true** **Mar? 3 10:31:52 ctdb1 ctdb-eventd[1386]: 00.ctdb: Persistent database /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 is corrupted! CTDB will not start.* Mar? 3 10:31:52 ctdb1 ctdb-eventd[1386]: init event failed Mar? 3 10:31:52 ctdb1 ctdbd[1385]: ctdb exiting with error: Failed to run init event Mar? 3 10:31:52 ctdb1 ctdbd[1385]: Mar? 3 10:31:52 ctdb1 ctdbd[1385]: CTDB daemon shutting down Thanks. Am 03...
2016 Oct 20
0
CTDB and locking issues in 4.4.6 (Classic domain)
...tdb/leases.tdb.1 dbid:0x66f71b8c name:smbXsrv_open_global.tdb path:/var/lib/ctdb/smbXsrv_open_global.tdb.1 dbid:0x5bcfcbd7 name:printer_list.tdb path:/var/lib/ctdb/printer_list.tdb.1 dbid:0x477d2e20 name:smbXsrv_client_global.tdb path:/var/lib/ctdb/smbXsrv_client_global.tdb.1 dbid:0x2ca251cf name:account_policy.tdb path:/var/lib/ctdb/persistent/account_policy.tdb.1 PERSISTENT dbid:0x3ef19640 name:passdb.tdb path:/var/lib/ctdb/persistent/passdb.tdb.1 PERSISTENT dbid:0xc3078fba name:share_info.tdb path:/var/lib/ctdb/persistent/share_info.tdb.1 PERSISTENT dbid:0x6cf2837d name:registry.tdb path:/var/lib/c...
2009 Jun 25
1
WG: PDC -> BDC Question
...rrently working on what files I need to have copied between the computers and which need to be made on each server. The specific question I am dealing with is what TDB files I need to replicate filesystems between the two servers. Below is a list of what the files I see in my samba directory are: account_policy.tdb ntdrivers.tdb ntforms.tdb share_info.tdb group_mapping.ldb ntprinters.tdb registry.tdb wins.dat private/schannel_store.tdb private/secrets.tdb I am wondering first which of these need to be replicated from server to server and which need to be unique to each server? For instance I know that ac...
2013 Jan 10
0
Account Lockout
...zentyal-samba" package installed but from what I can tell it's just samba4.0 (that's what it tells me when I use samba --version) What I've tried thus far: 1. Use testparm -v to get a complete list of all possible smb.conf values - didn't see much in there 2. Manually edit the account_policy.tdb database within the samba folder identified in the current smb.conf file with tdbtool - it looks like there ARE settings here that might apply, but for some reason changes aren't being reflected. For example, when I use the samba-tool domain passwordsettings set --min-pwd-age=5 the account...
2020 Jun 05
0
Samba-4.11 AD DC initial setup
.../06/05 15:55:18.663269, 2] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log) tdb(/var/db/samba4/registry.tdb): tdb_open_ex: could not open file /var/db/samba4/registry.tdb: No such file or directory [2020/06/05 15:55:19.262908, 2] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log) tdb(/var/db/samba4/account_policy.tdb): tdb_open_ex: could not open file /var/db/samba4/account_policy.tdb: No such file or directory [2020/06/05 15:55:19.263229, 2] ../../source3/passdb/account_pol.c:355(account_policy_get) account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0 [2020/06/05 1...
2007 Mar 11
0
Question about tdb files
...ave a question about tdb files. Some of my tdb files haven't been touched since my installation in december 2005 and I'm thinking if this is something I should consider critical or not. -rw-r--r-- 1 root root 696 Dec 21 2005 login_cache.tdb -rw------- 1 root root 8192 Dec 21 2005 account_policy.tdb -rw------- 1 root root 8192 Jan 15 2006 share_info.tdb -rw------- 1 root root 696 Jan 15 2006 netsamlogon_cache.tdb -rw-r--r-- 1 root root 8192 Jan 15 2006 gencache.tdb -rw------- 1 root root 8192 Jan 15 2006 ntforms.tdb -rw------- 1 root root 8192 Jan 26 2006 group_mapping...
2020 Oct 12
3
Moving users from a Samba 3.6 to 4.9 (tdb)
Le Fri, 9 Oct 2020 13:02:22 +0100 Rowland penny via samba <samba at lists.samba.org> ?crivait: > Restart smbd and winbind and see how you go on. > No dice. I've edited the smb.conf, stopped the services, copied the old tdb again (account_policy.tdb group_mapping.tdb passdb.tdb registry.tdb secrets.tdb share_info.tdb winbindd_idmap.tdb); started the services and... # pdbedit -L # echo $? 0 How comes? -- ------------------------------------------------------------------------ Emmanuel Florac | Direction technique...
2005 Mar 21
2
what are *.tdb files?
In /varcache/samba/ I have several .tdb files. Like brlock.tdb, locking.tdb, ntdrivers.tdb, etc. Excusing my ignorance, what are these files, and what do they do? And why must they be copied when migrating from one samba server to a new one?
2016 Oct 20
3
CTDB and locking issues in 4.4.6 (Classic domain)
Hi list We recently upgraded our fileservers from Centos supplied 4.2.10 to Sernet 4.4.6, and then our DCs from 3.6.x to 4.4.6. It seems that since then we've had problems with locks not being obeyed on all nodes - they only seem to work when a second client opens a file on the same node as the first client. For example, when a user opens an Excel file I will see something like this
2018 Mar 08
3
samba migration on Solaris 10
...ory, which includes three files: passdb.tdb schannel_store.tdb secrets.tdb enabled samba service online 9:13:34 svc:/network/samba:default bash-3.2# pdbedit -L|more tdb(/etc/samba/private/passdb.tdb): tdb_mmap failed for size 180224 (Resource temporarily unavailable) tdb(/var/samba/locks/account_policy.tdb): tdb_mmap failed for size 24576 (Resource temporarily unavailable) tdb(/etc/samba/private/secrets.tdb): tdb_mmap failed for size 16384 (Resource temporarily unavailable) tdb(/etc/samba/private/secrets.tdb): tdb_mmap failed for size 16384 (Resource temporarily unavailable) samba users are able...
2017 Mar 14
3
Samba AD DC backup - again
...mba4/tree/master/backup-script is too overfunctional for simple backup script. Really, I know how to write shell scripts, but sometimes have headaches reading them ☺ The question is: is it enough to copy /var/lib/samba directory (with samba turned off), which contains: # ls /var/lib/samba/        account_policy.tdb  ntp_signd  private registry.tdb  share_info. tdb  sysvol  winbindd_cache.tdb  winbindd_privileged  wins.ldb And /etc/samba && /etc/krb5.conf, or it should do something else? -- With best regards,  Stanislav N. aka pztrn Jabber: pztrn at pztrn.name E-Mail: pztrn at pztrn.name Blog: h...
2006 Aug 29
1
Storing privilege info in ldap
Hello I have a Samba server 3.0.22 pdc on Gentoo Linux with a ldap backend all working fine. I am now going to add a bdc to the setup. It seems that the privilege info is stored locally rather than in ldap. I suspect that it's in account_policy.tdb but I'm not sure. I can see the accounts on the bdc and logon fine but the rights are missing when i run "net rpc rights list". I can add the info in manually but that creates a future admin job. Is there any way to store the rights in LDAP? thanks David Williams
2007 May 08
2
TDB functionality document
...rmat of the TDB files etc. I need to understand why some of the TDBs like messages.tdb, unexpected.tdb, brlock if not read_only, locking.tdb, session.tdb, wins.tdb are called with TDB_CLEAR_IF_FIRST tdb flags. Why some TDBs are opend with O_RDWR|O_CREAT flags viz. gencache.tdb, group_mapping.tdb, account_policy.tdb, share_info.tdb, secrets.tdb. schannel_store.tdb etc. etc. why registry.tdb is uniquely been tried to open with O_RDWR flag and if fails then tried with O_RDWR|O_CREAT flag. and such internal details of the TDBs. >From the code study I am not getting the complete picture of this component...