Displaying 16 results from an estimated 16 matches for "pdb_getsampwsid".
Did you mean:
pdb_getsampwrid
2005 Mar 17
0
usrmgr.exe and problems
...e_sam_account(pwd)) {
pdb_free_sam(&pwd);
@@ -3624,12 +3628,16 @@
sid_copy(&user_sid, get_global_sam_sid());
sid_append_rid(&user_sid, q_u->rid);
-
+
+
ret = pdb_init_sam(&sam_user);
+
if (!NT_STATUS_IS_OK(ret))
return ret;
+ become_root();
check = pdb_getsampwsid(sam_user, &user_sid);
+ unbecome_root();
if (check != True) {
pdb_free_sam(&sam_user);
@@ -3708,6 +3716,7 @@
uint32 acc_granted;
SE_PRIV se_rights;
BOOL can_add_accounts;
+ BOOL ret;
/*
* delete the group member named q_u->rid
@@ -3740,7 +3749,12 @@
/* check if t...
2006 Nov 14
0
Samba 3.0.23c PANIC during registering computer into domain
...p_sid+0x77) [0x757643bd]
#9 /opt/samba-3.0.23c/sbin/smbd(pdb_set_group_sid_from_rid+0xf5)
[0x7576ff84]
#10 /opt/samba-3.0.23c/sbin/smbd(init_sam_from_buffer_v3+0x99a)
[0x757686cf]
#11 /opt/samba-3.0.23c/sbin/smbd(pdb_copy_sam_account+0x81) [0x757694b4]
#12 /opt/samba-3.0.23c/sbin/smbd(pdb_getsampwsid+0x10d) [0x7576ace0]
#13 /opt/samba-3.0.23c/sbin/smbd [0x7576de0d]
#14 /opt/samba-3.0.23c/sbin/smbd [0x7576d4d9]
#15 /opt/samba-3.0.23c/sbin/smbd(pdb_sid_to_id+0x34) [0x7576cade]
#16 /opt/samba-3.0.23c/sbin/smbd(sid_to_gid+0x176) [0x75773722]
#17 /opt/samba-3.0.23c/sbin/smbd(pdb_set_g...
2007 Aug 27
1
smbd and pdbedit segfault
...usr/sbin/smbd(pdb_set_group_sid+0x4d) [0x81e55cd]
#6 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x67) [0x81ee287]
#7 /usr/sbin/smbd(init_sam_from_buffer_v3+0x8f1) [0x81e7ed1]
#8 /usr/sbin/smbd [0x82082d6]
#9 /usr/sbin/smbd [0x820bfb3]
#10 /usr/sbin/smbd [0x820c3fa]
#11 /usr/sbin/smbd(pdb_getsampwsid+0x7d) [0x81ec69d]
#12 /usr/sbin/smbd [0x81ec7ca]
#13 /usr/sbin/smbd [0x81eccb0]
#14 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81eb079]
#15 /usr/sbin/smbd(sid_to_gid+0xee) [0x81eecae]
#16 /usr/sbin/smbd(pdb_set_group_sid+0x4d) [0x81e55cd]
#17 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0...
2005 May 11
1
SV: Error with usrmgr and groups.
It's exactly the same. Except that I use tdbsam instead of ldap and the error message therefore also is different in the log file. But the example and result is the same. Do you have any idea of workaround or fix?
Cheers,
Joel
-----Ursprungligt meddelande-----
Fr?n: Doug Campbell [mailto:doug@bpta.net]
Skickat: den 11 maj 2005 10:49
Till: Joel Larsson, PF, Posten; samba@lists.samba.org
2009 Sep 10
1
Security context stack overflow on Debian5+LDAP
...#5 /usr/sbin/smbd(lookup_sid+0x12a) [0x81b8c20]
#6 /usr/sbin/smbd(pdb_get_group_sid+0x169) [0x81b1d40]
#7 /usr/sbin/smbd(pdb_get_group_rid+0x26) [0x84a9f64]
#8 /usr/sbin/smbd(init_buffer_from_sam_v3+0xe5) [0x84a6e90]
#9 /usr/sbin/smbd(pdb_copy_sam_account+0x3e) [0x84a8329]
#10 /usr/sbin/smbd(pdb_getsampwsid+0x131) [0x81b4d28]
#11 /usr/sbin/smbd [0x81b4e4d]
#12 /usr/sbin/smbd [0x81b559a]
#13 /usr/sbin/smbd(pdb_lookup_rids+0x3f) [0x81b39b4]
#14 /usr/sbin/smbd(lookup_sids+0x882) [0x81b845c]
#15 /usr/sbin/smbd(lookup_sid+0x12a) [0x81b8c20]
#16 /usr/sbin/smbd(pdb_get_group_sid+0x169) [0x81b1d40]
#17...
2004 Sep 09
3
upgarde smbd to 3.0.6 and keep winbind to 3.0.2a, possible ?
...0x101) [0x81c1d11]
#1 /usr/sbin/smbd [0x81aff28]
#2 /lib/libc.so.6 [0x401ed4a8]
#3 /usr/sbin/smbd(init_sam_from_buffer+0x61c) [0x819379c]
#4 /usr/sbin/smbd [0x81a4941]
#5 /usr/sbin/smbd [0x81a4e10]
#6 /usr/sbin/smbd [0x81a4f60]
#7 /usr/sbin/smbd [0x8194ad5]
#8 /usr/sbin/smbd(pdb_getsampwsid+0x35) [0x81960d5]
#9 /usr/sbin/smbd(make_server_info_guest+0x89) [0x81fbfb9]
#10 /usr/sbin/smbd [0x81f9d82]
#11 /usr/sbin/smbd [0x81f4e3f]
#12 /usr/sbin/smbd [0x80a80fe]
#13 /usr/sbin/smbd(reply_sesssetup_and_X+0x758) [0x80a9bd8]
#14 /usr/sbin/smbd [0x80c809a]
#15 /usr/sbin/smb...
2014 May 19
3
Irregular crash of samba 3.6.6 (debian wheezy)
...smbd(smb_panic+0x22) [0x7f74be32c672]
?? #2 /usr/sbin/smbd(+0x422844) [0x7f74be31d844]
?? #3 /lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f74baca94f0]
?? #4 /usr/sbin/smbd(tcopy_passwd+0x22) [0x7f74be305172]
?? #5 /usr/sbin/smbd(pdb_copy_sam_account+0x76) [0x7f74be2ca0f6]
?? #6 /usr/sbin/smbd(pdb_getsampwsid+0xa5) [0x7f74be2cd2d5]
?? #7 /usr/sbin/smbd(_samr_OpenUser+0x161) [0x7f74be204691]
?? #8 /usr/sbin/smbd(+0x319875) [0x7f74be214875]
?? #9 /usr/sbin/smbd(+0x32a1c6) [0x7f74be2251c6]
?? #10 /usr/sbin/smbd(dcerpc_binding_handle_raw_call_send+0x9e) [0x7f74be39e9ae]
?? #11 /usr/sbin/smbd(dcerpc_bin...
2005 Sep 29
7
ldapsam:trusted = yes kills smbd
Hi,
we want to use ldapsam:trusted=yes to improve performace as nss_ldap
is killing our ldap server doing enumeration.
once i enable it smbd dies silently...
this is the last part of a ./smbd -d 10 -i
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search: base =>
[ou=groups,ou=filestore,dc=sunderland,dc=ac,dc=uk], filt
er =>
2006 Jul 28
1
Problem with guest account samba 3.0.23a (smbd wont start)
...ack_ndx = 1
[2006/07/28 09:59:23, 5] auth/auth_util.c:debug_nt_user_token(449)
NT user token: (NULL)
[2006/07/28 09:59:23, 5] auth/auth_util.c:debug_unix_user_token(475)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2006/07/28 09:59:23, 6] passdb/pdb_interface.c:pdb_getsampwsid(320)
pdb_getsampwsid: Building guest account
[2006/07/28 09:59:23, 10] passdb/pdb_get_set.c:pdb_set_username(534)
pdb_set_username: setting username quser, was
[2006/07/28 09:59:23, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
pdb_set_full_name: setting full name System User, was
[2006/07/2...
2007 May 30
1
samba 3.0.24 + openldap + solaris won't start up
...lose: decrementing refcount (0)
update_c_setprinter: c_setprinter = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwsid: Building guest account
pdb_set_username: setting username nobody, was
pdb_set_full_name: setting full name Nobody, was
pdb_set_domain: setting domain CSLAB, was
pdb_set_user_sid: setting user sid S-1-5-21-big-number-501
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-big-number-50...
2013 Mar 05
0
Upgrade from 3.5.6 to 3.6.12 causes errors in password TDB
...b_panic+0x55) [0x2af15816e169]
#2 /usr/local/samba/sbin/smbd [0x2af15815f72c]
#3 /lib64/libc.so.6 [0x2af15a39f2f0]
#4 /usr/local/samba/sbin/smbd(tcopy_passwd+0x27) [0x2af15814dde7]
#5 /usr/local/samba/sbin/smbd(pdb_copy_sam_account+0x94) [0x2af15812d607]
#6 /usr/local/samba/sbin/smbd(pdb_getsampwsid+0x188) [0x2af158131666]
#7 /usr/local/samba/sbin/smbd(_samr_OpenUser+0x10b) [0x2af1580738f3]
#8 /usr/local/samba/sbin/smbd [0x2af15808197e]
#9 /usr/local/samba/sbin/smbd [0x2af158090ee4]
#10 /usr/local/samba/sbin/smbd(dcerpc_binding_handle_raw_call_send+0xba)
[0x2af1581d49a1]
#11 /us...
2006 Sep 04
2
Failed to setup guest info
I've been trying for the past week to get Samba and LDAP to work
together as a PDC on my Gentoo box and allow some XP boxes to get in.
I've read and followed the how-to's (emerged and unmergred more then a
few times)
My LDAP accounts all seem to work when I do the ssh test into them.
Changing the domain in XP fails with the "network path not found error"
even after all
2007 Apr 21
3
samba pdc issue
I have upgrade the pdc server from debian sarge to etch.
After this operation we can't login to the domain (client windows 2000 &
XP)
smbclient works fine and from a windows local account I can browser the
samba directories too (puttin username and password before..)
I use tdbsam of course and pdbedit -L let me see all the accounts, it
seems to work fine
I tried to remove a pc from
2007 Jun 22
0
Samba Guest Accout Issue
...lose: decrementing refcount (0)
update_c_setprinter: c_setprinter = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwsid: Building guest account
pdb_set_username: setting username nobody, was
pdb_set_full_name: setting full name Nobody, was
pdb_set_domain: setting domain HFC, was
pdb_set_user_sid: setting user sid
S-1-5-21-3302533133-2967024959-3476321795-501
pdb_set_user_sid_from_rid:
setting user sid S-1-5-21-3...
2011 Mar 09
0
Trouble with ldapsam on OpenBSD
...011/03/08 16:37:58, 3, pid=16184] push_sec_ctx(0, 0) :
sec_ctx_stack_ndx = 1
[2011/03/08 16:37:58, 3, pid=16184] push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/03/08 16:37:58, 3, pid=16184] setting sec ctx (0, 0) -
sec_ctx_stack_ndx = 1
[2011/03/08 16:37:58, 6, pid=16184, class=passdb] pdb_getsampwsid:
Building guest account
[2011/03/08 16:37:58, 10, pid=16184, class=passdb] pdb_set_username:
setting username nobody, was
[2011/03/08 16:37:58, 11, pid=16184, class=passdb] element 12 -> now SET
[2011/03/08 16:37:58, 10, pid=16184, class=passdb]
pdb_set_full_name: setting full name Unprivile...
2012 Nov 05
7
VFS ACL with SMB2
Hello,
I have a question because POSIX ACL with SMB2 max protocol does not work
properly.Did you test VFS xattr acls with SMB2 max protocol? Is it
working corectly?
Best regards/Adrian Berlin
--