[Samba] Re: Login Failure

Norman Zhang norman.zhang at rd.arkonnetworks.com
Mon Jun 7 18:37:02 GMT 2004


I've tried googling and reinstalling Samba 3.0.2a-3mdk but the problem 
still remains. I can't login in to swat with root account. In 
/var/log/samba/log.swat I see

[2004/06/07 10:57:54, 0] param/loadparm.c:map_parameter(2410)
   Unknown paramater encountered: "character set"
[2004/06/07 10:57:54, 0] param/loadparm.c:lp_do_parameter(3048)
   Ignoring unknown parameter "character set"
[2004/06/07 10:57:54, 0] auth/pampass.c:smb_pam_passcheck(810)
   smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root!

/var/log/samba/log.winbind

[2004/06/07 11:10:24, 1] 
nsswitch/winbindd_group.c:winbindd_getgroups(954) user 'root' does not exist

/etc/samba/smb.conf

[global]
   workgroup = MYDOMAIN
   netbios name = PROXY
   server string = Samba Server %V
   security = domain
   encrypt passwords = Yes
   password server = BAKSERVER
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RECBUF=8192 SO_SNDBUF=8192
   character set = ISO8859-15
   os level = 18
   local master = No
   domain master = No
   preferred master = No
   dns proxy = No
   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind separator = +
   template homedir = /home/%D/%U
   template shell = /bin/bash
   winbind use default domain = yes

/etc/nsswitch.conf

passwd: files nisplus nis winbind
shadow: files nisplus nis winbind
group: files nisplus nis winbind

Is this a bug with 3.0.2a? May I ask how can I workaround this?

Regards,
Norman

Norman Zhang wrote:
> I've setup my Mandrake 10.0 box to use winbind authentication. However, 
> I noticed that root with local files password login fails at first try 
> after reboot. Also there's no way I can authenticate using root when 
> screen is locked. My nsswitch.conf looks like
> 
> passwd files nis nisplus winbind
> 
> Won't this first they local files then winbind?



More information about the samba mailing list