Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th January 2008, 13:06
morenz morenz is offline
Junior Member
 
Join Date: Oct 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default [Samba on Debian Etch] create_builtin_administrators

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
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2008, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
ls -l /etc/samba/smbpasswd
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th January 2008, 15:44
morenz morenz is offline
Junior Member
 
Join Date: Oct 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 9th January 2008, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Under what user is Samba running? Try to chown /etc/samba/smbpasswd to that user.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect setup Debian Etch ISPConfig - DNS Server kdclaver Installation/Configuration 16 28th December 2007 02:39
Please help me whit bind9 astra2000 Server Operation 12 10th October 2007 03:43
[Virtual User/Domains - Debian Etch] LOGIN Failed morenz HOWTO-Related Questions 1 16th July 2007 19:18
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 09:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.