Displaying 20 results from an estimated 4000 matches similar to: "accountExpires never representation?"
2017 Oct 20
2
Some hint reading password expiration data...
In my current ''production'' NT-like domain (samba 4.2, OpenLDAP
backend), password policies seems to ''get written'' to user data.
EG, if i set:
pdbedit -P "maximum password age" -C 7776000
and i change my password, 'Password must change' have a meningful value,
eg 90 days more then the last password change:
root at armitage:~# pdbedit -v
2017 Feb 07
3
How to get password expiration?
figured out how to use ldapsearch also to get what I want.
Also found how to convert AD time to unix time
Another thing I wanted calculated was when an account expires.
ldapsearch -h ad.mydomain.tld -b dc=ad,dc=mydomain,dc=tld
"(sAMAccountName=$user)"
gives all the good information about a user.
here is how I used it to tell me all accounts expiring this next month.
h=ad.mydomain.tld
2023 Oct 28
1
query account expired state
Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
> On Fri, 27 Oct 2023 23:48:22 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>> Hi Team,
>>
>> Is it possible to make a LDAP-query that returns whether an account
>> is expired or not?
>>
>> I am aware that it is possible to do the maths against the
>>
2023 Oct 28
1
query account expired state
On Sat, 28 Oct 2023 11:54:34 +0200
Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
> Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
> > On Fri, 27 Oct 2023 23:48:22 +0200
> > Kees van Vloten via samba <samba at lists.samba.org> wrote:
> >
> >> Hi Team,
> >>
> >> Is it possible to make a LDAP-query that returns
2017 Oct 23
3
Some hint reading password expiration data...
On Mon, 23 Oct 2017 16:52:05 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> Sorry, i came back on this, but:
>
> > In another, more generic, way: how password policies are enforced?
>
> still i need an answer on this question.
>
>
> I've done some tests, using my account, that pdbedit say:
>
> root at vdcsv1:~# LANG=C
2017 Oct 23
0
Some hint reading password expiration data...
Sorry, i came back on this, but:
> In another, more generic, way: how password policies are enforced?
still i need an answer on this question.
I've done some tests, using my account, that pdbedit say:
root at vdcsv1:~# LANG=C pdbedit -v gaio
Unix username: gaio
NT username:
Account Flags: [U ]
User SID:
2017 Jul 10
2
using samba with bind dlz
In /usr/lib64/python2.7/site-packages/samba/provision/sambadns.py
Update: It is failing in create_samdb_copy specifically here:
# Copy root, config, schema partitions (and any other if any)
# Since samdb is open in the current process, copy them in a child
process
try:
tdb_copy(os.path.join(private_dir, "sam.ldb"),
os.path.join(dns_dir,
2017 Jul 10
3
using samba with bind dlz
On Mon, Jul 10, 2017 at 8:02 AM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Mon, 10 Jul 2017 06:43:37 -0600
> Jeff Sadowski <jeff.sadowski at gmail.com> wrote:
>
> > Bind-9.11 is installed. How do you configure it? Does it need anything
> > special in the config for samba to build the ...samba.../named.conf
> > file that I should be able
2014 Jun 24
3
winbind: homeDirectory being ignored
Something strange here. User created using:
root at dc1:~# samba-tool user add user7 Abcd1234 --uid-number=1007
--home-directory=/home/user7 --login-shell=/bin/bash
User 'user7' created successfully
I can see the homeDirectory attribute in the entry. But the home
directory that winbind returns is just the template one:
root at adclient:~# getent passwd user7
2017 Jul 10
2
using samba with bind dlz
OK so I don't have a program tdbbackup. Where do I get it?
On Mon, Jul 10, 2017 at 10:38 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
wrote:
>
>
> On Mon, Jul 10, 2017 at 9:45 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
> wrote:
>
>> In /usr/lib64/python2.7/site-packages/samba/provision/sambadns.py
>>
>> Update: It is failing in
2017 Jul 10
3
using samba with bind dlz
Bind-9.11 is installed. How do you configure it? Does it need anything
special in the config for samba to build the ...samba.../named.conf file
that I should be able to include in my /etc/named.conf afterwards?
My guess is that some directory is missing. But if I start fresh and
configure samba with the internal dns it gets all the way through it's
configuration with no errors.
I've
2014 Jun 07
3
Samba 4 / idmap / NIS / winbind
Hi,
how can i get work Samba 4 Sernet 4.1.7 correctly with NIS. Ist provisioned with rfc2307.
When i query a User withi get the following.
getent passwd testswi
SWI\testswi:*:10000:100:testswi:/home/SWI/testswi:/bin/false
I want to change /bin/false to a other value /bin/bash
I tried many things to change the value.
1. ldbedit -e vim -H /var/lib/samba/private/sam.ldb samaccountname=testswi
2017 Feb 03
2
How to get password expiration?
On my ubuntu machines I added
auth required pam_exec.so /scripts/password_expire.sh
to the beginning of /etc/pam.d/common-auth
it looks pretty similar to what I did below.
In the /etc/bash.bashrc
I added a check to wait for the file to be less than 1 second old before
looking at it.
break out after 5 seconds in case something failed or is taking longer then
it should.
now people get
2015 Nov 26
4
About password expiry
Hi every one:
I'm using samba4 as domain controller and a I want to check every 1 hour in my mail server the password expiration for every user in the domain. I need to kow what is the attribute used in samba4.
Using ldbsearch i see badPasswordTime and accountExpires, but in the microsoft documentation said that accountExpires is used for represent the date when the account expires. Can i use
2023 Oct 28
1
query account expired state
On Fri, 27 Oct 2023 23:48:22 +0200
Kees van Vloten via samba <samba at lists.samba.org> wrote:
> Hi Team,
>
> Is it possible to make a LDAP-query that returns whether an account
> is expired or not?
>
> I am aware that it is possible to do the maths against the
> "accountExpires" attribute, but that requires some scripting around
> the query.
>
>
2018 May 18
2
Active directory sites
hello folks,
About ad sites, would work on an infrastructure as shown in the link image
below?
https://i.imgur.com/tYoxaYi.png
The subnets (public IP) for communication is different on each others, of
course. :D
--
Elias Pereira
2018 Mar 12
2
Accentuation in the user's CN
Hi folks,
I manage the AD with rsat and recently we had problems with the CN of some
users that have accentuation. When checking the user configuration via
samba-tool user edit <username> in the location where the CN should be
readable, a hexadecimal or something of that type appears.
E.g: Acentuação da Silva
dn: CN=Acentuação da Silva,OU=TESTE,DC=teste,DC=intra
objectClass: top
2015 Apr 23
3
RFC2307 attributes not being read by DC2 in 4.2.1
Hi all
On latest samba 4.2.1 I have provisioned a new domain on DC1 that
successfully reads RFC2307 attributes set on a user account through
ADUC.
wbinfo (correct uid gets resolved from sid)
wbinfo -n fsmith
S-1-5-21-1273750850-484487853-1026460749-1120 SID_USER (1)
wbinfo -S S-1-5-21-1273750850-484487853-1026460749-1120
1000006
ldbsearch
sudo ldbsearch -H
2012 Dec 27
1
Samba4: ldapcmp incorrectly reporting some attributes as missing on secondary controller
Hi,
I have a domain with a single Windows 2003 DC running. Today I created
a Samba4 DC (using 4.0.0 release) and asked it to join the existing
domain as an additional controller. Replication of both the objects
and dns entries appears to be working well, and the usual tests of
adding a user to one and confirming it is available in the other is
similarly working.
However, the `ldapcmp` tool
2023 Oct 28
1
query account expired state
Op 28-10-2023 om 13:22 schreef Rowland Penny via samba:
> On Sat, 28 Oct 2023 11:54:34 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>> Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
>>> On Fri, 27 Oct 2023 23:48:22 +0200
>>> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>>>
>>>> Hi