[Samba] Problem with Net join

Ramadevu, Ramkumar ramkumar.ramadevu at nikkociti.com
Thu Oct 18 08:09:38 GMT 2007


Hello Friends,

 

Actually here is the history of my operation, initially I am having the samba version samba3.0.23_A0 and leter I am trying to upgrade it to samba3.0.25_A0 without changing the smb.conf, that results so many obsolete entries. 

 

Now I have removed the all the obsolete entries and made smb.conf but still I am facing same problem,

 

[global]

 

security = domain

workgroup = JPN

username map = /etc/opt/samba/users.map

encrypt passwords = yes

client ntlmv2 auth = yes

client lanman auth = no

client plaintext auth = no

lanman auth = no

ntlm auth = no

client schannel = no

 

allow hosts = 169.180.,161.75.,169.75.

socket options = SO_REUSEADDR SO_KEEPALIVE TCP_NODELAY

password server = DCserver1, DCserver2, DCserver3

 

;Enter IP address of your primary wins server, currently set to uswins1 for NA.

wins server =

;Enter hostname for samba server on next line

server string = 

wins proxy = no

wins support = no

preferred master = no

domain master = no

local master = no

browse list = no

;case sensitive = yes

hide dot files = no

log file = /var/opt/samba/log.%m

lock directory = /var/opt/samba/locks

pid directory = /var/opt/samba

public = no

browseable = yes

log level = 3

locking = no

read raw = no

 

 

root at tktdfish /etc/opt/samba #/opt/samba/bin/net join -S DCserver1 -s /etc/opt/samba/smb.conf -Uhi02514   <- privileged user.

Password:

Could not connect to server DCserver1

The username or password was not correct.

Connection failed: NT_STATUS_LOGON_FAILURE

 

 

lob.smbd having following errors:

 

2007/10/18 11:13:55, 0] auth/auth_util.c:(763)

  create_builtin_administrators: Failed to create Administrators

[2007/10/18 11:13:55, 0] auth/auth_util.c:(872)

  create_local_nt_token: Failed to create BUILTIN\Administrators group!

[2007/10/18 11:13:55, 0] auth/auth_util.c:(729)

  create_builtin_users: Failed to create Users

[2007/10/18 11:13:55, 0] auth/auth_util.c:(899)

  create_local_nt_token: Failed to create BUILTIN\Administrators group!

[2007/10/18 11:13:55, 0] lib/util_sock.c:(830)

  bind failed on port 445 socket_addr = 0.0.0.0.

  Error = Address already in use

[2007/10/18 11:55:04, 0] auth/auth_util.c:(792)

  create_builtin_administrators: Failed to create Administrators

[2007/10/18 11:55:04, 0] auth/auth_util.c:(758)

  create_builtin_users: Failed to create Users

[2007/10/18 11:55:04, 0] auth/auth_util.c:(792)

  create_builtin_administrators: Failed to create Administrators

[2007/10/18 11:55:05, 0] auth/auth_util.c:(758)

  create_builtin_users: Failed to create Users

 

 

 

 

 

-----Original Message-----
From: Fabiano Caixeta Duarte [mailto:fcd.listas at gmail.com] 
Sent: Tuesday, October 16, 2007 8:45 PM
To: Ramadevu, Ramkumar [CMB-IT]
Subject: Re: [Samba] Problem with Net join

 

Ramadevu, Ramkumar escreveu:

> Team,

> Can any one help me on the below?

> [global]

>    domain master = no

>    local master = no

>    preferred master = no

> 

>    workgroup = TOKYO

>    client code page = 932

>    codingsystem = EUC

>    encrypt passwords = yes

>    socket options = SO_REUSEADDR SO_KEEPALIVE TCP_NODELAY

>    security = domain

>    password server = Server1,Serve2,Server3

>    server string =

>    wins proxy = no

>    wins support = no

>    preferred master = no

>    browse list = no

>    public = no

>    status = yes

>    hide dot files = no

>    mangled names = yes

>    case sensitive = yes

>    postscript = true

>    browseable = yes

>    log level = 1

>    debug level = 1

>    password level = 0

>    mangled stack = 1

>    log file = /var/opt/samba/log.%m

>    lock directory = /var/opt/samba/locks

>    auto services = homes

>    username map = /etc/opt/samba/users.map

>    client ntlmv2 auth = yes

>    client lanman auth = no

>    client plaintext auth = no

>    lanman auth = no

> ===============================================

> bash-2.01# /etc/init.d/samba stop

> 

> 

> bash-2.01# /opt/samba/bin/net join -S Server1 -s /etc/opt/samba/smb.conf

> -Uuser1

> [2007/09/05 19:53:12, 0] param/loadparm.c:(2762)

>   Unknown parameter encountered: "client code page"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(3496)

>   Ignoring unknown parameter "client code page"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(2762)

>   Unknown parameter encountered: "codingsystem"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(3496)

>   Ignoring unknown parameter "codingsystem"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(2762)

>   Unknown parameter encountered: "status"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(3496)

>   Ignoring unknown parameter "status"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(2762)

>   Unknown parameter encountered: "postscript"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(3496)

>   Ignoring unknown parameter "postscript"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(2762)

>   Unknown parameter encountered: "mangled stack"

> [2007/09/05 19:53:12, 0] param/loadparm.c:(3496)

>   Ignoring unknown parameter "mangled stack"

> Password:

> Could not connect to server Server1

> The username or password was not correct.

> Connection failed: NT_STATUS_LOGON_FAILURE

> 

> And the error log having following errors

> 

> 2007/09/05 19:51:26, 0] rpc_client/cli_pipe.c:(2679)

> 

>   cli_rpc_pipe_open_schannel: failed to get schannel session key from

> server Server1 for domain TOKYO.

> 

> [2007/09/05 19:51:26, 0] auth/auth_domain.c:(119)

> 

>   connect_to_domain_password_server: unable to open the domain client

> session to machine Server1. Error was : NT_STATUS_ACCESS_DENIED.

> 

> [2007/09/05 19:51:26, 0] auth/auth_domain.c:(217)

> ==============================

> Samba version : VERSION:  3.0.23_A0

 

First of all I'd recommend that you read

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/. It will

help you a lot on setting your smb.conf.

 

 

It seems that you're trying to use an old smb.conf on a new samba

server. Debug messages are complaining about some unknown parameters

encoutered on your smb.conf. Like client code page. Instead, you'll find

Dos charset and Unix charset on the documentation above.

 

-- 

Fabiano Caixeta Duarte

Especialista em Redes de Computadores

Linux User #195299

Ribeirão Preto - SP

 



More information about the samba mailing list