[Samba] Samba Authentication & Trust Relationship Problem

S Mohan mohanlinux at gmail.com
Tue Feb 27 09:27:09 GMT 2007


Dear SAMBA Mailing List

I am using Samba samba-3.0.9-1.3E.10, OS Centos 4.4

We have got the problem. when I am issuing a "net rpc trustdom list"
command  some time it is showing ok and sometime it is showing error
message. and some time not. It is  creating a problem to authenticate other
Samba workstartion to PDC Server.

1)         [root at pdcdel<javascript:open_compose_win('to=root%40pdcdel&thismailbox=INBOX.sent-mail');>samba]#
net rpc trustdom list
            Password:
           Trusted domains list:

CSWN                S-1-5-21-4226246216-841769125-2743635684
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 at pdcdel<javascript:open_compose_win('to=root%40pdcdel&thismailbox=INBOX.sent-mail');>samba]#
net rpc trustdom list
                 Password:
                 Could not connect to server PDCDEL
                 The username or password was not correct.
[2007/02/27 07:49:03, 0] utils/net_rpc.c:rpc_trustdom_list(4565)
  Couldn't connect to domain controller


3)
root at pdcdel<javascript:open_compose_win('to=root%40pdcdel&thismailbox=INBOX.sent-mail');>samba]#
net rpc trustdom list
                   Password:
                   Trusted domains list:

CSWN                S-1-5-21-4226246216-841769125-2743635684
CSWG                S-1-5-21-2182516265-3119084770-3204029048

Trusting domains list:

CSWN                S-1-5-21-4226246216-841769125-2743635684
CSWG                S-1-5-21-2182516265-3119084770-3204029048
[root at pdcdel<javascript:open_compose_win('to=root%40pdcdel&thismailbox=INBOX.sent-mail');>samba]#
net rpc trustdom list
Password:
Trusted domains list:

CSWN                S-1-5-21-4226246216-841769125-2743635684
CSWG                S-1-5-21-2182516265-3119084770-3204029048

Trusting domains list:

CSWN                S-1-5-21-4226246216-841769125-2743635684
CSWG                S-1-5-21-2182516265-3119084770-3204029048


This is the log status (Output of /var/log/messages)
Feb 27 14:47:30 pdcdel samba(pam_unix)[12925]: session closed for user kth
Feb 27 14:47:30 pdcdel smbd[12913]: [2007/02/27 14:47:30, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:30 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:30 pdcdel smbd[12913]: [2007/02/27 14:47:30, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:30 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:30 pdcdel smbd[12913]: [2007/02/27 14:47:30, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:30 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:30 pdcdel smbd[12913]: [2007/02/27 14:47:30, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:30 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:30 pdcdel smbd[12913]: [2007/02/27 14:47:30, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:30 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!
Feb 27 14:47:31 pdcdel smbd[12913]: [2007/02/27 14:47:31, 0]
auth/auth_util.c:make_server_info_info3(1134)
Feb 27 14:47:31 pdcdel smbd[12913]:   make_server_info_info3: pdb_init_sam
failed!

Please Help.

-- 
S.Murli Mohan


"There are only two ways to lead your life -- one, let things happen in
their own way and tolerate it,
and second, take responsibility to change it"

Rang De Basanti.........


More information about the samba mailing list