LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Strange Samba Problem. (https://www.linuxquestions.org/questions/linux-newbie-8/strange-samba-problem-615138/)

Nebulous 01-21-2008 04:47 AM

Strange Samba Problem.
 
Hi All.

I have two machines running CentOS 5, both of which I want to great a Windows Share for so that fellow employees in the office can put files on it easily (most have no linux experience).

I have got one of the two servers working fine. However, for the life of me I can not get the other to do the same, both of the servers are mirrored copies of each other, so ive even tried copying the smb.conf file from one server to the other.

The error message Samba is giving me is as follows:

[2008/01/21 09:44:37, 0] auth/auth_util.c:create_builtin_administrators(792)

create_builtin_administrators: Failed to create Administrators

[2008/01/21 09:44:37, 0] auth/auth_util.c:create_builtin_users(758)

create_builtin_users: Failed to create Users

[2008/01/21 09:58:06, 0] smbd/server.c:main(944)

smbd version 3.0.25b-1.el5_1.4 started.

Copyright Andrew Tridgell and the Samba Team 1992-2007

[2008/01/21 09:58:06, 0] auth/auth_util.c:create_builtin_administrators(792)

create_builtin_administrators: Failed to create Administrators

[2008/01/21 09:58:06, 0] auth/auth_util.c:create_builtin_users(758)

create_builtin_users: Failed to create Users

[2008/01/21 09:58:06, 0] auth/auth_util.c:create_builtin_administrators(792)

create_builtin_administrators: Failed to create Administrators

[2008/01/21 09:58:06, 0] auth/auth_util.c:create_builtin_users(758)

create_builtin_users: Failed to create Users

Regards

guillermo 01-21-2008 11:30 AM

same here! If you find the solution please post it, i will do! :D


Thanks!

guillermo 01-21-2008 11:56 AM

Which version of samba are you using ?

Could be this ? :confused:


https://bugzilla.samba.org/show_bug.cgi?id=4973

moniker117 01-22-2008 12:13 AM

Hi Nebulous,

I've used samba on Linux before, but I'm afraid I'm a bit ignorant with regards to how the configuration files look. Every time I've used samba on Fedora, I've used the system-config-samba tool. I noticed that you have to define samba users and, from the errors you list, it sounds like maybe they aren't configured on the new server. Do you know if you've defined the users for samba?

thanks,
moniker117

zeeshanhayat 01-22-2008 12:38 AM

Have you added the local users in samba. If not use smbpasswd -a username

jschiwal 01-22-2008 12:39 AM

Look in /usr/share/doc/samba/ and see if there are 3 books there in pdf or postscript form. On some distro's they are supplied by a samba-doc package. One of the books, Samba 3 by Example has example configurations ranging from simple readonly server configurations to Samba-LDAP configurations for large installations. Another book "Samba 3 HOWTO & Reference Guide" also supplies more detailed information. There is another book that is supplied with samba swat in html form, "Using Samba".

There are several ways you can handle username/passwords. What you use may depend on how your network is configured. Do you have a domain or workgroups or LDAP or AD? How many users are there?

Another thing to look at is how you prepare the share. For example the permissions and ownership of the directory being shared.


All times are GMT -5. The time now is 12:36 AM.