Re: [Samba] SAMBA 3 and Windows2000 mixed mode trust

2003-10-20 Thread philip.quinney
Hey Giovanni et al,

I think I'm up against the same wall as you - I posted my problem a couple of days ago 
but no one has answered as of yet. I hope people won't mind but I'm going to repost my 
mail as it has a debug level 3 output of what is happening to you - and the 
combination of both of our information might be able to help someone provide a 
solution.

--Begin repost--

Win 2002 PDC: WINPDC, IP 1.2.3.4
Client in Windows Domain: CLIENT
Samba PDC in Domain TEST: SMBPDC

I use Start - Run - \\SMBPDC on a machine in our Windows 2000 Domain and got an 
error saying \\SMBPDC, A device attached to the system is not functioning.

The following is a debug level 3 output from the smbd log on our Samba server in the 
Test Domain:

[2003/10/17 12:54:03, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/10/17 12:54:03, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/10/17 12:54:03, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/10/17 12:54:03, 3] libsmb/namequery_dc.c:rpc_dc_name(147)
  rpc_dc_name: Returning DC WINPDC (1.2.3.4) for domain HOLLAND
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe c000!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] 
auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe c00d!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] 
auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe 3!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] 
auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:04, 0] auth/auth_domain.c:domain_client_validate(167)
  domain_client_validate: Domain password server not available.
[2003/10/17 12:54:04, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  Authentication for user [pquinney] - [pquinney] FAILED 
with error NT_STATUS_UNSUCCESSFUL
[2003/10/17 12:54:04, 3] smbd/process.c:timeout_processing(1099)
  timeout_processing: End of file from client (client has disconnected).


If I try and add a user in the Samba domain to the list of users on the permissions 
for a share on the Windows PDC I get the same A device attached to the system is not 
functioning.

--End Repost--
 
 From: Giovanni Romanenghi [EMAIL PROTECTED]
 Date: 2003/10/20 Mon AM 11:36:08 GMT
 To: [EMAIL PROTECTED]
 Subject: [Samba] SAMBA 3 and Windows2000 mixed mode trust
 
 I have one server windows2000 mixed mode with active directory and samba 
 3.0 PDC.
 This is my smb.conf
 [global]
  workgroup = TESTIPLANET
  netbios name = TEST
  server string = DOMINIO TEST
  interfaces = 10.10.6.158
  bind interfaces only = yes
  preferred master = Yes
  domain master = Yes
  wins support = Yes
  domain logons = yes
  local master = yes
  encrypt passwords = yes
  security = user
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  ldap suffix = o=test,c=it
  ldap machine suffix = ou=people,o=test,c=it
  ldap user suffix = ou=people,o=test,c=it
  ldap group suffix = ou=group
  ldap admin dn = uid=sambauser,cn=config
  ldap ssl = no
  passdb backend =  ldapsam:ldap://10.10.5.160/ guest
  passwd program = /sambabin/samba/bin/ldapsync.pl -o %u
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
 *modifying*
  unix password sync = Yes
  logon script = %G_%U.bat %G %U

[Samba] Problems with Trust Relationship

2003-10-17 Thread philip.quinney
Hey All,

I'm having problems with a Trust relationship between our Win 2002 PDC and our Samba 
PDC. Here are the details:

(names have been changed to protect the innocent...!)

Win 2002 PDC: WINPDC, IP 1.2.3.4
Client in Windows Domain: CLIENT
Samba PDC in Domain TEST: SMBPDC

I use Start - Run - \\SMBPDC on a machine in our Windows 2000 Domain and got an 
error saying \\SMBPDC, A device attached to the system is not 

functioning.

The following is a debug level 3 output from the smbd log on our Samba server in the 
Test Domain:

[2003/10/17 12:54:03, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/10/17 12:54:03, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/10/17 12:54:03, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/10/17 12:54:03, 3] libsmb/namequery_dc.c:rpc_dc_name(147)
  rpc_dc_name: Returning DC WINPDC (1.2.3.4) for domain HOLLAND
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe c000!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe c00d!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:03, 3] libsmb/cliconnect.c:cli_start_connection(1290)
  Connecting to host=WINPDC
[2003/10/17 12:54:03, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 1.2.3.4 at port 445
[2003/10/17 12:54:03, 3] rpc_client/cli_pipe.c:rpc_api_pipe(457)
  Bind NACK received on pipe 3!
[2003/10/17 12:54:03, 2] rpc_client/cli_pipe.c:cli_nt_establish_netlogon(1578)
  rpc bind to \PIPE\NETLOGON failed
[2003/10/17 12:54:03, 0] auth/auth_domain.c:connect_to_domain_password_server(115)
  connect_to_domain_password_server: unable to setup the NETLOGON credentials to 
machine WINPDC. Error was : NT_STATUS_UNSUCCESSFUL.
[2003/10/17 12:54:04, 0] auth/auth_domain.c:domain_client_validate(167)
  domain_client_validate: Domain password server not available.
[2003/10/17 12:54:04, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  Authentication for user [pquinney] - [pquinney] FAILED with 
error NT_STATUS_UNSUCCESSFUL
[2003/10/17 12:54:04, 3] smbd/process.c:timeout_processing(1099)
  timeout_processing: End of file from client (client has disconnected).


If I try and add a user in the Samba domain to the list of users on the permissions 
for a share on the Windows PDC I get the same A device attached to the system is not 
functioning.

Can anyone help?

Thanks,

Phil.


-
Email provided by http://www.ntlhome.com/


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba BDC to Windows 2000 PDC

2003-01-21 Thread philip.quinney
Hey All,

I was hoping you could give me a little advice on this situation:

We have a Windows 2000 PDC (ugghhh) at our main site. We are now adding another server 
to a remote site. We were hoping to run a Samba server in this position, as it would 
be nice to have the machine doing both File and Print Sharing as well as acting as a 
Proxy Server for Internet Access.

I must admit I have lost touch with samba a little in the past. I knew that not so 
long ago it was not possible for a Samba machine to act as a BDC. Is this still the 
case, and if so what is the best way of getting the remote site's server set up?

Should we have it as a BDC, or have a separate domain for the remote site?

Thanks for any help you may be able to give, and for your time.

Phil Quinney.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba