search for: net_rpc

Displaying 20 results from an estimated 114 matches for "net_rpc".

2013 Jan 07
2
Samba 4 on AIX with XLC
Has anyone tried building Samba 4.0 on AIX with XLC? I'm moving right along, but tripping up on some bugs in source3/utils/net_rpc.c, source3/utils/net_rpc_printer.c, and source3/utils/net_cache.c where there is an invalid use of the ":" operator. According to some other posts on the PostgreSQL forum, this shouldn't compile anywhere, even though GCC apparently allows it?? (http://archives.postgresql.org/pgsql-h...
2008 Jul 05
1
net rpc shutdown does not work
...9;m using centos 5.2 up-to-date with its latest samba 3.0.28-1.el5_2.1 running a Samba PDC with OpenLDAP as backend. Everything else works fine but somehow this command *(net rpc shutdown -t 10 -U root -S xp1 -d 1)* doesn't work and return this with debug level 1 [2008/07/05 19:30:11, 1] utils/net_rpc.c:rpc_init_shutdown_internals(5206) Shutdown of remote machine failed! [2008/07/05 19:30:11, 1] utils/net_rpc.c:run_rpc_command(170) rpc command function failed! (NT_STATUS_ACCESS_DENIED) [2008/07/05 19:30:11, 1] utils/net_rpc.c:rpc_shutdown(5303) initshutdown pipe failed, trying winreg pipe...
2013 May 17
2
Continued compilation errors with samba 3.6.15
? Hello. ?I'm trying to compile samba on a?armnas. ? First I execute: autogen.sh configure make ? And got the following error: ? ? ? ? Compiling ../libcli/samsync/decrypt.c Linking bin/net utils/net_rpc.o: In function `net_rpc': net_rpc.c:(.text+0x88): undefined reference to `libnetapi_net_init' utils/net_rpc.o: In function `net_rpc_file': net_rpc.c:(.text+0x2d74): undefined reference to `libnetapi_net_init' utils/net_rpc.o: In function `net_rpc_share': net_rpc.c:(.text+0x32ec)...
2011 Jan 21
1
Problems with a trust relation between samba and samba different subnet
...Now went I run the command: net rpc trustdom establish DOM1 on PDC DOM2 I got the error net rpc trustdom establish DOM1 running on PDC DOM2 [2011/01/21 07:17:16, 0] libsmb/namequery.c:internal_resolve_name(1609) resolve_name: unknown name switch type lmhost [2011/01/21 07:17:16, 0] utils/net_rpc.c:rpc_trustdom_establish(5565) Couldn't find domain controller for domain DOM1 Some search pages point me that in this case I need to setup the file lmhosts to make this happen because no service is helping my PDC to reach the other end, I read the MS KB where it say how to setup a LMHOSTS a...
2007 Feb 28
1
Samba Trust Relationship Problem
...3635684 CSWG S-1-5-21-2182516265-3119084770-3204029048 Trusting domains list: [2007/02/27 07:47:43, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435) cli_pipe: return critical error. Error was Call timed out: server did not respond after 10000 milliseconds [2007/02/27 07:47:43, 0] utils/net_rpc.c:rpc_trustdom_list(4688) Couldn't enumerate accounts. Error was: NT_STATUS_UNSUCCESSFUL 2) [ root@pdcdel samba]# net rpc trustdom list Password: Could not connect to server PDCDEL The username or password was not correct. [200...
2004 Feb 19
3
String buffer error when trying to add to a domain
...24.15 ( 172.16.25.20 ) [2004/02/18 20:27:03, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/18 20:27:03, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/02/18 20:27:03, 1] utils/net_rpc.c:run_rpc_command(138) rpc command function failed! (STATUS_BUFFER_OVERFLOW) Password: [2004/02/18 20:27:07, 2] lib/util_sock.c:open_socket_out(746) error connecting to 172.16.25.20:445 (Connection refused) [2004/02/18 20:27:10, 1] libsmb/cliconnect.c:cli_full_connection(1425) failed sessi...
2003 Jun 17
1
samba30b1 - net join responds failure - but machine account was created
..., different responses but always the machine account was sucessfully created what doeas this mean ? a) net join -I 192.168.1.20 -U Administrator [2003/06/17 15:14:50, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2003/06/17 15:14:50, 1] utils/net_rpc.c:run_rpc_command(154) rpc command function failed! (NT_STATUS_INVALID_COMPUTER_NAME) Password: [2003/06/17 15:14:54, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2003/06/17 15:14:54, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(321) erro...
2011 Jan 21
1
Problems with a trust relation between samba and sambadifferent subnet
...pc trustdom establish DOM1 on PDC DOM2 I got the error > > net rpc trustdom establish DOM1 running on PDC DOM2 > > [2011/01/21 07:17:16, 0] > libsmb/namequery.c:internal_resolve_name(1609) > resolve_name: unknown name switch type lmhost > [2011/01/21 07:17:16, 0] utils/net_rpc.c:rpc_trustdom_establish(5565) > Couldn't find domain controller for domain DOM1 > > Some search pages point me that in this case I need to setup the file > lmhosts to make this happen because no service is helping my PDC to > reach the other end, I read the MS KB where it say...
2005 Feb 16
3
rpc trust gives NT_STATUS_INVALID_HANDLE with 3.0.11
...ONTOR' is its domain-name): [root@linux /root]# net rpc trustdom establish kontor Password: Could not connect to server CALYPSO [2005/02/16 17:20:27, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435) cli_pipe: return critical error. Error was NT_STATUS_INVALID_HANDLE [2005/02/16 17:20:27, 0] utils/net_rpc.c:rpc_trustdom_establish(4560) WksQueryInfo call failed. When run with SAMBA 3.0.9 the sentence 'Could not connect to server CALYPSO' is also given, but the trust is established anyway. SAMBA is compiled from the SRPM-package on Redhat 7.1. Windows 2003 is upgraded with all current se...
2004 Dec 14
2
Issues with trustdom on 3.0.9
...ist: NWK-DEV S-1-5-21-3621456476-1818373083-1045877787 Trusting domains list: [2004/12/14 12:02:21, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435) cli_pipe: return critical error. Error was Call timed out: server did not respond after 10000 milliseconds [2004/12/14 12:02:21, 0] utils/net_rpc.c:rpc_trustdom_list(4692) Couldn't enumerate accounts. Error was: NT_STATUS_UNSUCCESSFUL ...I don't even know where to begin to check this out more thorougly. It works fine on the test system, where everything is fresh, but there are also a lot fewer restrictions/other activities on t...
2006 Sep 15
2
New Samba GroupMapping
...The default mapping entries were now made only whenn using LDAP? It is not a problem to create the entries by hand or script but it would be usefull having a table with the sid key's or am i wrong? Another Problem ist getting the usersidlist. # net usersidlist [2006/09/14 12:30:00, 0] utils/net_rpc.c:net_usersidlist(4716) Could not get the user/sid list Why? I foudn no answer in the web. Thnx regards CAT
2004 Feb 04
1
interdomain trusts 2 samba pdcs
Hi @ll, as i had setup a vpn ( openvpn ) and have wins browse working nice between the 2 subnets i wanted to setup a interdomain trust. I did smbpasswd -a -i ... the trustaccount was created. but net rpc trustdom establish robowarp results in [2004/02/04 02:58:09, 0] utils/net_rpc.c:rpc_trustdom_establish(1789) Couldn't find domain controller for domain ROBOWARP for sure i checked all network issuses, the machines know eachother via wins dns and host files, name resolution runs perfect. versions are samba 3 and samba 3.01 , has anybody played with this features and can...
2004 Nov 25
1
Domain trust relationship Q
...FOO S-1-5-21-194374591-1744372652-1779375073 which seems OK. I then issue: net rpc trustdom establish BAR on FOOs Samba server which, according to strace, attempts to find the BAR PDC through broadcasting on it's subnet, failing and telling me : [2004/11/25 14:00:02, 0] utils/net_rpc.c:rpc_trustdom_establish(3065) Couldn't find domain controller for domain BAR How do I tell the FOO domain PDC the IP address for the PDC for BAR? Hope that makes sense. Tim
2004 Nov 26
1
net rpc shutdown not working
hi jI'm trying to shutdown some windows XP clients with net rpc shutdown -S <name> -U administrator%password but all i get is this error [2004/11/26 10:44:32, 0] utils/net_rpc.c:rpc_shutdown_internals(4113) Shutdown of remote machine failed! I'm using Version 3.0.8-Debian and le client are using winXP SP2 (the firewall is not activated) if someone can help thank cyril
2005 May 15
0
Inter Domain Trusts
...mmand to list Trusted and Trusting Domain I get a message error as following: PDC2 (PRJLINUX2) [root@prjarq5 /var/log/samba]# net rpc trustdom list Password: Trusted domains list: PRJLINUX2 S-1-5-21-4059743569-3322342921-590290203 Trusting domains list: [2005/05/15 09:32:30, 0] utils/net_rpc.c:rpc_trustdom_list(4997) Couldn't enumerate accounts. Error was: NT_STATUS_UNSUCCESSFUL PDC1 (PRJLINUX1) [root@prjarq6 /var/log/samba]# net rpc trustdom list Password: Trusted domains list: PRJLINUX1 S-1-5-21-3363276594-1951407936-208823051 Trusting domains list: [2005/05/15 0...
2007 Jan 19
1
Possible bug on net rpc trustdom establish
...#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 () #8 0x51188 in net_rpc () #9 0x3c6d8 in net_run_function () #10 0x3e15c in main () Look at the code in rpc_trustdom_establish() call in utils/net_rpc.c. nt_status = connect_to_ipc_anonymous(&cli, &server_ip, (char*)pdc_name); if (NT_STATUS_IS_ERR(nt_status)) { DEBUG(0, ("Couldn't connect to doma...
2007 May 29
1
Group mapping not working consistently - addendum
Pardon me, I meant to include this information: bentis@redress3:~$ net rpc -d1 group members "Caseworkers" Password: [2007/05/29 20:53:13, 1] utils/net_rpc.c:run_rpc_command(170) rpc command function failed! (STATUS_SOME_UNMAPPED)
2004 Nov 03
3
Trust between SAMBA and NT server
...assword given in step 1, but without success: [root@cobra root]# net rpc trustdom establish asnt01 Password: Could not connect to server ASNT1 [2004/11/03 17:43:37, 0] rpc_parse/parse_prs.c:prs_mem_get(530) prs_mem_get: reading data of size 4 would overrun buffer. [2004/11/03 17:43:37, 0] utils/net_rpc.c:rpc_trustdom_establish(3035) WksQueryInfo call failed. [root@cobra root]# Any ideas as to what the problem is? I was able to get the NT domain to trust the SAMBA domain though. Given below is the SMB.CONF contents: ------------------------------------------------------------------------------...
2005 Feb 28
1
Interdomain trust problem
...e lets say I used the password "secret") CORP: smbpasswd -a -i FURN (entered "secret" again) FURN: net rpc trustdom establish CORP (entered "secret") Could not connect to server CORPSRV The username or password was not correct. [2005/02/28 10:11:02, 0] utils/net_rpc.c:rpc_trustdom_establish(4516) Couldn't verify trusting domain account. Error was NT_STATUS_LOGON_FAILURE The same exact thing happens the opposite way. No real error messages that I can find in any log files. Can someone please tell me the step I am missing? Thanks, Misty PS - John,...
2010 Jan 11
1
Group mapping is not showing correct value
...utput of 'net rpc group members' command, it is giving an error message. Please see here: brajesh_01:/var/log/samba # net rpc group members "Web Master" -U administrator -d 1 Enter administrator's password: Couldn't find group Web Master [2010/01/11 10:35:33, 1] utils/net_rpc.c:run_rpc_command(181) rpc command function failed! (NT_STATUS_NONE_MAPPED) brajesh_01:/var/log/samba # I am new for group mapping feature. Please let me know where I am doing wrong. Thanks in advance!!!