# SAMBA Help

**URL:** <https://community.unix.com/t/samba-help/175965>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [September 26, 2007, 3:54pm UTC](https://community.unix.com/t/samba-help/175965 "2007-09-26T15:54:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjbaumann](https://community.unix.com/letter_avatar/kjbaumann/32/5_5575768a8748004e209b776fc1b2916d.png) [@kjbaumann](https://community.unix.com/u/kjbaumann)\
**Post date:** [September 26, 2007, 3:54pm UTC](https://community.unix.com/t/samba-help/175965/1 "2007-09-26T15:54:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![porter](https://community.unix.com/letter_avatar/porter/32/5_5575768a8748004e209b776fc1b2916d.png) [@porter](https://community.unix.com/u/porter)\
**Post date:** [September 26, 2007, 5:44pm UTC](https://community.unix.com/t/samba-help/175965/2 "2007-09-26T17:44:24Z")

</div>

Go into a command line and type

```nohighlight
net use

```

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

```nohighlight
net use s: \\machine\share /USER:username

```

and to remove....

```nohighlight
net use s: /d

```

does the result of "nslookup hostname" match the IP you use?

---

<div class="post-metadata">

**Author:** ![kjbaumann](https://community.unix.com/letter_avatar/kjbaumann/32/5_5575768a8748004e209b776fc1b2916d.png) [@kjbaumann](https://community.unix.com/u/kjbaumann)\
**Post date:** [September 27, 2007, 10:54am UTC](https://community.unix.com/t/samba-help/175965/3 "2007-09-27T10:54:19Z")

</div>

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](http://machine1.domain.com)  
XXX.XX.XXX.22 machine1 [machine1.domain.com](http://machine1.domain.com)

Also, wbinfo -g/u works as it should.

---

<div class="post-metadata">

**Author:** ![kjbaumann](https://community.unix.com/letter_avatar/kjbaumann/32/5_5575768a8748004e209b776fc1b2916d.png) [@kjbaumann](https://community.unix.com/u/kjbaumann)\
**Post date:** [September 28, 2007, 9:33am UTC](https://community.unix.com/t/samba-help/175965/4 "2007-09-28T09:33:20Z")

</div>

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.
