# JupyterHub: Setting separate user folders with LDAPAuthenticator

**URL:** https://discourse.jupyter.org/t/jupyterhub-setting-separate-user-folders-with-ldapauthenticator/9569
**Category:** JupyterHub
**Tags:** help-wanted
**Created:** [June 11, 2021, 7:21pm UTC](https://discourse.jupyter.org/t/jupyterhub-setting-separate-user-folders-with-ldapauthenticator/9569 "2021-06-11T19:21:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jorenko](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jorenko/32/4598_2.png) [@jorenko](https://discourse.jupyter.org/u/jorenko)
#### Post date: [June 11, 2021, 7:21pm UTC](https://discourse.jupyter.org/t/jupyterhub-setting-separate-user-folders-with-ldapauthenticator/9569/1 "2021-06-11T19:21:24Z")

</div>

I’m running JupyterHub on Windows and using LDAPAuthenticator to authenticate users. This all works well now, with one exception: Every user is sharing the same folder for their notebooks, C:\Users\Public\Public Documents. Can anyone help me find the configuration options I need to tweak to get separate folders for each user? My jupyterhub\_config.py:

```auto
c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'
c.LDAPAuthenticator.server_address = 'theserver'
c.LDAPAuthenticator.server_port = 3268
c.LDAPAuthenticator.lookup_dn = True
c.LDAPAuthenticator.lookup_dn_search_filter = '({login_attr}={login})'
c.LDAPAuthenticator.lookup_dn_search_user = 'CN=theuser,OU=Users,OU=mygroup,DC=mydomain,DC=com'
c.LDAPAuthenticator.lookup_dn_search_password = 'thepassword'
c.LDAPAuthenticator.user_search_base = 'DC=mydomain,DC=com'
c.LDAPAuthenticator.user_attribute = 'sAMAccountName'
c.LDAPAuthenticator.lookup_dn_user_dn_attribute = 'cn'
c.LDAPAuthenticator.escape_userdn = False
c.LDAPAuthenticator.bind_dn_template = '{username}'
c.JupyterHub.port = 80
c.JupyterHub.spawner_class = 'winlocalprocessspawner.WinLocalProcessSpawner'
c.Spawner.default_url = '/lab'
c.Authenticator.admin_users = {'my username'}

```

---

<div class="post-metadata">

### Author: ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)
#### Post date: [June 12, 2021, 3:25pm UTC](https://discourse.jupyter.org/t/jupyterhub-setting-separate-user-folders-with-ldapauthenticator/9569/2 "2021-06-12T15:25:54Z")

</div>

Selecting the folder is not the job  
LDAPAuthenticator but instead of the winlocalprocessspawner. You might check their manual.
