Displaying 20 results from an estimated 40 matches for "ldapsam_getsampwsid".
2008 Nov 19
0
ldapsam_getsampwsid: More than one user with SID
...p2-2.3.43-1.1
log level = 3
I have a problem, in my domain user log i see this:
<snip>
2008/11/19 08:06:04, 3, effective(0, 0), real(0, 0)]
smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2008/11/19 08:06:04, 1, effective(0, 0), real(0, 0)]
passdb/pdb_ldap.c:ldapsam_getsampwsid(1501)
ldapsam_getsampwsid: More than one user with SID
[S-1-5-21-3991578539-3149662252-1894531253-512]. Failing. count=3
[2008/11/19 08:06:04, 2, effective(0, 0), real(0, 0)]
passdb/pdb_ldap.c:init_group_from_ldap(2167)
init_group_from_ldap: Entry found for group: 512
<snap>
What has tha...
2007 Dec 10
0
ldapsam_getsampwsid: Unable to locate SID
...em when I run pdbedit -L -v:
Unix username: administrator
NT username: administrator
Account Flags: [UX ]
User SID: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-21000
init_group_from_ldap: Entry found for group: 512
lookup_global_sam_rid: looking up RID 512.
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-512] count=0
init_group_from_ldap: Entry found for group: 512
lookup_rids: Domain Admins:2
Primary Group SID: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-512
Full Name: Administrator
I thought the "unable to locate...
2007 Jan 31
0
smbpasswd and machine accounts
...amp;(objectClass=sambaDomain)(sambaDomainName=LABS))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesfully connected
init_sam_from_ldap: Entry found for user: pc-1$
init_group_from_ldap: Entry found for group: 515
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-284210356-3264030311-3336521042-515] count=0
init_group_from_ldap: Entry found for group: 515
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-284210356-3264030311-3336521042-515] count=0
init_group_from_ldap: Entry found for group: 515
store_gid_sid_cache: gi...
2018 Apr 27
1
wiki suggestions, part 2
Am 26.04.2018 um 20:07 schrieb Harry Jede via samba:
> No, i have created 2 users with same sid.
>
> root at capella:~# pdbedit -Lv | grep "User SID" | sort|uniq -d
> root at capella:~#
>
> root at capella:~# pdbedit -L|grep Failing
> ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2
> ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2
What?!?
I would like to call this behaviour of "pdbedit -Lv" a bug,...
2007 Jan 19
1
Unable to locate SID, possible problem with Idmap?
...is that when I run
pdbedit -Lv on the PDC I get results like this:
Unix username: test
NT username: test
Account Flags: [U ]
User SID: S-1-5-21-1194936901-2368177035-684874509-3020
init_group_from_ldap: Entry found for group: 513
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-1194936901-2368177035-684874509-513] count=0
init_group_from_ldap: Entry found for group: 513
Primary Group SID: S-1-5-21-1194936901-2368177035-684874509-513
Full Name: Test Account
<snip>
Notice the line /ldapsam_getsampwsid:...
2008 Dec 09
1
Problem with ldap backend.
...r
The LDAP server is succesfully connected
init_sam_from_ldap: Entry found for user: david
Unix username: david
NT username: david
Account Flags: [UX ]
User SID: S-1-5-21-215069222-2822928016-2390355089-3032
init_group_from_ldap: Entry found for group: 666
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-215069222-2822928016-2390355089-666] count=0
init_group_from_ldap: Entry found for group: 666
Primary Group SID: S-1-5-21-215069222-2822928016-2390355089-666
Full Name: david
Home Directory: \\LUKE27\david
HomeDir Drive: P:
Logon Script:...
2009 Feb 11
1
Something weird about pdbedit.
...6))], scope => [2]
init_group_from_ldap: Entry found for group: 666
lookup_global_sam_rid: looking up RID 666.
smbldap_search_ext: base => [ou=ia27,dc=ac-rouen,dc=fr], filter =>
[(&(sambaSID=S-1-5-21-215069222-2822928016-2390355089-666)
(objectclass=sambaSamAccount))], scope => [2]
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-215069222-2822928016-2390355089-666] count=0
smbldap_search_ext: base => [ou=Groups,ou=ia27,dc=ac-rouen,dc=fr], filter =>
[(&(objectClass=sambaGroupMapping)
(sambaSID=S-1-5-21-215069222-2822928016-2390355089-666))], scope => [2]
init_group_from_ldap: E...
2005 Oct 24
3
same sambaSID
Hi,
samba 3.14 with ldapsam, working fine.
I tried this usrmngr.exe thingie because one of our admins is very
gui-oriented, wanted to see if it worked fine.
For most users, it is. I can change details, logon hours, groups, passwords.
But for 3 of them I get this message:
ldapsam_getsampwsid: More than one user with SID
[S-1-5-21-3707708495-1570892323-1667890705-3076]. Failing. count=3
I check in a dump of the ldap database, and indeed, they do have the same
sid. To my knowledg they were added with the smbldap-tools which work fine,
in fact I just tested it, new user, different sid....
2009 Jul 06
1
permissions problems
...nd it
appears to be a guest account. OK, maybe not a problem. As you might
be able to tell, the slightest thing sets me off.
The login continues with accesses using user nobody (uid=99,gid=99), and the
user is authenticated.
I saw this in the log:
[2009/07/06 16:33:33, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1613)
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-1786355187-4025355074-2784741737-513] count=0
[2009/07/06 16:33:34, 2] passdb/pdb_ldap.c:init_group_from_ldap(2348)
init_group_from_ldap: Entry found for group: 513
RID 513 is in the group map. "getent group Domain\ Users&quo...
2009 Aug 27
4
Fwd: most common way to implement 'net time' privileges
...ESSFUL error message. I don't see any such
>> error message in the logs. When *exactly* did the error
>> happen when you took the log?
>>
>
> I looked through the logs again - no line with NT_STATUS_UNSUCCESSFUL.
>
> I found other thing (look below). It says
> ldapsam_getsampwsid: Unable to locate SID
> [S-1-5-21-1376040910-2644421868-2724539926-513]
> Could this be the problem?
>
I have the same issue on samba 3.4.0. Previously I thought all
usrmgr.exe's features does not work for Samba, but only for NT 4.0.
The issue comes out when using the latest versio...
2004 Feb 26
1
strange issue with PDC, ldap and usrmgr
hi the list,
I have a problem that I cannot explain myself,
I have a PDC (samba 3.0.2a) with ldap backend
When I start usrmgr, I can see the users and the group but if I want to
modify something I always get errors like group name could not be found
or user name could not be found....
so I've tryed to add a user in linux with the same name of the samba
user in ldap and then it works...
2006 Oct 02
1
Auth Problem
Hello,
I have a problem related to user authentication: Users can not login from
Windows workstations.
I get the following error:
"The system could not log you in. Make sure your User Name and domain are
correct then type your password again."
Users can access shares, they are prompted for a user and password and it is
ok. The same user and password does not work for login.
2008 Jan 15
1
Idmap creates unnecessary group entry
...20:19:24 225 slapd[4518]: conn=190 op=24 SEARCH RESULT tag=101
err=0 nentries=1 text=
The samba log files shows, that no entry was found.
[2008/01/15 20:19:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2008/01/15 20:19:25, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1570)
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-4205727931-4131263253-1851132061-3019] count=0
[2008/01/15 20:19:25, 2] passdb/pdb_ldap.c:init_group_from_ldap(2200)
init_group_from_ldap: Entry found for group: 1009
[2008/01/15 20:19:25, 3] smbd/sec_ctx.c:pop_sec_ctx(386)...
2009 Dec 23
1
net rpc user add produces duplicate SID
...c.
BUT when I try to add a new user with
# net rpc user add newusername
the user gets a SID which is already used by a machine account. The command
responds with "Faild to add user 'newusername' with: No such user."
# pdbedit -L
reports this user and this machine account with ldapsam_getsampwsid: More than
one user with SID [S-1-5-21....]. Failing. count=2. Deleting the user via
# net rpc user delete newusername
works.
I know how to increase the used uid but I don't know to let winbind use the next
free RID.
Extracts from my smb.conf:
passdb backend = ldapsam
ldap suffix is set
lda...
2003 Nov 16
1
samba-3.0.0 and Active Directory
...on to the LDAP server
[2003/11/15 19:53:25, 4] lib/smbldap.c:smbldap_open(836)
The LDAP server is succesful connected
[clip]
but then, instead of fetching the account of a user I specified with '-U'
to smbclient, it searches for 501 SID:
[clip]
[2003/11/15 19:53:25, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1098)
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-22154274-3529046950-2477786524-501] count=0
[2003/11/15 19:53:25, 10] passdb/pdb_get_set.c:pdb_set_username(584)
pdb_set_username: setting username nobody, was
[clip]
Why is it always searching for SID 501 no matter with what user I tr...
2018 Apr 26
5
wiki suggestions, part 2
Am 10.04.2018 um 18:46 schrieb Rowland Penny via samba:
> Thanks for the updates, I just wish more people would report errors &
> typo's
I can send some more, this time from classicupgrade.
Again I do not want to do these changes myself, a samba expert should
have a look.
Feedback for wiki page
Migrating_a_Samba_NT4_Domain_to_Samba_AD_(Classic_Upgrade)
Tried on Devuan 1 with
2008 Aug 04
1
Problem establishing interdomain trust
...er: fundus$
[2008/08/04 02:31:25, 2] passdb/pdb_ldap.c:init_group_from_ldap(2344)
init_group_from_ldap: Entry found for group: 513
[2008/08/04 02:31:25, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1499)
lookup_global_sam_rid: looking up RID 513.
[2008/08/04 02:31:25, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1613)
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-1419647580-1448962253-3507612647-513] count=0
[2008/08/04 02:31:25, 2] passdb/pdb_ldap.c:init_group_from_ldap(2344)
init_group_from_ldap: Entry found for group: 513
[2008/08/04 02:31:25, 5]
passdb/pdb_interface.c:pdb_default_lookup_rid...
2018 May 22
1
Samba/NT mode and roaming profiles...
A collegue of mine, in a different office branch of my organization,
suffer continuous troubles on roaming profiles, troubles thta in my
site, with rather similar setup, does not happens.
Trouble last some month, but 'till now we have thinked was the network,
and we had worked checking cables, switches, configurations.
But trouble continues... and seems frequent but not with a specific
2006 Jun 08
1
ERROR: failed to setup guest info.
...init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
smbldap_search_ext: base => [dc=example,dc=com], filter =>
[(&(sambaSID=S-1-5-21-2712377552-1848198742-724899569-501)(objectclass=sambaSamAccount))],
scope => [2]
ldapsam_getsampwsid: Unable to locate SID
[S-1-5-21-2712377552-1848198742-724899569-501] count=0
pdb_set_username: setting username guest, was
pdb_set_full_name: setting full name guest, was
pdb_set_domain: setting domain UNIXTEST, was
pdb_set_user_sid: setting user sid
S-1-5-21-2712377552-1848198742-724899569-501
pdb...
2007 Aug 07
0
Issue when migrating samba domain server to new hardware and samba version
...ry groups
[2007/08/06 12:25:03, 5] lib/smbldap.c:smbldap_search_ext
(1179)
smbldap_search_ext: base => [dc=temple,dc=edu], filter =>
[(&(sambaSID=S-1-5-21-424765346-3208026686-854402210-513)
(objectclass=sambaSamAccount))], scope => [2]
[2007/08/06 12:25:03, 4]
passdb/pdb_ldap.c:ldapsam_getsampwsid(1491)
ldapsam_getsampwsid: Unable to locate SID [S-1-5-21-
424765346-3208026686-854402210-513] count=0
[2007/08/06 12:25:03, 5] lib/smbldap.c:smbldap_search_ext
(1179)
smbldap_search_ext: base => [dc=temple,dc=edu], filter =>
[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-
4...