OpenLDAP & Samba for home drives

Hi,
We are in the process of setting up our existing OpenLDAP (on Ubuntu) to provide authentication and MCX etc for our Macs.
We are hitting a problem with our home directories - they work fine using AFP (and presumably NFS), but we want to use Samba for obvious reasons and we don't want to use Kerberos. I have searched high and low for info on using Samba in this way, but have had no luck
My simplistic approach so far was to change the following schema value from AFP to SMB, but with no success - the login fails with a generic error.
apple-user-homeurl: <homedir><url>afp://server/home/</url><path>jrhoades</path></homedir>
Does anybody have any experience using Samba in this way?
Cheers Jon

I found that by adding the following to /etc/smb.conf fixed the problem
[homes]
read only = no
browsable = no
You really just need the "read only = no" but if you leave it browsable you get a homes share and also the users home share if you just try and connect to the server without appending a share name. In my setup I didn't like that so appending "browsable = no" fixed that.

Similar Messages

  • How do I use WD Raptor for OS/Apps drive and RAID 0 for Home/Data drive

    So far I have configured my machine with a WD Raptor 74GB as the startup disk, and created a RAID 0 with the Seagate 250 GB drive (shipped with the machine) and a 250GB partion of a WDC 320GB drive. All drives were zeroed and I used the install disks to load Tiger on the Raptor. I backed up to a LaCie D2 1TB external hard drive with LaCie's Silverkeeeper.
    I would like to use the WD Raptor as startup/apps/scratch disk and the RAID 0 for the user folders and other data. I would then like to create a RAID 1 with the RAID 0 and a 500GB partion of the LaCie 1TB external.
    I have learned however that what I would like and what I can have are not always compatible.
    My questions:
    Is the Silverkeeper backup sufficent, or should I have cloned my previous system?
    What folders should accompany the application folder on the Raptor? So far I have only put the app folder there and nothing works. I suspect things like 'application support' should be there as well.
    Is there a way to keep my home folder on the RAID 0 without using Terminal or spending too much time as the root user? I tried copying my home folder onto to the RAID 0 and putting an alias in the user account I had to create while installing the OS on the Raptor. This kind of works but is not a particularly elegant solution.
    I would appreciate any advice on how to proceed or if the proposed configuration is even achievable.

    Photoshop files of 1GB+ can eat up memory and scratch. And the more drives for scratch, the better.
    Some of the limitations are with the bus, bandwidth, and 'swapping' code in and out of different cores that is inefficient.
    Compilers can do some, but from the time new hardware (8 cores) to seeing improvements to compiler, and out to software (applications) and OS, can take a year or more but provide in the neighborhood sometimes of 40%. In which time, newer designs will change the equation. Caching and VM will improve with Leopard, but beyond that...?
    So... back to "read world" IF you are in the habit of working with 1-2GB images, then a pair of Raptors for boot is helpful, AND 8GB and more of RAM, AND 4-8 drives for scratch. (Think of those Sonnet Port Multiplier controllers and Fusion 500 style case for 5 drives on one port).
    If you work with files smaller than 500MB range, your needs are cut way down.
    150GB Raptor boot drive. Small. subtract 25% for minimum free space, 140GB formatted, kind of tight for some. But it handles 60% well.
    The outer 30% of 465GB (RE2) is also fast and good performance. I partition large boot drives to keep the OS and apps contained in the outer 1/3.
    Mac Pro Memory Usage and Performance
    If your work flow means doing more than one thing at a time on your Mac Pro, then you will see significant gains if you spend extra to get the 8-core version. Our Photoshop CS3 actions were completed 39% faster on the 8-core when we had 3 other apps busy crunching. This advantage emerges in spite of the memory bus limitations of the 8-core Mac Pro.
    http://www.barefeats.com/octopro3.html
    CS3: Justifying 8-Cores
    http://www.barefeats.com/octopro4.html
    Pshop Test G5 Quad 16GB Raptor RAID
    Photoshop and multi-core
    http://blogs.adobe.com/scottbyer/
    Mac Pro 2GHz 4GB 10K Raptor 23" Cinema   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • I am considering a base 21" iMac ($1099 @ Best Buy) for home use.  It would be my first Mac.  Is the base model powerful enough for everyday home use and some light video editing or should I upgrade the CPU, Ram and to a Fusion drive?

    I am considering a base 21" iMac ($1099 @ Best Buy) for home use.  It would be my first Mac.  Is the base model powerful enough for everyday home use and some light video editing or should I upgrade the CPU, Ram and to a Fusion drive?
    Purchasing with the upgrades through Apple would add about $800 over the Black Friday deal at Best Buy.  Just looking for some advice if I will be satisfied with the based model.

    All models will do what you want. Upgraded models will do it faster than the standard models.
    Just why are you thinking of switching to a Mac?

  • Can Work Folders be used for user home drives?

    Looking to setup server based home drives for user data and wondering if Work Folders would work for that.

    Hi,
    Work Folders can be deployed with existing deployments of home folders. Work Folders stores user files in a folder on the server called a
    sync share.We can specify a folder that already contains user data, which enables us to adopt Work Folders without migrating servers and data or immediately phasing out our existing solution.
    Regarding work folder and how to deploy work folder, the following article and blog can be referred to for more information.
    Work Folders Overview
    http://technet.microsoft.com/en-us/library/dn265974.aspx
    Work Folders Test Lab Deployment
    http://blogs.technet.com/b/filecab/archive/2013/07/10/work-folders-test-lab-deployment.aspx
    Best regards,
    Frank Shen

  • Help Creating a Graph (of sorts) for Professional Driver Daily Logs

    Hey All!
    I'm working on a project for myself, that could go commercial if it gets as good as I'm hoping it will. This application (which I'm calling Truck Manager) will manage income and expenses, help plan trips, track trip/load information and do the US-MCSA/DOT regulated Driver's Daily Log. This log is a line graph that runs from midnight to midnight and has four lines: (1) Off Duty; (2) Sleeper Berth; (3) On Duty, Driving; and (4) On Duty, Not Driving. If anyone needs to see a paper form of this log book, just ask and I'll scan in one of my copies and post.
    Anyway, I'm using J2D to handle the log book "pages" and have already gotten the grid laid out just fine...it runs from midnight to midnight and is broken into 15-minute increments, with the four required lines described above. Now that I have that done, I've hit a logic block that is keeping me from figuring out the best and/or simplest way to log the status changes and time lines. For example, let's say that I work the following day:
    Midnight until 06:00 == off duty
    06:00 until 06:15 == on duty, not driving: performing pre-trip inspection
    06:15 until 08:00 == on duty, driving to customer to be loaded
    08:00 until 08:15 == on duty, not driving: being loaded (only required to log 15 minutes for this)
    08:15 until 09:00 == off duty (still being loaded)
    09:00 until 12:00 == on duty, driving (heading toward delivery)
    12:00 until 12:45 == off duty (lunch)
    12:45 until 15:00 == on duty, driving (heading toward delivery)
    15:00 until 15:15 == on duty, not driving (being unloaded)
    15:15 until 16:00 == off duty, (still being unloaded)
    16:00 until 20:00 == on duty, driving (heading home)
    20:00 until midnight == sleeper (ran out of hours)
    This graph would look like the following (provided each dash represents one 15-minute block:
    <pre>
    1. -----------------------| |---| |---| |---|
    2. | | | | | | | |----------------
    3. | -------| | |------------| |---------| | |----------------|
    4. |-| |-| |-|
    </pre>
    Though the above graph is crappy, it should give the idea of what needs to be done. At each change of status (i.e., from off duty to on duty, not driving) there must be a vertical line between the statuses, not going above and below like in the example above. Then, once the status changes again, the horizontal line needs to be drawn from the vertical line of the last status change to the time of the new status change and then the vertical line to the new status.
    The way the driver's daily log works is like this...When I come on duty, I am required to do a pre-trip inspection of my truck/trailer, which requires 15 minutes on duty, not driving, so I log that all at once, including the vertical line up to the 3rd line of the graph, which is on duty, driving. Then, in this example, I drive for 1.75 hours, until I arrive at my pick-up. Once I get there, I draw the horizontal line on line 3 of the graph, the vertical line down to line 4 (on duty, not driving), the 15-minute horizontal line and the vertical line up to line 1 (off duty). When I get ready to leave the pick-up after I am loaded, I draw the horizontal line across line 1, the vertical line down to line 3 and then drive until I stop.
    Other things that are desired for this graph logic is to take into account the US-MCSA/DOT regulations for drivers that state the following:
    a. A driver may not be on duty for more than 14 hours, without a 10-hour break
    - Nothing stops this "14-hour clock" except a 10-hour break, so if a driver comes on duty at 06:00 and spends 15 minutes doing the pre-trip inspection and then goes off duty for the next 8 hours, the 14-hour clock is still running and the driver will only have 5 hours and 45 minutes to work (roughly).
    b. A driver may not drive for more than 11 hours, without a 10-hour break, provided the 14-hour rule is obeyed.
    - In other words, even if a driver only drives for a total of 7 hours, but the 14-hour clock expires, the driver may not complete his/her 11 hours of driving allowed.
    c. A driver must take a break of 10 consecutive hours in each 24-hour period.
    *** This is confusing because the 10-hour break can span midnight and still be considered consecutive, even though part of the break is on one graph and the other part is on another graph.
    In taking these rules into account, I would like the graphing part of the program's logic to change the horizontal line color from blue (the regular line color) to red if the driver is in violation of the rules above. Where this gets really complicated is where the same status crosses midnight from day-to-day.
    As I said, I have successfully gotten the grid painted using java.awt.Graphics2D methods, but am having trouble coming up with the logic for drawing the driver status throughout the day. All data will be stored in a MySQL database table and can be pulled at any time that it is needed. The user will be entering the current status change time, as well as location (city and state) and a comment (which is not required, except for when doing a pre-trip inspection, fueling, loading or unloading), then clicking a button labeled "Update Log".
    Any help with the logic for this part of the application is greatly appreciated. If you can provide sample code to help demonstrate the logic you are describing, I will be grateful.
    Thank you all for your assistance. If you would like a better idea of what the daily log graph looks like, you can run the class below.
    Cheers,
    Sean
    <pre>
    * DriverLog.java: Driver's Daily Log entry screen. By completing the small form at the bottom of
    * dialog, the system will automatically update your log.
    * Created on Sep 30, 2010, 2:03:18 PM
    package net.pekinsoft.trkmgr.gui;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.Point;
    import java.awt.Toolkit;
    * @author Sean Carrick
    public class DriverLog extends javax.swing.JFrame {
    // Private class-level variables.
    * @code{java.awt.Graphics2D} object that we will use for drawing on our
    * view port, which is a @code{javax.swing.JPanel} on our form. This view
    * port will hold our driver's log graph that shows the driver's status at
    * different times of the day based upon the data the driver provides.
    private Graphics2D canvas;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log off duty line.
    private Point offDutyStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log off duty line.
    private Point offDutyEndingPoint;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log sleeper berth line.
    private Point sleeperStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log sleeper berth line.
    private Point sleeperEndingPoint;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log driving line.
    private Point drivingStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log driving line.
    private Point drivingEndingPoint;
    * @code{java.awt.geom.Point} object to hold the start x, y coordinates
    * for the driver's daily log not driving line.
    private Point notDrivingStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log not driving line.
    private Point notDrivingEndingPoint;
    * @code{int} that holds the number of 15-minute blocks in a 24-hour period.
    private static final int qtrHourBlocks = (24 * 60) / 15;
    /** Creates new form DriverLog */
    public DriverLog() {
    // Initialize the window's components. {handled by NetBeans}
    initComponents();
    // Center the window on the screen.
    Toolkit tk = Toolkit.getDefaultToolkit();
    int winX = (tk.getScreenSize().width - getWidth()) / 2;
    int winY = (tk.getScreenSize().height - getHeight()) / 2;
    setLocation(winX, winY);
    // Initialize our drawing canvas.
    canvas = (Graphics2D) viewPort.getGraphics();
    // Next, we need to initialize our line starting and ending point objects.
    int qtr = (viewPort.getHeight() / 8);
    int y = qtr + 20;
    int startX = 20;
    int endX = viewPort.getWidth() - 20;
    offDutyStartPoint = new Point(startX, y);
    offDutyEndingPoint = new Point(endX, y);
    y = (qtr * 2) + 20; // Double the value of y
    sleeperStartPoint = new Point(startX, y);
    sleeperEndingPoint = new Point(endX, y);
    y = (qtr * 3) + 20; // Triple the value of y.
    drivingStartPoint = new Point(startX, y);
    drivingEndingPoint = new Point(endX, y);
    y = (qtr * 4) + 20; // Quadruple the value of y.
    notDrivingStartPoint = new Point(startX, y);
    notDrivingEndingPoint = new Point(endX, y);
    // Now that our objects have been initialized, we need to draw our grid.
    paint();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    bgrpStatus = new javax.swing.ButtonGroup();
    viewPort = new javax.swing.JPanel();
    lblStatusChange = new javax.swing.JLabel();
    txtStatusChange = new javax.swing.JFormattedTextField();
    rbtnOffDuty = new javax.swing.JRadioButton();
    rbtnSleeper = new javax.swing.JRadioButton();
    rbtnDriving = new javax.swing.JRadioButton();
    rbtnNotDriving = new javax.swing.JRadioButton();
    btnUpdate = new javax.swing.JButton();
    lblComment = new javax.swing.JLabel();
    txtComment = new javax.swing.JTextField();
    lblLocation = new javax.swing.JLabel();
    txtLocation = new javax.swing.JTextField();
    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Driver's Daily Log");
    setAlwaysOnTop(true);
    setResizable(false);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowOpened(java.awt.event.WindowEvent evt) {
    formWindowOpened(evt);
    addWindowStateListener(new java.awt.event.WindowStateListener() {
    public void windowStateChanged(java.awt.event.WindowEvent evt) {
    formWindowStateChanged(evt);
    javax.swing.GroupLayout viewPortLayout = new javax.swing.GroupLayout(viewPort);
    viewPort.setLayout(viewPortLayout);
    viewPortLayout.setHorizontalGroup(
    viewPortLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 674, Short.MAX_VALUE)
    viewPortLayout.setVerticalGroup(
    viewPortLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 351, Short.MAX_VALUE)
    lblStatusChange.setText("Status Change Time:");
    txtStatusChange.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(
    new javax.swing.text.DateFormatter(new java.text.SimpleDateFormat("HH:mm"))));
    bgrpStatus.add(rbtnOffDuty);
    rbtnOffDuty.setSelected(true);
    rbtnOffDuty.setText("Off Duty");
    bgrpStatus.add(rbtnSleeper);
    rbtnSleeper.setText("Sleeper");
    bgrpStatus.add(rbtnDriving);
    rbtnDriving.setText("Driving");
    bgrpStatus.add(rbtnNotDriving);
    rbtnNotDriving.setText("On Duty; Not Driving");
    btnUpdate.setMnemonic('U');
    btnUpdate.setText("Update Driver Log");
    btnUpdate.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btnUpdateActionPerformed(evt);
    lblComment.setText("Reason/Comment:");
    lblLocation.setText("Location: City, ST:");
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(viewPort, javax.swing.GroupLayout.DEFAULT_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(lblLocation)
    .addComponent(lblStatusChange))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addGroup(layout.createSequentialGroup()
    .addComponent(txtStatusChange, javax.swing.GroupLayout.PREFERRED_SIZE, 50,
    javax.swing.GroupLayout.PREFERRED_SIZE)
    .addGap(18, 18, 18)
    .addComponent(rbtnOffDuty)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnSleeper)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnDriving)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnNotDriving)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
    65, Short.MAX_VALUE)
    .addComponent(btnUpdate))
    .addGroup(layout.createSequentialGroup()
    .addComponent(txtLocation, javax.swing.GroupLayout.DEFAULT_SIZE,
    232, Short.MAX_VALUE)
    .addGap(18, 18, 18)
    .addComponent(lblComment)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtComment, javax.swing.GroupLayout.PREFERRED_SIZE,
    227, javax.swing.GroupLayout.PREFERRED_SIZE)))))
    .addContainerGap())
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(viewPort, javax.swing.GroupLayout.DEFAULT_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGap(18, 18, 18)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(lblStatusChange)
    .addComponent(txtStatusChange, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(rbtnOffDuty)
    .addComponent(rbtnSleeper)
    .addComponent(rbtnDriving)
    .addComponent(rbtnNotDriving)
    .addComponent(btnUpdate))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(txtComment, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(lblComment)
    .addComponent(lblLocation)
    .addComponent(txtLocation, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addContainerGap())
    pack();
    }// </editor-fold>
    private void btnUpdateActionPerformed(java.awt.event.ActionEvent evt) {                                         
    // KEEP AS LAST LINE IN THIS FUNCTION!!! //
    paint();
    private void formWindowStateChanged(java.awt.event.WindowEvent evt) {                                       
    // Draw the driver's daily log grid.
    paint();
    private void formWindowOpened(java.awt.event.WindowEvent evt) {                                 
    // Draw the driver's daily log grid.
    paint();
    private void paint() {
    drawOutline();
    * @code{net.pekinsoft.gui.DriverLog.drawOutline()} function handles the
    * rendering of the driver's daily log grid outline only.
    private void drawOutline() {
    // Set up the starting point for our log grid's upper-left corner.
    int x = 0; // 20 points down from the top.
    int y = 0; // 20 points in from the left.
    int offset = 28;
    // Get the height and width of our log grid from the panel.
    int h = 112;
    int w = 671;
    // Set the color of our border to Red.
    canvas.setStroke(new BasicStroke(1));
    canvas.setPaint(Color.BLACK);
    // Draw our log graph outline.
    canvas.drawRect(x, y, w, h);
    // Draw our log's horizontal lines.
    for ( int i = 1; i < 5; i++ ) {
    canvas.drawLine(x, y + (i * offset), w + offset, y + (i * offset));
    // Draw our log's hour lines.
    for ( int i = 1; i < 24; i++ ) {
    canvas.drawLine(x + (i * offset), 0, x + (i * offset), 112);
    // Draw our log's 30-minute ticks.
    for ( int i = 1; i < 48; i++ ) {
    for ( int j = 0; j < 5; j++ ) {
    canvas.drawLine(x + (i * (offset / 2)), y + (j * offset),
    x + (i * (offset / 2)), (y + (j * offset) + 10));
    // Draw our log's 15-minute ticks.
    for ( int i = 1; i < 96; i++ ) {
    for ( int j = 0; j < 5; j++ ) {
    canvas.drawLine(x + (i * (offset / 4)), y + (j * offset),
    x + (i * (offset / 4)), (y + (j * offset) + 5));
    canvas.drawLine(0, 112, 0, 122);
    canvas.drawLine(w, 112, w, 122);
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new DriverLog().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.ButtonGroup bgrpStatus;
    private javax.swing.JButton btnUpdate;
    private javax.swing.JLabel lblComment;
    private javax.swing.JLabel lblLocation;
    private javax.swing.JLabel lblStatusChange;
    private javax.swing.JRadioButton rbtnDriving;
    private javax.swing.JRadioButton rbtnNotDriving;
    private javax.swing.JRadioButton rbtnOffDuty;
    private javax.swing.JRadioButton rbtnSleeper;
    private javax.swing.JTextField txtComment;
    private javax.swing.JTextField txtLocation;
    private javax.swing.JFormattedTextField txtStatusChange;
    private javax.swing.JPanel viewPort;
    // End of variables declaration
    </pre>
    Edited by: 799477 on Oct 1, 2010 2:42 PM

    <blockquote>Sean, I checked your code and seen that package net.pekinsoft..., is this an Illinois Company by any chance?</blockquote>
    Yes, this is a company that I have tried (unsuccessfully) to start in central Illinois...I'm guessing that the "Pekin" part gave it away.
    <blockquote>Thanks for posting the DB TABLE -- we'll need that later, plus I wanted to see if you would respond.</blockquote>
    Not a problem on the DB table. Why wouldn't I respond...I want and NEED help here... ;-)
    <blockquote>I have a few questions but don't want to complicate your line of thinking, so I'll just describe generally how I have approached a big project like this. </blockquote>
    I will answer them the best that I can.
    <blockquote>For one thing, I do not start with a GUI or even consider what I want it to look like... I start with the data, and how that data is broken down into different classes, and then how those classes come together to form an Object Hierarchy. I have and do maintain a large MySQL database myself with 18 TABLES. Some of the TABLES hold very little information which I use as static final information. As a matter of fact, one of those TABLES is called status and contains 5 fields. This status TABLE is storing 7 rows of information because I have 7 different levels. The fields in my status TABLE are status_id, status_type, status_title, status_desc, and status_icon. This means I will have 7 icons to represent the different status levels, a description, a title, a type (maybe yours could be ON or OFF duty for example), and the ID of the status.
    Another thing at this stage of development is that I don't make up my mind concretely about any of the data or how the data will fit together. I want to remain as flexible as possible, so that as my design develops, the design allows for the addition or subtraction of data and different data types to be created. In other words, I completely atomize all structure, associations, relationships, dependencies, or just anything in general that makes two or more pieces of information stick together.
    At this point, all I have is a loose bag of primitive data types with no structure whatsoever. Like I just tore up a piece of paper into a hundred pieces and threw into the air letting the pieces fall where they may.
    While I'm at this point, I will make decisions about which languages and platform would be the best to raise the beast. In my case, I chose to run it on the internet, so I chose MySQL to store the data, SQL to communicate to the DB, and the server uses a PHP scripting engine to spit out the HTML, also PHP lets me create OO classes very similar to a JAVA class. This is a very important step and must be made now, not later -- you don't want to do all this work only to find out that it should have been done in another language! Been there done that.
    Once I've decided all of the above, then I come back and decide how the data should be organized. NOW I make all the database TABLES. Then I write a class definition for each of the db tables. Each class will provide methods for saving, editing, and retrieving info to and from the db using SQL.
    Once I get to this point I will make FORMS for the easy entry of data. The FORMS, CLASSES and and db TABLES all mirror each other now, so the CLASSES handle all the info from FORM to DB, DB to FORM. Notice at this point I am still dealing with data and data flow, NOT the display of pretty information -- not even close.
    Ok, enough about this Sean, let me know if this helps any.</blockquote>
    This information was helpful, but also how I typically approach a large project.
    The only problem with what you talk about above is dealing with allowing "wiggle-room" for changing the data because the data that I'm storing is codified by the federal government through the CSA-2010 laws that regulate the trucking industry. Therefore, I really don't have any wiggle-room with the data at all.
    As for choosing Java over another language, I made this choice because I don't like limiting myself (or others) on what operating system they use and platform-independence is one of the best things about Java (provided you don't use any OS-specific code, which I try like hell not to do). I am a huge Linux guy, but have to use Windows to update my GPS and would like to be able to use this application no matter which OS I'm booted into. Just so you understand, I am fluent in multiple languages, including PHP, Java, Python, Ruby, C/C++, BASIC and Bash. I am also very big on OOP and always leave accessing the database to the class that holds that data (i.e., LogEntry class will access the database to store and retrieve the log data). I am also using MySQL as the database back-end, because it is the SQL server that I am most comfortable with and also has versions for various OSes. I use the mysql-connector.jar library for accessing MySQL from Java, so that's not even an issue.
    As for "static final" data in the database, I do store my statuses, with the status_id numbers the same as the row number on the hard-copy Driver's Daily Log books. These records simply hold the status_id and description (i.e., 1, "Off Duty").
    I believe that I've got the logic for logging an entry such as: 08:00-10:00, On Duty, Driving, status location Indianapolis, IN, comment: Tire check. This whole entry is on the same day and therefore fairly easy to graph. The type of entry that I'm having problems figuring the logic for is one where the last change of duty status was before midnight and the current change of duty status is after midnight, on the next day. For example, I typically stop for the night (my DOT 10-hour break) at 5:00 PM (17:00) and am in the sleeper across midnight, then get going at 3:00 AM (03:00). I'm having trouble figuring out how many hours to log on the current day. In the example that I just gave, I'm not getting how I can figure out when to start at midnight and when to start out at the prior status change time through code. Nothing that I try seems to work correctly and I keep getting horizontal status lines outside of my graph area.
    As for what data I need to store and how I need to store it, I am very flexible, except with the daily log data, since it is federally mandated. Once I figure out the logic for actually logging the statuses and changes of status properly, I will create the class for storing and retrieving the database data...for now I'm just using hard-coded times to get the graphing logic right without the overhead of database access. Changing this code to use the data from the database will be a snap in comparison to figuring out the graphing functionality.
    Thanks for your insights and assistance. I look forward to seeing what other ideas you have to share.
    Sean

  • How to prevent creation of My * folders on Home drive

    First a little background. Our enterprise (some 11,000+ computers) utilize Active Directory to manage user logons and credentials. Every user has a home drive mapped to one of our many servers as part of their Active Directory profile. As a matter
    of policy, users are prohibited from storing images, videos and audio on any of the servers. These files instead may be located on the users workstation.
    More to the point now.
    All of the home drives are proliferated with numerous My Music, My Pictures and My Video folders, all of which are empty and unused. If it were not for the fact that these folders turn up not only in the root of the home folder, but also in the My Documents
    folder and even in sub folders deep within the file structure, we would not be concerned. Deleting these empty folders does no good as they are immediately recreated when the user logs in again.
    Is there a way to prevent the creation of these folders in the home drive? 

    Hi,
    We could not delete My Music, My Pictures and My Video folders, but we could redirect these folders to another drive or a network share.
    For more detailed information, please see:
    Folder Redirection Overview
    http://technet.microsoft.com/en-us/library/cc732275.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • 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!

  • Can Time Machine be used for extra drives?

    I have a Mac Pro and currently have two drives in it, a system drive that's using as the startup disc and for most of my use. The 2nd drive is more like a server drive which is used on that system but also shared with all computers on my home network. i use it for things like clipart, backups of itunes from the laptops, media files, etc.
    I just installed a 3rd hard drive and have been planning to set it up as a Time Machine drive for my Mac Pro. I have several questions though.
    I assume when I do this it will just work as a Time Machine drive for my main system/startup drive, correct?
    Is there a way I can use Time Machine for the 2nd drive in my system? In a sense setting up two Time Machine backups, one from the main drive to this new backup drive and the 2nd from the server drive to a 4th drive I can add in the future?
    If the 2nd question is a No, is there a way I can set it up so that Time Machine simply backs up both the main drive and that 2nd, server drive, to the Time Machine drive? I really prefer not to use this option since both drives are 1TB and the hard drive I have just gotten as the time machine drive is 1.5TB. I think that should be okay for my main drive since it is only 30% used or so but with backing both onto it I don't think I have enough space to do it well.

    Time Machine will back up all and any Mac-formatted drives connected to the system. You can tell it not to (in TM Preferences - Options), but by default it will back up all drives. You can't customise the destination for individual drive backups - they'll all go to one drive (so make sure your TM drive is large enough for all sources - 2 or 3 times as large as the total data usage, preferably).
    If you don't want to use TM in this way, you can limit it to one source drive, and back up the other drive to a 4th HD another way - for example, using SuperDuper. This is a clone backup rather than a versioned solution, though.
    Matt
    Message was edited by: Matt Clifton

  • What is the best hardware for Home Sharing?

    What is the best client machine for Home Sharing on my stereo? aka What do I want for Christmas. 
    Well the CD player is starting to breakdown; that makes two this century. Might be time to replace that whole 5 disk CD player thing and get something to use as a player for  music in the living room stereo. Maybe a second unit in the office as well.
    How to decide what to buy? Am I selecting the right media server option? I am pretty sure I have a server option but how should I set this all up.
    Ethernet. The stereo in the living room doesn't have ethernet cable run to it so the Time Capsule could stream over airport Home Sharing from my iMac 2.4GHz or MacMini server to say my lightly used iPad 32gig. This must slow the network down so I could run ethernet cable if I had to, but the iPad doesn't take ethernet. Performance of the network is important.
    Power on feature. Ideally the hardware should emulate the existing service. I go to the stereo, turn the power on and it starts playing, usually ramdom songs (shuffle) of a preselected playlist (5 cds).
    Remote control. We don't really use this, although changing playlists with my iPhone makes sense. I could hide all the gear in an out of the way closet. Remote control would be a nice feature, and remote control from all devices in the network and over one or two devices. Can I power up/down the stereo, adjust the volume down or pause remotely? This is my most used functionality.
    Server or Client. I could put something with the stereo and load the music on it. Share from it instead of share to it. My music library is currently at 20 gig, so a 32 gig device would work. A old PowerBook as well with any respectable hard drive. Or do I use the TimeCapsule or my low use MacMini server as a media server? What do I do if I want a second player in the Office?
    Sound quality. Yeah, it has to be there, audiophile wise.
    Audio Sources.
    Play a single CD. This is where is gets a little complicated for gear. I do like the option of listening to a cd prior to burning it to iTunes. This starts to require a CD player connected to a iOS device, which is not yet availanble, so drives the gear selection into an older PowerBook. or maybe just add a single disk CD player to a iOS device and let the amplifier select the source.
    FM. It would be nice if the device would get FM so I could toss the tuner as well.
    Display. My existing CD player permits display of the disk and track, which kinda *****. I would like to know the artist, song and album, so remote control comes back into play here.
    Cost. A replacement 5 disk CD player costs about $30 at the local thrift store. New around $200 - $300. I'm getting refurbished iPod 8gb touchs gen4 for $100. I see ebay has iPad 16 gig for around $200. Set the budget around $250. Maybe more christmas is coming   : )/
    Brand. Been thinking Apple as iTunes sharing is easy, but would consider another brand if the price and quality supported the idea.
    Shortlist. Old PowerBook, an iOS device as  client players or a stand alone player with out sharing to it but from it. Haven't looked close to see if they meet the functionality of an old CD player.
    Workflow. How can we add CD music to the server from any client on the network? How do I change playlists? From the remote control? Can I operate the player from the stereo?
    On Hand Gear. My network is running a pair of iMac 24's, iPad gen2, iPhone 3GS 32Gb, iPod gen4 8 Gb, Time Capsule (500Gb), MacMini Server (w/2 500 Gb drives in a RAID 1 config) with SLS. I have several PowerBooks: 17" G4, 14" G3; I could sell or use, USB external CD rw.
    Any recommendations would be appreciated, I have some time before the CD player tanks and Christmas list sent to Santa.
    Ken
    LegacyMac
    Canada

    What does itunes do on a G4?
    Will itunes work under 10.4 with iTune 9 on a G3?
    So back to the G4 1.67 GHz running 10.5.8 with iTunes 10. Adding Home Sharing  to this computer required deauthorising one of the other 5 authorised computers. Also I noticed I must be logged into a user in order for Home Sharing to see the other library... Or atleast that user has to have iTunes running. I logged into my test user account and opened iTunes account as user Tech, found the library on the TC (why doesn't iTunes remember this ?, maybe it has to bee conected to the TC) , shabam the library shows up on the PowerBook G4. Started playing the Tragically Hip , logged out and expected the library to stop sharing but no, I was still able to play from the logged out accout, as long as iTunes was running. Sure enough as soon as I logged back in to that user account and quit iTunes running fron the TC library, the sharing stop. No warning of a connected user though!
    So what about Home Sharing on a Pismo? I fired up the old guy PowerBook bronze keyboard G3 400 MHz, 512 mb ram, running 10.4.11 and iTunes what? iTunes 4, oh yeah, from the iLife 05 install. I need to update to iTunes 9 but before that I should try to see if it can play from the TC. Well no it can't . I can see the TC and load the library but no songs show up in iTunes 4. Must be incompatible file format. I can't see any shared libraries either.
    So I download iTunes 9.2.1 from Apple. Thanks for supporting older machines.  hmmm. installer says iTunes 9.2.1 requires a G4, yet it lets me install into the G3... let's wait for the install to complete and see what is up wit dat... well it installed... but will it run? no, iTunes installs, but it won't run on a G3, it wants a G4 or better.
    So the story goes that for Home Sharing we stop at G4, G3 not invited to the party. Good thing the Pismo just sold on eBay.
    The discussion on Home Entertainment Network over at https://discussions.apple.com/message/15843219#15843219 brings up another thing to test.
    Can I stream the same music to multiple locations? Can I play the same music in the office and the living room? How does Apple handle this?
    My other thought here is, since the TC has a back up of my music why can't I just play that version. Why do I need to back up my music? Guess I could not back up the Music folder in TC but store the music in the TC.

  • How bad is it to have 4 network mounts for home folders?

    I am the tech curriculum guy at a middle school and also manage the servers. I am not an expert at all. Learn enough to make it work efficiently. We got a new server (intel). I am in the process of migrating all the users, groups, home folders and data etc. Had some problems so I called Apple, in my discussion with the tech support there (3-4 hours solving problems) one of the techs questioned my setup. Here is what I used to do:
    Server one has all the users in workgroup manager. The home folders for the 6th, 7th and 8th graders are on two separate drive bays on server one. Each grade level folder is a network mount. I then have the faculty home folders on a server two. There is also a shared folder called "Stuff" which mounts for all users and has clipart, movies etc. It is basically a read only mount. The faculty home folders are network mounts of their home folders.
    I service between 400 and 500 students a day in the lab, it is quite busy, with anywhere from 60 to 90 users logged on at one time. My thinking last year was that if I could spread out the home folders on different drives, the students wouldn't all be hitting the same drive for saves, data etc. So that one drive wouldn't be spinning its brains out to keep everyone going. That is why I have the 4 network mounts for the home folders. One for each grade level (6,7,8) and the faculty.
    My new server has three drives, two of them for home folders. The drives are 750 gb each. He (apple tech) suggested I create a folder in each drive, set it as the network mount and within that folder put two sets of home folders. So, then I would only have two network mounts, but retain my four sets of home folders that would be within the network mounts.
    I guess my question is, which is better, to have the 4 network mounts with separate home folder locations on 2 different servers, or consolidate the home folders into 2 network mounts on one server.
    He said that the more network mounts, the longer it takes to get computers started up.
    Any expert advice here would be greatly appreciated.
    Thanks, hope I explained this well enough.
    Intel Imac Mac OS X (10.4.8) Lab- Education Intel iMacs - PPC eMacs

    I don't think the logins take too long, we may wait 30 seconds or so for the students to login. We have had problems when 60 kids leave and 60 more come in, some login and after the username and password are entered, the login begins then locks. The Apple tech guy thought that could be aggravated by the 4 network mounts. I just sort of thought that with students and teachers accessing 4 different hard drives, that it wouldn't tax one drive as much. I agree that a longer login is a small price to pay for faster working speeds.

  • Cannot install Flash Builder on a network home drive

    When trying to install in our corporate environment we have network home drives and the Flash Builder installer for some reason tries to create a directory here:
    \\escfil02\homedir\deancj\..\Adobe Flash Builder 4
    We noone here has permission to create a directory outside our home directory since it is using the .. directory.  Perhaps that works fine when your home directory is local on your C: drive but it doesn't work here and I cannot really change my %HOMESHARE% environment variable (or can I?)  Then I get 25 other errors but they may all be related to this first one I don't know.  They are all ERROR 15078 errors
    How can I get past this?
    Here is the full list of errors:
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 25 error(s), 0 warning(s)
    ERROR: 15080 Unable to create directory "\\escfil02\homedir\deancj\..\Adobe Flash Builder 4
    ERROR: 15080 Command ARKCreateDirectoryCommand failed.
    ERROR: 15080 Unable to delete directory "\\escfil02\homedir\deancj\..\Adobe Flash Builder 4". Error 2 The system cannot find the file specified.
    ERROR: 15080 Error rolling back command ARKCreateDirectoryCommand
    ERROR: 15078 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\configuration\config.ini" Error 3 The system cannot find the path specified.
    ERROR: 15078 Error rolling back command ARKMoveFileCommand
    ERROR: 15077 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder 4\configuration". Error 2 The system cannot find the file specified.
    ERROR: 15077 Error rolling back command ARKCreateDirectoryCommand
    ERROR: 15015 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\AMT\application.xml" Error 3 The system cannot find the path specified.
    ERROR: 15015 Error rolling back command ARKMoveFileCommand
    ERROR: 15014 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\AMT\application.sif" Error 3 The system cannot find the path specified.
    ERROR: 15014 Error rolling back command ARKMoveFileCommand
    ERROR: 15013 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder 4\AMT". Error 2 The system cannot find the file specified.
    ERROR: 15013 Error rolling back command ARKCreateDirectoryCommand
    ERROR: 23 Deleting Registry Key - failure. Error 5
    ERROR: 4 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\FlashBuilder.exe" Error 3 The system cannot find the path specified.
    ERROR: 4 Error rolling back command ARKMoveFileCommand
    ERROR: 3 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\artifacts.xml" Error 3 The system cannot find the path specified.
    ERROR: 3 Error rolling back command ARKMoveFileCommand
    ERROR: 2 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder 4\.eclipseproduct" Error 3 The system cannot find the path specified.
    ERROR: 2 Error rolling back command ARKMoveFileCommand
    ERROR: 1 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder 4". Error 2 The system cannot find the file specified.
    ERROR: 1 Error rolling back command ARKCreateDirectoryCommand
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe Flash Builder: Install failed

    Hi,
    You're right that we're trying to create your default workspace in the folder one level up from your roaming documents folder, and that's what's causing the conflict between our installer and your roaming profile.
    This is on our radar to fix for the next release, but here's a workaround you could try in the meantime. From what we've seen with roaming network profiles, our installers will have trouble mainly if your roaming documents folder has been flattened (redirected) to the root of your profile tree. If you can have your network profile reconfigured with the more conventional home folder at the top level, and the documents folder underneath it, then the relative path will be able to resolve correctly in your network tree.
    There's more info here, about how to configure your roaming profile on the server to follow the conventional tree structure:
    http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx
    Depending on who administers your network profiles, you might need someone in IT/IS to help with this.
    -Chris

  • Can't find home drive after reinstallation of O.S.X

    Dear friends,
    I have one ibook G4 and a Macbook Pro. Two days ago, the ibook G4 failed to start up, I tried in safe mode then pass through. Then I run Onyx-automation followed by restart, after that neither my desktop nor the sidebar of the finder window show the home drive icons,( I partitioned the internal hard disk into two drives). But when I run Disk utility and found both are there correctly, including the files and capacity, usage etc. it tested both drives "appears OK". Yesterday, I tried to reinstall O.S.X Tiger 10.4 without removing previous system via a firewire to my Macbook Pro which installed with Leopard( the disc drive of my ibookG4 corrupted last year).
    finally, the hard drives are still invisible, I did tick the display options for hard disks from the preference panel of Finder. To the worse, the same problem happened to my Macbook Pro after I restarted it.
    It seems a simply software issue, physically the hard disks are ok through the disk verify and permission verify.
    Headache! Please advise ASAP.
    thank you,
    macbook pro Mac OS X (10.5.4)
    V.K.
    Posts: 20,162
    From: Toronto
    Registered: Oct 24, 2005
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 2, 2009 6:58 PM in response to: cjunxing
    Reply Email
    what happens when you enter commandshiftc in finder? that should show all the drives. if it doesn't, maybe the drive has acquired the hidden flag. run the following command in terminal
    sudo chflags 0 /
    you'll have to enter your admin password which you won't see as you type it. that's normal. see if the drive shows up.
    Mac Pro 3.2 GHz Mac OS X (10.6.1) Mac Pro 2.66GHz, powerbook G4 1.5GHz
    cjunxing
    Posts: 9
    From: china
    Registered: Jul 8, 2008
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 2, 2009 7:11 PM in response to: V.K.
    Reply Email
    dear V.K.
    When I enter commandshiftc in finder, it only shows up "network", then I followed to input sudo chflags 0 / in terminal and password, but the drives still not show up.
    is there any other options to try out?
    many many thanks
    Junxing
    macbook pro Mac OS X (10.5.4)
    V.K.
    Posts: 20,162
    From: Toronto
    Registered: Oct 24, 2005
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 2, 2009 8:01 PM in response to: cjunxing
    Reply Email
    run the following command in terminal and post the results. this will list permissions flags and acls on the startup drive.
    ls -ladeO /
    Mac Pro 3.2 GHz Mac OS X (10.6.1) Mac Pro 2.66GHz, powerbook G4 1.5GHz
    cjunxing
    Posts: 9
    From: china
    Registered: Jul 8, 2008
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 2, 2009 8:03 PM in response to: V.K.
    Reply Email
    I run the command as follows.
    Last login: Tue Nov 3 11:04:49 on ttys000
    cjunxing:~ junxingchen$ ls -ladeO /
    drwxrwxr-t 38 root admin - 1360 Aug 11 10:25 /
    cjunxing:~ junxingchen$
    pls advise
    macbook pro Mac OS X (10.5.4)
    V.K.
    Posts: 20,162
    From: Toronto
    Registered: Oct 24, 2005
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 2, 2009 8:34 PM in response to: cjunxing
    Reply Email
    these permissions look fine. sorry, i don't know what the problem is or why the drive would not show in finder. does it happen on all accounts? make a new one and check from there.
    Mac Pro 3.2 GHz Mac OS X (10.6.1) Mac Pro 2.66GHz, powerbook G4 1.5GHz
    cjunxing
    Posts: 9
    From: china
    Registered: Jul 8, 2008
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 3, 2009 1:11 AM in response to: V.K.
    Reply Email
    hi, V.K.
    after running the two commands, suddenly, The Macintosh HD icon showed up at both desktop and sidebar in finder, but the other drive (I partition into two parts) still not showing. Then I open Onyx and tick the "unhidden those hidden files", I found that drive. So I conclude it was hidden by sth. But I don't know how to unhidden it, the icon always in grey.
    Can you please instruct again.
    thank you.
    Junxing
    macbook pro Mac OS X (10.5.4)
    V.K.
    Posts: 20,162
    From: Toronto
    Registered: Oct 24, 2005
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 3, 2009 6:41 AM in response to: cjunxing
    Reply Email
    aha, so it was a hidden flag after all. then run
    sudo chflags 0 /volumes/*
    you may need to restart after that to make the second drive show up.
    Mac Pro 3.2 GHz Mac OS X (10.6.1) Mac Pro 2.66GHz, powerbook G4 1.5GHz
    cjunxing
    Posts: 9
    From: china
    Registered: Jul 8, 2008
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 3, 2009 5:33 PM in response to: V.K.
    Reply Email
    Dear V.K,
    I run the command at my Macbook Pro, my second drive show up. So exceited! However, when I tried with my ibook G4, neither drives come out, is there any difference in the commands between Tiger and leopard. just now, I check the hidden files with Onyx, both drives are there.
    Pls guide me.
    thanks
    macbook pro Mac OS X (10.5.4)
    V.K.
    Posts: 20,162
    From: Toronto
    Registered: Oct 24, 2005
    Re: can't find home drive after reinstallation of O.S.X
    Posted: Nov 3, 2009 6:46 PM in response to: cjunxing
    Reply Email
    sorry, I haven't dealt with Tiger in such a long time I don't remember if it respects chflags. ask on Tiger forums.
    Mac Pro 3.2 GHz Mac OS X (10.6.1) Mac Pro 2.66GHz, powerbook G4 1.5GHz

    I don't have a source attribute for this (maybe I wrote it myself!):
    There are visibility toggling instructions at [this web site|http://www.pinkmutant.com/articles/invisible.html] using Terminal or Applescript.
    If you don't like Applescript or Terminal there is an application called [JuhOS X|http://www.saunalahti.fi/~juhruo/juhosx> that lets you toggle visibility on individual items. It does not have the most intuitive interface but your drive should appear on the first page. Check it really is invisible, then click on the drive and toggle visibility. Effects will not take place until you restart your finder, so the easiest thing to do then will be to restart your computer.

  • Office 2013 - Unable to save/save as to mapped home drive

    Hello--
    We have several users who are unable to save documents to their mapped home drives, which we point to H.
    If you browse to the UNC of the mapping, you can save just fine. Other mapped drives work correctly, only the H mapping give us the message: "Access denied. Contact your administrator." with a second message "Unable to save to this location..."
    I have only seen the error in Excel so far, I am still contacting the other users.  This is not widespread.
    Our server admins have verified permissions and the save actions to the full UNC confirm this.
    Has anyone else encountered this issue?
    Thanks!
    Matt

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • I am considering purchasing the Mac mini for home studio audio production using Adobe Audition and a USB microphone.  Will the base mini model run these programs?

    I am considering purchasing the Mac mini for home studio audio production using Adobe Audition and a USB microphone.  Will the base mini model run these programs?

    The base mini has 4GB and a 5400 RPM hard drive. It is slow to start up and slow to launch large application such as Word (and I'd assume Adobe Audition) due to the slow drive. I've not used a new 4GB model, just the 8GB model, and the 8GB model (except for the slow drive) handles everything I've thrown at it, including running Photoshop, Word, Safari, and Mail at the same time but there is sometimes a delay switching between programs as the swapfile is updated. Overall I was not happy with the 5400 RPM drive (perhaps because I have MBA and iMac with Fusion drive) so I eventually upgraded it with an SSD. Now the mini is truly a warrior.

  • Which Mac mini for home server, Aperture & HTPC

    Hi,
    I'm buying a Mac mini for:
    - home / small business server
    - Occasional HTPC usage (will be hooked to my TV via HDMI)
    - Occasional Aperture / iPhoto usage (minimal iMovie)
    Which one is most suitable for this?
    I was planing to go for Server  version (with bumped up RAM to 8GB), but now I read about video card and I'm not 100% anymore.
    I will NOT use it for 3D - gaming or similar tasks!
    Thak you all for help!
    Vasja

    I went for the non-server dual core i7 with AMD GPU and am very happy with it.  Do quite a bit of Aperture work and it never misses a beat (so far).  I'm not a fan of integrated Intel graphics and wouldn't trust it for HTPC duties.
    I'm not sure how many/much of the 'server' functionality you're going to be using as it sounds more like file transfer and other tasks that could be accomplished through normal Lion.
    Unless I'm missing something I assume the two hard drives in the Mini Server are just as much of a pain to replace as the one in the non-server Mini so I didn't see the point of having a two hard disc Mini.
    For your requirements I would definitely look at how much of the server functionality you really need to utilise, and if the answer is 'not much' I'd recommend the i5 or i7 non-server Mini with AMD GPU and some sort of NAS, plus a sensible offsite backup plan for your data.

Maybe you are looking for

  • [How-To] SquashFS with LZMA compression

    SquashFS (.sfs) is a compressed read-only file system for Linux. SquashFS compresses files, inodes and directories, and supports block sizes up to 1 MB for greater compression. SquashFS is also free software (licensed under the GPL) for accessing Squ

  • What is the function of  DET_LEVEL ?

    Hi experts ,        Can any of you please explain the functionality of DET_LEVEL in the macros ? Kindly help regards Ashwin

  • Final Cut Pro X and OS X Yosemite Problem

    I have lost my Final Cut Pro X operstions and now it wont open at all since updating to OS X Yosemite? I have tried the suggestions eg: >  Applications > Right Click on F.C.P.X > Show Package contents > Contents > Double Click on F.C.P.X It then just

  • GR posting using inbound Idoc against Outbound delivery

    Hi, We are doing SAP ISR integration with third party POS and there we have a scanario where we have to post GR against outbound delivery using inbound Idoc. Can anybody help me out, how can we do it. In SAP processing would happen using MIGO against

  • JFileChooser or FileDialog??? Dilema!!

    hi there, I tried implementin a "Save As" Option using JFileChooser.. It works fine.. But wen i dont specify an extension.. it does not take the default extension specified using filters. Ex.. Say i try to Save "test" and the file type below reads ".