Hiding Users in IFS

I am trying to hide users in a certain group from users in another group in IFS. I would like each group to only see those users in their specific group.
When I apply an ACL to users in one group so other groups can't see them the other users also CANNOT access files uploaded by those in the first group.
Is there anything I can do or do users have to be visible to those who would access files uploaded by those users?
Thanks,
Matt

If i've understanded your problem, you could do that:
Create a new ACL (documentsACL, for instance).
Put both groups in the ACL entry list, giving then both the necessary rights.
Then, for the new documents created by each groups you must give this new ACL, not the user default.
Try that and reply if it's ok or not.
Bye.
Felippe Neto

Similar Messages

  • Hiding users in Corporate Directory

    I am trying to remember how to hide users in CD in CM. Referring to this tech note, hiding users is not that of a big deal, but this user gets removed from CD in Callmanager and hence the user doesnt show up in the phone. The disadvantage of this method is that you can modify any user related parameter from the web interface. How can we work around this ? Is there another alternative method ?
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00804d2087.shtml

    Sankar you might want to try the following:
    HIDE USERS
    DC DIRECTORY
    You can hide users from beeing visible in the Corporate Directory.
    For doing this, you have 2 options:
    1) Set the first name to blank and put the whole name in the last name
    field. Full Administrator users will not appear in the corporate
    directory.
    2) To hide a user in DC Directory:
    First, cut and paste the following 4 lines into a file called "hideuser.ldif"
    text file, and save it in the C: drive of the publisher callmanager server.
    dn: cn=[userid],ou=users,o=cisco.com
    changeType: modify
    replace: Description
    Description: CiscoPrivateUser
    Set the [userid] to be the user you would like to hide. Example for the
    UserID "ctifw":
    dn: cn=ctifw,ou=users,o=cisco.com
    changeType: modify
    replace: Description
    Description: CiscoPrivateUser
    Next run the following command from a cmd prompt on the publisher callmanager
    server in order to set the description field in DC Directory.
    ldapmodify -h -p 8404 -D "cn=Directory
    Manager,o=cisco.com"
    -w -c -f hideuser.ldif
    From 3.3 onwards, system users (or special users) are filtered out from the
    search results. The users are filtered based on the attribute "Description".
    If "Description" is CiscoPrivateUser, the user is not displayed in search
    results from Corporate Directory or Users->Global Directory.
    AD DIRECTORY
    To hide a user in AD do the following:
    * If integrated with AD 2000:
    dn: cn=[userid], CN=users, dc=[domain], dc=com
    changeType: modify
    replace: Description
    Description: CiscoPrivateUser
    Save this file on the AD server as "hideuser.ldif".
    Then execute on the AD server:
    ldifde -i -f hideuser.ldif
    * If integrated with AD 2003:
    Copy the following 5 lines (please note the '-' after the four lines. In
    AD2K3, this is required and has changed from AD2K) into a text file and
    replace the [userid] with the userid of the user that needs to be
    hidden. Replace the [domain] with your domain. Save this file on the AD
    server as "hideuser.ldif".
    dn: cn=[userid], CN=users, dc=[domain], dc=com
    changeType: modify
    replace: Description
    Description: CiscoPrivateUser
    Then execute on the AD server:
    ldifde -i -f hideuser.ldif

  • Error while trying to register user to iFS 9.0.1

    Hi ,
    We are getting following error while trying to register user with our custom application. When I checked the forums it says the unique constraint might be the problem but I don't see any unique constraint violation in my exception trace. We are using 9.0.1 with 9.0.1 Database.
    Here is the stack trace:
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [10], [0], [], [], [], [], []
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1768)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1380)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1868)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2377)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:427)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:492)
         at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
         at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
         at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
         at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
         at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
         at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
         at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
         at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
         at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
         at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
         at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
         at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973)
         at oracle.ifs.adk.user.UserManager.createDirectoryUser(UserManager.java:1122)
         at oracle.ifs.adk.user.UserManager.createUser(UserManager.java:987)
         at com.cisco.as.ifs.management.fndUserManager.createUser(fndUserManager.java:131)
    Thanks
    Rajesh Basawa

    Rajesh,
    I was wondering did you manage to get this problem fixed we are having a similar problem when creating an iFS object; the following is the stack trace
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    [Mon Jun 16 14:19:47 BST 2003] stderr: java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [5], [0], [], [], [], [], []
    [Mon Jun 16 14:19:47 BST 2003] stderr:
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1759)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1371)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1852)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:487)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973)

  • Hiding users from Global Address List in Exchange 2010

    I am attempting to hide users no longer in our company from our GAL.  I have been trying to do this through Active Directory.  I verified the 'hide from Exchange address list' in AD is checked for these users, but they still shows up.  On
    my own PC I deleted the *.oab files and downloaded the offline address book again, but it still shows.  I also checked OWA and they show in there as well.
    Is there anywhere else that would hold these?  I have searched but could not find much related to this.  We are running Exchange 2010 SP1.
    Any help would be appreciated.

    How to Hide Users From GAL
    http://pdtechguru.wordpress.com/2012/10/26/how-to-hide-users-from-gal/

  • Hiding users in SM04

    Hi all...can some1 tell me how to hide users in SM04 for a particular user alone?
    i.e... none should not find tat particular user has been logged in from tat particular IP through anyway...
    is there any possibilities 2 do this?

    none should not find tat particular user has been logged in from tat particular IP through anyway
    That goes agains the laws of traceability/accountability.... I can't find a single reason to do this.
    Its not possible.
    Regards
    Juan

  • Hiding user input

    in password protecting i want to hide the password as the user inputs so anyone else looking at the screen cannot see the password...is this possible in java?
    Thanks.

    In Java 6 (not released), Console: yes

  • Why would my server be hiding user documents?

    I have 10.9.5 mac pro with 3.2.2 server app. All workstations are 10.9.4 or 10.9.5.   I have had several user complain that their files are missing.  I went to the server yesterday and looked at the home folders and their desktop and documents folder on the server were hidden.  I was able to unhide them using the chflags command, but it seems to be continuing somehow.  It seems to be a problem only with the teachers share.  I switched them recently to a new share, but the same thing keeps happening.  The teachers are mostly mobile accounts with only a few network accounts and it has happened to both.  Any ideas?

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.FolderActions.folders com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper ' ' 879294308 461455494 3627668074 1083382502 1274181950 1855907737 1848501757 464843899 3694147963 1417519526 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 3301885676 891055588 998894468 695903914 4136085286 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test osascript\ -e sysctl\ -n pluginkit );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|Roame|SMC:|suhel| VALI|ver-r|xpma' -o -o -k Sender fseventsd -k Message Req SL -o -k Sender Req launchd -k Message Req de: " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 38 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 39 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Hiding users from anonymous searches

    Hi,
    I am trying to hide certain users from anonymous searches. To be specific, I don't want certain users to show up in global address book searches from UWC and/or outlook or other anonymous searches. It was suggested on another forum to add an attribute like privateuser=true for those users and then build an ACI to not display them for anonymous searches. Could anyone provide some advice on how to build such an ACI.
    Thanks,
    Darren

    (targetattr = "*") (target = "ldap:///ou=testOU,dc=pooh,dc=com") (targetfilter = privateuser=true) (version 3.0;acl "testACI";deny (all)(userdn = "ldap:///anyone");)

  • Hiding users

    I have an encripted SSD in my MBP and during login there are three options: userone, usertwo and 'hd1'. 
    if selected one or two, I type in the name and password, for hd1 the name and master pw. 
    how does one hide the userone and two in 10.8.5?

    thanks brended.  am guessing that it might work differently in 10.6 because it isn't in 10.8.5. 
    see image. 
    I am trying to hide 'hd' and 'user 2' from the login.  how does one do that in ML?

  • Hiding user adresses from specific users adress list

    Hi,
    I've had a request to hide certain mailboxes from certain users. I know I can hide an address from the entire directory, but I'm looking to hide an address from only certain users.
    I'm not explaining it greatly, but ideally I'm aiming to have an address such as [email protected] not searchable by any user who starts [email protected] or [email protected] but still be searchable bu users who start [email protected]
    Is this dooable?
    Thanks
    David

    The only way to do something like this is to create custom Address lists/Address book policies and assign them to the users you want to restrict. You can review the documentation here:
    https://technet.microsoft.com/en-us/library/hh529948(v=exchg.150).aspx

  • Hiding Password in OIM user form

    Hi All,
    I am trying to Hide the userID and Password from OIM user (create user) form as I am using entity adaptor to generate these and I dont want to enter vague values. I am successful in hiding User ID field by modifying formMetaData.xml, however, I am not able to find anything for Password/Confirm Password fields.
    Please suggest.

    For each attribute reference, you can specify whether the field is:
    Viewable—By adding the attribute reference to the relevant section
    Editable—By specifying a value of TRUE or FALSE for the editable parameter
    Optional—By specifying a value of TRUE or FALSE for the optional parameter

  • Creating iFS User

    Hi,
    I have dropped user in iFS from WEBUI. When I try to recreate the user it says "There is alread an account for user..... Click yes to reset the password". When I click Yes ..it gives me error message IFS-10154:Unable to create User, IFS-10172: Distinguished name not unique ().
    Please can you let me know how to recreate the user ?
    Thanks

    What version of 9iFS are you using?
    What Credential Manager are you using? iFS or OID?
    Most likely, the the iFS Credential Manager entry still exists.
    Please verify that the CredentialManager user is deleted
    with the following code:
    // verify if CM user already exists
    Vector v = new Vector();
    v.addElement(m_CredentialManager);
    v.addElement(m_DistinguishedName);
    Serializable result = m_Session.invokeServerMethod(
    "DYNCredentialManagerUserExists", v);
    if (!((Boolean) result).booleanValue())
    etc.
    If this entry exists you will need to remove it as an administrator user by calling the DYNCredentialManagerDeleteUser method of
    oracle.ifs.server.S_LibrarySession.
    DYNCredentialManagerDeleteUser
    public java.io.Serializable DYNCredentialManagerDeleteUser(java.io.Serializable payload)
    throws IfsExceptionDeletes the specified user from the specified CredentialManager.
    This method should only be invoked from the beans API by calling invokeServerMethod on LibrarySession. Do not call this method from the server API; instead, operate directly on the DirectoryService obtained by calling getDirectoryService.
    The payload must be a Vector co[i]Long postings are being truncated to ~1 kB at this time.

  • Help, CheckOut causes error IFS-34611

    There was an error checking out logo.jpg: oracle.ifs.common.IfsException: There was an error checking out logo.jpg: oracle.ifs.common.IfsException: IFS-34611: Error reserving version series. oracle.ifs.common.IfsException: IFS-30054: Insufficient access to add a new version to a VersionSeries oracle.ifs.common.IfsException: IFS-30030: Permission not granted on specified ACL series. oracle.ifs.common.IfsException: IFS-30054: Insufficient access to add a new version to a VersionSeries oracle.ifs.common.IfsException: IFS-30030: Permission not granted on specified ACL
    I am writing my own CheckOut and CheckIn code for IFS1.1.10. The problem is that every time I check in a file, nobody but the person who originally checked in the file is able to check out the file. SO user1 checks in a file, user2 checks out the file and BAM error. please help.
    I have made sure to set the ACL to public at initial document creation (by giving the DocumentDefinition a Public ACL).
    //////////////////////////////////// BEGIN CHECKIN CLASS ////////////////////////////////////////////////////
    ******* CheckIn is pretty big so the only things to look at are the doPost and other called methods
    * Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html; charset=WINDOWS-1252");
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>CheckIn</title>");
    out.println("<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=WINDOWS-1252\">");
    out.println("</head>");
    out.println("<body>");
    //Debug mode stuff
    if (MODE == "info")
    iterateThroughHeaders(out, request);
    //Determine the length and location of the boundary tags
    //wrapping the files contents, these will
    //be used to trim away the header and footer later
    String contentType = request.getContentType();
    int boundaryIndex = contentType.indexOf("boundary=");
    String boundary = contentType.substring(boundaryIndex+9);
    int boundaryStrLength = boundary.length();
    // Parse out the filename from the stream
    // and at the same time remove the boundary tag
    // wrapping the file
    ServletInputStream sis = request.getInputStream();
    try {
    //Create a Junkbuffer to hold "lines" of the content Stream
    //and junk the first line of the stream
    int offset=0;
    int bufferLength=1024; // 1kilobyte
    byte[] junkBuffer = new byte[bufferLength];
    int junkLineSize = sis.readLine(junkBuffer, offset, bufferLength);
    junkLineSize = sis.readLine(junkBuffer, offset, bufferLength);
    // Read the file name from 2nd line of the stream
    // by isolating everything between the last
    // file backslash "\" and the last quote """
    ByteArrayOutputStream ContentDispositionStream = new ByteArrayOutputStream();
    ContentDispositionStream.write(junkBuffer, 0, bufferLength);
    String ContentDisposition = ContentDispositionStream.toString();
    ContentDisposition.trim();
    //String filename = ContentDisposition.substring(ContentDisposition.lastIndexOf("\\")+1,ContentDisposition.lastIndexOf("\""));
    login.setfilename( ContentDisposition.substring(ContentDisposition.lastIndexOf("\\")+1,ContentDisposition.lastIndexOf("\"")) );
    // junk the 3rd and 4th lines
    junkLineSize = sis.readLine(junkBuffer, offset, bufferLength);
    junkLineSize = sis.readLine(junkBuffer, offset, bufferLength);
    } catch (Exception e){
    // Now that we have the filename, we need to make sure that
    // the file is not checked out by somebody else
    PublicObject pendingCheckIn = null;
    try {
    pendingCheckIn = login.getFileSystem().findPublicObjectByPath(login.IFS_FILE_PATH+login.getFilename());
    if (login.getFileSystem().isCheckedOut(pendingCheckIn) ) {
    // if file is checked out, find out by whom
    DirectoryUser currentOwner = login.getFileSystem().checkedOutBy(pendingCheckIn);
    if ( !currentOwner.equals(login.getLibrarySession().getDirectoryUser()) ){
    // it must be checked out by somebody,inform the current user as to whom the file is checked out by
    out.println("That file has been checked out by "+ currentOwner.getDistinguishedName());
    out.println("<br>");
    out.println("</body></html>");
    out.close();
    return;
    } else {// it must be checked out by the current user
    // Remove the trailing boundary tag wrapping the file contents
    ByteArrayInputStream contentInputStream = null;
    DataInputStream dis = new DataInputStream(sis);
    try{
    // Create a new Buffer for writing the headerless input stream to
    // a ByteArrayOutputStream
    byte[] buffer2 = new byte[4096]; //4Kilobyte buffer
    int length;
    ByteArrayOutputStream truncatedHeaderStream = new ByteArrayOutputStream(request.getContentLength());
    while ((length = dis.read(buffer2)) > 0) {
    truncatedHeaderStream.write(buffer2, 0, length);
    // Write the headerless ByteArrayOutputStream to a byteArray
    byte[] truncatedHeaderArray = truncatedHeaderStream.toByteArray();
    // Create a new ByteArrayOutputStream with the trailing
    // boundary tags removed by truncating the end of
    ByteArrayOutputStream contentOnly = new ByteArrayOutputStream(request.getContentLength());
    contentOnly.write(truncatedHeaderArray, 0, truncatedHeaderArray.length - boundaryStrLength - 8);
    byte[] contentAsBytes = contentOnly.toByteArray();
    contentInputStream = new ByteArrayInputStream(contentAsBytes);
    } catch (Exception e) {
    out.println("Error parsing the file out of the request<br>");
    //Create a new version of the document in the Primary Version Series
    createNewVersion(pendingCheckIn, contentInputStream, checkInComment);
    //Connect to the Oracle Database using the database versions of the username and password
    DatabaseHelper dbHelp = new DatabaseHelper(login);
    //Insert The uploaded document's name into the appropriate table.
    dbHelp.insertRecord(login.getTableName(), login.getKeyID(), login.getFilename());
    return;
    } catch (IfsException ifse) {
    //out.println("There was an error trying to: " + ifse.toString());
    try {
    if (null == pendingCheckIn) {
    // then this object does not exist and we must create a document and then version it.
    // Remove the trailing boundary tag wrapping the file contents
    ByteArrayInputStream contentInputStream = null;
    DataInputStream dis = new DataInputStream(sis);
    try{
    // Create a new Buffer for writing the headerless input stream to
    // a ByteArrayOutputStream
    byte[] buffer2 = new byte[4096]; //4Kilobyte buffer
    int length;
    ByteArrayOutputStream truncatedHeaderStream = new ByteArrayOutputStream(request.getContentLength());
    while ((length = dis.read(buffer2)) > 0) {
    truncatedHeaderStream.write(buffer2, 0, length);
    // Write the headerless ByteArrayOutputStream to a byteArray
    byte[] truncatedHeaderArray = truncatedHeaderStream.toByteArray();
    // Create a new ByteArrayOutputStream with the trailing
    // boundary tags removed by truncating the end of
    // the headerless byteArray
    ByteArrayOutputStream contentOnly = new ByteArrayOutputStream(request.getContentLength());
    contentOnly.write(truncatedHeaderArray, 0, truncatedHeaderArray.length - boundaryStrLength - 8);
    byte[] contentAsBytes = contentOnly.toByteArray();
    contentInputStream = new ByteArrayInputStream(contentAsBytes);
    } catch (Exception e) {
    out.println("Error parsing the file out of the request<br>");
    Document doc = null;
    try {
    DocumentDefinition newDocDef = new DocumentDefinition(login.getLibrarySession());
    newDocDef.setAttribute( "NAME",AttributeValue.newAttributeValue(login.getFilename()) );
    newDocDef.setContentStream(contentInputStream);
    PublicObject poForAcl = login.getFileSystem().findPublicObjectByPath(login.PUBLIC_ACL_OBJECT_PATH);
    AccessControlList acl = poForAcl.getAcl();
    AttributeValue av = AttributeValue.newAttributeValue( acl );
    newDocDef.setAttribute( PublicObject.ACL_ATTRIBUTE, av );
    doc=(Document)login.getLibrarySession().createPublicObject(newDocDef);
    } catch (IfsException ifseIn) {
    out.println("Error creating new Document definition"+ifseIn);
    //return the versioned Family object
    Family documentFamily=null;
    try {
    documentFamily = this.makeVersioned(doc,checkInComment);
    }catch (IfsException ifseIn) {
    out.println("error in makeVersion");
    //Put the family object into /public/Pool
    Folder folder=null;
    FolderPathResolver folderPathResolver = null;
    try {
    //Get a handle on the public/Pool directory object
    folderPathResolver = new FolderPathResolver(login.getLibrarySession());
    folder = (Folder) folderPathResolver.findPublicObjectByPath("/public/Pool");
    folder.addItem(documentFamily);
    out.println("added the document successfully");
    } catch (IfsException ifseIn) {
    out.println("error getting a handle on public pool"+ifseIn);
    } catch (Exception e) {
    out.println("error adding Item"+e);
    try {
    out.println(" folderPathResolver "+folderPathResolver.toString() +" folder "+folder.getName());
    } catch (Exception e1) {
    //Connect to the Oracle Database using the database versions of the username and password
    DatabaseHelper dbHelp = new DatabaseHelper(login);
    //Insert The uploaded document's name into the appropriate table.
    dbHelp.insertRecord(login.getTableName(), login.getKeyID(), login.getFilename());
    return;
    }//end If
    } catch (Exception exc) {
    out.println("Error creating new doc: "+exc);
    }//end Catch
    } //end doPost()
    * Get Servlet information
    * @return java.lang.String
    public String getServletInfo() {
    return "com.pws.FileTransfer.CheckIn Information";
    //this method was found on Oracle Forums, posted by Mark D Drake
    public Family makeVersioned( PublicObject po, String comment)
    throws IfsException {
    Collection c = po.getSession().getClassObjectCollection();
    ClassObject co = (ClassObject) c.getItems(Family.CLASS_NAME);
    if (po.isInstanceOf(co))
    return (Family) po;
    // - Create a Family Definition. Set the Name of the Family to the name of the Public Object etc.
    FamilyDefinition familyDef = new FamilyDefinition( po.getSession() );
    familyDef.setName( po.getName() );
    //AccessControlList acl = po.getAcl();
    //Added by Weber to give the versioned document a public ACL
    PublicObject poForAcl = login.getFileSystem().findPublicObjectByPath(login.PUBLIC_ACL_OBJECT_PATH);
    AccessControlList acl = poForAcl.getAcl();
    AttributeValue av = AttributeValue.newAttributeValue( acl );
    familyDef.setAttribute( PublicObject.ACL_ATTRIBUTE, av );
    familyDef.setAttribute( PublicObject.DESCRIPTION_ATTRIBUTE, AttributeValue.newAttributeValue( "Family Definition for " + po.getName() ) );
    // Create the version series definition.
    // Attach the Family Definition to the Version Series Defintion
    VersionSeriesDefinition versionSeriesDef = new VersionSeriesDefinition( po.getSession() );
    versionSeriesDef.setFamilyDefinition( familyDef );
    // Create the Version Description Definition
    // Set the Description for the initial version.
    // Set the Versioned Object to be the current Purchase Order
    // Attach the Version Series Defintion to the Version Description Definition
    av = AttributeValue.newAttributeValue( comment );
    VersionDescriptionDefinition versionDescriptionDef = new VersionDescriptionDefinition( po.getSession() );
    versionDescriptionDef.setAttribute( VersionDescription.REVISIONCOMMENT_ATTRIBUTE, av );
    versionDescriptionDef.setVersionSeriesDefinition( versionSeriesDef );
    versionDescriptionDef.setPublicObject( po );
    // Create the Version description. This will create the Version Series and Version Family
    VersionDescription vd = ( VersionDescription ) po.getSession().createPublicObject( versionDescriptionDef );
    // Return the Family
    Family family = vd.getFamily();
    po.setSecuringPublicObject( family );
    //updateFolderReferences( po, family );
    return family;
    public void createNewVersion(PublicObject p_ifsFamily,
    InputStream p_contentStream,
    String p_versionComment){
    try {
    //begin a transaction for saving the new content
    oracle.ifs.common.Transaction transaction = login.getLibrarySession().beginTransaction();
    //get resolved public object from the family of the document
    Family l_family = (Family) p_ifsFamily;
    VersionSeries l_vs = l_family.getPrimaryVersionSeries();
    PublicObject l_rpo = l_family.getResolvedPublicObject();
    try {
    //construct the document definition with contentobject
    DocumentDefinition l_docDef = (DocumentDefinition)l_rpo.getDefinition();
    //Format l_format = ((Document)l_rpo).getFormat();
    l_docDef.setContentStream(p_contentStream);
    //it is unkown whether this is necessary but I have added it for redundancy
    l_docDef.setAttribute("NAME",AttributeValue.newAttributeValue(login.getFilename()));
    //form a new publicobject with the document definition
    PublicObject l_po = login.getLibrarySession().createPublicObject(l_docDef);
    //set the pendingpublicobject for the version series
    l_vs.setPendingPublicObject(l_po);
    //if here,then no exception. so, commit the transaction
    login.getLibrarySession().completeTransaction(transaction);
    //dereference the transaction object
    transaction = null;
    } catch (IfsException ifsEx) {
    ifsEx.setVerboseMessage(true);
    ifsEx.printStackTrace();
    }finally {
    if(transaction != null) {
    //if transaction is pending then exception. so, abort the transaction
    login.getLibrarySession().abortTransaction(transaction);
    //dereference the transaction object
    transaction = null;
    // check in the document with the versioning comments.
    login.getFileSystem().checkIn(p_ifsFamily, p_versionComment);
    }catch(IfsException ex){ // Trap Errors
    if (ex.getErrorCode() != 30661) {
    ex.setVerboseMessage(true);
    ex.printStackTrace();
    }//end make Version
    private AccessControlList getPublicAcl(PrintWriter p_out) {
    AccessControlList l_acl = null;
    try {
    PublicObject poForAcl = login.getFileSystem().findPublicObjectByPath(login.PUBLIC_ACL_OBJECT_PATH);
    AccessControlList acl = poForAcl.getAcl();
    } catch (IfsException ifse) {
    p_out.println("Error in getPublicAcl: "+ifse);
    return l_acl;
    }// end getPublicAcl
    }//end Class
    //////////////////////////////////// BEGIN CHECKOUT CLASS ////////////////////////////////////////////////////
    package com.pws.FileTransfer;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Family;
    import oracle.ifs.beans.FamilyDefinition;
    import oracle.ifs.beans.VersionSeries;
    import oracle.ifs.beans.VersionSeriesDefinition;
    import oracle.ifs.beans.VersionDescription;
    import oracle.ifs.beans.VersionDescriptionDefinition;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.adk.filesystem.IfsFileSystem;
    import oracle.ifs.common.IfsException;
    public class CheckOut extends HttpServlet {
    public static final String CHECKOUT_FILE_LOCATION = "files"+Login.IFS_FILE_PATH;
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    * Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html; charset=WINDOWS-1252");
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>CheckOut</title>");
    out.println("<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=WINDOWS-1252\">");
    out.println("</head>");
    // Parse the userName, password, docID and file from the request
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    String file = request.getParameter("file");
    // Create a Login object to represent this session between the user and ifs
    Login login = new Login(username, password, null, null, null, null, file);
    // Create a publicObject from the provided filename
    PublicObject poFromFile = null;
    String lastDescriptID = null;
    String firstDescriptID = null;
    String getID = null;
    String descriptionAttribute = null;
    String defaultVersionDescription = null;
    try {
    // Find the file pending Check Out in IFS
    Family pendingCheckOut = (Family)login.getFileSystem().findPublicObjectByPath(login.IFS_FILE_PATH + file);
    PublicObject resolvedPO = pendingCheckOut.getResolvedPublicObject();
    // Find out who it is checked out by
    DirectoryUser currentFileUser = login.getFileSystem().checkedOutBy(pendingCheckOut);
    if (null == currentFileUser) {
    // The file is not checked out,
    // proceed with CheckOut process
    PublicObject po = login.getFileSystem().checkOut(resolvedPO, false);
    out.println("<a href="\""+ CHECKOUT_FILE_LOCATION + file +"\" target=\"_blank\">"+ file +"</a>");
    } else {
    // The file is already checked out,
    // display who the currentFileUser is
    out.println(file +" is currently checked out by "+currentFileUser.getDistinguishedName());
    } catch (IfsException ifse) {
    out.println("There was an error checking out "+ file +": "+ ifse);
    out.println("</body></html>");
    out.close();
    * Get Servlet information
    * @return java.lang.String
    public String getServletInfo() {
    return "com.pws.FileTransfer.CheckOut Information";

    Hi,
    We are facing exact same problem?
    Have you got any fix for this?
    Please let me know.
    Thanks
    Sri
    (Cisco Systems)

  • Oracle.ifs.admin.export.ExportUsers NOT working in SILENT mode

    I'm trying to export my CMSDK users via the commandline script (since the GUI tool MAKES YOU SELECT EACH USER ONE AT A TIME!!!) but it is not working. The CMSDK doc incorrectly tells you to run oracle.ifs.admin.export but I've found that you have to run ...ExportUsers. However my def file has the runsilent attr set but the GUI app still pops up???? Below is my script
    #!/bin/sh
    IFS_ROOT_HOME=$ORACLE_HOME/ifs
    export IFS_ROOT_HOME
    . $ORACLE_HOME/ifs/common/bin/ifsunixcmds
    . $ORACLE_HOME/ifs/cmsdk/bin/system/ifssetenv
    CLASSPATH=${IFS_CLASSPATH}
    export CLASSPATH
    java -Xmx64M oracle.ifs.admin.export.ExportUsers /d01/app/oracle/product/oas904mid/ifs/cmsdk/export/export-users.def
    And here is my def file...
    IFS.EXPORT.RunSilent=true
    IFS.EXPORT.Username=system
    IFS.EXPORT.Password=manager9ifs
    IFS.EXPORT.Service=IfsDefault
    IFS.EXPORT.SchemaPassword=gapp1969
    IFS.EXPORT.LogFile=export-users.log
    IFS.EXPORT.USER.ExportedUsers=bdillon
    IFS.EXPORT.ExportSetName=dev-users
    IFS.EXPORT.ExportToPath=/d01/app/oracle/product/oas904mid/ifs/cmsdk/export/
    IFS.EXPORT.ExportTreeSize=50
    IFS.EXPORT.USER.GetAllAncestors=true
    IFS.EXPORT.USER.GetDirectAncestors=false

    Pl see your other thread here - libxp.so.6
    You cannot terminate an install before successful completion and expect things to work flawlessly ;-)
    Srini

  • Questions concerning Hidden User Accounts

    Hi All,
    I am considering making a hidden admin on my computer and using a standard account for daily use. This way I am less susceptible to exploits during day to day use, and if someone gets hold of my computer, they would have a harder time getting admin privileges as the admin account would be hidden.
    I would also like to use Undercover to track my computer if it is stolen and I require a dummy or guest account for this. I recently set up a hidden admin account but the guest account was unable to be enabled after doing so. I suspect this is because the User ID of the Guest account is below 500 and I had set the computer to hide users with IDs below 500.
    Is there are way around this? I know there is another method of hiding users, which I have not tried yet, where you add the user to the "HiddenUsersList". Perhaps it is possible to set the Guest User ID above 500?
    I would like some advice before messing around with system settings, thanks

    I would really suggest you don't bother with hidden admin accounts and definitely not with Undercover or any other antitheft software. despite any claims such software makers make, it VERY easy to override and most professional computer thieves know this. first, if you don't have a firmware password set then it's easy to set up a new admin account from single user mode or while booted from an install DVD. one can also erase the hard drive while booted from the install DVD or from another computer by booting yours in target mode. that will wipe any software protection you may have installed. Undercover and similar outfits will tell you that a firmware password will prevent any of that. But what they *won't tell you* is that a firmware password is easy to override given unrestricted physical access to a computer. just google it up and you'll see how. it's really not a big secret. Most stolen computers are wiped and resold within hours of theft.
    as for changing UID of Guest you can try changing it to something above 500 and see what happens. I just tried it and set it to 601. seems to work ok but I wouldn't swear by it. you can experiment and see what happens. I'm changing mine back to 201.

Maybe you are looking for

  • Error 13019: the iPhone will not sync

    Hi, I have been getting this error for months now and don't know what to do to fix it. I have the iPhone 3G, and have it update to the ios4 software, not the newest 4.1 one though, because when I updated it last time it deleted all my contacts and ca

  • Emu 1616m pcmcia cardbus driver installation errors: this device is not config correctly (code1)

    Hi, can anyone help, I use a 1616m pcmcia card bus in my dell inspiron laptop, its been working fine no errors for the last year, then suddenly today, I go to use it and no sound, and my DSP reds out, and it states my hardware or drivers my need re-i

  • Clean install windows 8 on Ideapad U310

    Hi guys, I have purchased Ideapad U310 couple of months back with Windows 7 home premium installed. Recently I availed the offer. While trying to make a fresh install of Windows 8 I noticed the C drive is not detected. I could not find any solutions

  • How to use time capsule as hard drive and connect with existing net gear router

    I have a netgear D6300 router, which i use to connect to internet - which is excellent so far for my downloads and games etc for my PS4 and hence am keen to continue using it. I bought the Airport time capsule for wireless storage, and when i set it

  • QUICKTIME ERROR!! PLEASE HELP

    whenever i play videos from itunes onto quicktime, it freezes on the picture but hte audio is stil on any advice from anyone?