[Samba] Group add trouble
John H Terpstra
jht at samba.org
Fri Aug 24 20:47:12 GMT 2007
On Friday 24 August 2007 13:45, Mike Lander wrote:
> I am trying to add domain user 'mlander' to the "Domain Admin" group
> via srvtools user manager and at the suse command prompt with denied errors
> both instances logged in as root.
> Version 3.0.23d-19.7-1354-SUSE-SL10.2
> I am now trying to upgrade to 3.0.25c. I am on the right track here?
Look closely at the error message below. You will note that the "-a" option to
the usremod command is not valid for SUSE Linux. In place of "-a" you need to
use only "-G".
- John T.
>
> Thanks
> Mike
>
>
> log from laptop logged into the domain as root below
> [2007/08/25 02:07:49, 1] smbd/ipc.c:api_fd_reply(290)
> api_fd_reply: INVALID PIPE HANDLE: 7511
> [2007/08/25 02:07:53, 1] smbd/service.c:make_connection_snum(950)
> mikeslap (10.194.79.195) connect to service root initially as user root
> (uid=0, gid=0) (pid 30916) [2007/08/25 02:08:19, 1]
> smbd/service.c:make_connection_snum(950)
> mikeslap (10.194.79.195) connect to service profiles initially as user
> root (uid=0, gid=0) (pid 30916) [2007/08/25 02:08:19, 1]
> smbd/service.c:make_connection_snum(950)
> mikeslap (10.194.79.195) connect to service profiles initially as user
> root (uid=0, gid=0) (pid 30916) [2007/08/25 02:08:21, 1]
> smbd/service.c:close_cnum(1150)
> mikeslap (10.194.79.195) closed connection to service root
> [2007/08/25 02:08:28, 1] smbd/service.c:make_connection_snum(950)
> mikeslap (10.194.79.195) connect to service netlogon initially as user
> root (uid=0, gid=0) (pid 30916) [2007/08/25 02:08:29, 1]
> smbd/service.c:make_connection_snum(950)
> mikeslap (10.194.79.195) connect to service root initially as user root
> (uid=0, gid=0) (pid 30916) [2007/08/25 02:08:33, 1]
> smbd/service.c:close_cnum(1150)
> mikeslap (10.194.79.195) closed connection to service profiles
> [2007/08/25 02:08:33, 1] smbd/service.c:close_cnum(1150)
> mikeslap (10.194.79.195) closed connection to service profiles
> /usr/sbin/usermod: invalid option -- a
> Try `usermod --help' or `usermod --usage' for more information.
> [2007/08/25 02:09:09, 0] groupdb/mapping.c:smb_add_user_group(978)
> smb_add_user_group: Running the command `/usr/sbin/usermod -a -G 'users'
> 'root'' gave 2 /usr/sbin/usermod: invalid option -- a
> Try `usermod --help' or `usermod --usage' for more information.
> [2007/08/25 02:09:44, 0] groupdb/mapping.c:smb_add_user_group(978)
> smb_add_user_group: Running the command `/usr/sbin/usermod -a -G 'root'
> 'mlander'' gave 2 [2007/08/25 02:19:07, 1] smbd/service.c:close_cnum(1150)
> mikeslap (10.194.79.195) closed connection to service netlogon
> [2007/08/25 02:55:40, 0] lib/util_sock.c:read_data(534)
> read_data: read failure for 4 bytes to client 10.194.79.195. Error = No
> route to host [2007/08/25 02:55:40, 1] smbd/service.c:close_cnum(1150)
> mikeslap (10.194.79.195) closed connection to service root
More information about the samba
mailing list