Displaying 20 results from an estimated 46 matches for "nt_status".
2006 Jun 27
1
iconv.c / static charset prototype/assembler bug?
...SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CP850)
Using the macros from charset.c, the preprocessor expands this to:
NTSTATUS charset_CP850_init(void) \
{ \
return smb_register_charset(&CP850_functions); \
} \
NTSTATUS is defined in nt_status.h as follows:
typedef struct {uint32 v;} NTSTATUS;
#define NT_STATUS(x) ((NTSTATUS) { x })
#define NT_STATUS_V(x) ((x).v)
Ok, when cp850/cp437 is compiled as static, config.h has following macro:
#define static_init_charset { charset_CP850_init();
charset_CP437_...
2005 May 24
1
Samba net rpc group add NT_STATUS _ACCESS_DENIED
Hi,
when I am runnig on samba PDC command: net rpc group add "demo" -Uroot%password , samba returns this message: NT_STATUS _ACCESS_DENIED.
What is it? Where shall I set access rights?
Thanks
Zdenek
____________________________________________________________
http://www.seznam.cz - e-mailov? schr?nka 2000 MB
2019 Feb 18
0
SMB Signing with "map to guest = " options
...t the DC was
done and we have correct session keys.
The bug is in:
NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
const char *sent_nt_username,
const char *domain,
struct auth_serversupplied_info **server_info,
const struct netr_SamInfo3 *info3)
The problem is this bit:
nt_status = check_account(tmp_ctx,
nt_domain,
nt_username,
&found_username,
&pwd,
&username_was_mapped);
if (!NT_STATUS_IS_OK(nt_status)) {
/* Handle 'map to guest = Bad Uid */
if (NT_STATUS_EQUAL(nt_status, NT_STATUS_NO_SUCH_USER) &&
(lp_secu...
2007 Jan 19
1
Possible bug on net rpc trustdom establish
Hello,
When running net rpc trustdom establish command for PDC trusts, I got
the following error with a core dump in 3.0.21c, on HP-UX and
3.0.21c-7.1.5-SUSE-SL10.0.
Couldn't connect to domain MY_DOM controller. Error was
NT_STATUS_ACCESS_DENIED.
bt
#0 0xc016f4d4 in memset () from /usr/lib/libc.2
#1 0x89ab8 in cli_send_trans ()
#2 0x83b0c in cli_api ()
#3 0x9715c in cli_get_pdc_name ()
#4 0x4e908 in rpc_trustdom_establish ()
#5 0x3c6d8 in net_run_function ()
#6 0x50760 in rpc_trustdom ()
#7 0x3c6d8 in net_run_function...
2003 Feb 13
1
NT_STATUS code list ?
...nt the share, so i had to reboot.
In fact, the username and pass i used were wrong, i realized that when i used
smbclient on that share and double-checked my setup. The strange thing is i
could do a smbclient //machine/share -c ls even with the wrong username and
password, the answer being 'NT_STATUS_ACCESS_DENIED listing \*'. It gave me
an answer about smbfs sending all these (approx. from memory)
'smb_proc_readdir_long read=\* err=5'. So i know now where the trouble is.
The funny thing is that the xp machine even when denying access still prints
the disk free space :-)
What i...
2003 May 25
2
Problem reading/writing permissions under Windows (V 2.2.8a)
...Hello,
as the subject says, I've problems reading the permissions of a file/folder beeing located on my Samba server with the Windows-Explorer.
To solve the problem, I've read through log.smbd and found that introducion error: "error packet at smbd/nttrans.c(86) cmd=160 (SMBnttrans) NT_STATUS_BUFFER_TOO_SMALL" followed by various NT_STATUS errors. While grepping the archive for that error, I found a message in wich the author wrote this would happen frequently because Windows often tries to read/creat files that do no really exist. That's fine with me, but actually there is a r...
2004 Feb 04
2
Problem browsing my unix-client - session setup failed: NT_STATUS _CANT_ACCESS_DOMAIN_INFO
...I am not able to "open" my unix-client.
I checked nmbd and smbd and they are running.
If I try from my unix-clinet: smbclient -L my_user -W my_domain -L my_PDC I
can see shares.
If I try from my unix client: smbclient -L my_user -W my_domain -L
my_unix_client I get
session setup failed: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
What I'm mistaking?
Thank you
Mauro
Il Gruppo Direct Line ? di propriet? del Gruppo Royal Bank of Scotland, il
secondo gruppo bancario in Europa e il quinto al mondo. Oggi il Gruppo
Direct Line conta pi? di 5 milioni di clienti auto, pi? di 10 milioni di
polizze nel...
2003 Feb 24
4
NT_STATUS question
Hi all
Got a couple of errors in the logs wondering what they mean???
Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE,
NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and
NT_STATUS_OBJECT_NAME_NOT_FOUND.
Four clips illustrating the above are below...
I have am wondering how I sort this out. I am particularly worried about
the NT_STATUS_NO_SUCH_FILE.
All the best
Justin.
EXAMPLE 1
New f...
2019 Feb 14
3
SMB Signing with "map to guest = " options
Hi,
I'm using samba-4.7.x
I have some confusions over "map to guest=" options with setting SMB Signing
1. Set "*Server signing =auto*", "*map to guest=bad uid*" and set "client
signing in windows 2k12 server group policy" to "Microsoft network client:
Digitally sign communications (Always)” = *Disable*"
SMB_Server is joined to Windows 2k12
2006 Jul 12
1
updated samba-3.0.23/examples/pdb/test.c
...********************************
Start enumeration of the passwd list.
****************************************************************/
static NTSTATUS testsam_setsampwent(struct pdb_methods *methods, BOOL update, uint32 acb_mask)
{
DEBUG(10, ("testsam_setsampwent called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************
End enumeration of the passwd list.
****************************************************************/
static void testsam_endsampwent(struct pdb_methods *methods)
{
DEBUG(10, ("testsam_endsampwent called\n&...
2019 Oct 14
4
Cannot Find Windows Shared Printer
...-L dap001 -N
Unable to initialize messaging context
Anonymous login successful
?????????????? Sharename???????????? Type?????????? Comment
?????????????? ---------???????????? ----?????????? -------
smb1cli_req_writev_submit: called for dialect[SMB2_10] server[dap001]
Error returning browse list: NT_STATUS_REVISION_MISMATCH
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful
?????????????? Server???????????????????????????? Comment
?????????????? ---------?????????????????????? -------
?????????????? Workgroup?????????????????????? Master
?????????????? ---------???????????????...
2005 Sep 30
3
Differences with net join
All;
I'm getting closer to tracking down my problem (I hope).
Since I want samba to verify the windows users from the Windows
domain, I did the usual net join. But it still doesn't get the users
from there, I still need an smbpasswd file.
So... now the question (for the real samba gurus):
Is there a substantial difference between:
net ads join -w <domain/workgroup>
and
net rpc
2004 Aug 05
0
Samba Installation Issues on QNX
...e/includes.h(316): Error! E1055: Unable to open 'sys/label.h'
include/includes.h(317): Error! E1055: Unable to open 'sys/audit.h'
include/includes.h(318): Error! E1055: Unable to open 'pwdadj.h'
include/includes.h(396): Error! E1055: Unable to open 'biconv.h'
include/nt_status.h(38): Error! E1022: Missing or misspelled data type near 'uint32'
include/nt_status.h(48): Error! E1022: Missing or misspelled data type near 'uint32'
include/ntioctl.h(81): Error! E1022: Missing or misspelled data type near 'uint32'
include/charset.h(47): Error! E1022: Mis...
2013 Mar 05
1
Migrating from 389-ds+samba3 to samba4
...010009016145$
Could not find uidNumber in
uid=pc-010009016145$,ou=computers,dc=servidores,dc=ar
primary group of [pc-010009016145$] not found
Ignoring group memberships of 'pc-010009016145$'
S-1-5-21-2074566762-1180198301-1637365974-63408: Unable to enumerate group
memberships, (-1073741596,NT_STATUS INTERNAL DB CORRUPTION)
some body help me please!!!!
2004 Jul 18
1
Samba 3.0.4-Suse-Package with Suse 9.0
...h".
For an application it is necessary to print via the smb-backend of
CUPS, I have to get a queue pointing at a printer located at a Win-PC.
That printer is shared with permissions to print for everyone, but I
can't get CUPS to print a test-page. It is sent to the smb-backend
which gets NT_STATUS-LOGON_FAILED and such stuff.
So I tried to connect via smbclient, just to verify the connection, I
am only able to get a list of available shares with the user
administrator, not for the specific user I want to print with.
The user is in the Samba passdb backend.
I also did a new symbolic link sm...
2002 Oct 22
4
Re: Coming round to SURS...
...entral idmap and add the result to our cache.
>
> the idmap_central_* functions should be plugable/selectable (different
> backends should be allowed here)
>
> and the backend should decide how to handle unmapped id's.
>
> comments please
>
> /* idmap api */
> NT_STATUS idmap_sid_to_id(DOM_SID *sid, int *id, BOOL *group);
> {
> if (NT_STATUS_IS_OK(idmap_cache_sid_to_id(sid,id,group)))
> {
> return NT_STATUS_OK;
> }
>
> if (!NT_STATUS_IS_OK(idmap_central_sid_to_id(sid,id,group)))
>...
2004 Aug 31
2
plaintext backend
Hello
I would like to use plaintext backend with a simple Samba 3.0.6
configuration to get rid of the system of double passwords and rely just
on the plain old unix /etc/passwd ones.
However I couldn't find any information about it in
1) man smb.conf
2) online Samba official HOWTO
I tried putting passdb backend = plaintext into a smb.conf file with
security=share and the Samba server
2011 Aug 09
2
Log entrys after upgrade 3.6.0
Hi !
I upgraded to 3.6.0 on my Ubuntu 8.04 64 bit
and since change to max protocol=SMB2 and nmbd/smbd restarts I get many
of those "NT_STATUS_END_OF_FILE" messages
/-------------------------------------
[2011/08/09 15:55:11.130751, 1] smbd/process.c:456(receive_smb_talloc)
read_smb_length_return_keepalive failed for client 192.168.1.109 read
error = NT_STATUS_END_OF_FILE.
[2011/08/09 15:56:09.694632, 1] smbd/process.c:456(rec...
2010 Jan 18
2
Samba/winbind with Active Directory auth
...hat I get when I try to ssh into my smb server using my AD
credentials:
Jan 18 15:34:18 smb sshd[9157]: pam_winbind(sshd:auth): getting password
(0x00000000)
Jan 18 15:34:18 smb sshd[9157]: pam_winbind(sshd:auth): request failed:
Named pipe dicconnected, PAM error was System error (4), NT error was
NT_STATUS_PIPE_DISCONNECTED
Jan 18 15:34:18 smb sshd[9157]: pam_winbind(sshd:auth): internal module
error (retval = 4, user = 'DOMAIN\myusername')
Jan 18 15:34:18 smb sshd[9157]: pam_unix(sshd:auth): authentication failure;
logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.5.6
user= DOMAIN\myuserna...
2019 Feb 15
3
32 seconds vs 72 minutes -- expected performance difference?
...Negotiate Protocol Response > Dialect
in the lower panel.
Note that if you re-mounted during the capture or if some error happened
the kernel might have tried to reconnect automatically and you will see
multiple Req/Resp.
You can filter for packets with errors like so:
smb2 && smb2.nt_status != 0x80000006 && smb2.nt_status != 0
You can ignore "MORE_PROCESSING_REQUIRED" and ioctl error
"FS_DRIVER_REQUIRED" as well. They will show up on every reconnection.
Also, please attach files or disable word-wrapping when you send logs in
the future.
Cheers,
--
Aurél...