You need to have an inter-trust user account in samba before you attempt to add a trust in your windows domain, like this:

bash# useradd service-domain$
bash# smbpasswd -a -i service-domain
New SMB password:
retype New SMB password:
Added user systems-domain$.

if you get stuck i have a wiki detailing how i went about it, it explains for 
NT4->2003 domains

regards



Madhusudan, R wrote:

FWIW, I'm running SAMBA-3.0.3-5 on Fedora Core 2.

-Madhu

-----Original Message-----
From: Madhusudan, R Sent: Wednesday, November 03, 2004 6:42 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Trust between SAMBA and NT server



Hello,

I'm having problems getting the SAMBA domain to trust an NT domain. The following is 
how I went about the exercise:

1. On the NT domain, I added the SAMBA domain A/C in the TRUSTING DOMAINS list, providing a certain password.
2. On the SAMBA domain, I executed the following command feeding the same password given in step 1, but without success:


[EMAIL PROTECTED] 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.
[EMAIL PROTECTED] 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:
------------------------------------------------------------------------------------
[global]

workgroup = COBRA.DOM netbios name = COBRA
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes domain logons = yes
wins server = 16.138.244.55 dns proxy = no admin users = madhu


[homes]
       comment = Home Directories
       read only = No
       browseable = No

[netlogon]
       comment = Network Logon Service
       path = /usr/lib/samba/netlogon
       guest ok = Yes
       share modes = No

[printers]
       comment = All Printers
       path = /var/spool/samba
       printable = Yes
       browseable = No
-------------------------------------------------------------------------------------
Regards,
Madhu





--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniel Wilson
Systems Administrator

IT & Communications Service
University of Sunderland
Unit1 Technology Park
Chester Road
Sunderland
SR2 7PT

Tel: 0191 515 2695

This e-mail contains information which is confidential and may be privileged and is for the exclusive use of the recipient. It is the responsibility of the recipient to ensure that this message and its attachments are virus free. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University, unless otherwise specifically
stated.




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

Reply via email to