Results 1 to 3 of 3

Thread: [SOLVED] su (switch user) does not work on users created with zimbra bulk provisionin

  1. #1
    Join Date
    Jul 2008
    Posts
    12
    Rep Power
    7

    Default [SOLVED] su (switch user) does not work on users created with zimbra bulk provisionin

    Hi everyone.

    Been doing some migration from Qmail on a Unix box to Zimbra.

    Followed Greg's guide and after some struggles got it working on CentOS 5.1.

    My tests work fine; that is the part of creating a user on Zimbra and using the Posix and Samba extensions to join to groups and a domain, creating a home directory for the user and running the smbclient on such users. This works for all users OK.

    The only problem is that with users created singly (one by one) on the Zimbra interface, I can successfully su to their profiles. But for users created with the bulk provisioning script, I get the error:

    su: /bin/bash not a directory.

    What I think is that the system sees their homes as /bin/bash yet I have set this to /home/user and can see that on the posix Tab of the user account.

    I've also checked the ldap attributes for the test accounts successful with su and compared them to those of the problematic accounts created by bulk provisioning and the look similar as far as the home and login shell + other attributes are concerned.

    With this, I suspect my Samba wont work fine. Anyone out there Please help.

    Martin.

  2. #2
    Join Date
    Jul 2008
    Posts
    12
    Rep Power
    7

    Default su

    Sorry guys, created my scripst on a tired mind and set the shell to /bin/bash instead of /bin/bash

    Will try and ask the very necessary questions next time.

    Thanks people though

  3. #3
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    96
    Rep Power
    7

    Default

    Mugo, do you have a copy of the script you used to do the bulk provisioning? I'd be interested in adpating it to my use as I have just got my samba/zimbra server working and will need to migrate users.

    I've put another post up about migrating from zimbra to zimbra/samba, but so far no replies.

    Thanks,

    Mark
    Mark Hawkins

    Medalist

Similar Threads

  1. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •