[Samba] classicupgrade
Rowland Penny
rpenny at samba.org
Fri Oct 26 12:49:04 UTC 2018
On Fri, 26 Oct 2018 14:25:52 +0200
Corrado Ravinetto via samba <samba at lists.samba.org> wrote:
>
>
> Il 26/10/2018 14:03, Rowland Penny via samba ha scritto:
> > ldbsearch -Hldap://$(hostname -s) -k yes -P
> > '(&(samaccountname=Domain Users)(gidNumber=*))' gidNumber | grep
> > gidNumber | awk '{print $NF}'
>
> [root at dc1 ~]# wbinfo --group-info='domain users'
> LXCERRUTI\domain users:x:100:
> [root at dc1 ~]# ldbsearch -H ldap://$(hostname -s) -k yes -P
> '(&(samaccountname=Domain Users)(gidNumber=*))' gidNumber | grep
> gidNumber | awk '{print $NF}'
> [root at dc1 ~]#
>
> nothing :-(
>
Then either you do not have the ldb-tools package installed or Domain
users does not have a gidNumber attribute.
Lets step back a bit, you upgraded from a PDC, is this correct ?
Please post the smb.conf from the PDC.
Rowland
More information about the samba
mailing list