[Samba] user name with a dot not working

Peter Ulrich Kruppa kruppa at pukruppa.net
Thu Dec 18 05:10:03 GMT 2003


On Tue, 16 Dec 2003, Robert Nedbal wrote:

> Hello,
> I'm having problems with user names containing a dot. For example
> "j.smith".
I always use j_smith . This works without mapping and does the
same.

Regards,

Uli.

>
> In our network we have Win2K PDC and a Samba server. smb.conf contains
> this:
> [global]
> security = domain
> password server = MYSERVER
> username map = /etc/samba/smbusers
> [myshare]
> valid users = j.smith
> write list = j.smith
> etc...
>
> /etc/samba/smbusers file contains this:
> jsmith = j.smith
>
> And Linux box with Samba server has an account for user 'jsmith'
> (/home/jsmith).
>
> So I'm trying to map 'j.smith' (windows user name) to 'jsmith' (linux user
> name). But the problem is that when I try to access shares on samba server
> I get NT_STATUS_WRONG_PASSWORD. I'm sure the password is entered
> correctly.
>
> [me at pc41 me]$ smbclient //SAMBASRV/webpages -U 'j.smith'
> added interface ip=10.92.32.33 bcast=10.92.255.255 nmask=255.255.0.0
> Password:
> Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.2.7a-security-rollup-fix]
> tree connect failed: NT_STATUS_WRONG_PASSWORD
>
> and in a log file on samba server I see:
> [2003/12/16 17:53:39, 0] smbd/password.c:authorise_login(863)
>   authorise_login: rejected invalid user nobody
>                                         ^^^^^^^^^ <-- this is strange!
>                                                   (why nobody?)
> The same error I get from windows clients.
>
> When I intentionally enter wrong password, I get in log file this:
> [2003/12/16 17:11:50, 0] smbd/password.c:domain_client_validate(1619)
>   domain_client_validate: unable to validate password for user J.SMITH in
> domain MYDOMAIN to Domain controller MYSERVER. Error was
> NT_STATUS_WRONG_PASSWORD.
>
> When I inetntionally enter wrong user name, I get in log file this:
> [2003/12/16 17:12:02, 0] smbd/password.c:domain_client_validate(1619)
>   domain_client_validate: unable to validate password for user X.SMITH in
> domain MYDOMAIN to Domain controller MYSERVER. Error was
> NT_STATUS_NO_SUCH_USER.
>
>
> When I remove 'jsmith = j.smith' from /etc/samba/smbusers and change unix
> user to 'j.smith', everythig starts working. But I would like to use on
> Linux usernames without a dot.
>
> Thanks for your help, any ideas?
>
> Best regards,
> Robert
>
> --
> --------------------------------------------------------------------
> Robert Nedbal - Czech Technical University in Prague, Czech Republic
> email: R.Nedbal at sh.cvut.cz             http://www.sh.cvut.cz/~robik/
>           /* Debuggers are evil. Never ever trust them. */
> --------------------------------------------------------------------
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

		+-------------------------+
		|   Peter Ulrich Kruppa   |
		|      - Wuppertal -      |
		|         Germany         |
		+-------------------------+


More information about the samba mailing list