Displaying 20 results from an estimated 50 matches for "user_sid".
Did you mean:
user_id
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
...root@localhost on samba
60 Query SELECT
logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time,
pass_must_change_time,username,domain,nt_username,nt_fullname,home_dir,dir_d
rive,logon_script,profile_path,acct_desc,workstations,unknown_str,munged_dia
l,user_sid,group_sid,lm_pw,nt_pw,NULL,acct_ctrl,unknown_3,logon_divs,hours_l
en,bad_password_count,logon_count,unknown_6 FROM user WHERE username =
'root'
60 Query SELECT
logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time,
pass_must_change_time,usern...
2005 Mar 17
0
usrmgr.exe and problems
...CHANGED(pwd, PDB_GROUPSID))
- set_unix_primary_group(pwd);
+ if (IS_SAM_CHANGED(pwd, PDB_GROUPSID) && !set_unix_primary_group(pwd) ) {
+ pdb_free_sam(&pwd);
+ return False;
+ }
if(!pdb_update_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_...
2009 Jun 12
1
SAMBA+PDC+Mysql authentication Backend
...6/12 15:52:58, 0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(502)
_netr_ServerAuthenticate2: failed to get machine password for account MULTI$: NT_STATUS_NO_TRUST_SAM_ACCOUNT
[2009/06/12 15:53:01, 0] pdb_mysql.c:mysqlsam_replace_sam_account(415)
Error executing UPDATE user SET WHERE user_sid = 'S-1-5-21-2398918909-2979869015-1347180298-1234', You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user_sid = 'S-1-5-21-2398918909-2979869015-1347180298-1234'' at line 1
My smb.con...
2019 Apr 10
3
chown: changing ownership of 'test': Invalid argument
...uid :
> 0x000000000030d97f
> > > (3201407)
> > > primary_gid :
> 0x00000000ffffffff
> > > (4294967295)
> > > primary_group_name : NULL
> > > user_sid : <RED>-1407
> > > group_sid : <RED>-513
> > > result :
> > > NT_STATUS_REQUEST_NOT_ACCEPTED
> > >
> > > Is this last "NT_STATUS_REQUEST_NOT_ACCEPTED&qu...
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
2016 Nov 28
2
Samba on Debian 8; NT4 domain, win10
On Mon, 28 Nov 2016 09:49:31 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2016-11-26 um 20:50 schrieb Stefan G. Weichinger via samba:
>
> > Thanks for the hints, I already read the wiki, yes.
> > I will look at the users and groups next week then.
>
> attacked that now in a VM:
>
> cpied /var/lib/samba and /etc
2005 Jun 02
1
Winbindd chokes on W2K users in only one group
Hi there,
I've been trying to set up Samba 3.0.14a with Active Directory
integration on a network with an ordinary W2k Server PDC. I'm currently
having a problem which I'm convinced has nothing to do with my Windows
or Samba configuration.
The problem only occurs when trying to connect to the Samba server from
an authenticated domain account which is only a member of the default
2019 Apr 10
3
chown: changing ownership of 'test': Invalid argument
...shell : '/bin/bash'
uid : 0x000000000030d97f
(3201407)
primary_gid : 0x00000000ffffffff
(4294967295)
primary_group_name : NULL
user_sid : <RED>-1407
group_sid : <RED>-513
[2019/04/10 10:09:48.043212, 1, pid=15234, effective(0, 0), real(0, 0),
class=rpc_parse] ../librpc/ndr/ndr.c:471(ndr_print_function_debug)
wbint_GetNssInfo: struct wbint_GetNssInfo...
2019 Apr 11
2
chown: changing ownership of 'test': Invalid argument
...omedir : '/home/%D/%U'
> shell : *
> shell : '/bin/bash'
> primary_gid : 0x00000000ffffffff
> (4294967295)
> user_sid :
> S-1-5-21-2093009959-3443338361-3281248646-1407
> group_sid :
> S-1-5-21-2093009959-3443338361-3281248646-513
> result : NT_STATUS_OK
>
> Server 2 - LXC Container, Debian 9, Samba 4.9 (Louis...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...fails because libnss_winbind invokes
winbindd_getpwnam("EXAMPLE\root"). The reason is shown
below. In winbnd_user.c, the relavent function is
listed below :
enum winbindd_result winbindd_getpwnam(struct
winbindd_cli_state *state)
{
WINBIND_USERINFO user_info;
WINBINDD_PW *pw;
DOM_SID user_sid;
NTSTATUS status;
fstring name_domain, name_user;
enum SID_NAME_USE name_type;
struct winbindd_domain *domain;
TALLOC_CTX *mem_ctx;
/* Ensure null termination */
state->request.data.username[sizeof(state->request.data.username)-1]='\0';
DEBUG(3, ("[%5lu]: getpwnam %s\n&...
2016 Nov 28
3
Samba on Debian 8; NT4 domain, win10
...uch user)
>
> ?
>
> Thanks, Stefan
>
OK, that error message is coming from here:
try:
group_memberships = s3db.enum_group_memberships(user);
for group in group_memberships:
if str(group) in groupmembers:
if user.user_sid not in groupmembers[str(group)]:
groupmembers[str(group)].append(user.user_sid)
else:
groupmembers[str(group)] = [user.user_sid];
except passdb.error, e:
logger.warn("Ignoring group memberships of '%s' %s:...
2005 Aug 10
0
[GOLUM] RE: pdbedit not working as documented
...l Message-----
> From: golum-bounces@golum.org [mailto:golum-bounces@golum.org] On Behalf Of
> John McLoskey
> Sent: Tuesday, August 09, 2005 3:03 AM
> To: samba@lists.samba.org; golum@golum.org
> Subject: [GOLUM] RE: [Samba] pdbedit not working as documented
>
> Am I building user_sid internally every time?
> We seem to ignore -U argument to pdbedit.
> At line 475 of samba-3.0.14a/source/utils/pdbedit.c;
>
> ??????if (user_sid) {
> ??????????????DOM_SID u_sid;
> ??????????????if (!string_to_sid(&u_sid, user_sid)) {
> ??????????????????????/* not a comp...
2005 Mar 27
1
problem with listing users on winXP/2k+3
...on_time | logoff_time | kickoff_time | pass_last_set_time |
pass_can_change_time | pass_must_change_time | username | domain | nt_username
| nt_fullname | home_dir | dir_drive | logon_script |
profile_path | acct_desc | workstations | unknown_str | munged_dial | uid |
gid | user_sid | group_sid
| lm_pw | nt_pw
| acct_ctrl | unknown_3 | logon_divs | hours_len | unknown_5 |
unknown_6 |
+------------+-------------+--------------+--------------------+--...
2005 Aug 21
2
pdb_mysql.c | SQL insert command missing data
...e,pass_last_set_time,lm_pw,nt_pw)
VALUES
(16,1124620545,2147483647,1124620545,'AAAAAAA71AA612E1ED5A6FED37AAAAAA','AAAAAAA6293F6293129F9BE9EBAAAAAA')
You will note that there is no username, domain,
nt_username, nt_fullname, home_dir, dir_drive,
logon_script, profile_path, uid, gid, user_sid, or
group_sid in that query.
This shows that the error is not on the part of the
sql database as this is the query it was sent,
received, and processed properly.
Since existing users can function properly it seems
that the error is only with adding new users and not
with changing passwords of exis...
2019 Apr 11
0
chown: changing ownership of 'test': Invalid argument
...omedir : '/home/%D/%U'
> shell : *
> shell : '/bin/bash'
> primary_gid : 0x00000000ffffffff
> (4294967295)
> user_sid :
> S-1-5-21-2093009959-3443338361-3281248646-1407
> group_sid :
> S-1-5-21-2093009959-3443338361-3281248646-513
> result : NT_STATUS_OK
>
> Server 2 - LXC Container, Debian 9, Samba 4.9 (Louis...
2012 Sep 27
3
3.6.8: Winbind/Active Directory: lsass.exe process run cpu to 100%
Dear
I have connected samba 3.6.8 to my Active Directory in the lsass.exe run to
100%
When stopping winbind the lsass.exe CPU is down to 0%
When set winbindd to debug mode, it seems it try to scan the root user every
time.
I would to know how to ban nsswitch to query winbindd for system internal
users such has root, apache.....
Here it is my nsswitch.conf :
#
# Example configuration of GNU
2009 Oct 06
0
Update from pdbsql (MySQL) to LDAP
...char(255) default NULL,
profile_path varchar(255) default NULL,
acct_desc varchar(255) default NULL,
workstations varchar(255) default NULL,
unknown_str varchar(255) default NULL,
munged_dial varchar(255) default NULL,
uid int(9) NOT NULL PRIMARY KEY auto_increment,
gid int(9) default NULL,
user_sid varchar(255) default NULL,
group_sid varchar(255) default NULL,
lm_pw varchar(255) default NULL,
nt_pw varchar(255) default NULL,
acct_ctrl int(9) default '528',
logon_divs int(9) default '168',
hours_len int(9) default '21',
unknown_6 int(9) default "1260",...
2005 Apr 02
2
RE: MYSQL - Was Functional till Update to 3.13
...uid%60+ASC>
gid
<http://db.csmfiji.org/mysql/sql.php?lang=en-iso-8859-1&server=1&db=samba&table=user&pos=30&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2A+FROM+%60user%60++ORDER+BY+%60gid%60+ASC>
user_sid
<http://db.csmfiji.org/mysql/sql.php?lang=en-iso-8859-1&server=1&db=samba&table=user&pos=30&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2A+FROM+%60user%60++ORDER+BY+%60user_sid%60+ASC>
group_sid
<...
2005 Dec 11
1
how to use MySQL-backend !?
...efault NULL,
`profile_path` varchar(255) default NULL,
`acct_desc` varchar(255) default NULL,
`workstations` varchar(255) default NULL,
`unknown_str` varchar(255) default NULL,
`munged_dial` varchar(255) default NULL,
`uid` int(9) NOT NULL auto_increment,
`gid` int(9) default NULL,
`user_sid` varchar(255) default NULL,
`group_sid` varchar(255) default NULL,
`lm_pw` varchar(255) default NULL,
`nt_pw` varchar(255) default NULL,
`acct_ctrl` int(9) default NULL,
`unknown_3` int(9) default NULL,
`logon_divs` int(9) default NULL,
`hours_len` int(9) default NULL,
`unknown_5` i...
2018 Feb 21
2
Could not convert sid: NT_STATUS_NO_SUCH_USER
...shell : '/bin/mosh'
uid : 0x000000000000a160 (41312)
primary_gid : 0x00000000ffffffff
(4294967295)
primary_group_name : NULL
user_sid :
S-1-5-21-3239498231-402109693-3067992304-72680
group_sid :
S-1-5-21-3239498231-402109693-3067992304-513
[2018/02/21 15:33:44.922632, 1, pid=21519, effective(0, 0), real(0, 0)]
../librpc/ndr/ndr.c:468(ndr_print_function_debug)
wbint_GetN...