Displaying 20 results from an estimated 34 matches for "get_primary_group_sid".
2015 Nov 14
1
session setup failed: NT_STATUS_LOGON_FAILURE (debian wheezy)
...authentication
Here are some of the outputs...
root at samba:~# smbclient -L //localhost -U justin
Enter justin's password:
session setup failed: NT_STATUS_LOGON_FAILURE
Log out puts:
root at samba:~# tail /var/log/samba/log.smbd
[2015/11/14 09:02:16.560186, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:02:24.718482, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:02:24.733266, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
[2015/11/14 09:12:57.687424, 0] printing/print_cups.c:110(cups_connect)
Unable to connect to CUPS server localhost:631 - Connect...
2016 Sep 21
2
Samba loose the user forward as member Server
...p.c:794(smbldap_open_connection)
smbldap_open_connection: connection opened
[2016/08/31 08:27:51.707693, 2]
../source3/passdb/pdb_ldap.c:524(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user: isso-dev-back$
[2016/08/31 08:27:51.709160, 0]
../source3/passdb/lookup_sid.c:1556(get_primary_group_sid)
Failed to find a Unix account for isso-dev-back$
[2016/08/31 08:27:51.710181, 0]
../source3/passdb/lookup_sid.c:1556(get_primary_group_sid)
Failed to find a Unix account for isso-dev-back$
[2016/08/31 08:27:51.711121, 0]
../source3/passdb/lookup_sid.c:1556(get_primary_group_sid)...
2016 Sep 21
0
Samba loose the user forward as member Server
...ction)
> smbldap_open_connection: connection opened
> [2016/08/31 08:27:51.707693, 2]
> ../source3/passdb/pdb_ldap.c:524(init_sam_from_ldap)
> init_sam_from_ldap: Entry found for user: isso-dev-back$
> [2016/08/31 08:27:51.709160, 0]
> ../source3/passdb/lookup_sid.c:1556(get_primary_group_sid)
> Failed to find a Unix account for isso-dev-back$
> [2016/08/31 08:27:51.710181, 0]
> ../source3/passdb/lookup_sid.c:1556(get_primary_group_sid)
> Failed to find a Unix account for isso-dev-back$
> [2016/08/31 08:27:51.711121, 0]
> ../source3/passdb/lookup_sid.c:1556(g...
2018 Jan 29
0
no logon server on trusted domain
...in to LUMAD domain.
If login as sandbox\txunil (with WINS pointed to 192.168.2.144, tried also
without WINS) got these issues:
On Windows 7: “There are currrently no logon servers available to service
the logon request.”
on logs:
2018/01/29 15:38:10.466015, 0]
../source3/passdb/lookup_sid.c:1605(get_primary_group_sid)
Failed to find a Unix account for win7test$
[2018/01/29 15:38:11.178995, 0]
../source3/passdb/lookup_sid.c:1605(get_primary_group_sid)
Failed to find a Unix account for win7test$
[2018/01/29 15:38:11.247683, 0]
../source3/auth/check_samsec.c:493(check_sam_security)
check_sam_security: make...
2016 Feb 28
0
Upgrade/migrate, lost workstation trusts
...013(smbldap_connect_system)
ldap_connect_system: successful connection to the LDAP server
[2016/02/28 07:29:41.327306, 2] ../source3/passdb/pdb_ldap.c:524(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user: pc-dave$
[2016/02/28 07:29:41.421827, 3] ../source3/passdb/lookup_sid.c:1560(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for pc-dave$
[2016/02/28 07:29:41.422496, 3] ../source3/rpc_server/samr/srv_samr_nt.c:2947(_samr_QueryUserInfo)
User:[pc-dave$]
[2016/02/28 07:29:41.422738, 3] ../source3/rpc_server/samr/srv_samr_nt.c:2947(_samr_QueryUserInfo)
User:[pc-dave$]...
2013 Nov 28
1
Failed to find a Unix account
...org/archive/samba/2011-May/162571.html
I have a working ldap server for my mail-server and want to extend this to
a samba server also.
when a user connect (without success) I see this error in the logs:
Nov 28 09:24:44 app-04 smbd[11865]: [2013/11/28 09:24:44.700295, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
Nov 28 09:24:44 app-04 smbd[11865]: Failed to find a Unix account for
testcheck_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
Running getent passwd show me all the ldap users
running pdbedit -L -v
Unix username: test
NT username: test
Ac...
2016 Feb 29
0
Samba after upgrade+migration, Win7 workstation trusts lost
...smbldap_connect_system)
ldap_connect_system: successful connection to the LDAP server
[2016/02/28 07:29:41.327306, 2]
../source3/passdb/pdb_ldap.c:524(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user: pc-dave$
[2016/02/28 07:29:41.421827, 3]
../source3/passdb/lookup_sid.c:1560(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for pc-dave$
[2016/02/28 07:29:41.422496, 3]
../source3/rpc_server/samr/srv_samr_nt.c:2947(_samr_QueryUserInfo)
User:[pc-dave$]
[2016/02/28 07:29:41.422738, 3]
../source3/rpc_server/samr/srv_samr_nt.c:2947(_samr_QueryUserInfo)
User:[pc-d...
2015 Feb 11
0
samba pdc winbind
...t , i can su for another user but getting other user:
>
> root at blank005:~# su 59031614949
> 98121524292 at blank005:/root$
>
> The numbers are usernames .
>
> how can this happen?
>
> in the samba pcd logs:
> [2015/02/11 16:10:14.497010, 0] passdb/lookup_sid.c:1684(get_primary_group_sid)
> Failed to find a Unix account for 92101633919Failed to find a Unix account for 92101633919Failed to find a Unix account for 92101633919get_user_info_21: User 92101633919 has Primary Group SID (NULL SID),
> which conflicts with the domain sid S-1-5-21-1271321931-4267375537-2797277541....
2015 Feb 11
4
samba pdc winbind
...ith samba pdc.
>From a joined ubuntu client , i can su for another user but getting other user:
root at blank005:~# su 59031614949
98121524292 at blank005:/root$
The numbers are usernames .
how can this happen?
in the samba pcd logs:
[2015/02/11 16:10:14.497010, 0] passdb/lookup_sid.c:1684(get_primary_group_sid)
Failed to find a Unix account for 92101633919Failed to find a Unix account for 92101633919Failed to find a Unix account for 92101633919get_user_info_21: User 92101633919 has Primary Group SID (NULL SID),
which conflicts with the domain sid S-1-5-21-1271321931-4267375537-2797277541. Failing o...
2020 Sep 24
2
Can't connect after AuthN: NT_STATUS_ACCESS_DENIED
...3]
../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
api_rpcTNP: rpc command: LSA_OPENPOLICY2
[2020/09/23 19:03:37.026233, 3]
../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
api_rpcTNP: rpc command: LSA_LOOKUPNAMES
[2020/09/23 19:03:37.026401, 3]
../../source3/passdb/lookup_sid.c:1606(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for chris
[2020/09/23 19:03:37.027169, 3]
../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
api_rpcTNP: rpc command: LSA_CLOSE
[2020/09/23 19:03:37.028187, 3]
../../source3/smbd/service.c:1131(close_cnum)
colive-12867 (ipv4:172.16.112.1:56...
2013 Jan 21
1
Samba 3.6.10 not reading groups
...cking password for unmapped user [WORKGROUP]\[benhu]@[10.33.75.164] with the new password interface
[2013/01/21 10:03:05.936047, 3] auth/auth.c:222(check_ntlm_password)
check_ntlm_password: mapped user is: [SYSTST]\[benhu]@[10.33.75.164]
[2013/01/21 10:03:05.948794, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for benhu
[2013/01/21 10:03:05.951568, 3] auth/auth.c:268(check_ntlm_password)
check_ntlm_password: unix authentication for user [benhu] succeeded
[2013/01/21 10:03:05.951650, 2] auth/auth.c:309(check_ntlm_password)
check_ntlm_password: auth...
2018 Apr 12
3
Issues post AD migration
Hi ,
We ran the classic upgrade and migrated the domain . We were then able to add a Windows Server 2008R2 and dcpromo it.
Here are some of the issues we are seeing post migration
- Pre the migration, the password backend was LDAP. We had some groups that we had migrated into LDAP from TBD. These groups doesn't seem to have come up in AD.
- Any groups that were created in
2018 Apr 12
0
Issues post AD migration
...OM:backend = ad
> idmap config TESTDOM:schema_mode = rfc2307
> idmap config TESTDOM:range = 10000-999999
>
>
> I get the following
> create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
> [2018/04/12 20:20:34.389732, 0]
> passdb/lookup_sid.c:1684(get_primary_group_sid) Failed to find a Unix
> account for peteruser 'TESTDOM\pghimire' (from session setup) not
> permitted to access this share (data)
>
>
> Just to confirm getent is working
> getent group gives me all the groups in AD DC
>
> allowed rodc password replication group:x...
2020 Sep 24
0
Can't connect after AuthN: NT_STATUS_ACCESS_DENIED
...pipe.c:1531(api_rpcTNP)
> api_rpcTNP: rpc command: LSA_OPENPOLICY2
> [2020/09/23 19:03:37.026233, 3]
> ../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
> api_rpcTNP: rpc command: LSA_LOOKUPNAMES
> [2020/09/23 19:03:37.026401, 3]
> ../../source3/passdb/lookup_sid.c:1606(get_primary_group_sid)
> Forcing Primary Group to 'Domain Users' for chris
> [2020/09/23 19:03:37.027169, 3]
> ../../source3/rpc_server/srv_pipe.c:1531(api_rpcTNP)
> api_rpcTNP: rpc command: LSA_CLOSE
> [2020/09/23 19:03:37.028187, 3]
> ../../source3/smbd/service.c:1131(close_cnum)
>...
2015 Apr 18
2
user authentication issue
...3, 3] lib/smbldap.c:1240(smbldap_connect_system)
ldap_connect_system: successful connection to the LDAP server
[2015/04/18 13:41:26.277795, 2] passdb/pdb_ldap.c:553(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user: username
[2015/04/18 13:41:26.279734, 0]
passdb/lookup_sid.c:1684(get_primary_group_sid)
Failed to find a Unix account for username User username in passdb, but
getpwnam() fails!
[2015/04/18 13:41:26.279895, 0] auth/check_samsec.c:492(check_sam_security)
check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
[2015/04/18 13:41:26.279929, 3]
auth/...
Samba share not working: getpwuid(1000) failed, Failed to finalize nt token & NT_STATUS_UNSUCCESSFUL
2019 Nov 26
3
Samba share not working: getpwuid(1000) failed, Failed to finalize nt token & NT_STATUS_UNSUCCESSFUL
...password: Checking password for unmapped user []\[jj]@[]
with the new password interface
[2019/11/26 22:41:31.818146, 3]
../source3/auth/auth.c:192(auth_check_ntlm_password)
check_ntlm_password: mapped user is: []\[jj]@[]
[2019/11/26 22:41:31.818624, 3]
../source3/passdb/lookup_sid.c:1680(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for jj
[2019/11/26 22:41:31.819171, 3]
../source3/auth/auth.c:256(auth_check_ntlm_password)
auth_check_ntlm_password: sam_ignoredomain authentication for user
[jj] succeeded
[2019/11/26 22:41:31.819345, 3]
../auth/auth_log.c:760(log_authen...
2019 Sep 06
1
Samba Share with user and no password
...preferred master = No
local master = No
domain master = No
# shares
# all shares has "guest ok = yes"
...
-------------- next part --------------
check_ntlm_password: mapped user is: [user33]\[user35]@[user35]
[2019/09/06 09:26:48.752739, 3] ../source3/passdb/lookup_sid.c:1645(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for user35
[2019/09/06 09:26:48.752882, 3] ../source3/auth/check_samsec.c:56(sam_password_ok)
Account for user 'user35' has no password and null passwords are allowed.
[2019/09/06 09:26:48.752908, 4] ../source3/auth/check_samsec.c:183(s...
2013 Feb 01
1
Samba 4 vs Samba 3
So, I have "working" builds of Samba 3.6.10, and 4.0.2 using the traditional build system on AIX, both built with XLC.
For historical reasons, we're needing to use 'encrypt passwords = no', so that Samba uses the OS password.
The odd thing, is, the 3.6.10 Samba works just fine, but the 4.0.2 doesn't allow connections. Here's the Samba config I'm using on both:
2018 Apr 13
2
Issues post AD migration
...TDOM:backend = ad
> idmap config TESTDOM:schema_mode = rfc2307
> idmap config TESTDOM:range = 10000-999999
>
>
> I get the following
> create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
> [2018/04/12 20:20:34.389732, 0]
> passdb/lookup_sid.c:1684(get_primary_group_sid) Failed to find a Unix
> account for peteruser 'TESTDOM\pghimire' (from session setup) not
> permitted to access this share (data)
>
>
> Just to confirm getent is working
> getent group gives me all the groups in AD DC
>
> allowed rodc password replication group:x:30...
2013 Feb 05
0
Samba 3.5 to 3.6
...j-carimalo's password:
session setup failed: NT_STATUS_UNSUCCESSFUL
--------------------------------------------------------------------------------------------------------
root at doctoriale:/var/log/samba# vi log.j-carimalo-desktop
[2013/02/04 18:39:53.255226, 3]
passdb/lookup_sid.c:1754(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for j-carimalo
[2013/02/04 18:39:53.255402, 1] auth/server_info.c:386(samu_to_SamInfo3)
The primary group domain
sid(S-1-5-21-2904347395-2486898077-706273725-513) does not match the
domain sid(S-1-5-21-1927198471-1056857077-4159082931) for...