Displaying 20 results from an estimated 24 matches for "sambalogontochgpwd".
2018 Aug 09
2
LDAP SSL
...L
#
dn: sambaDomainName=suntech,dc=suntech
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaDomainName: suntech
sambaSID: S-1-5-21-3936576374-1604348213-1812465911
sambaPwdHistoryLength: 0
sambaLockoutThreshold: 0
gidNumber: 10034
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaMinPwdLength: 5
sambaLogonToChgPwd: 0
sambaForceLogoff: -1
uidNumber: 10002
sambaNextRid: 10038
# server02, suntech
dn: sambaDomainName=server02,dc=suntech
sambaDomainName: server02
sambaSID: S-1-5-21-2631908330-1812305667-41686038
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 1000
sambaMinPwdLength: 5
sa...
2009 Mar 12
1
updating samba/ldap: do I need new attributes?
...pe out the bdb files
3) 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?)
...t;> 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?
>>
>> Reg...
2008 Feb 20
1
sambaPwdMustChange attribute didn't get updated (3.0.27a)
...usrmgr.exe, the
password preferences in policies -> 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 samb...
2017 Feb 03
1
Samba standalone + openldap
.../c=my_domain,dc=com//
// sambaDomainName: ///samba_server_name///
sambaSID: 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)
/ sambaSamAccountsambac...
2018 Mar 05
2
Fwd: Migrating server
...added
the unixidpool ldif
dn: sambaDomainName=mydomain,dc=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 " Un...
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 Mar 02
1
Fwd: Migrating server
...6576374-1604338294-181246221
>> sambaAlgorithmicRidBase: 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
>>
>>
>>
&g...
2018 Mar 02
0
Fwd: Migrating server
...e: MYDOMAIN
> sambaSID: S-1-5-21-3936576374-1604338294-181246221
> sambaAlgorithmicRidBase: 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 ldap...
2011 Nov 08
1
Problem while log on: Windows Server 2008 R2 in samba domain
...aDomainName=EVAN)'
Enter LDAP Password:
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
...tabase:
sambaLogonTime: 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:...
2018 Mar 05
0
Fwd: Migrating server
...me=mydomain,dc=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
Fine.
Are the names...
2011 Jun 08
1
Problem with IDMAP+LDAP+WINBIND
...: cn=admin,dc=server,dc=nas
modifyTimestamp: 20110608145736Z
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...
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
2009 Dec 18
2
new user can't log
...onalUnit
structuralObjectClass: organizationalUnit
dn: sambaDomainName=DOMINIO,ou=Dominios,dc=dominio,dc=com,dc=br
objectClass: sambaDomain
sambaAlgorithmicRidBase: 1000
sambaSID: S-1-5-21-874179082-3571801642-3889913597
sambaDomainName: DOMINIO
sambaMinPwdLength: 4
sambaLogonToChgPwd: 2
sambaForceLogoff: 0
sambaRefuseMachinePwdChange: 1
structuralObjectClass: sambaDomain
Deleting the former (the one that was not inside the 'ou=Dominios')
solved the problem. Now, the 'net getlocalsid' gives me the SID for my
domain correctly. I don't know if th...
2012 Dec 13
1
Migrate to samba 4 in ( relatively ) complex openLDAP environment
...Type
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
sambaPrimaryGroupSID
sambaProfilePath
sambaPwdCanChange
sambaPwdHistoryLength
sambaPwdLastSet
sambaPwdMustChange
sambaRefuseMachinePwdChange
sambaSID
sha...
2008 Nov 05
1
Samba 3.2.4 not locking accounts?
...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: domusers
displayName: Domain Users
gidNumber: 10000
sambaSID: S-1-5-21-1230964018-1252349843-1944742870-513
sambaGroupType: 2
dn...
2011 Jun 10
1
ldap backend failing
...bjectClass: top
objectClass: sambaDomain
objectClass: sambaUnixIdPool
sambaDomainName: LDNSPL
sambaSID: S-1-5-21-1979685110-1467996072-351907979
gidNumber: 1000
sambaPwdHistoryLength: 0
sambaMaxPwdAge: -1
sambaMinPwdAge: 0
sambaLockoutThreshold: 0
sambaRefuseMachinePwdChange: 0
sambaMinPwdLength: 5
sambaLogonToChgPwd: 0
sambaNextRid: 1001
sambaForceLogoff: -1
uidNumber: 1116
The same query with cn=djohn returns nothing:
...
# filter: cn=djohn
# requesting: ALL
#
# search result
search: 2
result: 0 Success
So some parts of my configuration look to be working but something is
not right but I can't figur...
2007 Feb 16
3
pdbedit password policy - not updating ldapsam
...eded
-------------- 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:...
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