Bug 12249 - samba-tool user add not add user tinto domain
Summary: samba-tool user add not add user tinto domain
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.4.5
Hardware: x64 Linux
: P5 critical (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-09-08 18:07 UTC by Carlos Hernández
Modified: 2021-01-09 15:57 UTC (History)
1 user (show)

See Also:

detail of the problem. (27.66 KB, image/jpeg)
2016-09-08 18:07 UTC, Carlos Hernández
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Hernández 2016-09-08 18:07:26 UTC
Created attachment 12454 [details]
detail of the problem.

when i use samba-tool user add the user is created succefully, but this is not added into a domain, appears into samba-tool user list but not in wbinfo -u
Comment 1 Carlos Hernández 2016-09-08 18:08:38 UTC
I am using ubuntu server 16.04 and samba 4.4.5
Comment 2 Stefan Metzmacher 2016-09-09 05:22:32 UTC
(In reply to Carlos Hernández from comment #1)

wbinfo -u does not list users by default, as "winbind enum users = no" is the default.

"wbinfo --user-info=user" should work for the new user,
if nsswitch.conf is configured to use winbind,
"getent passwd user" should also work
Comment 3 Stefan Metzmacher 2016-09-09 08:24:55 UTC
(In reply to Stefan Metzmacher from comment #2)

It seems my comment was wrong, sorry...
Comment 4 Rowland Penny 2021-01-09 15:57:00 UTC
I cannot make this fail, any user I add always appears immediately in the output of 'wbinfo -u', so closing this.