[Samba] Trust between SAMBA and NT server

Madhusudan, R r.madhusudan at hp.com
Wed Nov 3 13:12:05 GMT 2004


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 

[root at cobra root]# net rpc trustdom establish asnt01
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 at 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:

   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 = 
   dns proxy = no 
   admin users = madhu

        comment = Home Directories
        read only = No
        browseable = No

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

        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

More information about the samba mailing list