[Samba] Samba PDC + OpenLDAP + Windows 7 user name length
Joan Antoni Torres
jantoni at fib.upc.edu
Tue Apr 19 00:54:18 MDT 2011
We have the following configuration:
- OpenLDAP 2.4.21
- Samba 3.5.2
- Windows 7 x64
- Roaming Profiles
We have 2500 users and format of usernames are:
name.firtsname.secondname (Spanish has first and second name)
Windows 7 clients are joined to the Samba domain. Everything works fine,
users can logon in Samba domain, network volumes (F: , G: ...) are
mapped correctly and the user profile is stored on the server at user
What is wrong? We have problems when the username is longer than 19
characters. These users, can't logon, they see next error in the screen:
"error in the local Session Manager service to start a session.
The data area passed to a system call is too small." (translated from
After this, Windows 7 makes an automatic logoff. The funny thing is that
the profile of these users with too long name, are stored in profile
shared and the whole name, not truncated.
This same environment with Samba + OpenLDAP works fine with Windows XP
clients and users with names greater than 19 characters haven't any problem.
Any ideas? Any help would be welcome.
More information about the samba