Displaying 6 results from an estimated 6 matches for "manuelb".
Did you mean:
manuel
2018 Oct 17
2
NSS interface lists all domain users but gives error on single user
Hello,
i configured samba and winbind in order to let domain users access
folders shared by samba on linux. The configuration is shown later.
Please note that idmap is configured correctly:
root at kubuntu-test:~# wbinfo --user-info 'AGENZIA+manuelb'
AGENZIA+manuelb:*:5035:5002::/home/manuelb:/bin/bash
root at kubuntu-test:~# wbinfo -n 'AGENZIA+manuelb'
S-1-5-21-1076504413-1754488879-1808648030-2183 SID_USER (1)
root at kubuntu-test:~# wbinfo --sid-to-uid 'S-1-5-21-1076504413-1754488879-1808648030-2183'
5035
as you may see...
2018 Oct 17
0
NSS interface lists all domain users but gives error on single user
....org> wrote:
> Hello,
> i configured samba and winbind in order to let domain users access
> folders shared by samba on linux. The configuration is shown later.
>
> Please note that idmap is configured correctly:
>
> root at kubuntu-test:~# wbinfo --user-info 'AGENZIA+manuelb'
> AGENZIA+manuelb:*:5035:5002::/home/manuelb:/bin/bash
> root at kubuntu-test:~# wbinfo -n 'AGENZIA+manuelb'
> S-1-5-21-1076504413-1754488879-1808648030-2183 SID_USER (1)
> root at kubuntu-test:~# wbinfo --sid-to-uid
> 'S-1-5-21-1076504413-1754488879-1808648030-2183&...
2018 Oct 17
2
NSS interface lists all domain users but gives error on single user
...: range = 8000-20000
idmap config AGENZIA : backend = rid
I stopped the samba daemons, deleted the relevant tdb files, restarted
all daemons. I did not leave/join the domain again.
But I still have the same problem: "getent passwd" list all users,
while "getent passwd 'AGENZIA+manuelb'" does not give any results.
Thank you very much,
Giuseppe
2018 Oct 17
2
NSS interface lists all domain users but gives error on single user
Hello Rowland,
I changed nsswitch.conf as suggested, but I still have the same result.
[...]
> Providing the there is a user called 'manuelb' in AD, winbind should
> show the user with 'getent passwd AGENZIA+manuelb'
If I list all users, I get all users. Let's display the end of the list
using both wbinfo and getent:
root at kubuntu-test:~# wbinfo -u | tail -2
AGENZIA\lorenam
AGENZIA\manuelb
root at kubuntu-test:~#...
2018 Oct 17
0
NSS interface lists all domain users but gives error on single user
On Wed, 17 Oct 2018 21:22:42 +0200
Giuseppe Sacco via samba <samba at lists.samba.org> wrote:
> Hello Rowland,
> I changed nsswitch.conf as suggested, but I still have the same
> result.
>
> [...]
> > Providing the there is a user called 'manuelb' in AD, winbind should
> > show the user with 'getent passwd AGENZIA+manuelb'
>
> If I list all users, I get all users. Let's display the end of the
> list using both wbinfo and getent:
>
> root at kubuntu-test:~# wbinfo -u | tail -2
> AGENZIA\lorenam
>...
2018 Oct 17
0
NSS interface lists all domain users but gives error on single user
...nfig AGENZIA : backend = rid
>
> I stopped the samba daemons, deleted the relevant tdb files, restarted
> all daemons. I did not leave/join the domain again.
>
> But I still have the same problem: "getent passwd" list all users,
> while "getent passwd 'AGENZIA+manuelb'" does not give any results.
>
okay, try changing this in /etc/nsswitch.conf:
passwd: files winbind systemd
group: files winbind systemd
shadow: files winbind
To this:
NSS configuration is simple:
passwd: files winbind
group: files winbind...