LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Issues with Samba server (Permissions issue) (http://www.linuxquestions.org/questions/linux-server-73/issues-with-samba-server-permissions-issue-707445/)

jdw52 02-25-2009 10:29 AM

Issues with Samba server (Permissions issue)
 
We recently had to replace the samba server in one of our locations after the old one died. We have 40 locations so I had an extra samba server from an old location in inventory that I reconfigured and put in place. Everything was going great until the network guy did a file restore (we have an off site rsync backup server). Now the location is back down again, the network guy can't be found and I've got to figure out a way to fix the issue.

Here is what was done on my end:

1) Made a few minor changes to smb.conf so that it would be location specific.
2) Added in the necessary accounts using useradd (making sure to specify the correct user group) and set the password using smbpasswd.
3) Logged on as each user and verified everything was good.
4) Waited for file restore.

Now after the network guy did what he did here is what I have:

1) If you try and log on as any user you get the follow error: "A Device attached to the system is not functioning".]
2) You can still log on as the domain admin.

Here is the log for one of the affected computers. I changed the username to jane.doe in the log.

Quote:

2009/02/24 13:44:37, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service jane.doe is initially as user jane.doe (uid=5484, gid=503) (pid 24550)
[2009/02/24 13:45:02, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service agency initially as user jane.doe (uid=5484, gid=503) (pid 24550)
[2009/02/24 13:59:38, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service jane.doe initially as user jane.doe (uid=5484, gid=503) (pid 24550)
[2009/02/24 13:59:39, 0] smbd/posix_acls.c:create_canon_ace_lists(1388)
create_canon_ace_lists: unable to map SID S-1-5-21-2280091377-3871356453-830482723-11262 to uid or gid.
[2009/02/24 13:59:47, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service agency
[2009/02/24 13:59:47, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service jane.doe
[2009/02/24 13:59:54, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service jane.doe
[2009/02/24 14:00:02, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
get_md4pw: Workstation PC0402000301$: no account in domain
[2009/02/24 14:00:02, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
get_md4pw: Workstation PC0402000301$: no account in domain
[2009/02/24 14:26:41, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service root initially as user root (uid=0, gid=0) (pid 4872)
[2009/02/24 14:26:44, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service netlogon initially as user root (uid=0, gid=0) (pid 4872)
[2009/02/24 14:26:49, 0] smbd/service.c:make_connection(800)
pc0402000301 (10.20.12.113) couldn't find service netlogo
[2009/02/24 14:26:50, 0] smbd/nttrans.c:call_nt_transact_ioctl(2276)
call_nt_transact_ioctl(0x940cf): Currently not implemented.
[2009/02/24 14:28:07, 1] smbd/service.c:make_connection_snum(648)
pc0402000301 (10.20.12.113) connect to service root initially as user root (uid=0, gid=0) (pid 4872)
[2009/02/24 14:28:18, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service netlogon
[2009/02/24 14:28:18, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service root
[2009/02/24 14:28:18, 1] smbd/service.c:close_cnum(836)
pc0402000301 (10.20.12.113) closed connection to service root
[2009/02/24 16:10:21, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786)

I appreciate any advice you can offer. My samba knowledge isn't very extensive but it looks like it's up to me to resolve this.

chitambira 02-26-2009 03:58 AM

are your workstations joined to the domain? also you have to create both domain users and smbusers and syncronise their passwords


All times are GMT -5. The time now is 11:29 PM.