1748123 Members
3401 Online
108758 Solutions
New Discussion юеВ

Re: Samba error

 
sreeram n
Frequent Advisor

Samba error

Admins,

I was trying to issue net join command for adding the unix box to win2000 domain and I am getting below error. I have tried with various combinations in smb.conf file but not able to get rid of this error.

/opt/samba/bin/net rpc join -U username%passwd -I IPADDRESS

[2008/12/11 10:50:01, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
cli_nt_setup_creds: request challenge failed
[2008/12/11 10:50:01, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
cli_nt_setup_creds: request challenge failed
[2008/12/11 10:50:01, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
Error domain join verification (reused connection): NT_STATUS_INVALID_COMPUTER_NAME

Unable to join domain domain Name.
I am using hpux 11.23 on itanium SD.
Thanks
in advacne.
Sreeram

Sreeram N
6 REPLIES 6
Michael Allmer
Frequent Advisor

Re: Samba error

What version of samba are you running?

Do you have Kerberos client installed and configured?

I just added a samba server to a ADS 2003 domain using the following:
./net ads join -U USER -S ADSERVER -s /smb.conf

Remember that the user account must be able to add computer accounts to the AD domain.
sreeram n
Frequent Advisor

Re: Samba error

Hi Mike,
Thanks for the quick responce.
I am using below samba version.
Samba version 3.0.14a based HP CIFS Server A.02.02.01.

I have not configuers kerbose client. I am not that much familiar with samba.

Could you please help me here.

Thanks again
Sreeram
Sreeram N
Frank_W
Frequent Advisor

Re: Samba error

Hi,

whats in your smb.conf file?

there should be something like:

workgroup =
security = domain
password server = ,


then " /opt/samba/bin/net rpc join -U username%passwd " should work.

Be sure that your smbd is down while joining.

Frank
sreeram n
Frequent Advisor

Re: Samba error

Hi,
My smb.conf is something like

workgroup = domain name
netbios name = unix hostname
server string = samba server
security = DOMAIN
password server = domain controller1
log file = /var/opt/samba/log.%m
max log size = 1000
local master = No
kernel oplocks = No
read only = No
create mask = 0775
directory mask = 0775
short preserve case = No
preserve case = Yes
oplocks = No
dos filetime resolution = Yes


smbd and nmbd process are runnig on server.
Sreeram N
sreeram n
Frequent Advisor

Re: Samba error

At last it joined the domain after adding wins server = IP of WIns server to the smb.conf file.


Thanks all for your support.

Sreeram
Sreeram N
sreeram n
Frequent Advisor

Re: Samba error

I solved the problem by adding wins server to smb.conf.


See my previous comment.

Sreeram N