[Samba] Join NT Domain and Samba Netbios Name problem

Mehmet Ozgun Mehmet.Ozgun at tcmb.gov.tr
Wed Apr 28 13:53:11 GMT 2004


Hi,

I'm using Mandrake 10 CE, Samba 3.02a, Winbind. I have got a strange problem.
My linux machines can not join to our NT 4.0 domain when I define a netbios name which includes "I" or "i". 


How can I solve this problem.
Any answers ....

Thanks a lot.


Domain Name = DOMAIN1
Netbios Name = LINUX1
-------------------------------------------------------------------------------------------
When the netbios name is "LINUX" the rpc join returns error messages 


# net rpc join -U admin%password
[2004/04/28 16:36:11, 2] lib/interface.c:add_interface(79)
added interface ip=10.13.0.200 bcast=10.13.255.255 nmask=255.255.0.0
[2004/04/28 16:36:11, 2] lib/util_sock.cpen_socket_out(746)
error connecting to 10.201.0.204:445 (Connection refused)
[2004/04/28 16:36:11, 1] utils/net_rpc.c:run_rpc_command(138)
rpc command function failed! (NT_STATUS_ACCESS_DENIED)
[2004/04/28 16:36:11, 2] lib/util_sock.cpen_socket_out(746)
error connecting to 10.201.0.204:445 (Connection refused)
[2004/04/28 16:36:11, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(326)
Error domain join verification (reused connection): NT_STATUS_ACCESS_DENIED

Unable to join domain DOMAIN1.
[2004/04/28 16:36:11, 2] utils/net.c:main(767)
return code = 1
-------------------------------------------------------------------------------------------
Domain Name = DOMAIN1
Netbios Name = LNUX1
-------------------------------------------------------------------------------------------
It can be join to NT domain when the netbios name is "LNUX". And the result of the rpc 

# net rpc -d 2 join -U admin%password
[2004/04/28 16:41:00, 2] lib/interface.c:add_interface(79)
added interface ip=10.13.0.200 bcast=10.13.255.255 nmask=255.255.0.0
[2004/04/28 16:41:00, 2] lib/util_sock.cpen_socket_out(746)
error connecting to 10.201.0.204:445 (Connection refused)
[2004/04/28 16:41:00, 1] utils/net_rpc.c:run_rpc_command(138)
rpc command function failed! (NT_STATUS_ACCESS_DENIED)
[2004/04/28 16:41:00, 2] lib/util_sock.cpen_socket_out(746)
error connecting to 10.201.0.204:445 (Connection refused)
[2004/04/28 16:41:00, 2] lib/util_sock.cpen_socket_out(746)
error connecting to 10.201.0.204:445 (Connection refused)
Joined domain DOMAIN1.
[2004/04/28 16:41:00, 2] utils/net.c:main(767)
return code = 0


--------------------------------------------------------------------------------------------




Here is my smb.conf file 

[global]
workgroup = DOMAIN1
netbios name = LINUX1
server string = File Server - %v
log file = /var/log/samba/log.%m
max log size = 50
security = domain
password server = *
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind enable local accounts = yes
template homedir = /home/%D/%U
obey pam restrictions = yes
template shell = /bin/bash
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
idmap uid = 10000-20000
idmap gid = 10000-20000
wins server = 10.201.0.201
dns proxy = no

#============================ Share Definitions ==============================
[homes]
comment = User Homes
browseable = no
writable = yes

[public]
comment = Public Stuff
path = /home/samba/public
public = yes
writable = yes
write list = @"Domain Admins"
vfs object = /usr/lib/samba/vfs/audit.so

#---------------------------------------------------------------------------------


























==========================================================-
Bu e-posta sadece yukarida isimleri belirtilen kisiler arasinda özel haberlesme amacini tasimaktadir. Size yanlislikla ulasmissa lütfen gönderen kisiyi bilgilendiriniz ve mesaji sisteminizden siliniz. Turkiye Cumhuriyet Merkez Bankasi A.S. bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez. 

This e-mail communication is intended for the private use of the people named above. If you received this message in error, please immediately notify the sender and delete it from your system. The Central Bank of The Republic of Turkey does not accept legal responsibility for the contents of this message.


More information about the samba mailing list