[Samba] Idmap probs with smb3beta

John H Terpstra jht at samba.org
Wed Jun 11 04:10:41 GMT 2003


On Tue, 10 Jun 2003, Collen wrote:

> Well just trying to get the new beta working..
>
> if i use the passwd plain text file, no probs.
> but i realy like to use the tdbsam (passdb.tdb) file..
> i put passdb backend = tdbsam:/path to passdb.tdb

Try:

	passdb backend = tdbsam, guest

The 'guest' is necessary.

> now my error log complains about: Idmap gid range missing & uid range missing.

In your smb.conf [globals] add:

	idmap uid = 10000-15000
	idmap gid = 10000-15000

That should solve that error message.

> i mapped the ntdomain groups to unix groups..

Good.

>
> also i get these same errors using pdbedit...

Before you use pdbedit do:

	smbpasswd -a root

That should work.

>
> second and more problematic is that, as soon as i use tdbsam the domain
> goes down, can't look around, no server in the list...

You need the guest account handler above.

> so how can i map these missing gid & uid ranges.. ??

That's answered above too.

> i thought you mapped your id's through the 'net command'  and with pdbedit ?

You can map your groups using:

	net groupmap ...

> Got some tips ?

Yep! Hope they help.

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list