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

wong lmark lmark1834 at gmail.com
Sun May 19 04:02:13 MDT 2013


I read a article "http://www.smilingsouls.net/blog/linux/ad_integration.html
"
Just for reference.


2013/5/19 Ulrich Schneider <man at ulrichschneider.de>

> I don't have a clue ... just want to make samba and windows ad work
>
> uli at uli-sd30v10:/data$ 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:/data$ cat /etc/nsswitch.conf
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
>
> passwd:         compat
> group:          compat
> shadow:         compat
>
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
>
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
>
> netgroup:       nis
> uli at uli-sd30v10:/data$
>
>
> Am 19.05.2013 11:53, schrieb steve:
>
>> On Sun, 2013-05-19 at 11:30 +0200, Ulrich Schneider wrote:
>>
>>> Looks to me like "valid users" is not working.
>>>
>>
>>          valid users = @samdom+schueler
>>>
>>> [lehrer]
>>>         path = /data/lehrer
>>>         comment = Lehrer
>>>         read only = no
>>>         valid users = @samdom+lehrer
>>>
>>
>> Hi
>> samdom is a domain
>> I don't understand. wbinfo lists no users r groups. Do you want everyone
>> in the domain to have access?
>>
>> This would make sense:
>> valid users = @uli+someone-else
>>
>> What do you have in /etc/nsswitch.conf?
>>
>> One of the reasons I run away from smb.conf!
>> Steve
>>
>>  --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>


More information about the samba mailing list