search for: a_dc_hostnam

Displaying 3 results from an estimated 3 matches for "a_dc_hostnam".

Did you mean: a_dc_hostname
2017 Mar 26
2
Users list and the date the password will expire
...n the domain server, not the domain member. using > mail:/var/lib/... or mail.hprs.local:/var/lib/... and a few other > variations I could think of did not work. > > So, how do I get msDS-UserPasswordExpiryTimeComputed from a domain > member? > Try this: ldbsearch --url=ldap://A_DC_HOSTNAME -b "DC=hprs,DC=local" -s sub "(&(sAMAccountType=805306368)(sAMAccountName=mark))" msDS-UserPasswordExpiryTimeComputed Replace 'A_DC_HOSTNAME' with your DCs short hostname. Rowland
2017 Mar 26
0
Users list and the date the password will expire
...g > > mail:/var/lib/... or mail.hprs.local:/var/lib/... and a few other > > variations I could think of did not work. > > > > So, how do I get msDS-UserPasswordExpiryTimeComputed from a domain > > member? > > > > Try this: > > ldbsearch --url=ldap://A_DC_HOSTNAME -b "DC=hprs,DC=local" -s sub > "(&(sAMAccountType=805306368)(sAMAccountName=mark))" > msDS-UserPasswordExpiryTimeComputed > > Replace 'A_DC_HOSTNAME' with your DCs short hostname. > > Rowland as root: ldbsearch --url=ldap://mail -b "DC=hprs,...
2017 Feb 09
2
Users list and the date the password will expire
I am running this on a CentOS 6.7 DC with Samba version 4.2.5. Ole On 09.02.2017 13:40, Ole Traupe via samba wrote: > Actually, there were 2 problems. These lines work for me: > > #user=$(echo "${user}" | awk -F '\\' '{print $2}') > user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" -s > sub >