In my ubuntu workstation I use /etc/samba/smb.conf
and /etc/sssd/sssd.conf
with /etc/krb5.conf
in order to join active directory on a corporate network.
sudo service samba-ad-dc status
# inactive
sudo service sssd status
# active (running)
However I cannot yet tell what is the difference between samba and sssd. Can someone explain what are the differences between these two services and where do they overlap?
- Can sssd work even without samba. Does it directly read
smb.conf
? - How do they depend to each other?
I have read the documentation, but I need a simpler explanation.
I am presuming you are trying to log in your workstation using the domain credentials. For that, you do not need samba. You just need set up the sssd.
I don't know which packages are necessary in an ubuntu box, but the packages needed for a Red Hat Enterprise Linux based are these:
To join in the domain the command is this one:
The configuration file, as you mentioned, is this:
I find useful to add this options in the configuration file:
To enable the service:
Some useful commands:
To clear the cache:
To check if the workstation is member of a domain:
To check the status of the domain:
To leave the domain:
I hope you find this explanation useful.