Pavel Filipenský
51250c6142
s3:winbind: Change num_sids from int to uint32_t in wb_lookupuseraliases_send()
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
ef5090b3b6
s3:winbind: Change num_sids from int to uint32_t in wb_gettoken_recv()
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
d3b4940379
s3:winbind: Fix trailing whitespace in winbindd.h
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
f72f039027
s3:winbind: Improve logging in wb_sids2xids.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
5804a4c0bd
s3:winbind: Improve logging in wb_query_user_list.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
7d751d76b2
s3:winbind: Improve logging in wb_queryuser.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
bd1447cab2
s3:winbind: Improve logging in wb_query_group_list.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
68b8b98cba
s3:winbind: Improve logging in wb_next_pwent.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
9435a8bf9a
s3:winbind: Improve logging in wb_next_grent.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
513d9c34ce
s3:winbind: Improve logging in wb_lookupusergroups.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
b8f3dec0fc
s3:winbind: Improve logging in wb_lookupuseraliases.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
7b9bf8429e
s3:winbind: Improve logging in wb_lookupsids.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
6b4cbb3dad
s3:winbind: Improve logging in wb_lookupsid.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
5c0d8054cd
s3:winbind: Improve logging in wb_lookupname.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
bdd2ce0399
s3:winbind: Improve logging in wb_group_members.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
42ada8ed1c
s3:winbind: Improve logging in wb_gettoken.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
35df8fd826
s3:winbind: Improve logging in wb_getpwsid.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
bb801a7332
s3:winbind: Improve logging in wb_getgrsid.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
08e80f8763
s3:winbind: Improve logging in wb_dsgetdcname.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
d21d69e874
s3:winbind: Improve logging in samlogon_cache.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
f52eeb89f4
s3:winbind: Improve logging in winbindd_xids_to_sids.c
...
Test scenario in ad_dc:local test environment:
bin/wbinfo --unix-ids-to-sids=u100000
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
0f4c7404d6
s3:winbind: Improve logging in winbindd_wins_byname.c
...
Test scenario:
$ bin/wbinfo --WINS-by-name=ADDC
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
7a9bec6a67
s3:winbind: Improve logging in winbindd_wins_byip.c
...
Test scenario:
$ bin/wbinfo --WINS-by-ip=10.53.57.30
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
0f031024b1
s3:winbind: Improve logging in winbindd_sids_to_xids.c
...
Test scenario:
bin/wbinfo --sid-to-uid=S-1-5-21-1961314572-195468382-2567644205-1107
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
3c1d91cd5b
s3:winbind: Improve logging in winbindd_setpwent.c
...
Test scenario:
$ getent passwd
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
5eaabe0404
s3:winbind: Improve logging in winbindd_setgrent.c
...
Test scenario:
id ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
53d9cf7692
s3:winbind: Improve logging in winbindd_pam_logoff.c
...
Test scenario:
$ bin/wbinfo --logoff
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
4f63a3b731
s3:winbind: Improve logging in winbindd_pam_auth.c
...
Test scenario:
$ bin/wbinfo --pam-logon=ADDOMAIN/alice%Secret007
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
fff33f71bb
s3:winbind: Improve logging in winbindd_lookupname.c
...
Test scenario:
bin/wbinfo --name-to-sid=ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
6620a74ab1
s3:winbind: Improve logging in winbindd_list_users.c
...
Test scenario:
$ bin/wbinfo -u
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
4d081c7705
s3:winbind: Improve logging in winbindd_list_groups.c
...
Test scenario:
$ bin/wbinfo -g
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
2fbc57cfd1
s3:winbind: Improve logging in winbindd_getuserdomgroups.c
...
Test scenario:
$ bin/wbinfo --user-domgroups `bin/wbinfo -n ADDOMAIN/alice | awk '{print $1}'`
S-1-5-21-2260029349-2102976898-3003119-1107
S-1-5-21-2260029349-2102976898-3003119-513
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
a80a8ded3f
s3:winbind: Improve logging in winbindd_getsidaliases.c
...
Test scenario:
$ bin/wbinfo --sid-aliases S-1-5-21-4248687961-4152985382-2800071106-1107
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
1552961249
s3:winbind: Improve logging in winbindd_getpwuid.c
...
Test scenario:
$ bin/wbinfo --uid-info 2001107
or
$ bin/wbinfo --uid-info 100000
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
980f8092c6
s3:winbind: Improve logging in winbindd_getpwsid.c
...
Test scenario:
$ bin/wbinfo --name-to-sid ADDOMAIN/alice
S-1-5-21-4248687961-4152985382-2800071106-1107 SID_USER (1)
$ bin/wbinfo --user-sidinfo S-1-5-21-4248687961-4152985382-2800071106-1107
ADDOMAIN/alice:*:2001107:2000513::/home/ADDOMAIN/alice:/bin/false
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
1074e74d79
s3:winbind: Improve logging in winbindd_getpwnam.c
...
Test scenario:
id ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
5e7039a852
s3:winbind: Improve logging in winbindd_getpwent.c
...
Test scenario:
$ getent passwd
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
0980799867
s3:winbind: Improve logging in winbindd_getgroups.c
...
Test scenario:
bin/wbinfo --user-groups 'ADDOMAIN/alice'
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
2ec7ccabb3
s3:winbind: Improve logging in winbindd_getgrnam.c
...
Test scenario:
bin/wbinfo --group-info 'ADDOMAIN/domain users'
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
9c41992d9d
s3:winbind: Improve logging in winbindd_getgrgid.c
...
Test scenario:
id ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
ac8f35d6b4
s3:winbind: Improve logging in winbindd_getgrent.c
...
Test scenario:
id ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
a0666eb64f
s3:winbind: Improve logging in winbindd_getdcname.c
...
Test scenario:
bin/wbinfo --getdcname=ADDOMAIN
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
2fed5d2081
s3:winbind: Improve logging in winbindd_endpwent.c
...
Test scenario:
$ getent passwd
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
6cb508ab3d
s3:winbind: Improve logging in winbindd_endgrent.c
...
Test scenario:
id ADDOMAIN/alice
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
25d38cc6ec
s3:winbind: Improve logging in winbindd_dsgetdcname.c
...
Test scenario:
$ bin/wbinfo --dsgetdcname=ADDOMAIN
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
f8e372e1e2
s3:winbind: Improve logging in winbindd_getusersids.c
...
Test scenario:
$ bin/wbinfo --user-sids `bin/wbinfo -n ADDOMAIN/alice | awk '{print $1}'`
S-1-5-21-2018381343-4210792308-1157936888-1107
S-1-5-21-2018381343-4210792308-1157936888-513
S-1-5-32-545
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
2b5c86118d
s3:winbind: Move up some code in winbindd_getusersids.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
07dd2c7186
s3:winbind: Improve logging in winbindd_group.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
14f4ba1971
s3:winbind: Improve logging in wb_xids2sids.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00
Pavel Filipenský
1852160ee3
s3:winbind: Improve logging in winbindd.c
...
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2022-07-15 14:25:38 +00:00