Displaying 7 results from an estimated 7 matches for "uf_normal_account".
2017 Jun 27
0
[PATCH] samba-tool: Easily edit a users object in AD
...:
> > On Tue, 27 Jun 2017 17:57:10 +0300
> > Alexander Bokovoy <ab at samba.org> wrote:
> >
> > > On ti, 27 kesä 2017, Rowland Penny via samba-technical wrote:
> > > > > >
> > > > > > "sAMAccountType=%d"... % (dsdb.UF_NORMAL_ACCOUNT,...
> > > > > >
> > > > > > 'pydoc samba.dsdb' shows this:
> > > > > >
> > > > > > UF_NORMAL_ACCOUNT = 512
> > > > > >
> > > > > > This means that the filter will become:
>...
2013 May 28
3
userAccountControl can't be set to 0x800002 (8388610, UF_ACCOUNTDISABLED | UF_PASSWORDEXPIRED):"samldb: Unrecognized account type"
We have a third party mail system which can write/read accounts to/from AD using ldaps protocol, it works fine with active directory of windows server 2003.
When I test the mail system with samba4 DC, I can't disable user from the mail system, because the mail system write 0x800002 (8388610,UF_ACCOUNTDISABLED | UF_PASSWORDEXPIRED) to userAccountControl field of AD/samba4, and samldb returns
2019 Apr 06
2
"00002020: Operation unavailable without authentication" using python-ldap
Hello,
I'm writing in regards to this issue I opened on GitHub:
https://github.com/python-ldap/python-ldap/issues/275
I am able to successfully use ldapsearch to query my Samba 4.9.4-Debian DC:
ldapsearch -LLL -Y GSSAPI -H ldap://samba-dc.ad.example.com -b
"dc=ad,dc=example,dc=com" "(objectClass=user)" "sAMAccountName"
However, when I try to use python-ldap I
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...dentials=creds, lp=lp)
domain_dn = samdb.domain_dn()
res = samdb.search(domain_dn, scope=ldb.SCOPE_SUBTREE,
expression=("(&(objectClass=user)(userAccountControl:%s:=%u))"
% (ldb.OID_COMPARATOR_AND, dsdb.UF_NORMAL_ACCOUNT)),
attrs=["samaccountname"])
if (len(res) == 0):
return
for msg in res:
self.outf.write("%s\n" % msg.get("samaccountname", idx=0))
You may just be trying to reinvent the wheel ;-)
Rowland
2012 Dec 08
1
Winbind losing Trust with the AD domain
Hi list !
I've been trying to get a fileserver with kerberised NFS4 and Samba going on a RHEL 6.3 box, with a 2k8r2 AD backend, using the rpm's provided by Redhat. (3.5.10-125) I also tried the rpms from sernet (both 3.6 and 3.5) with no success...
The Join to the domain works:
# net ads join createcomputer="Servers/LINUX systems"
2004 Mar 06
2
citrix stores addition information into SAM on pdc
hi,
we want to replace our nt4 pdc/bdc with samba and we use windows nt4 terminal servers with citrix in our environment.
as far as i know, we will get a problem here. (extensiver reading of the mailing list led me to this conclusion)
regarding: http://ma.ph-freiburg.de/tng/tng-users/2001-05/msg00224.html
>Terminal Server has its own User Manager (which has an extra button -
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...=creds, lp=lp)
>
> domain_dn = samdb.domain_dn()
> res = samdb.search(domain_dn, scope=ldb.SCOPE_SUBTREE,
>
> expression=("(&(objectClass=user)(userAccountControl:%s:=%u))"
> % (ldb.OID_COMPARATOR_AND,
> dsdb.UF_NORMAL_ACCOUNT)),
> attrs=["samaccountname"])
> if (len(res) == 0):
> return
>
> for msg in res:
> self.outf.write("%s\n" % msg.get("samaccountname", idx=0))
>
> You may just be trying to reinv...