[Samba] New ADC configuration

steve steve at steve-ss.com
Tue Jul 16 10:18:25 MDT 2013


On Tue, 2013-07-16 at 12:04 -0400, Matthew Daubenspeck wrote:
> On Tue, Jul 16, 2013 at 04:42:48PM +0100, Rowland Penny wrote:
> >    Hi, Have you given your users & groups a uidNumber and/or gidNumber on
> >    the server?
> >    Rowland
> 
> Is that something that has to be done with ADUC? I have added all the
> test users with samba-tool. This is all on the server:
> 
> # wbinfo -n testuser
> S-1-5-21-2599942137-598557555-1723227496-1110 SID_USER (1)
> 
> # wbinfo -S S-1-5-21-2599942137-598557555-1723227496-1110
> 3000028
> 

No, you don't have to use ADUC. Just add the entry:
uidNumber: 3000028
to the directory.

An easy way to do that is to use ldbedit:
ldbedit --url=/usr/local/samba/private/sam.ldb cn=testuser

Now getent will work.
hth
Steve




More information about the samba mailing list