Hi again,

this forum is just huge!!!!! And it took me a while to find the right forum. Did use the search function first and posted in the same forums like others did before, but now I hope I found the correct forum, so sorry for double-posting.

---------------


Hi,

I am really stuggeling with Samba, searched the forums and checked tutorials, so far with no success!!!

I created a folder and set chmod 0777 (thought this must work)
Code:
[root@server all]# ls -la
total 32
drwxrwxrwx 3 root   all 4096 Oct 16 00:04 .
drwxrwxrwx 5 root   all 4096 Oct 12 20:39 ..
drwxrwxrwx 2 root   all 4096 Oct 15 23:31 test
-rwxrwxrwx 1 hatice all    8 Oct 13 20:51 test.hat
and set Samba to share this folder:
Code:
[all]
comment = "All"
path = /etc/samba/data/all
public = no
browseable = yes
writeable = yes
force group = all
force create mode = 0777
force directory mode = 0770
But if user A is creating a file then user B can not delete that file.
Also no user can create a folder. Windows XP client shows a message "Access denied".

In the smbd.log I get the following message on Samba service START:
Code:
[2006/10/16 00:13:29, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(899)
  create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(926)
  create_local_nt_token: Failed to create BUILTIN\Users group!
[2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(899)
  create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(926)
  create_local_nt_token: Failed to create BUILTIN\Users group!
[2006/10/16 00:13:29, 2] smbd/server.c:open_sockets_smbd(384)
And these error messages when I try to CREATE a folder via SMB Client (Win XP):
Code:
[2006/10/16 00:09:27, 1] smbd/service.c:make_connection_snum(941)
  others (10.11.12.65) connect to service all initially as user sascha (uid=501, gid=600) (pid 7528)
[2006/10/16 00:09:27, 2] smbd/reply.c:reply_tcon_and_X(711)
  Serving all as a Dfs root
[2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder. Error was Permission denied
[2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder. Error was Permission denied
[2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder (2). Error was Permission denied
[2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder (2). Error was Permission denied
[2006/10/16 00:09:32, 2] smbd/open.c:open_file(352)
Both users are logged in successfully to the domain and login script has been executed.

Any ideas or suggestions?

Thanks
... LuckyMe