cancel
Showing results for 
Search instead for 
Did you mean: 

home folder name

kilg
Champ in-the-making
Champ in-the-making
i import users from Active Directory,
but
they home folder's name sounds like they logins.
unfortunately, they logins is not easily recognizable and readable.
how can i do they to be like "firstname.lastname" or "firstname lastname"?
example:
user = John Smith
login = smithj2
home folder = John Smith
3 REPLIES 3

kilg
Champ in-the-making
Champ in-the-making
please, help me
how can I do user home folder name like displayname(not sAMAccountName).
i don't find this everywhere.

chintanparekh
Champ in-the-making
Champ in-the-making
Hi Kilg,

          May I know which version of alfresco you are using and how do you created the user in the Alfresco System through Alfresco Explorer i.e WCM or Alfresco Share.

         Moreover whenever you create the user the folder or space is created automatically in Company Home -> User Homes with the same name as your User Name. You were asked while you create the User that which user space it belongs to, where you can give the custom folder link which you want to be belong to user created.

        Hence if this is now satisfactory then please provide me some more details so that I can help you on this…..

kilg
Champ in-the-making
Champ in-the-making
Hi Kilg,

          May I know which version of alfresco you are using and how do you created the user in the Alfresco System through Alfresco Explorer i.e WCM or Alfresco Share.

         Moreover whenever you create the user the folder or space is created automatically in Company Home -> User Homes with the same name as your User Name. You were asked while you create the User that which user space it belongs to, where you can give the custom folder link which you want to be belong to user created.

        Hence if this is now satisfactory then please provide me some more details so that I can help you on this…..
version 3.3
users synchronize with Active Directory
user created in Company Home –> Units(9 units) –> users
i have 9 ldap-ad files for separate sync every units(for separate HomeFolderProvider). may be this is foolishly, but its very important separate organization unit.
example of ldap-ad
ldap.authentication.active=true
ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://DELTA-3:389
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false
ldap.authentication.defaultAdministratorUserNames=adminusername
ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=ldapuser@domain.loc
ldap.synchronization.java.naming.security.credentials=password
ldap.synchronization.queryBatchSize=1000
#ldap.synchronization.attributeBatchSize=1000

[b]ldap.synchronization.groupQuery=(objectclass\=group)
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(modifyTimestamp<\={0})))

ldap.synchronization.personQuery=(&(objectclass\=user)(memberOf\=cn\=_unit_gr,ou\=unit,ou\=dp,dc\=domain,dc\=loc)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(modifyTimestamp<\={0})))

ldap.synchronization.groupSearchBase=ou\=unit,ou\=dp,dc\=domain,dc\=loc
ldap.synchronization.userSearchBase=ou\=unit,ou\=dp,dc\=domain,dc\=loc
[/b]
ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.userOrganizationalIdAttributeName=company

[b]ldap.synchronization.defaultHomeFolderProvider=unitHomeFolderProvider[/b]

ldap.synchronization.groupIdAttributeName=cn
ldap.synchronization.groupDisplayNameAttributeName=displayName
ldap.synchronization.groupType=group
ldap.synchronization.personType=user
ldap.synchronization.groupMemberAttributeName=member
#ldap.synchronization.enableProgressEstimation=true
from authentication-services-context.xml

<bean name="unitHomeFolderProvider" class="org.alfresco.repo.security.person.UIDBasedHomeFolderProvider" parent="baseHomeFolderProvider">
        <property name="path">
           <value>/${spaces.company_home.childname}/${spaces.user_homes.childname}/cm:Units/cm:ThisUnit</value>
        </property>
        <property name="storeUrl">
           <value>${spaces.store}</value>
        </property>
        <property name="onCreatePermissionsManager">
            <ref bean="defaultOnCreatePermissionsManager" />
        </property>
        <property name="onReferencePermissionsManager">
            <ref bean="defaultOnReferencePermissionsManager" />
        </property>
    </bean>
BUT I CAN'T UNDERSTAND HOW I DEFINE AUTOMATIC CREATE HOMEFOLDER WITH NAME LAKE DISPLAYNAME ((((