LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Some sort of Samba error (https://www.linuxquestions.org/questions/linux-networking-3/some-sort-of-samba-error-39978/)

Travis86 01-01-2003 10:44 AM

Some sort of Samba error
 
I try to connect to my Windows computer with smbclient, and it says "anonymous login successful." But then it says: "tree connect failed: NT_STATUS_BAD_NETWORK_NAME".

Does anyone know what that means? Also, it says "anonymous login successful" even though I give my username and password. Why is that?

mazher 10-16-2003 12:25 AM

yes i do

guest 11-21-2003 01:38 PM

edit the config file
 
the file you are editing is the wrong one. It seems it is running the default config file, which is anonymous, etc...
Make sure the config file is in /etc and is the one used by samba.
I'm a bit of a noob myself, but I've had the same prob with Samba and that was the solution.

shammi456 11-22-2003 03:36 AM

Hello,
You have to edit the file
$ /etc/samba/smb.conf. This is the configuration file for samba. In that you have to specify the netgroup name which helps your machine identified in the windows network. Please try it out and if problems persist do contact me with details of the problem.

-Thank You.
-Sam
B.Sc.B.Tech,R.H.C.E

pele_smk 11-29-2003 03:33 PM

Samba logon problems
 
Ok, I had this working last week then I reformatted and started all over and now I can't get samba working again. My first error is when I log onto my winXP Pro machine I get "duplicate name exits on the network" I'm also getting the error NT_STATUS_BAD_NETWORK_NAME when I try to log onto my samba using smbclient //localhost/ -U "username". I'm guessing I havn't added any samba shared directories yet so that is the problem. But I'm not too sure. When I browse Network neighborhood I don't see my linux box in the workgroup. So obviously my smb.conf file is messed up.

I just got onto samba using smbclient //localhost/homes -U "username" so that's ok. But still no luck seeing comp in winXP.

pele_smk 11-29-2003 11:33 PM

working
 
I had to set the netbios name, for some reason in my slack9.1 smbconf example file there was no netbios name = anywhere in the file. Heh.


All times are GMT -5. The time now is 05:21 AM.