[Samba] Provision script fails with Samba4 (latest git version)

2010-02-09 Thread James Ray
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

All,
I'm trying to get samba4 to provision with the latest git version. My
provision command looks like so:
# ./setup/provision --realm=TEST.DOMAIN --domain=DOMAIN --adminpass=pass
- --server-role='domain controller' --ldap-backend-type=openldap
- --slapd-path=/usr/sbin/slapd

I get the following output from the command:
hdb_db_open: database cn=Schema,cn=Configuration,dc=test,dc=domain:
db_open(/usr/local/samba4/private/ldap/db/schema/id2entry.bdb) failed:
No such file or directory (2).
backend_startup_one (type=hdb,
suffix=cn=Schema,cn=Configuration,dc=test,dc=domain): bi_db_open
failed! (2)
slap_startup failed (test would succeed using the -u switch)
Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fusr%2Flocal%2Fsamba4%2Fprivate%2Fldap%2Fldapi'
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=test,DC=domain
pdc_fsmo_init: no domain object present: (skip loading of domain details)

Traceback (most recent call last):
  File ./setup/provision, line 244, in module
nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
  File bin/python/samba/provision.py, line 1301, in provision
dom_for_fun_level=dom_for_fun_level)
  File bin/python/samba/provision.py, line 945, in setup_samdb
SAMBA_VERSION_STRING: version
  File bin/python/samba/provision.py, line 260, in setup_modify_ldif
ldb.modify_ldif(data)
  File bin/python/samba/__init__.py, line 261, in modify_ldif
self.modify(msg, controls)
_ldb.LdbError: (1, 'LDAP client internal error: NT_STATUS_INTERNAL_ERROR')
A transaction is still active in ldb context [0x42f1450] on
/usr/local/samba4/private/secrets.ldb

Any one with any ideas on where I progress from here with this? I seem
to have come to a road block.

Thanks for any help you can provide.

- --
James Ray. j@qmul.ac.uk
Computing Services   (http://pub.tsn.dk/how-to-quote.php)
Queen Mary, University of London
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktxLvgACgkQcGHKt+AwrtjkZgCgjmqOJ5GH/Myi/siTlx+1hbNE
m3IAniZmq2vxv98P8OxMcunlWj6jTnFS
=GNAH
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba with LDAP Intergration

2007-04-16 Thread James Ray

All,
I am trying to work out if the current setup is possible:
I would like to have Samba running to authenticate shares for /home 
directories running under FC6. All of my users are posixAccount's in an 
LDAP Directory.


I would like to use this information to authenticate these shares but 
without making any changes to the LDAP Directory itself (so including no 
new objects or schema changes).


Is there any way to do this? All my previous attempts have led to the 
Samba server doing a search on objectClass=sambaSamAccount which I of 
course would rather not have. Is it just possible to use the standard 
password attribute for authentication? Does anyone have a sample setup 
of such a situation?


Thanks for any help and let me know if you require any further information.

--
James Ray.  [EMAIL PROTECTED]
Computing Services
Queen Mary, University of London
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba