1827806 Members
2277 Online
109969 Solutions
New Discussion

Re: Samba

 
SOLVED
Go to solution
M.Thomas
Frequent Advisor

Samba

Hi Admins,
After Samba server configuration in my RHEL4 server , i tried this command to check the configuration is done properly
# smbclient //localhost/backup -U thomas
but iam getting this error
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
can anyone tell me how to solve this.
Next i need step by step procedure to implement a linux-samba server used as a domain controller for windows network

5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: Samba

The best documentation is the SAMBA3 HOWTO included in the samba package. Go to /usr/share/docs/samba-.

Then, for your problem, try this:

run "testparm" to ensure that you configuration file is valid.

Ensure that the services started with "service smb restart" and "service smb status".

Use smbclient -L //servername -U username to list the shares configured. Then try to access the share.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
g33k
Valued Contributor

Re: Samba

try use smbmount
man smbmount
man mount
George Georgiev
Occasional Advisor

Re: Samba

try:

smbclient -L localhost

this will show you what shares you have on that machine. NT_STATUS_BAD_NETWORK_NAME usually means that you are refering to a wrong sharename (i.e. backup)


cheers!
George
Steven E. Protter
Exalted Contributor

Re: Samba

Shalom,

A problem with Microsoft's Domain Controller has been blocking various versions of the Samba software from making proper connections to microsoft shares.

The problem was so severe, some people put in a special domain controller to manage this situation.

The options are not very good.

1) You can pick a version of Samba that works with your microsoft environment. The stuck version with RH4 should work but apparently not.

2) You can provide an alternate domain controller to permit network access to Linux clients.

3) Microsoft can release a fix, because they caused the problem. That may have been done, you should have the domain admins check into it.

The documentation you have been provided is sufficient.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
vnykr
Advisor

Re: Samba

hi

try to mount the share using smbfs as follows .

mount -t smbfs ///

if u want to mount someones share(say 10.0.3.22)
first see the share details using ..

$smbclient -L 10.0.3.22

dis will display the share names and types etc..
so that u can easily mount any share u want .

bye
vinay kumar