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
smb(4)								   File Formats 							    smb(4)

NAME
smb - configuration properties for Solaris CIFS server DESCRIPTION
Behavior of the Solaris CIFS server is defined by property values that are stored in the Service Management Facility, smf(5). An authorized user can use the sharectl(1M) command to set global values for these properties in SMF. The following list describes the properties: ads_site Specifies the site configured in DNS to look up Active Directory information. An Active Directory site is the local Active Directory NT domain name that has a different subnet controlling the Active Directory server. The value should not be set if you do not have a local Active Directory site or if the same subnet is used by the local Active Direc- tory NT domain. By default, no value is set. autohome_map Specifies the full path for the autohome map file, smb_autohome.map. The default path is /etc. ddns_enable Enables or disables dynamic DNS updates. A value of true enables dynamic updates, while a value of false disables dynamic updates. By default, the value is false. keep_alive Specifies the number of seconds before an idle SMB connection is dropped by the Solaris CIFS server. If set to 0, idle connections are not dropped. Valid values are 0 and from 20 seconds and above. The default value is 5400 seconds. lmauth_level Specifies the LAN Manager (LM) authentication level. The LM compatibility level controls the type of user authentication to use in workgroup mode or domain mode. The default value is 3. The following describes the behavior at each level. 2 In Windows workgroup mode, the Solaris CIFS server accepts LM, NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the SMB redirector on the Solaris CIFS server sends NTLM responses. 3 In Windows workgroup mode, the Solaris CIFS server accepts LM, NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the SMB redirector on the Solaris CIFS server sends LMv2 and NTLMv2 responses. 4 In Windows workgroup mode, the Solaris CIFS server accepts NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the SMB redirector on the Solaris CIFS server sends LMv2 and NTLMv2 responses. 5 In Windows workgroup mode, the Solaris CIFS server accepts LMv2 and NTLMv2 responses. In NT domain mode, the SMB redirec- tor on the Solaris CIFS server sends LMv2 and NTLMv2 responses. netbios_scope Specifies the NetBIOS scope identifier, which identifies logical NetBIOS networks that are on the same physical network. When you spec- ify a NetBIOS scope identifier, the server is only able to communicate with other systems that have the same scope defined. The value is a text string that represents a domain name and is limited to 16 characters. By default, no value is set. Most environments do not require the use of the NetBIOS scope feature. If you must use this feature, ensure that you track the scope identifier assigned to each node. oplock_enable Enables or disables opportunistic lock (oplock) support on the Solaris CIFS server. A Solaris CIFS server grants an oplock to a client process so that the client can cache data for while the lock is in place. When the server revokes the oplock, the client flushes its cached data to the server. A value of true enables oplock support, while a value of false disables oplock support. The default value is true. Oplocks can typically be left enabled to obtain the performance benefits of client-side caching. In some circumstances, such as with some database applications, the application vendor might recommend that client-side caching be disabled to ensure that transactions are always committed immediately to the server. pdc Specifies the preferred IP address for the domain controller. This property is sometimes used when there are multiple domain con- trollers to indicate which one is preferred. If the specified domain controller responds, it is chosen even if the other domain con- trollers are also available. By default, no value is set. restrict_anonymous Disables anonymous access to IPC$, which requires that the client be authenticated to get access to MS-RPC services through IPC$. A value of true enables anonymous access to IPC$, while a value of false disables this anonymous access. The default value is false. system_comment Specifies an optional description for the system, which is a text string. This property value might appear in various places, such as Network Neighborhood or Network Places on Windows clients. By default, no value is set. wins_exclude Specifies a comma-separated list of network interfaces that should not be registered with WINS. NetBIOS host announcements are made on excluded interfaces. wins_server_1 Specifies the IP address of the primary WINS server. By default, no value is set. wins_server_2 Specifies the IP address of the secondary WINS server. By default, no value is set. ATTRIBUTES
See the attributes(5) man page for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmbsu | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
sharectl(1M), smbadm(1M), smbd(1M), smbstat(1M), attributes(5), smf(5) SunOS 5.11 17 Nov 2008 smb(4)
All times are GMT -4. The time now is 10:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy