DEV Community

Duygu Ölmez for Açıklab

Posted on • Edited on

4 1

Samba DC Kendi Domaininden Login Olma

Centos 8 üzerinde derlenmiş bir sambayı kendi domain kullanıcıları ile login edebilmek için aşağıdaki işlemleri yapmak gerekmekte. Centos 8 üzerinde samba derlemek için Centos 8 Samba DC Derleme'den yararlanılabilir.

  • smb.conf düzenlenir. Aşağıdaki gibi gözükmelidir.
# Global parameters
[global]
    dns forwarder = 8.8.8.8
    netbios name = SAMBADC02
    realm = EXAMPLE.LAB
    server role = active directory domain controller
    workgroup = EXAMPLE
    idmap_ldb:use rfc2307 = yes

### Buradan sonrasi eklenir ##########
    winbind refresh tickets = yes
    vfs objects = acl_xattr
    map acl inherit = Yes
    store dos attributes = Yes
    dedicated keytab file = /etc/krb5.keytab
    kerberos method = secrets and keytab
    winbind use default domain = yes
    winbind enum users = yes
    winbind enum groups = yes
    template shell = /bin/bash
    template homedir = /home/%U
    idmap config * : backend = tdb
    idmap config * : range = 3000-7999
##### Eklenecek kısım SON ##############

[sysvol]
    path = /var/lib/samba/sysvol
    read only = No

[netlogon]
    path = /var/lib/samba/sysvol/example.lab/scripts
    read only = No
Enter fullscreen mode Exit fullscreen mode
  • samba servisi yeniden başlatılır.
systemctl restart samba4
Enter fullscreen mode Exit fullscreen mode
  • İlk defa giriş yapılan kullanıcının ev dizninin oluşması için ilgili paket yüklenir ve ayarlanır.
authselect select winbind with-mkhomedir --force
yum install -y oddjob oddjob-mkhomedir
systemctl start oddjobd.service
systemctl enable oddjobd.service
Enter fullscreen mode Exit fullscreen mode

Image of AssemblyAI tool

Challenge Submission: SpeechCraft - AI-Powered Speech Analysis for Better Communication

SpeechCraft is an advanced real-time speech analytics platform that transforms spoken words into actionable insights. Using cutting-edge AI technology from AssemblyAI, it provides instant transcription while analyzing multiple dimensions of speech performance.

Read full post

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay