search for: getent

Displaying 20 results from an estimated 4575 matches for "getent".

2011 Jun 06
2
getent passwd does not list trusted users
...accounts, idmapping for domain trusts.) The Samba server is a PDC for a domain we can call "SAMBA." Each samba account is tied to a unix account. I have a one-way domain trust setup with a Windows 2003 domain which we can call "WIN2003." SAMBA trusts WIN2003. "getent passwd" and "getent group" seem to fundamentally be working (depending on syntax) BUT "getent passwd" does NOT list trusted users. On the solaris machine: ------------------------------------------------------------------------------------------------------------------...
2015 Feb 24
4
getent passwd not return the same number of records from a call to another call
Hello On AD Server : -------------------- We have migrated from S3 to S4 with samba-tools classicupgrade. All is ok : bind9, winbind but getent has a strange behavior. getent passwd doesn't return the same number of records. So a AD user can be not present in the response of getent !!!! it can have a big difference of records returned from a call to another call of getent passwd ... On the other hand, wbinfo -u returns always the...
2019 May 14
2
"getent passwd" works, "getent passwd username" does not
Domain member server (Debian stretch with 4.8 from the Van Belle repo) getent passwd| grep nprice GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false getent passwd GIBB\\nprice (returns nothing) getent passwd 1001104 also returns nothing wbinfo -u works fine wbinfo --uid-info 1001104 GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false wbinfo -i GIBB\\n...
2019 Dec 05
5
security = ads, backend = ad parameter not working in samba 4.10.10
On Thu, 2019-12-05 at 17:15 +0000, Rowland penny via samba wrote: > On 05/12/2019 17:00, S?rgio Basto wrote: > > On Thu, 2019-12-05 at 10:15 +0000, Rowland penny via samba wrote: > > > On 05/12/2019 06:16, S?rgio Basto wrote: > > > > Sorry , I spoke too soon getent passwd "a new user to this > > > > server" > > > > doesn't work . > > > > But wbinfo -u or wbinfo -g always worked perfectly in any case > > > > , > > > > why > > > > getent don't ? > > > > > &...
2019 Dec 05
2
security = ads, backend = ad parameter not working in samba 4.10.10
On Thu, 2019-12-05 at 10:15 +0000, Rowland penny via samba wrote: > On 05/12/2019 06:16, S?rgio Basto wrote: > > Sorry , I spoke too soon getent passwd "a new user to this server" > > doesn't work . > > But wbinfo -u or wbinfo -g always worked perfectly in any case , > > why > > getent don't ? > > > If 'wbinfo -u' works, 'getent passwd username' doesn't, then it > po...
2016 Nov 24
5
getent only displays local users & groups
I have read numerous posts regarding this issue without finding a resolution. I have a fresh Samba AD DC & a Samba Member server. the member server has been setup using idmap config ad wbinfo -u & wbinfo -g both work and list the domain users & groups getent passwd & getent group both only display the local member server users and groups >From what I have read I understand getent passwd & getent group should display the domain users & groups. "getent passwd administrator" returns nothing Any help would be greatly appreciated....
2016 Jan 31
2
getent not listing domain accounts
...ote: > >> On 30 January 2016 at 23:16, Rowland penny <rpenny at samba.org> wrote: >> >> >> Thanks Rowland (once again) >> >> with the usermapping in the smb.conf file and it's associated file there >> are still no domain accounts returned from getent (user or group) >> > > The root usermapping has nothing to do with getent, but you need it on > domain member to change file & directory ACLs from a windows machine. > > >> Regarding UIDs & GIDs I understood the advantage of using RID what that >> there were...
2017 Aug 22
1
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
Does mdecker exist in AD ? => Yes root at solaris1:~# getent passwd "MYDOM.ADS\\mdecker" mdecker:*:13767:613::/home/mdecker:/bin/bash winbind log: getpwnam MYDOM.ADS\mdecker wb_request_done[24254:GETPWNAM]: NT_STATUS_OK Does 'getent passwd mdecker' work ? => No getent passwd mdecker getpwnam mdecker winbindd_getpwnam: My domain --...
2002 Oct 31
9
getent not working correctly
Hello again! Ok, I've gotten wbinfo -u and wbinfo -g working great Now I try to run getent passwd and getent group I get my local users/groups but not the ones on the Windows 2k Server Domain Controller and it just hangs after listing the local ones. I also tried authenticating a user and it worked I'm assuming wbinfo -a DOMAIN+ingless@DOMAIN%"password" (The usernames her...
2015 Jan 09
3
Member Server SeDiskOperatorPrivilege
Definitely. With backend=ad only two user can be seen by getent passwd. Then changing backend=rid, all users are resolved by getent passwd Am 9. Januar 2015 17:09:19 MEZ, schrieb Rowland Penny <rowlandpenny at googlemail.com>: >On 09/01/15 15:45, Tim wrote: >> That's what I tried to say. I set the gid/uid attribs in Unix tab. >> >&g...
2017 Aug 22
2
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
Thanks Rowland and Louis, after changing from ad to rid, i get all users listed with "getent passwd", not just the ones with uidNumber - which is good. But "getent passwd MYDOM\\mdecker" still does not resolve. In addition, no groups are listed with "getent group". Looking at winbindd debug, it seems that after trying getgrsid on the very first group "Exchange...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
really, this getent with grep should not return anyting. because : 700001 is not 70001 ;-) >getent group | grep 700001 gives : >domain users:x:70001: >info:x:70001:toto,titi,tutu exist both groups only in the AD DC directory, or are ther also linux groups here. are both assigned a GID how? Greetz,...
2010 Jul 23
0
winbind ADS getent passwd fails, getent passwd <username> works, getent group gives partial list
...ine on both (can kinit whatever user I want in the realm.) LDAP browse of AD works fine on both servers, and the LDAP password defined in ldap.conf (and ldap.secret) for the ldap bind users is the same on both. On the first, working server: wbinfo-u and wbinfo-g enumerate all AD users and groups. getent passwd enumerates all local and all AD users. Users without UID already assigned get one assigned from the range for the idmap config for the domain getent group enumerates all local and AD groups. Groups without GID already assigned get one assigned from the range for the idmap config for the d...
2017 Apr 25
2
Setting up a Share Using Windows ACLs
...space and updating smb.conf returned the "Security" tab in >> RSAT Computer Management. >> When I changed the name back to having a space the Security tab >> disappeared again. >> > > This is a Unix thing, you cannot have a space in anything i.e. > > getent group Domain Users > > will not work, but: > > getent group "Domain Users" > > will. > > Rowland root at aphrodite:~# getent group "Domain Admins" domain admins:x:10001: root at aphrodite:~# getent group Domain\ Admins domain admins:x:10001: root at...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
I know that ID. I had this 70001 too sometime. It was a cache problem. Try "net cache flush" and after this getent once more. This should work. Regards Tim Am 25. Februar 2015 09:45:40 MEZ, schrieb "Herv? H?noch" <h.henoch at isc84.org>: >Both groups are Samba groups > >wbinfo --group-info gives for each group : >GID of domain users is 513 >GID of info is 3000023 > >Why if...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
...idmap config DOMAIN : backend = ad idmap config DOMAIN : schema-_mode = rfc2307 idmap config DOMAIN : range = 10000-999999 winbind nss info = rfc2307 winbind trusted domains only = no winbind use default domain = yes winbind enum users = yes winbind enum groups = yes winbind refresh tickets = yes getent group | grep 700001 gives : domain users:x:70001: info:x:70001:toto,titi,tutu Same group id !!! Le 24/02/2015 21:34, Tim a ?crit : > Hello Herv?, > > what's your way of resolution? Are you using winbind, sssd,...? > > Regards > Tim > > Am 24. Februar 2015 20:53:15 ME...
2020 Aug 17
3
getent passwd blank response
Hai, > I have an issue that "getent passwd SAMDOM\usrname" returns a blank response. And > Running "getent passwd" returns all the local users. Both results "are" correct. But have you tried this : getent passwd "SAMDOM\username" And does id username still work ;-) Greetz, Louis >...
2014 Oct 23
1
Samba4: "MYDOM\Administrator" quite useless on a member server?
...compat winbind My questions are: (1.) "wbinfo -p", "wbinfo -u" and "wbinfo -g" executed on the member server all are returning correct and expected results. From "wbinfo -u" and "wbinfo -g" I get all the available AD users+groups. From "getent passwd" I get only the AD users, for which a uid on the UNIX attribute exist, in that case "testuser1" is displayed correctly. But when I run "getent group" I don't get the group "Domain Users" although this group also has a gid assigned. The strange thing is...
2010 May 04
2
Getent passwd and getent group fail / Samba 3.5.2
Hi all, I just stepped over a problem where I can't add a local user to an AD group. Running getent passwd and getent group doesn't display the AD users. Wbinfo -g and -u work fine. Here is my smb.conf: [global] netbios name = sles11test1 realm = SOMEDOMAIN.NET workgroup = SOMEDOMAIN security = ADS encrypt passwords = yes password server = some...
2019 Mar 04
2
getent not working after installing firewall
...even have to > > > > > > > > reboot them. Windows Users can log in, they have their > > > > > > > > redirected folders, etc. > > > > > > > > > > > > > > > > Having a problem on Linux. When I run 'getent passwd' it > > > > > > > > returns only the list of users in /etc/passwd on the > > > > > > > > AD/DC. No domain users are returned. 'getent passwd > > > > > > > > <domainuser>' return status 2. > > >...