[Samba] Re: Login Failure

2004-06-10 Thread Norman Zhang
Hi,
After more googling, I found that many users seem to experience the same 
problem when upgrading from Samba 2.2.x to 3.0.x. But there isn't a 
solution yet. In Samba 2.2.8a, I have no problem of logging to the box 
using local root password. I managed to tricked box by creating a root 
user with same password on my NT domain. But it only works if I don't 
reboot my server. May I ask is someone looking into this?

Regards,
Norman
Norman Zhang wrote:
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 = 1-2
  winbind gid = 1-2
  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?

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Login Failure

2004-06-07 Thread Norman Zhang
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 = 1-2
  winbind gid = 1-2
  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?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba