[Samba] samba 4 provision fails

2012-02-11 Thread steve

Version 4.0.0alpha18-GIT-389bb4f
Ubuntu 11.10

Provision fails with:

Setting up sam.ldb users and groups
Traceback (most recent call last):
  File "./source4/setup/provision", line 262, in 
useeadb=eadb, next_rid=opts.next_rid, lp=lp)
  File "bin/python/samba/provision/__init__.py", line 1757, in provision
am_rodc=am_rodc, lp=lp)
  File "bin/python/samba/provision/__init__.py", line 1455, in 
provision_fill

next_rid=next_rid, dc_rid=dc_rid)
  File "bin/python/samba/provision/__init__.py", line 1288, in fill_samdb
"KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le'))
  File "bin/python/samba/provision/common.py", line 52, in setup_add_ldif
ldb.add_ldif(data, controls)
  File "bin/python/samba/__init__.py", line 221, in add_ldif
self.add(msg, controls)
_ldb.LdbError: (1, 'operations error at 
../source4/dsdb/samdb/ldb_modules/password_hash.c:2163')


Any ideas?
Thanks,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba 4 provision fails

2012-02-11 Thread steve

On 02/11/2012 09:07 AM, steve wrote:

Version 4.0.0alpha18-GIT-389bb4f
Ubuntu 11.10

Provision fails with:

Setting up sam.ldb users and groups
Traceback (most recent call last):
  File "./source4/setup/provision", line 262, in 
useeadb=eadb, next_rid=opts.next_rid, lp=lp)
  File "bin/python/samba/provision/__init__.py", line 1757, in provision
am_rodc=am_rodc, lp=lp)
  File "bin/python/samba/provision/__init__.py", line 1455, in 
provision_fill

next_rid=next_rid, dc_rid=dc_rid) Hi



  File "bin/python/samba/provision/__init__.py", line 1288, in fill_samdb
"KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le'))
  File "bin/python/samba/provision/common.py", line 52, in setup_add_ldif
ldb.add_ldif(data, controls)
  File "bin/python/samba/__init__.py", line 221, in add_ldif
self.add(msg, controls)
_ldb.LdbError: (1, 'operations error at 
../source4/dsdb/samdb/ldb_modules/password_hash.c:2163')


Any ideas?
Thanks,
Steve


Hi again
Tried running make again after make install. Same error.

Could someone on samba-technical forward this there?
Thanks,
Steve

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba-tool set default group

2012-02-11 Thread Matthieu Patou

On 02/09/2012 05:21 AM, steve wrote:

Hi
How do I set the default group for a user?

e.g.
samba-tool group add opensuse
samba-tool group addusers opensuse steve

But steve's default group is still Users.

I'm looking for soething like this:
'samba-tool group setdefaultgroup steve opensuse'

But here isn't that command. I have to do it in Windows.

Is there a command I'm missing?
Cheers,
Steve


Do you know that you can use the windows admin tools again samba 4 also, 
Administration pack for Windows XP/2003 or Vista/2008 are working very 
well against samba.


With those tool changing the default group is just a breath.

Matthieu.

--
Matthieu Patou
Samba Team
http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] latest Samba 4 does not look in keytab

2012-02-11 Thread Matthieu Patou

On 02/10/2012 03:37 PM, steve wrote:
Unfortunately, upgradeprovision fails. There are other issues with 
this latest git because instead of installing everything under 
/usr/local/samba it leaves stuff in samba-master which it still uses 
after it has installed. Problem is that make install messes up 
samba-master. Running make again fixes most of it but leaves the dns 
files with the wrong permissions if you are using bind9 and the samba 
dns server falls over after a restart if you provision with the 
internal. That is on Ubuntu. I keep my old checkout under openSUSE to 
fall back on. Time for a clean start on Ubuntu I think.

Cheers,
Steve 

Please file a bug about upgradeprovision.



--
Matthieu Patou
Samba Team
http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba-tool set default group

2012-02-11 Thread steve

On 02/11/2012 11:07 PM, Matthieu Patou wrote:

On 02/09/2012 05:21 AM, steve wrote:

Hi
How do I set the default group for a user?

e.g.
samba-tool group add opensuse
samba-tool group addusers opensuse steve

But steve's default group is still Users.

I'm looking for soething like this:
'samba-tool group setdefaultgroup steve opensuse'

But here isn't that command. I have to do it in Windows.

Is there a command I'm missing?
Cheers,
Steve


Do you know that you can use the windows admin tools again samba 4 
also, Administration pack for Windows XP/2003 or Vista/2008 are 
working very well against samba.


With those tool changing the default group is just a breath.

Matthieu.


Hi

Yes, but it seems overkill to have to tie up a whole Windows client when 
all we need is a 3 line ldif to change primaryGroupID (Thanks to Geza 
for pointing us at the correct attribute).


Having said that, are there any plans to include the (rather nice) 
Resara front end for Samba4 with any official release?


Thanks for your time,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba