Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-18-2011, 05:06 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
Samba PDC + OpenLDAP + Samba Windows 7 user name length


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.


Old 04-18-2011, 11:25 AM   #2
LQ Newbie
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
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.
Old 04-19-2011, 01:50 AM   #3
LQ Newbie
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba PDC + Openldap password policy guna_pmk Linux - Server 5 01-09-2012 03:27 AM
Samba Openldap PDC can not change password from Windows XP client huynguyen Linux - Server 2 01-04-2012 12:44 AM
Samba issue (SAMBA and OpenLDAP for PDC) nyu2009 Linux - Server 1 08-01-2009 11:00 AM
samba pdc trust with windows 2003 server pdc samba_pk Linux - Networking 1 06-08-2007 01:22 AM
OpenLDAP & samba PDC paul_mat Linux - Networking 5 08-26-2005 12:01 AM

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration