INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

Come Join Us!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

E-mail*
Handle

Password
Verify P'word
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Member Feedback

"...This was the ONLY place that I could find information that I could use to resolve the problem. So thanks once again to member TomSark and the SQL forum!..."

Geography

Where in the world do Tek-Tips members come from?
mdutch (IS/IT--Management)
22 Oct 09 14:01
Problem:
Trying to finish creation of Samba 3.3.2 domain server on new 9.04 Ubuntu server.  Did default Ubuntu installation of LAMP and Samba during installation.  Successfully edited smb.conf, built users, server and resources visible in smbclient and in windows test workstation.  Can login as different users, and join machines to the domain via windows.  However, the whole system was INCREDIBLY slow!

Question:
Started checking the log files and noticed I was getting winbind errors.  After starting samba & winbind, I get repeating errors in /var/log/samba/log.winbindd. (see file below)  I've searched many forums and sites for the error msgs and can't find references.  Can you clue me in why these are generated and where/what I need to reconfig?

FYI, log.winbindd and smb.conf is below.  Let me know if you need more resources.

Regards,
--mdutch

>>>>>>/var/log/samba/log.winbindd<<<<<<<<<<

CODE

[2009/10/22 12:44:01,  0] winbindd/winbindd.c:main(1125)
  winbindd version 3.3.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/22 12:44:01,  0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2577)
  initialize_winbindd_cache: clearing cache and re-creating with version number 1
ERRORS START
[2009/10/22 12:44:42,  0] libsmb/namequery.c:saf_store(75)
  saf_store: refusing to store 0 length domain or servername!
[2009/10/22 12:44:52,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding
[2009/10/22 12:44:52,  1] winbindd/winbindd_cm.c:cm_prepare_connection(967)
  failed tcon_X with NT_STATUS_IO_TIMEOUT

>>>>>>THEN THE ERRORS REPEAT<<<<<<<<<<
[2009/10/22 12:45:02,  0] libsmb/namequery.c:saf_store(75)
  saf_store: refusing to store 0 length domain or servername!
[2009/10/22 12:45:12,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding
>>>>>>etc.etc.<<<<<<<<<<


>>>>>>>> smb.conf <<<<<<<<

CODE

[global]
    workgroup = JAM2
    netbios name = SMB
    server string = "%h Domain Controller %v"
    interfaces = 127.0.0.0/8, bond0
    bind interfaces only = Yes
    auth methods = sam
    map to guest = Bad User
    obey pam restrictions = Yes
    passdb backend = tdbsam
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    username map = /etc/samba/smbusers
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    name resolve order = hosts lmhosts wins bcast
    time server = Yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    add user script = /usr/sbin/useradd         -m '%u'         -g users         -G users
    delete user script = /usr/sbin/userdel -r '%u'
    add group script = /usr/sbin/addgroup --force-badname %g
    delete group script = /usr/sbin/groupdel %g
    add user to group script = /usr/sbin/useradd %u %g
    delete user from group script = /usr/sbin/userdel %u %g
    add machine script = /usr/sbin/useradd        -g machines        -c "%u machine account"        -d /dev/null        -s /bin/false $1$
    logon script = jamlogon.bat
    logon path = \\%N\profiles\%U
    logon drive = H:
    logon home = \\%L\%u\.win_profile\%m
    domain logons = Yes
    os level = 65
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    wins support = Yes
    panic action = /usr/share/samba/panic-action %d
    idmap uid = 10000-20000
    idmap gid = 20000-30000
    template shell = /bin/bash
    winbind enum users = Yes
    winbind enum groups = Yes
    winbind use default domain = Yes
    admin users = root, administrator, @root

[homes]
    comment = Home Directories
    path = /samba/home/%u
    valid users = %S, %D%w%S
    read only = No
    create mask = 0775
    directory mask = 0775
    inherit acls = Yes
    browseable = No

[netlogon]
    comment = Network Logon Service
    path = /samba/netlogon
    guest ok = Yes
    browseable = No

[profiles]
    comment = Users profiles
    path = /samba/home/profiles/
    create mask = 0600
    directory mask = 0700
    browseable = No
mdutch (IS/IT--Management)
22 Oct 09 16:55
Still having log.winbindd errors every 10-15 seconds...

With the help of a contributor, I changed

CODE

    auth methods = sam
to

CODE

    auth methods = sam winbind
and the error in log.winbindd
    saf_store: refusing to store 0 length domain or servername!
stopped appearing!  w00t!

But, I'm still getting Server stopped responding errors in log.winbindd:

CODE

[2009/10/22 15:38:45,  0] winbindd/winbindd.c:main(1125)
  winbindd version 3.3.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/22 15:38:45,  0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2577)
  initialize_winbindd_cache: clearing cache and re-creating with version number 1
[2009/10/22 15:39:35,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding
[2009/10/22 15:39:55,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding

Similar entries in log.wb-JAM2  (the domain winbind file)

CODE

[2009/10/22 15:38:58,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding
[2009/10/22 15:39:10,  0] libsmb/clientgen.c:cli_receive_smb(165)
  Receiving SMB: Server stopped responding

Start A New Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Promoting, selling, recruiting and student posting
are not allowed in the forums.
Posting Policies

LINK TO THIS FORUM!
(Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum)
TITLE: Andrew Tridgell: Samba Forum at Tek-Tips
URL: http://www.tek-tips.com/threadminder.cfm?pid=865
DESCRIPTION: Andrew Tridgell: Samba technical support forum and mutual help system for computer professionals. Selling and recruiting forbidden.