[Samba] configuring Shares, Users with Samba 4.0.5 as an AD DC

Ulrich Schneider man at ulrichschneider.de
Mon May 20 03:29:00 MDT 2013


> Hi
> Try winbind:
>
> /etc/nsswitch.conf
> passwd:          files winbind
> group:           files winbind
>
>   ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib/libnss_winbind.so
>   ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2
>
>   ln -s /usr/local/samba/lib/pam_winbind.so /lib/security
>
> Does getent passwd return any AD users?

No!

I#ve done the changes like you suggested above ...
Still getting the following output:

uli at uli-sd30v10:/usr/local/samba/etc$ wbinfo -u
uli at uli-sd30v10:/usr/local/samba/etc$ sudo net rpc join -U Administrator
cannot join as standalone machine
uli at uli-sd30v10:/usr/local/samba/etc$ sudo net ads join -U Administrator
Host is not configured as a member server.
Invalid configuration.  Exiting....
Failed to join domain: This operation is only allowed for the PDC of the 
domain.
uli at uli-sd30v10:/usr/local/samba/etc$



More information about the samba mailing list