LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba PDC + OpenLDAP + Samba Windows 7 user name length (https://www.linuxquestions.org/questions/linux-server-73/samba-pdc-openldap-samba-windows-7-user-name-length-875594/)

Jantoni 04-18-2011 05:06 AM

Samba PDC + OpenLDAP + Samba Windows 7 user name length
 
Hello,

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 logoff.

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 Spanish version)

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.

Greetings


Jantoni

macpraveen 04-18-2011 11:25 AM

I am no expert but did you try username with domain name using @ (username@domain)?

Also google samAccountName which has 20 character limit.

Hope this helps.

Jantoni 04-19-2011 01:50 AM

Hi macpraveen,

Few days ago I tried this, but didn't work for me with Samba. This solution works fine with an MS Active Directory, but we don't want to use it.
I'm not sure if the problem is in OpenLDAP, Samba or Windows 7

I will continue seeking a solution.

Thanks.


All times are GMT -5. The time now is 07:33 PM.