8 More Discussions You Might Find Interesting
1. IP Networking
Hello All,
I have one requirement in which, i have 3 connections one ADSL and two 4G dongle (Jio/Airtel).
Where i need to configure ADSL and 4G connections, which i have configured and able to connect internet throught them,
Now i need to create set-up for failover and fall back between them,... (0 Replies)
Discussion started by: linux.amrit
0 Replies
2. Red Hat
Hello experts,
Is it possible to have an user account on RHEL 6.3 as a su-only account, but with ssh capability and no interactive login? Let me elaborate.
Say, we have a cluster of 5 RHEL 6.3 servers and an user account (strmadmin) on each of the server as an su-only... (1 Reply)
Discussion started by: naveendronavall
1 Replies
3. Debian
Hi List,
Recently I was doing some toubleshooting installing a package on a Redhat 6 machine using the the installer script which came with that package and I got an error message telling me that a file was missing indicating that I had to google for the dependancies and install them before this... (2 Replies)
Discussion started by: landossa
2 Replies
4. UNIX for Dummies Questions & Answers
Can nano have two files open at once?
Thanks in advance! (2 Replies)
Discussion started by: theKbStockpiler
2 Replies
5. Linux
Hi,
I have a query. Do we have any command line browser utility in linux which can fulfill the following requirement:
1. Handle pages which can have javascripts
2. Can use pre-recorded user inputs (maybe stored in some input files) for automated navigation/task.
I had seen such an... (2 Replies)
Discussion started by: animesh303
2 Replies
6. UNIX for Dummies Questions & Answers
HI ,
I forgot to redirect my op to a file.The op which is quite huge , thus printed on the screen.However bcoz of the limited viewing in the screenI can not see the whole of the output..
Is there anyway I can see the full op.My run takes half a day for finnishing ..So I am refraining... (1 Reply)
Discussion started by: bimukt
1 Replies
7. Programming
This might be poorly worded.
In the header file, I have
#ifdef LOCK_FCNTL
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#define LOCK(file) setlock(fileno(file), F_WRLCK);
#define UNLOCK(file) setlock(fileno(file), F_UNLCK);
#endif /* LOCK_FCNTL */
#ifdef LOCK_FLOCK
#ifdef... (1 Reply)
Discussion started by: frequency8
1 Replies
8. Programming
The following is taken from some production code:
#ifdef LOCK_LOCKF
#ifdef HAVE_SYS_FILE_H
#include <sys/lockf.h>
#endif
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#define LOCK(file) fseek(file, 0L, 0), lockf(file, 1, 0L)
#define UNLOCK(file) fseek(file, 0L, 0),... (2 Replies)
Discussion started by: frequency8
2 Replies
slp_syntax(7) Miscellaneous Information Manual slp_syntax(7)
NAME
slp_syntax - SLP Service Type Syntax
DESCRIPTION
The SLP API expects service type information to be passed while querying for SLP service information and also while registering and dereg-
istering services. The SLP API accepts service type information in URL format also.
The service type string contains the following information.
Name of the service type.
Naming Authority responsible for the service name.
The service type string is of the form:
The abstract-type is a short descriptive string that describes the type of service.
The naming-authority is the name of the organization that named the service. The naming-authority is optional, but if it is omitted, then
IANA is assumed to be the naming authority and IANA requires service-types to be registered (see RFC 2609).
concrete-type, also optional, is a kind of sub-type of the abstract-type.
For example,
is an abstract type (owned by IANA) and is a concrete type (owned by IANA).
The official definition of Service Type strings can be found in RFC 2609, "Service Templates and Service Schemes".
Examples of Service Type Strings
A (fictitious) weather service type owned
by NASA that uses WTP protocol.
A (fictitious) weather service type owned
by NASA that uses SWTP protocol.
A chat service type owned by SuperChat.
A samba printer service type.
An IANA ftp service type.
An IANA telnet service type.
Comparing Service Types
Since service types are important in determining the URLs that are returned by the call, you should understand how services are compared.
Suppose that three services were registered with using a srvtype of and If a client program calls with a srvtype of the urls for both and
are returned is not). However, if is called with srvtype of or then the urls for or would be returned. In other words, if a concrete-type
is used, only services with the same abstract and concrete-type are returned. If only the abstract type is used, then all services of that
abstract type (and naming authority) are returned.
SLP Service URL Syntax
SLP APIs accept service type strings in URL syntax format. URL strings are passed as parameters to and functions and returned as a result
to the callback function. SLP defines a special type of URL called a Service URL that MUST be used when calling SLP API functions. The
syntax of a service URL is:
service-type is a service type as explained above. addrspec can be any address that fits URL syntax and can be translated as a network
location. The and strings are required.
Service URL Examples
SLP requires you to use Service URLs. API functions will return if you do not. Service URLs are required because the SLP API designers do
not allow the service-type to be passed in as a parameter to the call. Without the service-type, does not allow the caller to distinguish
between services of varying types that were registered with the same standard URL.
The function expects the search strings to be passed in LDAPv3 Search Filter Syntax.
SEE ALSO
slpd(1M), libslp(3N), slp.reg(4).
slp_syntax(7)