[Samba] failed to set machine spn: Operations error

rajat swarup rajats at gmail.com
Sat Sep 4 22:33:57 MDT 2010

On Fri, Sep 3, 2010 at 3:36 AM, rajat swarup <rajats at gmail.com> wrote:
> On Wed, Sep 1, 2010 at 5:00 PM, Michael Wood <esiotrot at gmail.com> wrote:
>> A quick search on google for that error turns up lots of hits, but I
>> have not looked at any to see if there were solutions.
> No luck yet!
> Could this have something to do with Kerberos or LDAP?   The account
> used for executing this command is a domain admin account.  net rpc
> join works but not net ads join.  Does anyone see what could be going
> wrong here?

WOW...I've finally figured it out.  The /lib/libnss_winbind.so.2 file
has to have a symbolic link which was missing after the upgrade.
[/lib] # ln -s libnss_winbind.so.2  libnss_winbind.so

Once I reinstated this link, I issued net rpc join command (which was
always working) then restarted winbindd and voila it works! :-)

Thanks to all who helped!
Rajat Swarup

More information about the samba mailing list