[Samba] User names longer than 8 characters

Octavio Alvarez alvarezp at alvarezp.ods.org
Fri Apr 1 01:08:07 GMT 2005


Hello.

I set up my samba server and added two users, "alvarezp" and "lunablack".  
The first one works, but the second one gives Access Denied errors.

I already tried to map "lunablack" to "luna" via 'username map', with no  
luck.

Both passwords are under or equal 8 chars long.

Here is some info:

root at alvarezp:/home/alvarezp# cat /etc/samba/smb.conf
# Samba config file created using SWAT
# from 192.168.0.65 (192.168.0.65)
# Date: 2005/03/31 15:36:25

# Global parameters
[global]
         workgroup = ALVAREZ
         netbios name = SERVIDOR
         log level = 3 passdb:5 auth:10 winbind:2
         ldap ssl = no
         username map = /etc/samba/usernamemap

[printers]
         path = /tmp
         printable = Yes
         browseable = No

root at alvarezp:/home/alvarezp# uname -a
Linux xxxxxxxx.xxx 2.6.7 #1 Wed Jun 16 16:23:03 PDT 2004 i686 unknown  
unknown GNU/Linux

root at alvarezp:/home/alvarezp# cat /etc/slackware-version
Slackware 10.1.0

root at alvarezp:/home/alvarezp# smbpasswd lunablack
New SMB password: xx
Retype new SMB password: xx

root at alvarezp:/home/alvarezp# smbclient -L //localhost -U lunablack
Password: xx
session setup failed: NT_STATUS_LOGON_FAILURE

root at alvarezp:/home/alvarezp# smbclient -L //localhost -U alvarezp
Password:
Domain=[SERVIDOR] OS=[Unix] Server=[Samba 3.0.10]

         Sharename       Type      Comment
         ---------       ----      -------
         IPC$            IPC       IPC Service (Samba 3.0.10)
         ADMIN$          IPC       IPC Service (Samba 3.0.10)
Domain=[SERVIDOR] OS=[Unix] Server=[Samba 3.0.10]

         Server               Comment
         ---------            -------

         Workgroup            Master
         ---------            -------
         ALVAREZ              OCTAVIO

I'd appreciate any help.

--Octavio.


More information about the samba mailing list