[Samba] Hostname or alias question

Avron Gray agray at aeso.ca
Thu Apr 2 23:17:06 GMT 2009


Sorry - the line indicating the hostname was inadvertantly deleted:
Hostname - snswiki.domain.com

- Avron

-----Original Message-----
From: samba-bounces+agray=aeso.ca at lists.samba.org
[mailto:samba-bounces+agray=aeso.ca at lists.samba.org] On Behalf Of Avron
Gray
Sent: Thursday, April 02, 2009 4:56 PM
To: samba at lists.samba.org
Subject: [Samba] Hostname or alias question

Hi folks,

I was forced to upgrade samba from 3.0.25b to 3.3.3 on a Red Hat
Enterprise Linux ES release 4 host. This host was previously using
"security = domain"

In the course of testing, the original AD object for this host was
deleted.

This server runs an apache instance called "webservice"
(webservice.domain.com)
The samba share was previously mounted on Windows as
\\webservice\smbshare

The host is currently using "security = ADS"

Attempts to connect with the old alias result in:
\\webservice is not accessible. You might not have permission to use
this network resource. Contact the administrator of this server to find
out if you have access permissions.
The trust relationship between this workstation and the primary domain
failed.

Attempting a direct connection to the full path of the share:
\\webservice\smbshare
The trust relationship between this workstation and the primary domain
failed

And yet I can still mount it as \\snswiki and \\snswiki\smbshare

Any tips on where this can be resolved? If it's as simple as smb.conf,
great. Adding a "netbios name = webservice" did not resolve anything.

Here's my smb.conf:

[global]
realm                = DOMAIN.COM
security             = ADS
workgroup            = DOMAIN
encrypt passwords    = yes
server string        = %h Samba %v
smb ports            = 445
disable netbios      = yes
name resolve order   = host
idmap uid            = 10000-20000
idmap gid            = 10000-20000
log file             = /var/log/samba/samba_log.%m
log level            = 2
include = /usr/local/samba/lib/smb.conf.%h


- Avron
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list