Author Topic: How to change users homeDirectory  (Read 2620 times)

roy23

  • Guest
How to change users homeDirectory
« on: July 24, 2008, 04:10:29 pm »
Hi,

I am using ebox 0.11.99-0ubuntu11 on ubuntu server 8.04.
I can create users and groups through the ebox web interface, but their home directory is set to /nonexistent
in ldap

e.g.:

dn: uid=test,ou=Users,dc=ebox
cn: test
uid: test
sn: test user
uidNumber: 2001
gidNumber: 1901
homeDirectory: /nonexistent
objectClass: inetOrgPerson
objectClass: posixAccount

How to I set this, for example to /home/test

I want to manage local users on this server through ldap and ebox.

thanks!
Roy

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: How to change users homeDirectory
« Reply #1 on: July 25, 2008, 08:15:56 am »
We use this attribute in Samba module to establish the user home directory. If you're not using this module, you may edit its attribute manually using any LDAP editing tool.

Direction: ldap://<eBoxIP>:389
Credentials: contain of /var/lib/ebox/conf/ebox-ldap.passwd
My secret is my silence...

roy23

  • Guest
Re: How to change users homeDirectory
« Reply #2 on: July 25, 2008, 12:20:18 pm »
cool, many thanks.

Roy

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: How to change users homeDirectory
« Reply #3 on: July 26, 2008, 04:42:58 pm »
We use this attribute in Samba module to establish the user home directory. If you're not using this module, you may edit its attribute manually using any LDAP editing tool.

Direction: ldap://<eBoxIP>:389
Credentials: contain of /var/lib/ebox/conf/ebox-ldap.passwd

Just wanted note: LDAP access from the internal network is blocked by default now (for good reasons), so you will have to create a firewall rule to allow your admin PC access to the LDAP port on ebox.

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein