What is the difference between samba and sssd?

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…

Details

Is this the only way to implement the << operator or not?

Suppose that you have the following code: #include <iostream> template <typename T> class Example { public: Example() { }; Example(const T &_first_ele, const T &_second_ele) : first_(_first_ele), second_(_second_ele) { } friend std::ostream &operator<<(std::ostream &os, const Example &a) { return (os << a.first_ << ” ” << a.second_); } private: T first_; T second_; }; int…

Details