Sponsored Content
Operating Systems AIX Reading .properties file on AIX and Windows Post 302626561 by shoefiend on Thursday 19th of April 2012 12:19:41 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
ad(5)							Standards, Environments, and Macros						     ad(5)

NAME
ad - Active Directory as a naming repository DESCRIPTION
Solaris clients can obtain naming information from Active Directory (AD) servers. The Solaris system must first join an AD domain and then add the ad keyword to the appropriate entries in the nsswitch.conf(4) file. The Solaris system joins the AD domain by using the kclient(1M) utility. The AD name service only supports the naming databases for passwd and group. Windows users are not able to log in. The user_attr(4) database has no entries for Windows users, and the passwd(1) command does not sup- port the synchronization of user passwords with AD. The Solaris AD client uses auto-discovery techniques to find AD directory servers, such as domain controllers and global catalog servers. The client also uses the LDAP v3 protocol to access naming information from AD servers. The AD server schema requires no modification because the AD client works with native AD schema. The Solaris AD client uses the idmap(1M) service to map between Windows security identi- fiers (SIDs) and Solaris user identifiers (UIDs) and group identifiers (GIDs). User names and group names are taken from the sAMAccountName attribute of the AD user and group objects and then tagged with the domain where the objects reside. The domain name is separated from the user name or group name by the @ character. The client uses the SASL/GSSAPI/KRB5 security model. The kclient utility is used to join the client to AD. During the join operation, kclient configures Kerberos v5 on the client. See kclient(1M). FILES
/etc/nsswitch.conf Configuration file for the name-service switch. /etc/nsswitch.ad Sample configuration file for the name-service switch configured with ad, dns and files. /usr/lib/nss_ad.so.1 Name service switch module for AD. SEE ALSO
passwd(1), svcs(1), idmap(1M), idmapd(1M), kclient(1M), svcadm(1M), svccfg(1M), svccfg(1M), nsswitch.conf(4), user_attr(4), smf(5) SunOS 5.11 22 Oct 2008 ad(5)
All times are GMT -4. The time now is 05:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy