Samba authentication fails, when using a computer account (ticket 2379)

Status
Not open for further replies.

spitfire

Dabbler
Joined
May 25, 2012
Messages
41
Hi,

I hit a problem, when I wanted to put WSUS updates from Windows Server 2012 on a network share placed on freenas (FreeNAS-9.1.0-BETA-574cceb-x64).

Namely, WS2012 uses computer acount (in this case winsrv-13$) to access and write stuff to the network share. Even if I give it full permissions to the share, there sare still problems.

Code:
[2013/07/08 16:11:44.196219,  1] smbd/service.c:1114(make_connection_snum)
  10.100.0.33 (10.100.0.33) connect to service wsus initially as user HOME\winsrv-13$ (uid=26104, gid=20515) (pid 87532)
[2013/07/08 16:11:44.196437,  3] smbd/service.c:190(set_current_service)
  chdir (/mnt/strg01/dist/wsus) failed, reason: Permission denied
[2013/07/08 16:11:54.568652,  3] smbd/service.c:1378(close_cnum)
  10.100.0.33 (10.100.0.33) closed connection to service IPC$
[2013/07/08 16:11:54.568691,  3] smbd/connection.c:35(yield_connection)
  Yielding connection to IPC$
[2013/07/08 16:11:54.568880,  1] smbd/service.c:1378(close_cnum)
  10.100.0.33 (10.100.0.33) closed connection to service wsus
[2013/07/08 16:11:54.568894,  3] smbd/connection.c:35(yield_connection)
  Yielding connection to wsus
[2013/07/08 16:11:54.568957,  1] smbd/service.c:1378(close_cnum)
  10.100.0.33 (10.100.0.33) closed connection to service wsus
[2013/07/08 16:11:54.568971,  3] smbd/connection.c:35(yield_connection)
  Yielding connection to wsus
[2013/07/08 16:11:54.569029,  1] smbd/service.c:1378(close_cnum)
  10.100.0.33 (10.100.0.33) closed connection to service wsus


As a computer (not user) account, it is not listed in 'getent passwd'.
I can 'su winsrv-13$' but even thought it's home folder is being owned by it, I get:

Code:
# su winsrv-13$
$ cd
cd: /home/winsrv-13_: Permission denied


I found an advice to put 'winbind normalize names = no' in samba extra options, because name 'winsrv-13$' is converted to 'winsrv-13_' but it didn't help.

Any Ideas?

##Edit

Created ticket #2379
 
Status
Not open for further replies.
Top