Help with accessing Samba shares on external (NON-DOMAIN) webserver(s)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with accessing Samba shares on external (NON-DOMAIN) webserver(s)
# 1  
Old 09-30-2014
Help with accessing Samba shares on external (NON-DOMAIN) webserver(s)

Hi all,

You may have seen my recent topic, where I asked for help getting some samba shares to work on our network.

Now that these are working, I move on to the next hurdle!

We have a few externally hosted (Windows Server 2008 R2) web servers which are not on our domain, but can still communicate with our network.

I can successfully browse to the samba shares on the existing (soon to be retired) solaris server from these webservers.

These web servers can successfully ping the new solaris server, but I cannot browse to the shares whether I use the server name or the IP address.

I have added the new solaris server/ip address to the Hosts file on the webservers, but this has not made a difference.

This morning I have changed the logging detail in smb.conf and have some further information, it looks to be an authentication problem.....

Example log when connecting as me from my PC (on the domain):

Code:
[2014/09/30 09:37:50.140615,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [myusername] -> [myusername] -> [myusername] succeede

Example log when connecting from the webserver (MYWEBSERVER) while logged on as user WEBUSER

Code:
check_ntlm_password:  Authentication for user [WEBUSER] -> [WEBUSER] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/09/30 10:12:21.161315,  0] auth/auth_domain.c:331(domain_client_validate)
  domain_client_validate: unable to validate password for user WEBUSER in domain MYWEBSERVER to Domain controller MY.INTERNAL.DOMAIN.COM. Error was NT_STATUS_NO_SUCH_USER.
[2014/09/30 10:12:21.161877,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [WEBUSER] -> [WEBUSER] FAILED with error NT_STATUS_NO_SUCH_USER

As I understand it, on the existing Solaris server the webservers bypass the authentication and connect to the shares as the guest user “web”. However, this doesn't seem to be working on the new server.

I did read about adding the line “map untrusted to domain = yes” to the smb.conf, but this doesn't seem to have made any difference.

Can anyone help please?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

AIX 7.1 - Samba 4 File Shares and Integration with Active Directory Issues

Hi. Ive recently upgraded Samba on an AIX server to Samba 4. The aim is to allow a specific group of Windows AD users to access some AIX file shares (with no requirement to enter passwords) - using AD to authenticate. Currently I have: Samba 4 installed ( and 3 daemons running) Installed... (1 Reply)
Discussion started by: linuxsnake
1 Replies

3. UNIX for Dummies Questions & Answers

BIND9 CNAME to External Domain

We're moving an app from a server in our domain to a server hosted by the vendor in their domain. This app had it's own domain setup that we're authoritative for. Do I need to create a new zone file? zone-vendor_com and set up the CNAME records in this file? Or if I can just edit the one I... (1 Reply)
Discussion started by: joeaverage
1 Replies

4. UNIX and Linux Applications

Copy numerous private Samba-shares as one user. (Syntax question)

Hello Forum, I was overwhelmed by how fast and correct the responses to my first question in this forum was, and I hope I expreience this again today. The reason is that I have to copy a fileserver (Ubuntu 8.04 32 with Samba) to another server via Internet within tomorrow. I have no problem... (0 Replies)
Discussion started by: primaxx
0 Replies

5. IP Networking

Problem accessing my domain from some computers

I hope I'm posting this in the right forum... Hi, I'm a newbie trying to set up my own home web server. I have an old laptop where I have a LAMP set up. Virgin Media won't give me a static IP so I am using dyndns, my IP hasn't changed for months anyway... So the problem is this... The... (5 Replies)
Discussion started by: Percyval
5 Replies

6. UNIX for Dummies Questions & Answers

Help mounting Samba shares

I have these two shares on my Ubuntu Server: path = /media/share read only = no guest ok = yes path = /var/www read only = noI want to mount them to the directories that I created on my Desktop called "shared" and "www" how do I do this? I ran the command: smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies

7. Windows & DOS: Issues & Discussions

Script to automatically map samba shares as network drive

Hopefully someone will be kind enough to help me. I have a fileserver acting as a PDC and providing samba shares to a small network. Authentication to the PDC is via LDAP (setup using ebox) The users all have real local accounts on the server. I would like a windows logon script that will:... (4 Replies)
Discussion started by: barrydocks
4 Replies

8. UNIX for Dummies Questions & Answers

Samba - Creating shares

So I have Samba installed on my server and I have to create two shares. Make a backup of your smb.conf - call it smb.conf.orig. Create a share called shared that allows read and write permissions for everyone and points to /media/shared. Create another share called www that points to the... (1 Reply)
Discussion started by: shadowcat
1 Replies

9. Shell Programming and Scripting

extraction of samba shares with sed

Hi there, My samba configuration file looks like that : ... ... path = /home/samba/profiles/ ... path = /home/samba/shares/family valid users = family path = /home/samba/shares/admins valid users = admins path = /home/samba/shares/publicI want to extract the list of standard... (3 Replies)
Discussion started by: chebarbudo
3 Replies

10. IP Networking

How to enumerate samba shares with client

I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine. However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share? How can I enumerate all the shares from the samba client machine? ... (1 Reply)
Discussion started by: siegfried
1 Replies
Login or Register to Ask a Question