[Samba] Unable to create directory

Shlomi Levi lshl.shlomi at gmail.com
Wed Nov 29 09:13:26 GMT 2006


Hi, I am trying to create a directory on my home directory, but I receive
Access denied on my XP box.

My smb.conf:

==========================================
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2006/10/25 20:36:57

[global]
	workgroup = SHLNET
	server string = Samba Server
	passwd program = /usr/bin/passwd %u
	username map = /etc/samba/smbusers
	unix password sync = Yes
	log level = 2 passdb:5 auth:10
	log file = /var/log/samba/%m.log
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	printcap name = /etc/printcap
	dns proxy = No
	ldap ssl = no
	guest ok = Yes
	cups options = raw

[homes]
	comment = Home Directories
	read only = No
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[programming]
	comment = Programming folder, previouly known as G
	path = /programming/progs
	read only = No
	create mask = 0777

[files01]
	comment = General storage
	path = /files01/
	read only = No
=================================================

The log file:

[2006/11/29 10:48:20, 4] auth/auth_sam.c:sam_account_ok(138)
  sam_account_ok: Checking SMB password for user lshl
[2006/11/29 10:48:20, 5] auth/auth_sam.c:logon_hours_ok(120)
  logon_hours_ok: user lshl allowed to logon at this time (Wed Nov 29
08:48:20 2006
  )
[2006/11/29 10:48:20, 5] auth/auth_util.c:make_server_info_sam(625)
  make_server_info_sam: made server info for user lshl -> lshl
[2006/11/29 10:48:20, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [lshl] succeeded
[2006/11/29 10:48:20, 5] auth/auth.c:check_ntlm_password(296)
  check_ntlm_password:  PAM Account for user [lshl] succeeded
[2006/11/29 10:48:20, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [lshl] -> [lshl] -> [lshl]
succeeded
[2006/11/29 10:48:20, 5] auth/auth_util.c:free_user_info(1866)
  attempting to free (and zero) a user_info structure
[2006/11/29 10:48:20, 10] auth/auth_util.c:free_user_info(1870)
  structure was created for lshl
[2006/11/29 10:48:20, 10] auth/auth_util.c:create_local_token(1023)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2006/11/29 10:48:20, 10] auth/auth_util.c:create_local_token(1023)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2006/11/29 10:48:20, 10] auth/auth_util.c:create_local_token(1023)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2006/11/29 10:48:20, 10] auth/auth_util.c:debug_nt_user_token(454)
  NT user token of user S-1-5-21-756417992-573665072-1695166562-2000
  contains 5 SIDs
  SID[  0]: S-1-5-21-756417992-573665072-1695166562-2000
  SID[  1]: S-1-22-2-100
  SID[  2]: S-1-1-0
  SID[  3]: S-1-5-2
  SID[  4]: S-1-5-11
  SE_PRIV  0x0 0x0 0x0 0x0
[2006/11/29 10:48:20, 2] smbd/reply.c:reply_tcon_and_X(711)
  Serving IPC$ as a Dfs root
[2006/11/29 10:48:20, 1] smbd/service.c:make_connection_snum(941)
  shlomi (200.0.0.34) connect to service lshl initially as user lshl
(uid=500, gid=100) (pid 26023)
[2006/11/29 10:48:20, 2] smbd/reply.c:reply_tcon_and_X(711)
  Serving lshl as a Dfs root
[2006/11/29 10:48:30, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder. Error was Permission denied
[2006/11/29 10:48:30, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder. Error was Permission denied
[2006/11/29 10:48:30, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder (2). Error was Permission
denied
[2006/11/29 10:48:30, 2] smbd/open.c:open_directory(1936)
  open_directory: unable to create New Folder (2). Error was Permission
denied
[2006/11/29 10:48:46, 1] smbd/service.c:close_cnum(1141)
  shlomi (200.0.0.34) closed connection to service lshl

========================================================================



More information about the samba mailing list