Displaying 20 results from an estimated 60 matches for "account_policy_get".
2006 May 08
1
Error Messages during installation
Hi,
I installed of Samba on Debian GNU/Linux Sarge.
Things went smoothly but I got some "failed" ( error? ) messages like
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
age), returning 0
at the end.
Could someone please explain to me what this is. Is it a serious issue??? or
problems with the deb package??
Full details below. Thankyou so much.
Kind Regards
-
Vivek Varghese Cherian
Free as in Freedom <...
2020 Jun 05
0
Samba-4.11 AD DC initial setup
...r 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 15:55:19.263288, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history),
returning 0
[2020/06/05 15:55:19....
2016 Jul 22
1
"state directory" ignored in samba-3.6.6
...he 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 type 1 (min password
length), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 2 (password history),
returning 0
account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to
change password), returning 0
account_policy_get: tdb_fetch_uint32...
2006 Jan 17
2
I can't access a Linux box from windows
...by peer)
this is the nmbd log file
[2006/01/14 11:43:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server IPSIA is now a local master browser for workgroup
DIDATTICA on subnet 192.168.1.230
this is snbd log file
[2006/01/11 15:21:21, 1] lib/account_pol.c:account_policy_get(204)
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
[2006/01/11 15:21:21, 1] lib/account_pol.c:account_policy_get(204)
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
[2006/01/11 15:21:21, 1] lib/account_pol...
2007 Apr 19
0
Problems with Samba Authentication (samba.i386 0:3.0.24-4.fc6 or 3.0.25rc1)
...n file smbd.log:
[2007/04/15 04:38:27, 1] smbd/server.c:open_sockets_smbd(408)
Reloading services after SIGHUP
[2007/04/19 08:40:21, 0] smbd/server.c:main(847)
smbd version 3.0.24-4.fc6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol....
2006 Mar 22
1
Issue with passdb.tdb
...rew Tridgell and the Samba Team
1992-2006
[2006/03/22 12:36:14, 0]
passdb/pdb_tdb.c:tdbsam_tdbopen(196)
Unable to open/create TDB passwd
[2006/03/22 12:36:14, 0]
passdb/pdb_tdb.c:tdbsam_getsampwrid(490)
pdb_getsampwrid: Unable to open TDB rid database!
[2006/03/22 12:36:14, 1]
lib/account_pol.c:account_policy_get(324)
account_policy_get: tdb_fetch_uint32 failed for
field 1 (min password length), returning 0
[2006/03/22 12:36:14, 1]
lib/account_pol.c:account_policy_get(324)
account_policy_get: tdb_fetch_uint32 failed for
field 2 (password history), returning 0
[2006/03/22 12:36:14, 1]
lib/account_pol.c:a...
2005 Sep 02
1
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
FreeBSD 5.4-RELEASE (GENERIC)
samba-3.0.20
[2005/09/02 10:37:26, 1]
lib/account_pol.c:account_policy_get(196)
account_policy_get: tdb_fetch_uint32 failed for
field 10 (refuse machine password change), returning 0
fix?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2010 Oct 05
1
Win7 cannot net use z: Samba share
...pdb_set_dir_drive: setting dir drive , was NULL
>
> pdb_set_logon_script: setting logon script , was
>
> Home server: smbserver
>
> pdb_set_profile_path: setting profile path \\smbserver\smbuser\profile, was
>
>
> pdb_set_workstations: setting workstations , was
>
> account_policy_get: name: password history, val: 0
>
> pdb_set_user_sid: setting user sid
> S-1-5-21-2780852000-3232352013-1934734775-1004
>
> pdb_set_user_sid_from_rid:
>
> setting user sid
> S-1-5-21-2780852000-3232352013-1934734775-1004 from rid 1004
>
> account_policy_...
2011 Aug 22
0
Fedora 14, Samba and connection problems - passwords
...pdb_set_dir_drive: setting dir drive , was NULL
pdb_set_logon_script: setting logon script , was
Home server: zeppo
pdb_set_profile_path: setting profile path \\zeppo\gary\profile, was
pdb_set_workstations: setting workstations , was
account_policy_get: name: password history, val: 0
pdb_set_user_sid: setting user sid
S-1-5-21-3770593063-3489186963-600075641-1000
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-3770593063-3489186963-600075641-1000 from
rid 1000
account_policy_get: name: maximum password age, val: -1
Finding user gar...
2005 Mar 21
4
users db problem
...s did a
great job before, but
now i have a problem.
I used samba 3.0.x for a long time without any problem with openldap as
passwd backend, now with samba 3.0.12
there are stange message when i try to change account's passwd:
# smbpasswd Administrator
New SMB password:
Retype new SMB password:
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
password age (seconds since 1970)), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
password age (seconds since 1970)), returning 0
same thing when i try to modify the account's policy:
# pdbedit -P 'maximum passwo...
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_set_di...
2005 Mar 25
1
Problem changing password - Samba 3.0.13
...nt results and very few
problems over the years.
I have just upgraded two sites to Samba 3.0.13 from 3.0.11. Both
sites are small and use smbpasswd as the password db backend. Since
the upgrade I am unable to change a users password (as root) using
smbpasswd.
There are two reported errors
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
password age (seconds since 1970)), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
password age (seconds since 1970)), returning 0
The systems are both RedHat 9.0, Samba was installed using RPMS from
samba.org
Convert...
2005 Apr 11
1
smbpasswd, tdb_fetch_uint32 failed
Hello,
Since I upgraded my samba PDC from 3.0.11 to 3.0.13, I have some strange
warnings when changing the passwords with 'smbpasswd' (it works, but
gives these messages):
# smbpasswd <username>
New SMB password:
Retype new SMB password:
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age (seconds since 1970)), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age (seconds since 1970)), returning 0
Any idea about it ? Can I safely ignore them ?
Thanks.
PS: the password database is the...
2008 Apr 21
0
tdb_fetch_uint32 failed and create_builtin_administrators failed
...mba/sbin/nmbd -D
So far it seems to work but I found some error messages in the logs:
/usr/local/samba/log/log.smbd:
[2008/04/19 12:21:48, 0] smbd/server.c:main(944)
smbd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/04/19 12:21:51, 1] lib/account_pol.c:account_policy_get(286)
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2008/04/19 12:21:51, 1] lib/account_pol.c:account_policy_get(286)
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
.......
And after the first connection from...
2009 Mar 06
2
pdbedit dosen't send the sambaSID to the ldap
Hi people: I have a Debian etch stable with the latests updates.
When I try to join a computer to the domain I create the
machine on the ldap and its created with the following atributes:
dn:cn=test$,ou=Machines,dc=domain,dc=org
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
uidNumber: 3123
uid: test$
cn: test$
sn: test$
gidNumber: 604
homeDirectory: /dev/null
loginShell:
2016 Jan 12
2
Failed to modify entry for user in samba with tdb backend
...Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
server:~ # smbpasswd -x c360
Failed to delete entry for user c360.
# smbpasswd -x -D 10 c360
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
...
...
account_policy_get: name: maximum password age, val: -1
Finding user c360
Trying _Get_Pwnam(), username as lowercase is c360
Get_Pwnam_internals did find user [c360]!
Opening cache file at /var/lib/samba/gencache.tdb
Opening cache file at /var/lib/samba/gencache_notrans.tdb
gid_to_sid: winbind failed to find a sid fo...
2005 Jan 30
1
ldap smbpasswd
...gt; now SET
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-2472404719-3990724825-3229645963-3008
from rid 3008
element 20 -> now CHANGED
element 20 -> now CHANGED
element 33 -> now CHANGED
element 32 -> now CHANGED
element 11 -> now CHANGED
element 21 -> now CHANGED
account_policy_get: maximum password age:-1
element 10 -> now CHANGED
account_policy_get: minimum password age:0
element 9 -> now CHANGED
account_policy_get: password history:0
element 34 -> now CHANGED
smbldap_search: base => [dc=company,dc=com], filter =>
[(&(uid=username)(objectclass=sambaAccou...
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.
.../lockdir/account_policy.tdb 2:<none> 3:<none>
Locking key 494E464F2F7665727369
Allocated locked data 0x21540
Unlocking key 494E464F2F7665727369
release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb
lock order: 1:<none> 2:<none> 3:<none>
account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1
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/...
2005 Sep 07
3
Samba PDC (3.0.14a) with LDAP cannot add machines
...06 13:12:58, 5] rpc_server/srv_samr_nt.c:_samr_set_userinfo(3077)
_samr_set_userinfo: does not possess sufficient rights
[2005/09/06 13:12:58, 5] rpc_server/srv_samr_nt.c:set_user_info_pw(2961)
Attempting administrator password change for user krauq$
[2005/09/06 13:12:58, 10] lib/account_pol.c:account_policy_get(210)
account_policy_get: maximum password age:-1
[2005/09/06 13:12:58, 10] lib/account_pol.c:account_policy_get(210)
account_policy_get: minimum password age:0
[2005/09/06 13:12:58, 5] rpc_server/srv_samr_nt.c:set_user_info_pw(2981)
Changing trust account or non-unix-user password, not updati...