WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Trouble adding user with gadmin-samba  (Read 2147 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Trouble adding user with gadmin-samba
« on: October 29, 2012, 07:11:45 PM »
Hi all,

Am trying to get a gui working with SAMBA to make it easier for non tech people to manager their own users and shares.

Am trying gadmin-samba tinycore extension at the moment, and hit a obstacle when i tried to add a user, after filling in the user's details, and clicking apply, there is no response.

I've run
Code: [Select]
less /etc/passwd to double check if the details were added, but nothing was added.

Any suggestions or comments are welcome.
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Trouble adding user with gadmin-samba
« Reply #1 on: October 29, 2012, 07:33:08 PM »
Hi remus
I think you need to be root (or sudo) to add a user. Did you try running gadmin-samba as root?

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Trouble adding user with gadmin-samba
« Reply #2 on: October 29, 2012, 11:21:11 PM »
Thanks Rich,

That did the trick, I guess I just assumed the gui would take care of that.

When creating a group, i got an error about command groupadd not working.

So I install shadowutils.tcz and solve that particular problem.

Still can't get samba working with the smbclient test command. I'll post some error messages tomorrow. Am out of time at the moment.
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Trouble adding user with gadmin-samba
« Reply #3 on: October 30, 2012, 06:37:34 AM »
Hi remus
There is also an  addgroup  command included in Tinycore.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Trouble adding user with gadmin-samba
« Reply #4 on: October 30, 2012, 05:47:19 PM »
Sorry for not being clear Rich,

Error was created by the gadmin-samba gui, trying to create the group for me.

I am using a stock 4.6.2 with gadmin-samba extension installed.

I remembered getting this problem in the past when learning how to setup samba with the command line, following official samba howto's that use the groupadd command, I was pointed at the shadowutils extension.
Live long and prosper.