[Samba on Debian Etch] create_builtin_administrators

Discussion in 'Server Operation' started by morenz, Jan 4, 2008.

  1. morenz

    morenz New Member

    Hi folks,
    Yesterday I installed a fresh new file server with 2x250GB HDDs in RAID-1 (mirror), set up system (minimal system, no desktop environment) and configured Samba with share (open) permissions.
    Then I went to backup server (windows 2003 sbs) and started dumping data to new server. I got some errors like "Cannot copy file: Network Resource no longer exists".

    I went to logs and examined the one relative to my machine (others don't show errors), and got this, repeated a lot of times.
    Code:
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_administrators(785)
      create_builtin_administrators: Failed to create Administrators
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_users(751)
      create_builtin_users: Failed to create Users
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_administrators(785)
      create_builtin_administrators: Failed to create Administrators
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_users(751)
      create_builtin_users: Failed to create Users
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_administrators(785)
      create_builtin_administrators: Failed to create Administrators
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_users(751)
      create_builtin_users: Failed to create Users
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_administrators(785)
      create_builtin_administrators: Failed to create Administrators
    [2008/01/04 11:38:56, 0] auth/auth_util.c:create_builtin_users(751)
      create_builtin_users: Failed to create Users
    [2008/01/04 11:38:56, 1] smbd/service.c:make_connection_snum(950)
      192.168.1.100 (192.168.1.100) connect to service Shared initially as user nobody (uid=65534, gid=65534) (pid 2685)
    [2008/01/04 11:39:07, 1] smbd/service.c:close_cnum(1150)
      192.168.1.100 (192.168.1.100) closed connection to service Shared
    
    I am almost sure that I misconfigured smb.conf, but I'm wondering what's wrong.
    The only thing I'm not sure (but in old server, running CentOS4.5, was not a problem) is that my NT domain is "name".local (built when we had no server farm) and in smb.conf I put "name".com.

    I report here my smb.conf edits (other stuff is as the standard file):

    Code:
    
    ## Browsing/Identification ###
    
    # Change this to the workgroup/NT-domain name your Samba server will part of
       workgroup = mydomain.tld
    
    ####### Authentication #######
    
    # "security = user" is always a good idea. This will require a Unix account
    # in this server for every user accessing the server. See
    # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
    # in the samba-doc package for details.
       security = share
    
    
    # Zeus Shared Folder
    #
    [Shared]
       comment = Zeus Shared Folder
       writable = yes
       locking = no
       path = /Shared
       public = yes
       browseable = yes
       read_only = no
       guest ok = yes
    
    
    I'm sorry for the long post, but I think to have been quite explanatory ;)

    Thanks in advance,
    Morenz
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -l /etc/samba/smbpasswd
    ?
     
  3. morenz

    morenz New Member

    Code:
    zeus:~# ls -l /etc/samba/smbpasswd
    -rw------- 1 root root 0 2008-01-04 11:27 /etc/samba/smbpasswd
    
    Do I have to chmod it 644, while it cannot be accessed from "other" users (I read in logs that when connecting from a windows machine to a share, it uses nobody user)?

    Thanks
    Morenz
     
  4. falko

    falko Super Moderator

    Under what user is Samba running? Try to chown /etc/samba/smbpasswd to that user.
     

Share This Page