You are not logged in.

#1 2013-11-16 20:51:47

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Webmin Samba [solved]

hello here is the error I am getting

Failed to convert user : /usr/bin/pdbedit failed :

new password:retype new password:

I am selecting a user and no matter what I select "no password, or use this password" I get this error. There is only one box for the password and no where for me to reenter.

Last edited by mich04 (2013-11-17 04:29:38)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2013-11-16 21:31:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Webmin Samba [solved]

Have you tried using the samba tools directly?

Offline

#3 2013-11-17 04:04:08

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Webmin Samba [solved]

hmm I did not know of the samba-tool I just tried it it asked for a password I typed in the password and retyped it. It produced an error. Here it is.

ERROR(<type 'exceptions.ValueError'>): Failed to add user 'michael':  - unable to parse dn string
  File "/usr/lib/python2.7/site-packages/samba/netcmd/user.py", line 176, in run
    uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell)
  File "/usr/lib/python2.7/site-packages/samba/samdb.py", line 343, in newuser
    dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "")

I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2013-11-17 04:16:22

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Webmin Samba [solved]

I have never used samba-tool, but I noticed what you are ultimaetely trying to use is pdbedit... which ships with the samba package.  You should take a look at the Arch Wiki's samba page.

Offline

#5 2013-11-17 04:29:20

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Webmin Samba [solved]

Yea that worked great, I was just trying to find a graphical tool that was easy to use to manage my headless server. Thanks again.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#6 2013-11-17 05:18:56

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Webmin Samba [solved]

Learn to use the command line tools with ssh and screen.  If you know how to use the tools directly, I think it just gives you a better understanding of the service in general.

*or tmux, which I prefer.

Offline

Board footer

Powered by FluxBB