ldap

Use phpldapadmin to generate the user and group

 

 

Generate the Group

login phpldapadmin

click ou=Group

    click Create new entry here

      select Generic: Posix Group

         GID Number will be created automatic

        

Generate the People

    click OU=People

      double click create new entry here

         select Generic: User Account

                In the GID Number:  select the created group,

                and then select the last name

                login shell ...

        after finished, create object

 

then check the created People for example

       double click buser1

                    buser1 should be in the group buser1

 

login in with the root account in the ldap server

   in the /home/users create several directories,

   auser

   buser

 

drwxr-x--- 14 auser    auser   4096 Apr 24 22:15 auser

drwxrwx--- 14 buser1   auser   4096 Apr 24 22:15 buser1

drwxrwx---  2 buser2   auser   4096 Apr 24 21:58 buser2

drwxrwx---  2 buser3   auser   4096 Apr 24 21:58 buser3

 

then login with buser1

posted @ 2012-04-24 22:46  greencolor  阅读(162)  评论(0编辑  收藏  举报