How to use smb share for home directory with AD account

I have extended the schema of our AD and bound a macbook pro running 10.6.8 to the domain. AD users are able to logon, and if I select the option to use their AD homedirectory attribute then this smb share is used as a network drive. My question is though, I need users to logon to MAC using a different smb share for their home drive than the path set in the home directory attribute. Does anyone know how I can achieve this?
Cheers
Paul.

But this method cannot use Regular Expression because my searching target is more than one line.Yes it can!
Like you said, first you list all the files in the folder.
For each file, use a BufferedReader to read the first lines, then you may use a StringBuffer to append the lines into it (don't forget to append the '\n' to each line).
Finally, compile your pattern ( "^November.*\nDecember" ) with the DOTALL flag,
verify that the string (from StringBuffer) matches the pattern and there you have it!

Similar Messages

  • How can I share the home folder with different accounts on the same mac?

    Hi, here's a question:
    How can I share the home folder with different accounts on the same mac?
    The whole point being not to have to install all my apps, and move all my files each time between users.
    The second thing would be to be able to modify one document on one account, and have it changed on the other account without having to copy it.
    I would like to have a pro and a private account on my mac.
    Thanks for you answers,
    Doug

    Your apps should not be installed in your home folder--they should be in /Applications where every user can access them.
    If you want to share things between users on the same Mac, use the /Users/Shared folder. Keep your home folder private. Trying to defeat the protections on the home folder subfolders just gets messy. I've never bothered to figure out all of the problems associated with it so I can't explain how to do it.
    Even with using Shared, you would need to alter the ACLs on the shared folder in order to allow both users to modify the documents.
    You must create a Group in Users & Groups and put each user in that group. Then create a folder inside /Users/Shared where you want to share the various files.
    Then, add an ACL to the shared folder that gives the group special permissions. on that folder.
    sudo chmod -R +a "<sharinggroup> allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared/<sharing folder>
    Replace <sharinggroup> and <sharingfolder> with the name of your group and your folder. Then, run the command in the Terminal.
    With that ACL, each user in <sharinggroup> will be able to alter the files created by any user in the group in that <sharingfolder>.
    Essentially, the client OS is not designed for true file sharing among the individual users. It is designed to isolate each user account from the others.

  • Use another partition for Home directory?

    I upgraded my Power Mac G5 to Leopard and it recognized that I use a separate partition for my home directory. My MacBook didn't have enough space on my system partition to upgrade, so I did a clean install. Now I'm stuck using a home directory on the system partition- NetInfo manager does not exist in Leopard to allow this change and I want to use another partition for my home directory. How do I change this?

    Use the 'ln -s' command in the Terminal, which is in the /Applications/Utilities/ folder, to create a symbolic link to the desired location of your home folder, and put it where your current home folder is. The l in the command is a lowercase L; to see instructions for it, run 'man ls'.
    (25389)

  • How to use External Drive for Users Directory

    I just did a clean install on my Mac Mini - I have over 4 TB of storage attached, but the main drive (160 GB) keeps filling up. What is the best way to have the Users directory located on an external drive?
    Thanks for your help,
    Chris

    Think about it for a second. What would happen if that external drive wasn't connected for some reason? Maybe it died the night before, as external drives have a habit of doing. How are you going to log into the system?
    If the main drive is filling up, it says that you aren't making effective use of the attached storage. There's nothing saying you have to keep video files in the Movies folder, and music in the Music folder, etc. Find some things, that aren't your user profile, and move them to your external storage. Or consider putting in a larger internal drive.
    < Edited by Host >

  • How to use one certificate for two directory servers?

    Hi,
    running Sun DSEE 6.3.1 on two servers, server 1 has name ds1.example.com, server 2 has name ds2.example.com. There is a round robin DNS record ds.example.com, which alternates between:
    ds1.example.com
    ds2.example.com
    and
    ds2.example.com
    ds1.example.com
    An LDAP client connects to one of the servers over SSL using the name ds.example.com. We want to generate a certificate using the name ds.example.com and use it on both directory servers.
    If we generate a CSR using DSCC on server 1 and get back a signed certificate, the certificate can be installed correctly on server 1. However, if we use the same signed certificate on server 2 it fails with error:
    Unable to find private key for this certificate.
    Failed to add the certificate.
    Error executing the operation. The error code is 11.
    What is the correct way to generate one CSR, have it signed by a CA and then implement this signed certificate on multiple servers?
    /rolf

    From one Directory Server (ds1) generate CSR with the name ds.example.com in the request. Once you get the signed cert import it into the same server you generated CSR with. Then from ds1.example.com :
    scp -p <slapd install/instance path>/alias/* <account>@ds2.example.com:<slapd install/instance path>/alias/
    to copy the contents of the alias path to the same location on the other Directory Server. Make sure file permissions are the same.

  • How to fix permission denied for home folder with Apache in Mavericks?

    I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
    Installation steps
    To set up the webserver, I took the following steps:
    1. activated the webserver with command: apachectl start
    2. enabled PHP by checking if the module is loaded
    3. checked if the home folder module is loaded
    4. made the user based configuration file, in /etc/apache2/users/nazeem.conf The content is as follows:
    <Directory "/Users/nazeem/Development/Websites/">
    Options Indexes MultiViews FollowSymLinks AllowOverride All
    </Directory>
    Permissions
    ~/nazeem : drwxr-xr-x+ ~/nazeem/Development : drwxr-xr-x ~/nazeem/Development/Websites : drwxr-xr-x
    Log
    The apache log says the following:
    [Mon May 19 21:22:57 2014] [error] [client ::1] client denied by server configuration: /Users/nazeem/Sites
    In my opinion this is remarkable, as the path /Users/nazeem/Sites is nog what I defined in my user configuration.
    Versions
    OS X Mavericks 10.9.3
    Apache 2.2.26
    Does anybody know how to solve this?

    nzm_aak wrote:
    I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the following error: You don't have permission to access /~nazeem/ on this server.
    Does anybody know how to solve this?
    You will have to contact the author of that tutorial and ask. Apache can be configured an infinite number of ways. You seem to be attempting to configure it in two conflicting methods. You can define specific directories on your web server or you can use mod_userdir. You can't hack up a combination of the two.
    I posted my own User Tip on how to configure Apache: https://discussions.apple.com/docs/DOC-3083
    This user tip only covers mod_userdir and will serve content out of $(HOME)/Sites. I strongly suggest starting there and only trying a custom location later, if you see the need.

  • How to use "Mail Merge for Word" to include only Account fields?

    We're attempting to use the Mail Merge for Word template to create a document containing several fields from the Account object. We do not need any fields from the Contact object, and there are many contacts linked to each account.
    When choosing "Get On Demand Data > Accounts", removing all the [Contacts] fields, selecting the necessary [Accounts] fields, then clicking "OK", a "List Download in Progress" window appears, followed by one that says "Microsoft Word - Subscript out of range". None of the [Accounts] fields are available in the downloaded data.
    Can anyone tell me how to include the appropriate Account fields without any Contact fields (which pulls a separate Merge record for every Contact linked with the selected Account)?
    Thanks.

    Thanks for trying to help with this.
    So far, we've been unable to pull even a SINGLE account record. So the problem is not related to data volume limitations. The tool seems to require that Contacts are selected, but for this application we only want a single merge document per Account.
    If anyone else has had success using the Mail Merge for Word tool to pull only Account data, please give us your guidance. Thanks.

  • How to use acquired values for different treatments with NI 9188 cDAQ

    hi guys, I am trying to use NI DAQ 9188 chasis with 9214 temperature measurement module. I wired 3 modules to the module and split signals. But I am not sure that I can these values into functions vis easily. I am trying to convert them into 1D array, but when I converted to the 1D array I can not see the values and use separetely from each other. For example, I want to multiply just the first value taken from 1st thermocouple. how could I do this. Additionally, the signals in the waveform chart 1 is not smooth. what is the reason of this? thanks in advance.
    Egemen
    Solved!
    Go to Solution.
    Attachments:
    DAQ_v1.vi ‏82 KB

    Hi newbieeng,
    It sounds like what you want to use is the Index Array function. You should use the Convert From Dynamic Data function on the signal coming from the DAQ Assistant and then use the Index Array function to access the apropriate data on which you would like to operate. Please refer to the help documentation for more information on the Index Array function. As far as smoothening the signal, try adjusting the properties of the graph, such as Autoscale X and some others in the Properties window. 
    Regards,
    James D.
    Applications Engineer
    National Instruments

  • HT1727 How do you grant permission for home sharing and authorizing?  My mac did home share, but now says, "The required directory was not found or has a permissions error", when I try to authorize.

    How do you grant permission for home sharing and authorizing?  My mac did home share, but now says, "The required directory was not found or has a permissions error", when I try to authorize.

    OK, I just got off of the phone with Apple and still no joy. They had me try a few things that did not work, then told me to Archive and Install, which did not either. Anyway, thanks for the additional help very note worthy, but still no joy. Also an email to iTunes Support took me here
    http://docs.info.apple.com/article.html?artnum=93061
    I have a Users/Shared folder but since the files we are talking about are invisible, I can see how it is structured.
    And by the way I tried this one
    http://discussions.apple.com/message.jspa?messageID=3577004#3577004
    and it did not work. However, when I install a fresh copy of Tiger on the external it did authorize the computer and was able to play the downloads. But coping the invisible file to my boot drive was not successful. But , like I said the music did play when I started up from the external. So I guess that may be my only solution, unless someone can tell what the correct directory is and where it for iTunes downloads.

  • Using Family Share or Home Share with Windows 8? If so, what is my best option and how do I set it up??

    I would like to use either Family Share or home share. If I use a pc/laptop with Windows 8, will I be able to use these programs, or do I have to use an Apple device initially? I have an iTunes acct,that I share w/my daughter. However, I would like for us, to each have our own account, and yet share music when we want to.So,am I better off using Family Share or Home Share? We have a lot of music that we have bought together over the years, and I don't want either of us to lose out on those purchases. Yet, I also don't necessarily want all of the music that she  buys, and she doesn't want all the music that I buy. If either of these are an option, how do I go about setting it up? Thanks for the help!

    Welcome to the Apple Community.
    They are different things and it sounds like you might ant to use them both, please take a little time to read the following articles.
    Family Sharing and Apple IDs for kids
    Understanding Home Sharing

  • How to use lock pattern for ur home screen in pod touch 4g(ios 5)

    how to use lock pattern for ur home screen in pod touch 4g(ios 5)

    Video formats:
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    Support for 1024 by 768 pixels with Apple VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)

  • How to get the user's home directory in Unix if I know the username?

    I have a problem to determine a user's home directory in Solaris system.
    for example, I know the username as "smith", how can I know smith's
    home directory (the absolute path string)? pls help me...

    if the user is the one running the program, you can always get the home directory using System.getProperties ("user.home");
    If you are trying to get the properties of another user, you could try using setProperties to change the user name first, before getiting the home directory, but it probably won't work because of the security manager. You could read the /etc/passwd file and parse the path out, but once again, the user of the code would have to have appropriate permission.

  • How to use Batch operation for two xsodata services?

    Hi All,
    I have two xsodata services. How to use submit batch for two xsodata services
    Thanks,
         Mj

    Gateway Batch Calls from SAPUI5

  • How to use same actions for differ pop-up

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi,
    Take one integer value attribute in the context of view
    when you r performing action on POP1 set it's value to 1
    when you r performing action on POP2 set it's value to 2
    create one method which receives integer argument, say diaplay(int a)
    In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
    in display() method, Check the value of integer variable..
    if it is 1 then perform action related to POP1
    if it is 2 then perform action related to POP2
    Regards
    LakshmiNarayana

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

Maybe you are looking for

  • Ipod not recognized after updating software

    1. I returned my Ipod to Apple for battery service. 2. After getting it back, I updated the software on my computer. 3. When I plug in the Ipod, I get a message that the hardware did not install properly. 4. The Ipod does not have an error message on

  • Cardinal spline in Crystal 8.5

    Post Author: sksk CA Forum: Charts and Graphs Is it possible to draw smooth line curve - Cardinal spline - between points in Crystal Reports 8.5? And how if yes.Thank you.

  • Problem with a Constructor of a backingBean

    Hello there!, i have a problem with this code , on a constructor of backingBean     public Login() {         System.out.println("New instance!!");         FacesContext fc = FacesContext.getCurrentInstance();         String sessionId = fc.getExternalC

  • Export frame file name increment

    When exporting a frame, the file name's number is incorrect.  For example the last frame I exported, is named "runway show.Still531", meaning I have 531 files, each named incrementally (runway show.Still001, runway show.Still002, runway show.Still003

  • Implementation of Tree Strucure in ABAP

    Hi, I have to display a report in the tree structure.             --->Node.... Root Node------>Node.... --->Node..... >Node.... The report goes like this...Is there any way to implement the same. I have to display the report in ALV. and it is interac