David Gonzalez
2010-Sep-02 20:58 UTC
[Samba] Strange provisioning error - I really expect an answer
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
Michael Wood
2010-Sep-03 06:34 UTC
[Samba] Strange provisioning error - I really expect an answer
Hi On 2 September 2010 22:58, David Gonzalez <info at dghvoip.com> wrote:> 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.Yes, it can be frustrating, but I doubt anyone is deliberately ignoring your messages. I suspect the people who can answer your questions have not seen them. This could be because you're asking in the wrong place or because they have very little time and the subject of your e-mail didn't catch their eye etc. Since the Samba4 HOWTO says to report your experiences on the samba-technical list, I suggest you send your questions about samba4 there. There's also a #samba-technical channel on irc.freenode.org. The topic is: 08:31 -!- #samba-technical 66 logs on http://samba.sernet.de/irclog/ - Ask non-development questions in #samba (all samba4 questions welcome however) | CIA commit notifications in #samba-commits I have copied my reply to the samba-technical list.> 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-- Michael Wood <esiotrot at gmail.com>