Displaying 20 results from an estimated 141 matches for "clientname".
2003 Dec 09
1
Make Fails on Cobalt Qube 2
All;
I am using the cobalt Qube 2 which uses a Cobalt OS with is supposedly a RedHat Linux 4.2 variant. I can not compile the new rsync version 2.5.7 as I always fail my make with the following error:
clientname.c: In function `client_addr':
clientname.c:72: warning: implicit declaration of function `getnameinfo'
clientname.c:73: `NI_NUMERICHOST' undeclared (first use this function)
clientname.c:73: (Each undeclared identifier is reported only once
clientname.c:73: for each function it appears...
2003 Jul 24
0
make fails all versions > 2.4.8 on older linux machine (clientname.o)
hi
i'm trying to update an older rsync version due to some minor errors
during syncing with an up to date version (2.5.6) of rsync.
my problem is that the make process actually won't finish, here is the
output:
clientname.c: In function `client_addr':
clientname.c:72: warning: implicit declaration of function `getnameinfo'
clientname.c:73: `NI_NUMERICHOST' undeclared (first use this function)
clientname.c:73: (Each undeclared identifier is reported only once
clientname.c:73: for each function it appears...
2002 Apr 08
1
compilation fails on Cobalt RaQ2
Configure seems to work fine with no options passed, but a make attempt
fails in clientname.c:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c clientname.c -o clientname.o
clientname.c: In function `client_addr':
clientname.c:55: warning: implicit declaration of function `getnameinfo'
clientname.c:56: `NI_NUMERICHOST' undeclared (first use this function)
clientname.c:56: (Each...
2020 Oct 05
2
isc-dhcp dynamic update problem
...g state free;
hardware ethernet c8:1f:66:08:dd:49;
uid "\001\310\037f\010\335I";
set vendor-class-identifier = "MSFT 5.0";
set noname = "dhcp-172-30-1-40";
set ClientIP = "172.30.1.40";
set ClientDHCID = "c8:1f:66:08:dd:49";
set ClientName = "MB-DISPATCH-20";
client-hostname "MB-DISPATCH-20";
on expiry {
set ClientIP =
binary-to-ascii (10, 8, ".", leased-address) ;
log (debug,
concat ("Expired: IP: ", ClientIP));
execute ("/usr/local/bin/dhcp-dyndns.sh...
2014 Apr 17
1
samba4 bind9_dlz and dhcp
...i hunting ghosts... ?? what im i missing... nothing is deleted, normal behaivor?
Any enlightment would be great !
?
Greetz,
?
Louis
?
p.s.
?
This is the part i have in the DHCP server within the subnet.
?
??? on commit {
??log("=============[ START COMMIT ]================");
??set ClientName = pick (option fqdn.hostname, option host-name));
??set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
??set ClientDHCID = binary-to-ascii(16, 8, ":", hardware);
??log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " HostName: ",...
2019 Oct 10
2
dns replication error due to deleted records
...facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.101 192.168.1.250;
on commit {
set noname = concat("dhcp-", binary-to-ascii(10, 8, "-",
leased-address));
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientName = pick-first-value(option host-name, host-decl-name,
config-option host-name, noname);
execute("/etc/dhcp/update.sh", "add", ClientIP, ClientName);
}
on release {
#ClientIP y ClientName estan asociado al lease
execute("/etc/dhcp/update.sh", "...
2002 Apr 02
3
getaddrinfo() problem with AIX 4.3.3 and rsync 2.5.2?
I had to apply the following patch to the clientname.c check_name() function
before I could successfully use "hosts allow" in rsyncd.conf. Without the
patch I kept getting "rsync: forward name lookup for ... failed: Host not
found"
errors. These errors were produced by the rsync daemon, and putting in a
debugging statement revea...
2004 Apr 30
1
rsync-2.6.2pre1: In clientname.c `AI_NUMERICHOST' undeclared
Hi,
I just tried to compile rsync-2.6.2pre1 under AIX 4.3 (gcc 2.95.3) and got
the following compiler error:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c
-o clientname.o
clientname.c: In function `client_name':
clientname.c:121: `AI_NUMERICHOST' undeclared (first use in this function)
In analogy to the coding in access.c I replaced in clientname.c
hints.ai_flags = AI_NUMERICHOST;
by
#ifdef AI_NUMERICHOST
hints.ai_flags = AI...
2015 Jun 24
2
Using isc-dhcp for DDNS with Samba4 internal DNS
El 24/06/15 a les 17:02, James ha escrit:
> On 6/24/2015 10:13 AM, Rowland Penny wrote:
>> On 24/06/15 14:17, Luca Olivetti wrote:
>>> El 24/06/15 a les 14:30, James ha escrit:
>>>> Hello,
>>>>
>>>> Is it possible to use isc-dhcp for DDNS with Samba internal DNS? I
>>>> would rather not use bind as I understand you can't
2020 Jul 05
2
same changes in the DHCP to DNS script
...#################################################################################
on commit {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set noName = concat("dhcp-", ClientIP);
set ClientDHCID = binary-to-ascii(16, 8, ":", substring(hardware,1,6));
set ClientName = pick-first-value(config-option server.ddns-hostname,
option host-name, config-option-host-name, client-name, noName);
#log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " Name:
", ClientName));
execute("/etc/dhcp/bin/dyndns.sh", "commit&q...
2004 May 27
0
compiling on HP-UX
..._H -I./popt -c socket.c -o socket.o
cc: "socket.c", line 433: warning 604: Pointers are not assignment-compatible.
cc: "socket.c", line 433: warning 563: Argument #5 is not the correct type.
... and for lines: 500, 716, 732
cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt -c clientname.c -o clientname.o
cc: "clientname.c", line 171: warning 604: Pointers are not assignment-compatible.
cc: "clientname.c", line 171: warning 563: Argument #3 is not the correct type.
cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt -c popt/poptconfig.c ...
cc: "popt/poptco...
2015 Jun 25
0
Using isc-dhcp for DDNS with Samba4 internal DNS
...ffice, and I'm not there right now.
I case you need it, this is what I have in my dhcpd.conf
on commit {
set noname = concat("dhcp-", binary-to-ascii(10, 8, "-",
leased-address));
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientName = pick-first-value(option host-name, host-decl-name,
config-option host-name, noname);
execute("/etc/dhcp/update.sh", "add", ClientIP, ClientName);
}
on release {
#ClientIP and ClientName are stored in the lease
execute("/etc/dhcp/update.sh", &qu...
2005 Sep 14
1
RSYNC "make" problems with HP UX 11.0 & GCC 3.3.2
...type
socket.c:723: warning: passing arg 3 of `accept' from incompatible
pointer type
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c fileio.c -o
fileio.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c batch.c -o
batch.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c -o
clientname.o
clientname.c: In function `client_addr':
clientname.c:69: warning: implicit declaration of function `getnameinfo'
clientname.c: In function `client_name':
clientname.c:124: warning: implicit declaration of function
`getaddrinfo'
clientname.c:142: warning: implicit...
2019 Oct 10
0
dns replication error due to deleted records
...39;192.168.1.0/24' subnet ?
>
> ? range 192.168.1.101 192.168.1.250;
> ? on commit {
> ??? set noname = concat("dhcp-", binary-to-ascii(10, 8, "-",
> leased-address));
> ??? set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
> ??? set ClientName = pick-first-value(option host-name,
> host-decl-name, config-option host-name, noname);
> ??? execute("/etc/dhcp/update.sh", "add", ClientIP, ClientName);
> ? }
>
> ? on release {
> ??? #ClientIP y ClientName estan asociado al lease
> ??? execute("/et...
2004 May 28
1
IP not logged in log file
...l connecting IP address. Is this a config issue?
I don't know if this is related but when building:
socket.c: In function `try_bind_local':
socket.c:139: warning: implicit declaration of function `getaddrinfo'
socket.c:148: warning: implicit declaration of function `freeaddrinfo'
clientname.c: In function `client_addr':
clientname.c:71: warning: implicit declaration of function `getnameinfo'
clientname.c: In function `client_name':
clientname.c:126: warning: implicit declaration of function `getaddrinfo'
clientname.c:144: warning: implicit declaration of function `free...
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...code
>Severity: non-critical
>Priority: low
>Category: ports
>Class: sw-bug
>Release: FreeBSD 4.8-RELEASE-p16 i386
>Environment:
System: FreeBSD 4.8-RELEASE-p16
>Description:
rsync does reverse name lookups on a client address in lookup_name
(called from client_name) in clientname.c The code in client_name does
two things incorrectly:
- fails to set ss_len member of struct sockaddr_storage, which when
passed to getnameinfo causes the latter to fail;
- detection of IPv6 via counting dots is plain silly and doesn't work;
The attached patch attempts to address these...
2006 Nov 01
2
unsuccessful configure with 2.6.8 and acls and extended attributes...
...diff
./prepare-source
./configure --enable-acl-support --enable-xattr-support --disable-debug
--with-rsyncd-conf=/usr/local/etc/rsyncd.conf --bindir=/usr/local/bin
Couldn't be more simple. But...when I try to 'make' :
(snip)
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c -o
clientname.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c chmod.c -o
chmod.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c acls.c -o acls.o
acls.c:25:25: lib/sysacls.h: No such file or directory
acls.c: In function `unpack_smb_acl':
(snip)
acls.c:1253: warning: ass...
2010 Jan 29
1
Potential bug in latest build 3.4.5
I am trying to use following statement to include special smb.conf
parameters for few clients using statement like below. I then created
special smb.conf.*clientname* file under /usr/local/samba/lib/smb.conf.*
clientname*
include = /usr/local/samba/lib/smb.conf.%m
However testparm gives error like "can't find include file
/usr/local/samba/lib/smb.conf.".
Has anyone else seen this behavior?
Thanks.
2019 Oct 10
2
dns replication error due to deleted records
El 10/10/19 a les 20:41, Rowland penny via samba ha escrit:
>> It turns out that dc2 chokes on "\0ADEL" dns records, supposedly
>> deleted objects.
>
> What you have there is known as a tombstone record and Samba has a tool
> to remove them:
>
> samba-tool domain tombstones expunge NC
> --tombstone-lifetime=TOMBSTONE_LIFETIME
>
> Where
2016 Jan 27
0
Securring DHCP, with DDNS
...T_YOUR_KEY_HERE with the key you extracted from the private
key created by the dnssec command
Add the following to dhcpd.conf on both machines:
on commit {
set ClientIP = binary-to-ascii(10, 8, ".", leased-address);
set ClientDHCID = binary-to-ascii(16, 8, ":", hardware);
set ClientName = pick-first-value(option host-name,
config-option-host-name, client-name);
log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " Name: ",
ClientName));
execute("/etc/dhcp/bin/dhcp-dyndns.sh", "add", ClientIP, ClientDHCID,
ClientName);...