Displaying 20 results from an estimated 23 matches for "sambalockoutduration".
2009 Feb 12
5
Samba 3.0.24 + LDAP - User Lockout not working
Hi,
im trying to setup a password policy with samba and openldap. while
lockout works perfect on openldap it looks like it does not work with my
samba.
Ive set "sambaLockoutThreshold" to 3 and "sambaLockoutDuration" to -1
(lockout forever) within the Domain-Object in LDAP. So i expect whenever
a windows user does 3 false logon attemps his samba account will be
LOCKED forever, until reseted by an admin.
If i peek those parameters with "pdbedit -P" it will confirm my
konfiguration. so it look...
2009 Mar 12
1
updating samba/ldap: do I need new attributes?
...) install the newer versions
4) slapadd to the new openldap server
This seems to work in my test lab.
During my tests I also built a new domain afresh and realized that the
sambaDomainName ldap entry has some attributes that are not in my
production server: sambaMinPwdLength, sambaLogonToChgPwd,
sambaLockoutDuration,
sambaLockoutObservationWindow, sambaLockoutThreshold, sambaForceLogoff.
Do I have to add these attributes to my ldif file before slapadd?
More generally, do I have to add some attributes to my ldap entries?
Regards,
Thierry
2009 Mar 24
1
problem with sambaNextRid (WAS: updating samba/ldap: do I need new attributes?)
...nldap server
>>
>> This seems to work in my test lab.
>> During my tests I also built a new domain afresh and realized that the
>> sambaDomainName ldap entry has some attributes that are not in my
>> production server: sambaMinPwdLength, sambaLogonToChgPwd,
>> sambaLockoutDuration,
>> sambaLockoutObservationWindow, sambaLockoutThreshold, sambaForceLogoff.
>>
>> Do I have to add these attributes to my ldif file before slapadd?
>> More generally, do I have to add some attributes to my ldap entries?
>>
>> Regards,
>> Thierry
>>
&g...
2008 Feb 20
1
sambaPwdMustChange attribute didn't get updated (3.0.27a)
...-> accounts didn't got saved - only the
password-length option got saved.
After doing some research, i managed to solve this by adding the
following LDAP attributes to the access rules in slapd.conf:
sambaMinPwdLength
sambaPwdHistoryLength
sambaLogonToChgPwd
sambaMaxPwdAge
sambaMinPwdAge
sambaLockoutDuration
sambaLockoutObservationWindow
sambaLockoutThreshold
sambaForceLogoff
sambaRefuseMachinePwdChange
But one problem still exists:
If Windows-users change their password via the normal Windows dialog,
the password got changed in LDAP , also the sambaLastChange attribute
got updated , BUT sambaPwdCa...
2017 Feb 03
1
Samba standalone + openldap
...S-1-5-21-1471793353-708426617-xxxxxyyyyzzzz//
// sambaAlgorithmicRidBase: 1000//
// objectClass: sambaDomain//
// sambaNextUserRid: 1000//
// sambaMinPwdLength: 5//
// sambaPwdHistoryLength: 0//
// sambaLogonToChgPwd: 0//
// sambaMaxPwdAge: -1//
// sambaMinPwdAge: 0//
// sambaLockoutDuration: 30//
// sambaLockoutObservationWindow: 30//
// sambaLockoutThreshold: 0//
// sambaForceLogoff: -1//
// sambaRefuseMachinePwdChange: 0/
# samba's attributes (objectclass)
/ sambaSamAccountsambaconfig, sambagroupmapping, sambaidmapentry, etc ../
# openldap directory tree
* d...
2018 Mar 05
2
Fwd: Migrating server
...=mydomain
sambaDomainName: mydomain
sambaSID: S-1-5-21-3936576374-1604348213-1812434911
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sambaPwdHistoryLength: 0
sambaLogonToChgPwd: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 0
sambaForceLogoff: -1
sambaRefuseMachinePwdChange: 0
sambaNextRid: 1001
uidNumber: 10000
gidNumber: 10000
When I tried to add a Windows 7 machine to the domain I get " Unknown user
or wrong password". I was using the "sad...
2018 Mar 01
3
Fwd: Migrating server
Yes please for the notes.
I re-ran the tests without the smbldap-tools. I installed phpldapadmin and
am able to login to the apache page using the cn=admin, dn=mydomain and
create entries. This kind of tells me that LDAP is working
Then I run the pdbedit -Lv and it lists all the users.
The following happens when I add the LDAP bits to smb.conf and restart
samba.The issue seems to be with samba
2018 Aug 09
2
LDAP SSL
...dn: sambaDomainName=server02,dc=suntech
sambaDomainName: server02
sambaSID: S-1-5-21-2631908330-1812305667-41686038
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sambaPwdHistoryLength: 0
sambaLogonToChgPwd: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 0
sambaForceLogoff: -1
sambaRefuseMachinePwdChange: 0
# search result
search: 3
result: 0 Success
# numResponses: 3
# numEntries: 2
Now the member server's smb.conf
[global]
workgroup = SUNTECH
netbios name = SERVER02
secu...
2018 Mar 02
1
Fwd: Migrating server
...ss: sambaDomain
> I prefer to add here an auxiliary objectclass: sambaUnixIdPool
> More later on
>
>> sambaNextUserRid: 1000
>> sambaMinPwdLength: 5
>> sambaPwdHistoryLength: 0
>> sambaLogonToChgPwd: 0
>> sambaMaxPwdAge: -1
>> sambaMinPwdAge: 0
>> sambaLockoutDuration: 30
>> sambaLockoutObservationWindow: 30
>> sambaLockoutThreshold: 0
>> sambaForceLogoff: -1
>> sambaRefuseMachinePwdChange: 0
>> sambaNextRid: 1002
>>
>>
>>
>>
>> ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config
>>...
2018 Mar 02
0
Fwd: Migrating server
...ambaAlgorithmicRidBase: 1000
> objectClass: sambaDomain
I prefer to add here an auxiliary objectclass: sambaUnixIdPool
More later on
> sambaNextUserRid: 1000
> sambaMinPwdLength: 5
> sambaPwdHistoryLength: 0
> sambaLogonToChgPwd: 0
> sambaMaxPwdAge: -1
> sambaMinPwdAge: 0
> sambaLockoutDuration: 30
> sambaLockoutObservationWindow: 30
> sambaLockoutThreshold: 0
> sambaForceLogoff: -1
> sambaRefuseMachinePwdChange: 0
> sambaNextRid: 1002
>
>
>
>
> ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config
> 'olcAttributeTypes=*' dn
> SASL...
2011 Nov 08
1
Problem while log on: Windows Server 2008 R2 in samba domain
...dn: sambaDomainName=EVAN,dc=xxx,dc=xxx,dc=xx
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaDomainName: EVAN
sambaSID: S-1-5-21-1042031166-387543594-2118856591
sambaMinPwdAge: 0
sambaMaxPwdAge: -1
sambaLockoutThreshold: 0
sambaMinPwdLength: 5
sambaLogonToChgPwd: 0
sambaForceLogoff: -1
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaRefuseMachinePwdChange: 0
sambaPwdHistoryLength: 0
gidNumber: 3616
sambaNextRid: 1183
uidNumber: 12704
Thank you!
Best,
Alex
2014 Oct 24
1
Changing user account passwords using smbpasswd after password expiration
...: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaPwdLastSet: 1406347540
Also, I have sambaDomainName=WORKGROUP with entries like the following:
sambaMinPwdAge: 0
sambaPwdHistoryLength: 0
sambaMinPwdLength: 6
sambaLogonToChgPwd: 2
sambaLockoutDuration: 1
sambaMaxPwdAge: 7776000
sambaLockoutObservationWindow: 1
sambaLockoutThreshold: 5
With these settings pdbedit shows the following output:
# pdbedit -u USERNAME -v
Unix username: USERNAME
NT username: USERNAME
Account Flags: [U ]
User SID: **DELETED**...
2018 Mar 05
0
Fwd: Migrating server
...5-21-3936576374-1604348213-1812434911
> sambaAlgorithmicRidBase: 1000
> objectClass: sambaDomain
> objectClass: sambaUnixIdPool
> sambaNextUserRid: 1000
> sambaMinPwdLength: 5
> sambaPwdHistoryLength: 0
> sambaLogonToChgPwd: 0
> sambaMaxPwdAge: -1
> sambaMinPwdAge: 0
> sambaLockoutDuration: 30
> sambaLockoutObservationWindow: 30
> sambaLockoutThreshold: 0
> sambaForceLogoff: -1
> sambaRefuseMachinePwdChange: 0
> sambaNextRid: 1001
> uidNumber: 10000
> gidNumber: 10000
Fine.
Are the names mydomain your real and wished names,
or are they coming from samdb migrati...
2011 Jun 08
1
Problem with IDMAP+LDAP+WINBIND
...Z
dn: sambaDomainName=DSS,dc=server,dc=nas
sambaDomainName: DSS
sambaSID: S-1-5-21-2206515185-2896615622-3143254707
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sambaPwdHistoryLength: 0
sambaLogonToChgPwd: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutDuration: 30
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 0
sambaForceLogoff: -1
sambaRefuseMachinePwdChange: 0
structuralObjectClass: sambaDomain
entryUUID: 6470ac16-262b-1030-84d9-1370b5f1fe61
creatorsName: cn=admin,dc=server,dc=nas
createTimestamp: 20110608145736Z
entryCSN: 20110608145736Z#00...
2011 Sep 15
1
pdb_increment_bad_password_count
After moving from Redhat AS4 to RHEL 5.5 we started noticing these error messages in the messages log. Upgrade procedure was to build new machine with updated OS, install new samba, duplicate existing ldap server connections, and then shutdown the old box and put new one in place. Messages were not seen on AS4 box and smb.conf file is identical on new box. I am wondering if there was a change
2012 Dec 13
1
Migrate to samba 4 in ( relatively ) complex openLDAP environment
...scstring
orclpassword
ou
pager
postalCode
preferredLanguage
radiusFilterId
radiusTunnelMediumType
radiusTunnelPrivateGroupId
radiusTunnelType
sambaAcctFlags
sambaAlgorithmicRidBase
sambaClearTextPassword
sambaDomainName
sambaForceLogoff
sambaGroupType
sambaHomeDrive
sambaKickoffTime
sambaLMPassword
sambaLockoutDuration
sambaLockoutObservationWindow
sambaLockoutThreshold
sambaLogoffTime
sambaLogonHours
sambaLogonScript
sambaLogonTime
sambaLogonToChgPwd
sambaMaxPwdAge
sambaMinPwdAge
sambaMinPwdLength
sambaNextRid
sambaNextUserRid
sambaNTPassword
sambaPasswordHistory
sambaPreviousClearTextPassword
sambaPrimaryGroupS...
2008 Nov 05
1
Samba 3.2.4 not locking accounts?
...IdPool
ou: idmap
gidNumber: 10016
uidNumber: 10004
dn: sambaDomainName=C1.VE,dc=c1,c=ve,dc=xxxx
sambaDomainName: C1.VE
sambaSID: S-1-5-21-1230964018-1252349843-1944742870
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
sambaRefuseMachinePwdChange: 0
sambaNextRid: 1002
sambaLockoutDuration: -1
sambaLockoutObservationWindow: 30
sambaLockoutThreshold: 3
sambaMinPwdLength: 5
sambaPwdHistoryLength: 5
sambaLogonToChgPwd: 0
sambaMaxPwdAge: 7776000
sambaMinPwdAge: 0
sambaForceLogoff: -1
dn: cn=domusers,ou=group,dc=c1,c=ve,dc=xxxx
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: d...
2007 Feb 16
3
pdbedit password policy - not updating ldapsam
...LDAP Entry ------------------------------------
dn: sambaDomainName=BLAHDEV,dc=example,dc=org
sambaDomainName: BLAHDEV
sambaMinPwdAge: 0
objectClass: top
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaPwdHistoryLength: 0
sambaNextGroupRid: 67109863
uidNumber: 1005
sambaLogonToChgPwd: 0
sambaLockoutDuration: 30
sambaMaxPwdAge: -1
sambaForceLogoff: -1
sambaLockoutThreshold: 0
gidNumber: 1000
sambaSID: S-1-5-21-317703500-4181503002-770181164
sambaNextUserRid: 67109862
sambaMinPwdLength: 5
sambaRefuseMachinePwdChange: 0
sambaAlgorithmicRidBase: 1000
sambaLockoutObservationWindow: 30
---------------- S...
2012 Aug 08
3
password change problem and no logon servers available
Hi,
we are using SAMBA 3.6.1-1 (updating this archlinux machine is tooo ugly)
and 3.6.6-1 on archlinux with the LDAP (Server version is 2.4.26-3) backend
and manage the users, groups and computer by using the smbldap-tools.
Currently we are experiencing the following problems:
1. changing the passwords takes longer than 30 seconds <- That's bad
because we are using a gigabit ethernet
2006 Aug 22
0
3.0.23 PDC with ldapsam:trusted backend - failed to setup guest info.
...directory mode = 0700
writable = yes
browsable = no
profile acls = yes
(Relevant LDAP entries)
dn: sambaDomainName=EE-
CIIPS2,ou=ciips,ou=Accounts,dc=ee,dc=uwa,dc=edu,dc=au
sambaRefuseMachinePwdChange:
sambaForceLogoff: -1
sambaLockoutThreshold: 0
sambaLockoutObservationWindow: 30
sambaLockoutDuration: 30
sambaMinPwdAge: 0
sambaMaxPwdAge: -1
sambaLogonToChgPwd: 0
sambaPwdHistoryLength: 0
sambaMinPwdLength: 5
sambaDomainName: EE-CIIPS2
sambaSID: S-1-5-21-2285122461-3938449209-3485319758
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
dn: uid=root,ou=ciips,ou=Account...