From: Daryl on
Hi everybody,

I have been struggling to get my Windows XP box to be able to
access my samba server. When samba starts, I see the following my my
/var/log/samba/log.smb file:

smbd version 3.0.25b-2.fc7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/07/31 20:22:43, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/07/31 20:22:43, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2007/07/31 20:22:43, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/07/31 20:22:43, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users

Through various Google searches, I have found that when people
say they get this error, it means samba will not work at all. Though
samba does stay running:

# ps aux | grep mbd
root 4428 0.0 0.1 8996 1288 ? Ss 20:22 0:00 nmbd -D
root 4679 0.0 0.2 13704 2236 ? Ss 21:09 0:00 smbd -D
root 4681 0.0 0.0 13704 924 ? S 21:09 0:00 smbd -D

When I try to access \\www in Explorer from my XP box, I get an
alert that says, "Windows cannot find '\\www'. Check the spelling and
try again, [etc...]" (same when I try by IP). When I access "smb:/" and
navigate through the tree in Konqueror on the samba server itself,
everything works fine. I can ping back-and-forth between the two
machines by name and IP just fine.
My passwords seem in order:

# pdbedit -L
daryl:500:Daryl Beattie
tv:522:Television

My workgroup is named "home" on both client and server, my
hostname matches my netbios name (as defined in smb.conf, it is
"www")... The only thing slightly abnormal that I have is that my /files
share has a different group than its owner --but I've fiddled with the
group permissions (i.e. setting them back to same owner/group) and that
doesn't seem to help.
Here is my testparm output:

# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[files]"
Processing section "[downloads]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = HOME
server string = Samba Server Version %v
passdb backend = tdbsam
username map = /etc/samba/smbusers
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=8192
SO_SNDBUF=8192 IPTOS_LOWDELAY
idmap uid = 10000-20000
idmap gid = 10000-20000
hosts allow = 192.168.0.

[homes]
comment = Home Directories
read only = No

[files]
path = /files
read only = No
guest ok = Yes

[downloads]
path = /home/daryl/documents/downloads
valid users = daryl, tv
read only = No
browseable = No


This problem has been driving me nuts for a while, because
everything /used to/ work fine with an almost identical setup on my old
Fedora Core 5 machine (same filesystem directories, same users, etc;
they were moved from one machine to the other). But looking at the logs
on that machine, I never had a "Failed to create Users" error message.
I'd greatly appreciate any help anybody could give me.

Sincerely,

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