[Samba] Strange provisioning error - I really expect an answer
David Gonzalez
info at dghvoip.com
Thu Sep 2 14:58:32 MDT 2010
Hello All,
I'm trying to contribute with my tests and continuous attempts to install
and stress-test samba, but it gets really sad and frustrating finding out
that no one answers.
I know a lot of "we do this for free", "we do this in our free time", "wait
longer for an answer" and that will come, save some typing and please, do
not reply with that.
I've contributed videos to the comunity and material so that it gets tested
more, but I have many unanswered questions. Like whe I tried dynamic
updates, and tried to join a W2k8 server to samba4 domain, as Tridge, showed
on his video he never got that "cannot determine if DNS server supports
dynamic updates", it remains unsolved for me and unanswered. It'dbe nice to
see how Tridge had his DNS setup?, did he run dhcpd on that same machine?,
did he create dns zones manually?.
I hope this time I get a chance.
I installed samab 4 from git, and compiled it with no errors, provisioned
and it worked, then I deleted the whole /usr/local/samab dir because I
screwed it up with a failed attempt of joining a w2k8 R2 machine to the
domain, decided to re-provision and I'm getting this error:
[root at gateway source4]# ./setup/provision
--realm=samba.dghvoip.com--domain=DGHVOIP
--adminpass=DGH2010 at dm--server-role='domain controller'
--host-name=gateway
--host-ip=192.168.254.254
Traceback (most recent call last):
File "./setup/provision", line 253, in ?
useeadb=eadb, next_rid=opts.next_rid)
File "bin/python/samba/provision.py", line 1350, in provision
users_gid = findnss_gid([users or "users", 'users', 'other', 'staff'])
File "bin/python/samba/provision.py", line 333, in <lambda>
findnss_gid = lambda names: findnss(grp.getgrnam, names)[2]
File "bin/python/samba/provision.py", line 329, in findnss
raise KeyError("Unable to find user/group in %r" % names)
KeyError: "Unable to find user/group in ['users', 'users', 'other',
'staff']"
Also when I issue "make quicktest", before installing this shows
Waf: Leaving directory `/data/samba-master/source4/bin'
'build' finished successfully (29.068s)
test: running (/usr/bin/perl ../selftest/selftest.pl --prefix=./st
--builddir=. --srcdir=. --exclude=./selftest/skip
--testlist="./selftest/tests.sh|" --exclude=./selftest/slow --quick
--include=./selftest/quick --socket-wrapper && touch ./st/st_done) |
/usr/bin/python -u ../selftest/filter-subunit
--expected-failures=./selftest/knownfail | tee ./st/subunit |
/usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate
tee: ./st/subunit: No such file or directory
SOCKET_WRAPPER_DIR=/data/samba-master/source4/st/w
Version 4.0.0alpha12-GIT-4ca9683
OPTIONS --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba4
--basedir=/data/samba-master/source4/st/s4client
--option=torture:progress=no --format=subunit --option=torture:quick=yes
Traceback (most recent call last):
File "./setup/provision", line 253, in ?
useeadb=eadb, next_rid=opts.next_rid)
File "bin/python/samba/provision.py", line 1350, in provision
users_gid = findnss_gid([users or "users", 'users', 'other', 'staff'])
File "bin/python/samba/provision.py", line 333, in <lambda>
findnss_gid = lambda names: findnss(grp.getgrnam, names)[2]
File "bin/python/samba/provision.py", line 329, in findnss
raise KeyError("Unable to find user/group in %r" % names)
KeyError: "Unable to find user/group in ['users', 'users', 'other',
'staff']"
Unable to provision:
NSS_WRAPPER_PASSWD="/data/samba-master/source4/st/dc/etc/passwd"
NSS_WRAPPER_GROUP="/data/samba-master/source4/st/dc/etc/group"
./setup/provision --configfile=/data/samba-master/source4/st/dc/etc/smb.conf
--host-name=localdc --host-ip=127.0.0.1 --quiet --domain=SAMBADOMAIN
--realm=SAMBA.EXAMPLE.COM --adminpass=locDCpass1
--krbtgtpass=krbtgtlocDCpass1 --machinepass=machinelocDCpass1 --root=root
--server-role="domain controller" --function-level="2008"
PROVISIONING DC...
A summary with detailed information can be found in:
./st/summary
ALL OK (0 tests in 0 testsuites)
ERROR: test command failed to complete
make: *** [quicktest] Error 1
If you could please, give me some hint it'd be greatly appreciated.
Thanks again.
---
David Gonzalez H.
DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
Phone Bogotá: +(57-1)289-1168
Phone Medellin: +(57-4)247-0985
Mobile: +(57)315-838-8326
MSN: david at planetaradio.net
Skype: davidgonzalezh
WEB: http://www.dghvoip.com/
Proud Linux User #294661
More information about the samba
mailing list