Personal.X-Istence.com

Bert JW Regeer (畢傑龍)

Samba, thou has pissed me off!

I am really pissed off, Samba is throwing errors at me, and I have no clue how to fix them. Samba developers say read the documentation, but this is a standalone server. These are the error messages:

[2007/04/14 01:47:11, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2007/04/14 01:47:11, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/04/14 01:47:11, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2007/04/14 01:47:11, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users</pre>

So I did what the documentation told me to do, and tried to net groupmap them.

Guests (S-1-5-21-3909197182-276841819-79004845-546) -> nobody
Administrators (S-1-5-21-3909197182-276841819-79004845-544) -> wheel

There is no good documentation on what the error means or how to fix it. The weird thing is that the share used to be working fine until I decided I did not want to give others the ability to add items to the share, unless they were logged in as me, so I wanted to make it accessible by guests yet have it writeable by me. That is when the nightmare started. Now no-one could access the share, with valid username/password or without. (Yes, permissions were set up properly, I am not dumb).

Fuck samba. I can set up an FTP server, allow anonymous logins and make people use an FTP client to access the files. Samba is becoming too big, too convulated and too overwhelming for the standard user. I by no means think of myself as a standard user, however if I am unable to figure out how to get Samba working by reading the docs and having a clear grasp on the concepts then something is wrong. Setting up Samba used to be simple, compile it, install it, smbpasswd a new account edit smb.conf and off you go. Nowadays there are many more steps.

Is there a FUSE port for Windows yet? I bet there is a really good Fuse FTP plugin! Samba needs a timeout, some cleanup and some better documentation as to why it can't create it's own builtin users.