Reading .properties file on AIX and Windows


 
Thread Tools Search this Thread
Operating Systems AIX Reading .properties file on AIX and Windows
# 1  
Old 04-19-2012
Reading .properties file on AIX and Windows

I have a FirstDoc application that integrates with SharePoint 2010.

As per the FirstDoc install guide, I need to generate the sharepoint_authentication properties file and place it on the server and the 2 Windows boxes that contain other components of the app.

The properties file I generated looks as follows:

Code:
#SharePoint Login Properties File
#Wed Apr 18 13:52:45 EDT 2012
Password=A5hxpJ612/c\=
UserName=CompanyName\\user1

In my Sandbox environment, the server and the 2 components are ALL on Windows 2008 boxes and everything works flawlessly.

In my DEV environment, my server is AIX 6.1 and the 2 other components are on Windows 2008. I place this properties file in these 3 places (1 AIX and 2 Win 2008) and I get an authentication error.

I know the SharePoint side is ok as both these environments point to the same SharePoint site. The user mentioned in both env is also the same.

My guess is that AIX is not reading this properties file right.

The user is a domain Active Directory user (a requirement from SharePoint).

How should I display the domain name and user name so AIX can read it?

Last edited by zaxxon; 04-22-2012 at 06:25 PM.. Reason: code tags
# 2  
Old 04-20-2012
Quote:
The user is a domain Active Directory user (a requirement from SharePoint).
is what I believe giving you hard times...
I have issues with samba since AD is no more NTLM... (Win2008server and AD using kerberos...)
My workaround for now is to share using a linux box as CIFS server since the linux can authenticate/join without too much problems a latest AD...
I would look what IBM suggests...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. Shell Programming and Scripting

Reading properties from file and setting variable values

I want to read properties from a file and print evaluated values of each key. I am using AIX6.1. myfile.props protocol=http siteA.host=siteAhostname pageA=pageNameA siteAURL1=${protocol}:/${siteA.host}/pagea/blabla?v1=32 siteAURL2=${protocol}:/${siteA.host}/${pageA}/blabla?v1=32... (5 Replies)
Discussion started by: kchinnam
5 Replies

3. AIX

How to copy file from Windows to AIX using SCP?

Hi I'd like to copy file ( or directory ) from a window server to an unix server using scp command, something like this scp -rp admin@10.0.99.99:C:\Documents and Settings\abc.txt /home/oracle/abc.txtI tried testing something like command above but nothing worked. Somebody help !! Thank you (7 Replies)
Discussion started by: bobochacha29
7 Replies

4. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

5. Shell Programming and Scripting

reading in properties file

Hi Am new to this scripting stuff so bear with me. I got a script made now that reads in a properties file. The properties file is in the following format: 256= Bos, Sea, FRa 128= HEL I want to be able to read in each line of the file and split out the letter fields by the numbered field. This... (2 Replies)
Discussion started by: vsekvsek
2 Replies

6. Shell Programming and Scripting

Reading the Properties File From Shell script

Hi, I am new to the shell script please I need help for following question. I have properties file name called "com.test.properties" I have No of key values in this properties. com.person.name = xyz com.person.age = 55 com.person.address = hello I want read this properties but i... (1 Reply)
Discussion started by: venukjs
1 Replies

7. AIX

Help with copying file from AIX to Windows

Dear All, I am in need of your help again. I want to copy a file from AIX to Windows. I was able do the same with WinSCP but not able to do with any commands. I have tried ftp, scp and scp2 but nothing worked. Can anyone suggest me a command on how to copy/move a file from AIX to... (9 Replies)
Discussion started by: tenderfoot
9 Replies

8. Shell Programming and Scripting

Problem with reading from a properties file

Hi, i have a properties file a.prop where entry is like PROCESS_IDX=0 Now in my shell schript i am doing like this. #!/bin/sh . a.prop .............. -....................... while read line do # tokenize the string by ",". var=(`echo $line | tr ',' ' '`) echo $PROCESS_IDX -->... (6 Replies)
Discussion started by: sailaja_80
6 Replies

9. AIX

File Transfer from windows to AIX

How to transfer a directory from my windows machine to my AIX server?? Plz give me a detailed step wise solution... Thanks in Advance.... (0 Replies)
Discussion started by: abhishek27
0 Replies

10. Filesystems, Disks and Memory

reading unix file system from windows

I found a more appropriate section to post my question. Thanks! (0 Replies)
Discussion started by: cneill
0 Replies
Login or Register to Ask a Question