Sponsored Content
Operating Systems AIX IBM TDS/SDS (LDAP) - can I mix endianness among servers in an instance ? Post 303039611 by maraixadm on Thursday 10th of October 2019 11:16:25 AM
Old 10-10-2019
ibm sez yes it's supported. we'll give it a whirl. will update with highlights.

--- Post updated at 11:16 ---

Quote:
Originally Posted by zxmaus
well endianness only matters for binary data not text data. If I understand you correctly you want to transfer text data only so that should work fine. If you however need something runnable you would need to run it through a converter and recompile.
ibm suppt said that replication does the same ops on the recipient that were done on the originator to effect the change in the first place. which says to me all the data sent in replication must be text, I'll check that with tcpdump when I get time. I suspect it falls down on binary blobs like image data/video saved in attributes, but we don't have any of those so we don't care. Passwords might be fun too but OTOH those have their own handling including cryptosync, so I expect they're correct.

In general, my reading (is it correct ?) of this is that it's about correct layer6 implementation, and Sun took care of that over 30 years ago with XDR for RPC, later standardized into the notion of network byte order.
Editorial Comment:
so WTF isn't this implemented correctly like everywhere? I know, development resources. IBM was always careful about this up until the bugly edges where they went into the weeds sometimes, but were responsive when bugs were found. Heard from a colleague that another (newer) non-IBM package didn't replicate right cause their flaming binary index wasn't handled right across platforms. Seriously ?

that was cool, I made my own editorial tags and whaddya know, someone had implemented them. who knew... Smilie
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

HP-UX 10.2 servers interoperability with IBM mass storage devices

Does anyone have succesfully interconnected HP-UX 10.2 HP 9000 K370 servers with A6885A HBA's, with an IBM Fastt storage server? I need to replace integrate both platforms. Interoperability matrices from manufacturers do not certified such integration. Thanks for anybody's help. (0 Replies)
Discussion started by: raltmannr
0 Replies

2. UNIX for Dummies Questions & Answers

Is no LDAP unusual for 40+ solaris servers?

I am the new jr admin on a solaris team (2 people). We have over 40 solaris servers (v8 and v9) yet no LDAP to manage it all. Is this unusual? So, if we need to add a new user, we have to add him 40x. Thanks in advance ~R (1 Reply)
Discussion started by: abstractrick
1 Replies

3. AIX

IBM Servers Documentation

Hello dear friends, I wanrt to document our servers configuration but have no Idea which softweare should I use for documenting server environment.. maybe anyone can suggest me which software should I use.. thanks in Advance (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

4. AIX

executable problems with shell script in IBM servers

We have a java stand alone application running currently on sun Solaris system. The java application runs on Jdk 1.4. We are reshooting this java application to new Ibm servers. There are 10 unix scripts for this application. All scripts works well except one shell script, This shell... (2 Replies)
Discussion started by: poojagupta
2 Replies

5. AIX

Mix LDAP and LOCAL user on AIX

Hello, I'm currently trying to mix local and LDAP users on an AIX 7.1. I've triied many things. My LDAP Server in on a CentOS - OpenLDAP (which works fine with linux). I'm currently stuck on AIX at how to declare LDAP AND Local users. Here's what i did : /usr/sbin/mksecldap -c -h 'ldap03'... (15 Replies)
Discussion started by: AIX_user_324891
15 Replies
SQLITE_ESCAPE_STRING(3) 												   SQLITE_ESCAPE_STRING(3)

sqlite_escape_string - Escapes a string for use as a query parameter

SYNOPSIS
string sqlite_escape_string (string $item) DESCRIPTION
sqlite_escape_string(3) will correctly quote the string specified by $item for use in an SQLite SQL statement. This includes doubling up single-quote characters ( ') and checking for binary-unsafe characters in the query string. Although the encoding makes it safe to insert the data, it will render simple text comparisons and LIKE clauses in your queries unusable for the columns that contain the binary data. In practice, this shouldn't be a problem, as your schema should be such that you don't use such things on binary columns (in fact, it might be better to store binary data using other means, such as in files). PARAMETERS
o $item - The string being quoted. If the $item contains a NUL character, or if it begins with a character whose ordinal value is 0x01, PHP will apply a binary encoding scheme so that you can safely store and retrieve binary data. RETURN VALUES
Returns an escaped string for use in an SQLite SQL statement. NOTES
Note Do not use this function to encode the return values from UDF's created using sqlite_create_function(3) or sqlite_create_aggre- gate(3) - use sqlite_udf_encode_binary(3) instead. Warning addslashes(3) should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data. SEE ALSO
sqlite_udf_encode_binary(3). PHP Documentation Group SQLITE_ESCAPE_STRING(3)
All times are GMT -4. The time now is 01:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy