Displaying 20 results from an estimated 28 matches for "shorthostname".
2019 Nov 16
2
Newby questions about using samba
Here's what I got:
Anonymous login successful
??? Sharename?????? Type????? Comment
??? ---------?????? ----????? -------
??? data_server???? Disk
??? IPC$??????????? IPC?????? IPC Service (Samba 4.7.6-Ubuntu)
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful
??? Server?????????????? Comment
??? ---------??????????? -------
??? Workgroup??????????? Master
???
2020 Sep 26
2
Debian client/workstation pam_mount
First, my use of IP addresses is a force of habit. User at shorthostname does
work but, as I do not normally ssh with hostname.
> adminlinux at lws2:~$ ssh tuser16 at lws4
> The authenticity of host 'lws4 (192.168.16.220)' can't be established.
> ECDSA key fingerprint is
> SHA256:iOPtH7sjCWWoWR/92nVv/fWIp0ogRtlHxeRTrC5EePI.
> Are you sure you...
2017 Jul 11
2
Samba ADS-member-server: FQDNs in /etc/hosts
...5 # IP of DC
>>> domain my.tld
>>
>> is it
>>
>> search my.tld
>>
>> or
>>
>> domain my.tld
>>
>> ?
>>
>> Should "dig server" work on both DC and DM, right?
>> It does not right now.
>
> dig 'shorthostname' works on my DC, but I have to use dig FQDN on a
> Unix domain member
search
or
domain
?
// I set "guest OK" now and let the guy there connect the problematic PCs.
maybe relevant:
DC: debian 9, samba 4.6.5
DM: debian 8.8, samba 4.5.10
2019 Mar 13
2
replication fails
Am 13.03.19 um 11:55 schrieb L.P.H. van Belle via samba:
> Hai,
>
> Ok, so the reboot changed your resolv.conf
> check the timestamp of /etc/resolv.confs
> Write this down.
>
>> So I assume it should point to the own IPv4-IP of DC1 itself,
>> which is .205
> Yes correct.
> After that reboot the server.
> Check the timestamp again and/or did it change?
2007 May 17
2
Failed to set servicePrincipalNames (driving me insane!)
List,
I've searched extensively on this issue and I understand that it is
related to having an incorrectly set hostname. The problem is I have made
the changes and I still cannot get one specific machine to join to AD.
I have successfully used the process on six other hosts with no issues.
Some information:
LON01330# hostname
LON01330.COMPANY.NET
==============================
LON01330#
2017 Sep 12
2
File server questions
...not be confused with the NetBIOS name,
which is the hosts short name in UPPERCASE.
If you are confused, don't blame me or Samba, blame Microsoft, they
came up with the names.
> What about Hostname? How do I set it in non-interactive mode?
You don't, Samba will set it for you from your shorthostname.
> Where DC1 came from? Can I use that as NetBIOS Name?
Yes, provided the output from 'hostname -s' is 'dc1' ;-)
Rowland
2018 May 23
3
run script on domain join
the host has first an address in dhcp pool between 192.168.1.100-200 (it
is not known by dhcpd with a fixed ip address)
i would like to add a dhcpd record to provide always same ip to host (ie
fixed-address 192.168.1.1)
when host is joined to my samba domain
in NT PDC, i can do that with "add machine script" in smb.conf
but in AD DC, this script is not run
so i m searching
2017 Sep 27
2
Multiple DC haven't HA on Windows
Hello, thanks for your response.
I'm using samba_internal as DNS because I don't want to add bind to only
relay the internal DNS.
The hosts file is clean on srv2 DC (default localhost), and this is the
srv1 hosts:
192.168.0.251 srv1.domain.com srv1
resolv.conf srv1:
domain domain
search domain.com
nameserver 192.168.0.251
nameserver 8.8.8.8
resolv.conf srv2:
nameserver
2017 Jul 11
5
Samba ADS-member-server: FQDNs in /etc/hosts
Am 2017-07-11 um 09:34 schrieb Stefan G. Weichinger via samba:
> [2017/07/11 09:31:17.790046, 2]
> ../source4/dns_server/dns_query.c:1019(dns_server_process_query_send)
> Not authoritative for 'SERVER', forwarding
> [2017/07/11 09:31:17.826966, 2]
> ../source4/dns_server/dns_query.c:1019(dns_server_process_query_send)
> Not authoritative for 'SERVER',
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...r - LDAP error 1 LDAP_OPERATIONS_ERROR - <00002020:
> > Operation unavailable without authentication> <>
>
> Listing users should work on a DC or a Unix domain member, but it must
> be done as root (or using sudo) and for Unix domain members, you must
> use a DC's shorthostname instead of localhost.
>
> >
> >
> > Prior to this, I did a fresh kdestroy / kinit.
> >
> > It happens also on another Linux box. (Not yet "joined", but had a
> > TGT for jreinhart-admin):
> >
> > $ ldbsearch -H ldap://samba-dc3.ad.onthefi...
2017 Jul 11
0
Samba ADS-member-server: FQDNs in /etc/hosts
...gt; >>
> >> search my.tld
> >>
> >> or
> >>
> >> domain my.tld
> >>
> >> ?
> >>
> >> Should "dig server" work on both DC and DM, right?
> >> It does not right now.
> >
> > dig 'shorthostname' works on my DC, but I have to use dig FQDN on a
> > Unix domain member
>
>
> search
> or
> domain
>
> ?
I use 'search'
>
>
> // I set "guest OK" now and let the guy there connect the problematic
> PCs.
>
> maybe relevant:
&...
2018 May 23
0
run script on domain join
...D9
That just updates a computers records in AD after a lease is granted,
but I think you should be able to use this as a basis to do what you
want.
Your script would have to check that /etc/dhcp/dhcpd.conf doesn't
already contain the computers MAC and if not add something like this:
host <shorthostname of client> {
next-server dc.your-domain.com;
hardware ethernet 00:02:c3:d0:e5:83; < MAC address of client
fixed-address 192.168.1.1; < IP you require
}
It will probably be a bit more complex than this and I say it 'may'
work, because I have never t...
2019 Mar 13
0
replication fails
...ate seems to time out (no error, no success ...)
>
> I reboot DC2 now for a test.
>
> Should /etc/hosts contain pointers to own FQDN or not? To DCs?
>
/etc/hosts should contain a line that points 127.0.0.1 to localhost and
a line that points the DC's ipaddress to its FQDN and shorthostname
EXAMPLE:
127.0.0.1 localhost
192.168.0.6 dc4.samdom.example.com dc4
There will probably be ipv6 lines as well, anything else isn't really
needed, but I suppose you could add any other DC's info.
Rowland
2020 Sep 26
0
Debian client/workstation pam_mount
On 26/09/2020 14:52, Robert Wooden wrote:
> First, my use of IP addresses is a force of habit. User at shorthostname
> does work but, as I do not normally ssh with hostname.
>
> adminlinux at lws2:~$ ssh tuser16 at lws4
> The authenticity of host 'lws4 (192.168.16.220)' can't be established.
> ECDSA key fingerprint is
> SHA256:iOPtH7sjCWWoWR/92nVv/fWIp0ogRtlHxeRTrC5E...
2019 Apr 07
0
"00002020: Operation unavailable without authentication" using python-ldap
...om'
> search error - LDAP error 1 LDAP_OPERATIONS_ERROR - <00002020:
> Operation unavailable without authentication> <>
Listing users should work on a DC or a Unix domain member, but it must
be done as root (or using sudo) and for Unix domain members, you must
use a DC's shorthostname instead of localhost.
>
>
> Prior to this, I did a fresh kdestroy / kinit.
>
> It happens also on another Linux box. (Not yet "joined", but had a
> TGT for jreinhart-admin):
>
> $ ldbsearch -H ldap://samba-dc3.ad.onthefive.com
> search error - 00002020: Ope...
2020 Feb 16
0
Samba 4.11.6 cannot JOIN - 'Could not find machine account'
...eding to be configured to
> update the reverse because they do not do this by default.
> >
> > Feb 15 19:15:25 samba1 named[677]: sizing zone task pool based on 5 zones
>
> 5 zones ?
>
> I only have 3, can you run 'samba-tool dns zonelist <Your Samba AD DC
> shorthostname>' on your Samba AD DC.
>
> > Feb 15 19:15:25 samba1 named[677]: Loading 'AD DNS Zone' using driver dlopen
> > Feb 15 19:15:27 samba1 named[677]: samba_dlz: started for DN
> > DC=office,DC=example,DC=com
> > Feb 15 19:15:27 samba1 named[677]: samba_dlz: sta...
2019 Mar 13
2
replication fails
Am 13.03.19 um 12:49 schrieb Rowland Penny via samba:
>> Should /etc/hosts contain pointers to own FQDN or not? To DCs?
>>
>
> /etc/hosts should contain a line that points 127.0.0.1 to localhost and
> a line that points the DC's ipaddress to its FQDN and shorthostname
>
> EXAMPLE:
>
> 127.0.0.1 localhost
> 192.168.0.6 dc4.samdom.example.com dc4
>
> There will probably be ipv6 lines as well, anything else isn't really
> needed, but I suppose you could add any other DC's info.
Thank you. The clearer the better (or so).
DC2 is s...
2023 Apr 04
1
logon script
But initially I try a full path and nothing: This is just a new created
for testing: samba-tool user create 'John' '1234'
--userou='OU=Trabajadores,OU=Usuarios' --surname='Doe'
--given-name='John' --initials='JD' --job-title='Network
Administrator' --department='IT' --company='EPAPR'
--description='IT
2019 Apr 07
3
"00002020: Operation unavailable without authentication" using python-ldap
Interesting, I'm getting the same error using the LDB tools:
ONTHEFIVE\jreinhart-admin at samba-dc3:~$ samba-tool user list -H
ldap://localhost
ERROR(ldb): uncaught exception - LDAP error 1 LDAP_OPERATIONS_ERROR -
<00002020: Operation unavailable without authentication> <>
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
177, in _run
return
2017 Sep 12
0
File server questions
...if realm is
AD.TECNOPON.COM.BR, does domain need to be AD? If I understand
correctly, realm is "full domain with subdomain" and domain is the
subdomain, yes?
>> What about Hostname? How do I set it in non-interactive mode?
> You don't, Samba will set it for you from your shorthostname.
I see, nothing to bother then.
>> Where DC1 came from? Can I use that as NetBIOS Name?
> Yes, provided the output from 'hostname -s' is 'dc1' ;-)
A-ha! I get it now, I will change the hostname accordingly then, thank you!
> Rowland
>