[Samba] wbinfo work getent passwd does

L.P.H. van Belle belle at bazuin.nl
Thu Apr 22 06:17:53 UTC 2021


Did you run : net cache flush  ? 

Verify if nsswitch.conf is correct. 
groupType: -2147483646 << thats a pointer its not. 

I suggest you run my debugscript and post that, maybe there more off. 

https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh 

And post the output.  

Greetz, 

Louis

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> basti via samba
> Verzonden: woensdag 21 april 2021 18:31
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] wbinfo work getent passwd does
> 
> 
> 
> On 21.04.21 16:41, Rowland penny via samba wrote:
> > On 21/04/2021 15:30, basti via samba wrote:
> >> dc1:~# ldbsearch -H ldap://$(hostname -s) 
> >> '(&(objectCategory=group)(cn=Domain Users))' -P
> >> # record 1
> >> dn: CN=Domain Users,CN=Users,DC=samdom,DC=example,DC=com
> >> objectClass: top
> >> objectClass: group
> >> cn: Domain Users
> >> description: All domain users
> >> instanceType: 4
> >> whenCreated: 20200116093420.0Z
> >> whenChanged: 20200116093420.0Z
> >> uSNCreated: 3622
> >> uSNChanged: 3622
> >> name: Domain Users
> >> objectGUID: a37f673e-fe36-4a84-a748-9de66aba51ff
> >> objectSid: S-1-5-21-1732978637-3172972945-805327809-513
> >> sAMAccountName: Domain Users
> >> sAMAccountType: 268435456
> >> groupType: -2147483646
> >> objectCategory: 
> CN=Group,CN=Schema,CN=Configuration,DC=samdom,DC=example,
> >> DC=com
> >> isCriticalSystemObject: TRUE
> >> memberOf: CN=Users,CN=Builtin,DC=samdom,DC=example,DC=com
> >> distinguishedName: CN=Domain 
> Users,CN=Users,DC=samdom,DC=example,DC=com
> > 
> > 
> > I quote what I posted earlier:
> > 
> > Also, does Domain Users have a gidNumber attribute 
> containing a number
> > inside the same range.
> > 
> > Well, the above proves that you haven't, so that is your 
> problem, you 
> > MUST give Domain Users a gidNumber attribute containing a 
> number inside 
> > the 7000-20000 range you set in your smb.conf
> > 
> > Rowland
> > 
> > 
> > 
> 
> Problem still exist.
> 
> dc1:~# getent passwd iustest
> samdom\iustest:*:7099:100::/home/samdom/iustest:/bin/false
> 
> 
> root at dc1:~# ldbsearch -H ldap://$(hostname -s) 
> '(&(objectCategory=group)(cn=Domain Users))' -P
> # record 1
> dn: CN=Domain Users,CN=Users,DC=samdom,DC=example,DC=com
> cn: Domain Users
> comscription: All domain users
> instanceType: 4
> whenCreated: 20200116093420.0Z
> uSNCreated: 3622
> name: Domain Users
> objectGUID: a37f673e-fe36-4a84-a748-9com66aba51ff
> objectSid: S-1-5-21-1732978637-3172972945-805327809-513
> sAMAccountName: Domain Users
> sAMAccountType: 268435456
> groupType: -2147483646
> objectCategory: 
> CN=Group,CN=Schema,CN=Configuration,DC=samdom,DC=example,
>   DC=com
> isCriticalSystemObject: TRUE
> objectClass: top
> objectClass: posixGroup
> objectClass: group
> msSFU30NisDomain: samdom
> gidNumber: 30000
> whenChanged: 20210421162121.0Z
> uSNChanged: 2504485
> distinguishedName: CN=Domain 
> Users,CN=Users,DC=samdom,DC=example,DC=com
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list