[Samba] "I have no name!" shown as username

Guillermo Gutierrez ggutierrez at marketscan.com
Fri Nov 17 16:35:20 GMT 2006


Well, I tried to make the change with the suggestin that you
gave.Instead of giving me a login prompt, it now displays a message
stating that netowrk access bing denied.

Can anyone help see any thing else stated by my smb.conf that would
cause this to marning.

-----Original Message-----
From: Dale Schroeder [mailto:dale at BriannasSaladDressing.com] 
Sent: Friday, November 17, 2006 8:16 AM
To: Guillermo Gutierrez; samba at lists.samba.org
Subject: Re: [Samba] "I have no name!" shown as username

Guillermo Gutierrez wrote:
> Hello all,
> I have setup my gentoo samba server as a domain member server of a 
> windows 2003 Active Directory Domain using winbind.
>
> I am able to see all the users and groups with wbinfo -u and wbinfo -g

> andwbinfo -t does not report any errors.
> 'Getent passwd' and 'getent group' return local and domain users and 
> groups.
>
> My problem is that when I login as a domain user, my prompt changes to

> 'I have no name!@Solidus', with Solidus being my gentoo box.
> In the /etc/pam.d/login and samba files I have specified it to use 
> system-auth-winbind instead of system-auth.
>
> What could I be doing wrong?
> Also I am able to get into the home directory from the network but not

> my public share.
>
> Here is a print out of my smb.conf:
>
> [global]
>         workgroup = MARKETSCAN
>         realm = MARKETSCAN.COM
>         server string = %h, Gentoo Samba Server %v
>         interfaces = eth0, lo
>         bind interfaces only = Yes
>         security = ADS
>         obey pam restrictions = Yes
>         username map = /etc/samba/smbusers
>         log level = 5
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         client signing = Yes
>         os level = 2
>         preferred master = No
>         local master = No
>         dns proxy = No
>         wins server = 10.11.3.177
>         ldap ssl = no
>         socket address = 10.11.3.210
>         idmap uid = 150000-550000
>         idmap gid = 150000-550000
>         template homedir = /home/MARKETSCAN/%U
>         template shell = /bin/bash
>         winbind enum users = Yes
>         winbind enum groups = Yes
>
> [public]
>         comment = Public Volume on %h
>         path = /home/samba/public
>         valid users = @MARKETSCAN\ggutierrez, 
> @MARKETSCAN\Administrator
>   
Are these "valid users" really groups?  They look more like 'users'.  If
so, remove the "@" and try it out.

Dale

>         read only = No
>         force create mode = 0766
>         force directory mode = 0766
>
> [homes]
>         comment = Home Folder for %U
>         valid users = %D\%S
>         read only = No
>         force create mode = 0700
>         force directory mode = 0700
>         browseable = No
>
> Thanks in advance for any help.
>
> Guillermo Gutierrez
> Network Administrator
> Market Scan Information Systems, Inc
> (818) 575-2000 x2017
> ggutierrez at marketscan.com
>
>   


More information about the samba mailing list