Results 1 to 3 of 3
I have two headless RedHat Kernels each running Samba, but I can only get one to work correctly!
This one works:
Code:
root ecm # testparm
Load smb config files ...
- 06-02-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
samba smbclient -L gives NT_STATUS_BAD_NETWORK_NAME
I have two headless RedHat Kernels each running Samba, but I can only get one to work correctly!
This one works:
And this one not :Code:root ecm # testparm Load smb config files from /etc/samba/smb.conf Processing section "[dev]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = SCORPION2 security = SHARE [dev] comment = ecm dev user folder path = /home/dev read only = No guest ok = Yes root ecm # smbclient -L //ecm Password: <none> Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Sharename Type Comment --------- ---- ------- dev Disk ecm dev user folder IPC$ IPC IPC Service (Samba 3.0.33-3.7.el5) Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Server Comment --------- ------- ECM Samba 3.0.33-3.7.el5 TG Samba 3.0.33-3.7.el5 Workgroup Master --------- ------- RRDSL CRAWD11514 SCORPION2 ECM
What I notice is that the smbclient Master doesnt show any items on tg?!Code:root tg# testparm Load smb config files from /etc/samba/smb.conf Processing section "[dev1]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = SCORPION2 security = SHARE [dev1] comment = tg dev user folder path = /home/dev read only = No guest ok = Yes root tg # smbclient -L //tg Connection to tg failed (Error NT_STATUS_BAD_NETWORK_NAME) root tg # smbclient -L //localhost Password:<none> Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Sharename Type Comment --------- ---- ------- dev1 Disk tg dev user folder IPC$ IPC IPC Service (Samba 3.0.33-3.7.el5) Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Server Comment --------- ------- TG Samba 3.0.33-3.7.el5 Workgroup Master --------- ------- SCORPION2 root tg # smbclient -L //ecm Password:<none> Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Sharename Type Comment --------- ---- ------- dev Disk ecm dev user folder IPC$ IPC IPC Service (Samba 3.0.33-3.7.el5) Domain=[SCORPION2] OS=[Unix] Server=[Samba 3.0.33-3.7.el5] Server Comment --------- ------- ECM Samba 3.0.33-3.7.el5 Workgroup Master --------- ------- RRDSL CRAWD11514 SCORPION2 ECM
Any clues?
- 06-03-2009 #2
If you NetBIOS names doesn't match you can try using -I (connecting using IP) instead of -L
- 06-04-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
This has now been SOLVED "Here"
So I cant add a direct link to the site, so, its on LinuxQuestions.org, titled the same as on here "samba smbclient -L gives NT_STATUS_BAD_NETWORK_NAME"
Originally Posted by Linux Forums Site
Many thanks for your help.


Reply With Quote