Author Topic: New user creates local folder.  (Read 2079 times)

vinolasbcn

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
New user creates local folder.
« on: November 11, 2010, 11:00:42 pm »
Hi,

We are a school in Barcelona with over 400 users. We installed Zentyal as OpenLdap for our organization and also made some scripts for importing users and groups from our central office to Zentyal.

We've got a little problem and is that when we add a new user, it creates correctly the samba folder but it also creates the local user folder under /home and when we delete user, it's home folder is not deleted (samba folder is deleted as expected).

Is there any option to delete /home user folder, or even better, is there any option to create user without the local /home folder?

The other 'problem' is that we have tried to create a new Zentyal module to import users from our central office and share it to community, but no success at all. We tried to create it using emoddev from repo in our Proxmox kvm and in a regular ubuntu 10, downloading emoddev1.5, from repo, etc..  What environment is the correct to create the first module example from emoddev documentation, the one called apache2?

Thanks in advance.

Tiss

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: New user creates local folder.
« Reply #1 on: November 16, 2010, 09:34:49 pm »
We've got a little problem and is that when we add a new user, it creates correctly the samba folder but it also creates the local user folder under /home and when we delete user, it's home folder is not deleted (samba folder is deleted as expected).

Is there any option to delete /home user folder, or even better, is there any option to create user without the local /home folder?

I'm experiencing the same problem. Is it normal Zentyal does not delete home folders when deleting a user account?

eboxbuggy

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +0/-0
    • View Profile
Re: New user creates local folder.
« Reply #2 on: November 17, 2010, 05:01:23 am »
Quote
Is there any option to delete /home user folder, or even better, is there any option to create user without the local /home folder?
have you tried to disable PAM settings under LDAP settings? would like to try but I already have this working with samba ... don't want to bork it again ;D
Code: [Select]
PAM settings
Enable PAM:
Make LDAP users have system account.

vinolasbcn

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: New user creates local folder.
« Reply #3 on: November 17, 2010, 09:32:13 am »
PAM already disabled  :o