Displaying 9 results from an estimated 9 matches for "local_oid".
Did you mean:
local_cid
2017 Apr 09
1
Samba 4 account with a 'ldbmodify-ed' password does not login into domain from a Windows 7 VM
...ssible
> > --
> > after set the password with 'ldbmodify'? Unfortunately I can't
> > get
> > this tested until tomorrow.
> >
>
> try using something like this in your script:
More like:
ldbmodify -H /usr/local/samba/private/sam.ldb --
controls=local_oid:1.3.6.1.4.1.7165.4.3.12:0 << EOF
dn: CN=User,CN=Users,DC=samdom,DC=example,DC=com
changetype: modify
replace: unicodePwd
unicodePwd:: xxxxxxxxxxxxxxxxxxxxxxxx
delete: supplementalCredentials
-
EOF
Should do it.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~aba...
2017 Apr 09
6
Samba 4 account with a 'ldbmodify-ed' password does not login into domain from a Windows 7 VM
Citando Andrew Bartlett <abartlet at samba.org>:
> On Fri, 2017-04-07 at 20:32 +0000, Leonardo Bruno Lopes via samba
> wrote:
>> Hi everyone!
>>
>> I have a LDAP with all my users' accounts, each one with the
>> sambaNTPassaword correctly defined. I also have a freshly installed
>> Samba
>> 4.2 running on a Debian 8.7 box.
>>
>> I
2019 Dec 05
2
security = ads, backend = ad parameter not working in samba 4.10.10
...9; > user-export2.ldif
> scp user-export2.ldif to_the_new_machine:
>
> in new machine :
>
> sed -i 's/DC=old_ad/DC=corp/g; s/old_ad.local/corp.local/g' user-export2.ldif
> sed -i bla bla user-export2.ldif
>
> ldbmodify -H /var/lib/samba/private/sam.ldb --controls=local_oid:1.3.6.1.4.1.7165.4.3.12:0 user-export2.ldif
>
Sorry, but it is more involved than that, you should have joined a new
DC, then demoted the old DC, you might have had to do this a few times
to move from Samba 4.x.x to a supported Samba version.
I am very surprised that this worked in any way at...
2017 Mar 30
4
possible memory leak in ldb module while dbcheck on RODC
An embedded and charset-unspecified text was scrubbed...
Name: memory_profiler.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20170330/f5d10ac9/memory_profiler.txt>
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
...e):
> > '''perform a modify with optional verbose output'''
> > if self.verbose:
> > self.report(self.samdb.write_ldif(m,
> ldb.CHANGETYPE_MODIFY))
> > try:
> > controls = controls + ["local_oid:%s:0" %
> > dsdb.DSDB_CONTROL_DBCHECK]
> > - self.samdb.modify(m, controls=controls, validate=validate)
> > +# self.samdb.modify(m, controls=controls, validate=validate)
> > except Exception, err:
> > if self.in_transacti...
2019 Dec 05
0
security = ads, backend = ad parameter not working in samba 4.10.10
...new_machine:
> >
> > in new machine :
> >
> > sed -i 's/DC=old_ad/DC=corp/g; s/old_ad.local/corp.local/g' user-
> > export2.ldif
> > sed -i bla bla user-export2.ldif
> >
> > ldbmodify -H /var/lib/samba/private/sam.ldb --
> > controls=local_oid:1.3.6.1.4.1.7165.4.3.12:0 user-export2.ldif
> >
> Sorry, but it is more involved than that, you should have joined a
> new
> DC, then demoted the old DC, you might have had to do this a few
> times
> to move from Samba 4.x.x to a supported Samba version.
>
> I am very...
2019 Dec 05
0
security = ads, backend = ad parameter not working in samba 4.10.10
...d,dc=local
'(objectClass=user)' > user-export2.ldif
scp user-export2.ldif to_the_new_machine:
in new machine :
sed -i 's/DC=old_ad/DC=corp/g; s/old_ad.local/corp.local/g' user-export2.ldif
sed -i bla bla user-export2.ldif
ldbmodify -H /var/lib/samba/private/sam.ldb --controls=local_oid:1.3.6.1.4.1.7165.4.3.12:0 user-export2.ldif
>
> > Rowland
> >
> >
> >
> --
> S?rgio M. B.
>
>
--
S?rgio M. B.
2019 Dec 05
5
security = ads, backend = ad parameter not working in samba 4.10.10
On Thu, 2019-12-05 at 17:15 +0000, Rowland penny via samba wrote:
> On 05/12/2019 17:00, S?rgio Basto wrote:
> > On Thu, 2019-12-05 at 10:15 +0000, Rowland penny via samba wrote:
> > > On 05/12/2019 06:16, S?rgio Basto wrote:
> > > > Sorry , I spoke too soon getent passwd "a new user to this
> > > > server"
> > > > doesn't work .
2017 Mar 31
0
possible memory leak in ldb module while dbcheck on RODC
...m, controls, msg, validate=True):
> '''perform a modify with optional verbose output'''
> if self.verbose:
> self.report(self.samdb.write_ldif(m, ldb.CHANGETYPE_MODIFY))
> try:
> controls = controls + ["local_oid:%s:0" %
> dsdb.DSDB_CONTROL_DBCHECK]
> - self.samdb.modify(m, controls=controls, validate=validate)
> +# self.samdb.modify(m, controls=controls, validate=validate)
> except Exception, err:
> if self.in_transaction:
>...