[Samba] RPC Server Unavailable Message
Rowland Penny
rowlandpenny at googlemail.com
Mon Dec 22 11:55:12 MST 2014
On 22/12/14 17:26, Asai wrote:
> I don't know the difference between ntvfs and s3fs. Which one should I
> use for folder redirection?
ntvfs was written to for S4 but it was decided that it would not be used
as it didn't have the capabilities required, so smbd from S3 was used
instead. So in answer to your question, use s3fs.
>
> localhost isn't the name of the ad dc, at least that's not what I
> intended. How do I change it without reprovisioning? Can you provide
> a link to some documentation?
So how did 'LOCALHOST' get into your smb.conf? Have you altered smb.conf
yourself, or is it a case of not setting up DNS (/etc/hosts,
resolv.conf, etc) correctly before the provision.
I cannot provide a link to any documentation, this is because, I don't
know of any, I don't think it would be very easy to change it in AD, you
would have to change every instance of 'LOCALHOST' to your new name and
probably a lot of other links. It will probably be easier to start again.
Rowland
>
> Thank you.
>
> On 12/19/14 3:33 PM, Rowland Penny wrote:
>> On 19/12/14 22:17, Tim wrote:
>>> Try to give your samba server another NetBIOS hostname than
>>> localhost and comment out the lines with server services and dcerpc
>>> endpoint servers.
>>> Check your DNS back end. For now it seems due to your smb.conf that
>>> you are not using the samba internal DNS server. It's not a must
>>> have, but samba does not provide dns. NetBIOS name should be equal
>>> to your DNS hostname.
>>
>> If you are using Bind as the DNS nameserver, **DONT** comment out the
>> server services line, you will turn on the internal DNS server!
>>
>> If 'LOCALHOST' is indeed the hostname of your AD DC, then you will
>> need to change this, though as you are just testing it might be
>> quicker and easier to re-provision
>>
>> Also you seem to be using ntvfs instead of s3fs, do you really want
>> to do this?
>>
>> Rowland
>>
>>>
>>> After that restart samba and see what happens.
>>>
>>> Regards
>>> Tim
>>>
>>> Am 19. Dezember 2014 20:10:35 MEZ, schrieb Asai
>>> <asai at globalchange.media>:
>>>> Greetings,
>>>>
>>>> We've been testing Sernet Samba AD and are running into trouble with
>>>> the
>>>> RPC server unavailable message when trying to edit group policy and
>>>> manage users with Windows 8.1. Upon restarting the service, we can
>>>> connect to the RPC server, but after 24 hours or less, we can no
>>>> longer
>>>>
>>>> connect. I've been trying to find more information about this issue,
>>>> which was apparently fixed awhile back, but I can't really find
>>>> much on
>>>>
>>>> it. Please let me know how I can help resolve this issue.
>>>>
>>>> Our smb.conf is as follows:
>>>> # Global parameters
>>>> [global]
>>>> workgroup = AVALON
>>>> realm = AVALON.LOCAL
>>>> netbios name = LOCALHOST
>>>> server role = active directory domain controller
>>>> server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
>>>> winbind, ntp_signd, kcc, dnsupdate, smb
>>>> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
>>>> netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser,
>>>> eventlog6, backupkey, dnsserver, winreg, srvsvc
>>>> idmap_ldb:use rfc2307 = yes
>>>> #kerberos method = system keytab
>>>>
>>>> [netlogon]
>>>> path = /var/lib/samba/sysvol/avalon.local/scripts
>>>> read only = No
>>>>
>>>> [sysvol]
>>>> path = /var/lib/samba/sysvol
>>>> read only = No
>>>>
>>>> [Users]
>>>> read only = No
>>>> path = /var/samba/Users
>>>>
>>>> --
>>>> Asai Lohmann
>>>> Software Engineer, Sysadmin
>>>> Global Change Media, Non-Profit Media Company
>>>> Helping People Bring Their Positive Ideas and Services to the World
>>>> office: 520.398.2542
>>>> cell: 520.260.6887
>>>> skype: asaivan1
>>>> asai at globalchange.media
>>>>
>>>> --
>>>> 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