[Samba] Rename user
Carlos
carlos.hollow at gmail.com
Wed Apr 27 18:20:31 UTC 2022
Hi!
smb.conf
[global]
workgroup = XXXX
realm = GRUPO.XXXX.COM.BR
security = ADS
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config XXXX : backend = rid
idmap config XXXX : range = 100000-999999
allow trusted domains = yes
winbind use default domain = yes
winbind refresh tickets = Yes
winbind offline logon = no
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
template homedir = /home/%U
map to guest = bad user
guest ok = yes
Yes, i trie any porcess, like:
hat I already did, but if successful:
service winbind stop
service smbd stop
service nmbd stop
net cache flush
rm -f /var/lib/samba/*.tdb
rm -f /var/lib/samba/group_mapping.ldb
net ads join -U Administrator
service smbd start
service nmbd start
service winbind start
Regards
Em 27/04/2022 14:35, Rowland Penny via samba escreveu:
> On Wed, 2022-04-27 at 14:18 -0300, Carlos via samba wrote:
>> Hi!
>>
>>
>> Any ideia ?
>>
>>
>> Regards;
> Have you tried running 'net cache flush' ?
>
> It will help if you can post the (redacted if required) smb.conf.
>
> Rowland
>
>
>
More information about the samba
mailing list