[Samba] cannot add new machines to domain - Stumped
Rubin Bennett
rbennett at thatitguy.com
Fri May 30 12:56:09 GMT 2008
On Fri, 2008-05-30 at 08:19 +0200, David Böhm wrote:
> > No prob :) It didn't show up because it's a default value in later
> > versions of Samba and as I recall, testparm only outputs non-defaults.
> > I'm sure we'll get this, although I have to be honest and tell you I
> > haven't used LDAP (yet) as a backend.
> >
> > If you run the add machine script as root on the server, does it work
> > correctly?
> >
> > Rubin
> >
>
> Yes the script works fine. The machine will be created in ldap but
> without any samba attributes (no sid,..).
>
> I also allready tried just to comment the parameter "algorithmic rid
> base = 5000". But if i do that samba doesn't start anymore. The log
> reportes, that i changed that parameter and after that core dump:
>
> [2008/05/28 09:55:03, 0] passdb/pdb_ldap.c:pdb_init_ldapsam(5733)
> The value of 'algorithmic RID base' has changed since the LDAP
> database was initialised. Aborting.
> [2008/05/28 09:55:03, 0] passdb/pdb_interface.c:make_pdb_method_name(146)
> pdb backend ldapsam:ldap://localhost:389 did not correctly init
> (error was NT_STATUS_UNSUCCESSFUL)
> [2008/05/28 09:55:03, 0] lib/util.c:smb_panic(1632)
> PANIC (pid 7067): pdb_get_methods_reload: failed to get pdb methods
> for backend ldapsam:ldap://localhost:389
>
> [2008/05/28 09:55:03, 0] lib/util.c:log_stack_trace(1736)
> BACKTRACE: 7 stack frames:
> #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x55555578186c]
> #1 /usr/sbin/smbd(smb_panic+0x43) [0x555555781953]
> #2 /usr/sbin/smbd [0x55555573c815]
> #3 /usr/sbin/smbd(initialize_password_db+0x9) [0x55555573c849]
> #4 /usr/sbin/smbd(main+0x59b) [0x5555558369ab]
> #5 /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b0c8832db54]
> #6 /usr/sbin/smbd [0x5555555c6259]
> [2008/05/28 09:55:03, 0] lib/fault.c:dump_core(181)
> dumping core in /var/log/samba/cores/smbd
> [2008/05/28 09:55:54, 1] smbd/service.c:make_connection_snum(1033)
>
>
> Btw, it don't realy know why need this parameter. I thought the
> association between UID and SID happends in ldap.
>
> Thx
>
> - David
>
>
Unfortunately at this point you've gone beyone my experience with Samba
running against an LDAP backend. Does anyone else out there have advice
for David?
Thanks
Rubin
--
Rubin Bennett
RB Technologies
http://thatitguy.com
rbennett at thatitguy.com
(802)223-4448
"They that can give up essential liberty to obtain a little
temporary security deserve neither liberty nor safety"
--Benjamin Franklin, Historical Review of Pennsylvania, 1759
More information about the samba
mailing list