The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Samba on AIX 5.3 capeme UNIX for Dummies Questions & Answers 2 12-10-2007 04:10 AM
SAMBA - need help BG_JrAdmin SUN Solaris 3 04-07-2006 11:07 PM
Why use Samba? champion UNIX for Dummies Questions & Answers 3 10-21-2002 02:58 PM
Samba aojmoj IP Networking 2 02-23-2002 06:39 PM
samba themask UNIX for Advanced & Expert Users 2 12-28-2001 05:57 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-26-2007
kjbaumann kjbaumann is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 49
SAMBA Help

All,

I have a Red Hat EL5 server running Samba 3.0.23c integrated with AD. When I try to access from windows by server name it asks for a username and password, but when I access it via IP I can see it.

Has anyone seen this before? I need to have it setup where people do Start->Run->\\servername not Start->Run->\\IP.

Any help would be great.

Thanks.
  #2 (permalink)  
Old 09-26-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Go into a command line and type

Code:
net use
to mount a drive I do the following..., I'm using "s:" as an example...

Code:
net use s: \\machine\share /USER:username
and to remove....

Code:
net use s: /d
does the result of "nslookup hostname" match the IP you use?
  #3 (permalink)  
Old 09-27-2007
kjbaumann kjbaumann is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 49
net use <drive letter> \\machine\share /USER:username still prompted me for a password.

nslookup hostname worked fine.

I'm not sure it matters but we are using NIS here. On the samba machine I can ypcat passwd, group fine. When I ypcat server I get two entries, both the same IP and name.

ypcat hosts |grep machine1
XXX.XX.XXX.22 machine1 machine1.domain.com
XXX.XX.XXX.22 machine1 machine1.domain.com

Also, wbinfo -g/u works as it should.
  #4 (permalink)  
Old 09-28-2007
kjbaumann kjbaumann is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 49
OK, here is the latest.

I have installed the beta version of Samba (3.0.25b-0.el5.4) from Red Hat's FasTrac site and all is fixed. Not sure why but it works.

Thanks for the help.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0