Displaying 20 results from an estimated 30 matches for "gsurfnet".
2016 Aug 01
3
Unlock domain user
On 01/08/16 20:29, Anderson Hoffmann do Carmo wrote:
> I executed the command in two scenarios.
>
> Account 'user1' unlocked:
>
> root at gteste2:~#
> root at gteste2:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b
> "dc=testead,dc=gsurfnet,dc=com" -s sub
> '(&(objectclass=user)(samaccountname=user1))' lockoutTime
> # record 1
> dn: CN=user1,OU=TESTE,DC=testead,DC=gsurfnet,DC=com
> lockoutTime: 0
>
> # Referral
> ref: ldap://
> testead.gsurfnet.com/CN=Configuration,DC=testead,DC=gsurfnet,DC=com...
2016 Aug 01
2
Unlock domain user
On 01/08/16 18:27, Rowland penny wrote:
> On 01/08/16 18:04, Anderson Hoffmann do Carmo wrote:
>> Hi Rowland.
>>
>> The command (samba-tool user enable 'user') is used to enable a user
>> account that has been disabled in AD, but it is not functional to
>> unlock a
>> user account that has been locked by wrong password.
>>
>>
>>
2016 Aug 01
0
Unlock domain user
...n 01/08/16 20:29, Anderson Hoffmann do Carmo wrote:
>
>> I executed the command in two scenarios.
>>
>> Account 'user1' unlocked:
>>
>> root at gteste2:~#
>> root at gteste2:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b
>> "dc=testead,dc=gsurfnet,dc=com" -s sub
>> '(&(objectclass=user)(samaccountname=user1))' lockoutTime
>> # record 1
>> dn: CN=user1,OU=TESTE,DC=testead,DC=gsurfnet,DC=com
>> lockoutTime: 0
>>
>> # Referral
>> ref: ldap://
>> testead.gsurfnet.com/CN=Configurati...
2016 Aug 01
0
Unlock domain user
I executed the command in two scenarios.
Account 'user1' unlocked:
root at gteste2:~#
root at gteste2:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b
"dc=testead,dc=gsurfnet,dc=com" -s sub
'(&(objectclass=user)(samaccountname=user1))' lockoutTime
# record 1
dn: CN=user1,OU=TESTE,DC=testead,DC=gsurfnet,DC=com
lockoutTime: 0
# Referral
ref: ldap://
testead.gsurfnet.com/CN=Configuration,DC=testead,DC=gsurfnet,DC=com
# Referral
ref: ldap://
testead.gsurf...
2016 Jul 11
5
Demote Win2008R2 DC Fail
...ing DCPROMO.EXE on Windows Server
The output of command, no errors. (CN=GTESTE2 = Samba DC)
root at gteste2:/anderson#
root at gteste2:/anderson# *samba-tool fsmo show*
SchemaMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
InfrastructureMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
RidAllocationMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=g...
2016 Jul 11
1
Demote Win2008R2 DC Fail
...mann
2016-07-11 16:13 GMT-03:00 Jason Waters <jason at geeknocity.com>:
> So you transfer all the fsmo roles and then when you are running dcpromo
> on the 2008 DC it fails, correct?
>
> On Mon, Jul 11, 2016 at 3:04 PM, Anderson Hoffmann do Carmo <
> anderson.hoffmann at gsurfnet.com> wrote:
>
>> I am transfer using 'samba-tool fsmo transfer --role=all
>> I am try demote Windows using DCPROMO.EXE on Windows Server
>> The output of command, no errors. (CN=GTESTE2 = Samba DC)
>>
>> root at gteste2:/anderson#
>> root at gteste2:/an...
2016 Jul 12
1
Demote Win2008R2 DC Fail
...>
> The output of command, no errors. (CN=GTESTE2 = Samba DC)
>
> root at gteste2:/anderson#
> root at gteste2:/anderson# *samba-tool fsmo show*
> SchemaMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
> InfrastructureMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
> RidAllocationMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configura...
2016 Jul 11
0
Demote Win2008R2 DC Fail
So you transfer all the fsmo roles and then when you are running dcpromo on
the 2008 DC it fails, correct?
On Mon, Jul 11, 2016 at 3:04 PM, Anderson Hoffmann do Carmo <
anderson.hoffmann at gsurfnet.com> wrote:
> I am transfer using 'samba-tool fsmo transfer --role=all
> I am try demote Windows using DCPROMO.EXE on Windows Server
> The output of command, no errors. (CN=GTESTE2 = Samba DC)
>
> root at gteste2:/anderson#
> root at gteste2:/anderson# *samba-tool fsmo sho...
2016 Jul 07
4
FSMO Transfer fail
...s,
​Anderson Hoffmann​
2016-07-07 16:43 GMT-03:00 Jason Waters <jason at geeknocity.com>:
> try
> samba-tool fsmo transfer --role=all -UAdministrator
>
> And see if that works.
>
> On Thu, Jul 7, 2016 at 2:57 PM, Anderson Hoffmann do Carmo <
> anderson.hoffmann at gsurfnet.com> wrote:
>
>> Hi for All!
>>
>> I am using a Windows Server 2008R2 as primary DC and a Ubuntu Server 16.04
>> as secundary DC with Samba 4.3.9 (from repository/apt-get).
>> During a migration test of FSMO roles I received an error from Samba:
>>
>>...
2016 Jul 08
0
FSMO Transfer fail
...ss-ncs ./fsmofixforestdns.ldif*
Modified 1 records successfully
root at gteste2:/anderson#
root at gteste2:/anderson#
*root at gteste2:/anderson# samba-tool fsmo show*
SchemaMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
InfrastructureMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
RidAllocationMasterRole owner: CN=NTDS
Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=g...
2016 Jul 11
0
Demote Win2008R2 DC Fail
...tput of command, no errors. (CN=GTESTE2 = Samba DC)
>
> root at gteste2:/anderson#
> root at gteste2:/anderson# *samba-tool fsmo show*
> SchemaMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
> InfrastructureMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
> RidAllocationMasterRole owner: CN=NTDS
> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Si...
2016 Jul 11
2
Demote Win2008R2 DC Fail
Hi.
I am using a Windows Server 2008R2 as primary DC and a Ubuntu Server 16.04
as secundary DC with Samba 4.3.9 (from repository/apt-get)
I am transfered FSMO rules to Samba and I am try to demote Windows, but
fail!
The error is:
The operation failed:
The active directory domain services could not find another domain
controller to transfer the remaining data on the partition
2016 Jul 07
2
FSMO Transfer fail
...n2.7/dist-packages/samba/netcmd/fsmo.py", line 43, in
get_fsmo_roleowner
master_owner = res[0]["fSMORoleOwner"][0]
root at gteste2:~#
My samba config is:
root at gteste2:~# cat /etc/samba/smb.conf
# Global parameters
[global]
workgroup = TESTEAD
realm = testead.gsurfnet.com
netbios name = GTESTE2
interfaces = lo ens33
bind interfaces only = Yes
server role = active directory domain controller
dns forwarder = 8.8.8.8
[netlogon]
path = /var/lib/samba/sysvol/testead.gsurfnet.com/scripts
read only = No
[sysvol]...
2016 Jul 11
2
Demote Win2008R2 DC Fail
...s. (CN=GTESTE2 = Samba DC)
>>
>> root at gteste2:/anderson#
>> root at gteste2:/anderson# *samba-tool fsmo show*
>> SchemaMasterRole owner: CN=NTDS
>>
>> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
>> InfrastructureMasterRole owner: CN=NTDS
>>
>> Settings,CN=GTESTE2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testead,DC=gsurfnet,DC=com
>> RidAllocationMasterRole owner: CN=NTDS
>>
>> Settings,CN=GTESTE2,CN=Servers,CN=Def...
2016 Jul 07
0
FSMO Transfer fail
what do you get when you do samba-tool fsmo show,
also try samba-tool fsmo transfer --role=all -UAdministrator
--password=yourpassword
On Thu, Jul 7, 2016 at 3:49 PM, Anderson Hoffmann do Carmo <
anderson.hoffmann at gsurfnet.com> wrote:
> Fail! :-(
>
> root at gteste2:~# samba-tool fsmo transfer --role=all -UAdministrador
> FSMO transfer of 'rid' role successful
> FSMO transfer of 'pdc' role successful
> FSMO transfer of 'naming' role successful
> FSMO transfer of 'i...
2016 Jul 07
0
FSMO Transfer fail
try
samba-tool fsmo transfer --role=all -UAdministrator
And see if that works.
On Thu, Jul 7, 2016 at 2:57 PM, Anderson Hoffmann do Carmo <
anderson.hoffmann at gsurfnet.com> wrote:
> Hi for All!
>
> I am using a Windows Server 2008R2 as primary DC and a Ubuntu Server 16.04
> as secundary DC with Samba 4.3.9 (from repository/apt-get).
> During a migration test of FSMO roles I received an error from Samba:
>
> root at gteste2:~# samba-tool f...
2016 Jul 07
1
FSMO Transfer fail
...<jason at geeknocity.com>:
> what do you get when you do samba-tool fsmo show,
>
> also try samba-tool fsmo transfer --role=all -UAdministrator
> --password=yourpassword
>
>
>
> On Thu, Jul 7, 2016 at 3:49 PM, Anderson Hoffmann do Carmo <
> anderson.hoffmann at gsurfnet.com> wrote:
>
>> Fail! :-(
>>
>> root at gteste2:~# samba-tool fsmo transfer --role=all -UAdministrador
>> FSMO transfer of 'rid' role successful
>> FSMO transfer of 'pdc' role successful
>> FSMO transfer of 'naming' role successful...
2016 Jul 12
1
Demote Win2008R2 DC Fail
...hnet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3
"
*Very thanks for all!*
Anderson Hoffmann do Carmo
MCP | MTA | MCDST | MCTS | MCSA | MS | MOS |
ITIL-F | ISFS | CLOUDF | CI-SCS | VCA-DCV |
2016-07-12 9:55 GMT-03:00 Anderson Hoffmann do Carmo <
anderson.hoffmann at gsurfnet.com>:
> I will test this
> Thanks ;-)
>
> Anderson Hoffmann do Carmo
> MCP | MTA | MCDST | MCTS | MCSA | MS | MOS |
> ITIL-F | ISFS | CLOUDF | CI-SCS | VCA-DCV |
>
>
>
> 2016-07-12 9:45 GMT-03:00 Rowland penny <rpenny at samba.org>:
>
>> On 12/07/16...
2016 Aug 01
4
Unlock domain user
Hi Rowland.
The command (samba-tool user enable 'user') is used to enable a user
account that has been disabled in AD, but it is not functional to unlock a
user account that has been locked by wrong password.
Anderson Hoffmann do Carmo
MCP | MTA | MCDST | MCTS | MCSA | MS | MOS |
ITIL-F | ISFS | CLOUDF | CI-SCS | VCA-DCV |
2016-08-01 13:51 GMT-03:00 Rowland penny <rpenny at
2016 Aug 01
0
Unlock domain user
Type the command pdbedit -Lvu username , what does it show on the Account Flags field?
----- Original Message -----
From: "Anderson Hoffmann do Carmo" <anderson.hoffmann at gsurfnet.com>
To: "samba" <samba at lists.samba.org>
Sent: Monday, August 1, 2016 2:04:48 PM
Subject: Re: [Samba] Unlock domain user
Hi Rowland.
The command (samba-tool user enable 'user') is used to enable a user
account that has been disabled in AD, but it is not functional to...