[K12OSN] SMBLDAP script with Fedora Core 4?
John Baillie
jbaillie at stmarys-school.org
Fri Jul 8 02:36:08 UTC 2005
Just out of curiosity what type of file system is the secrets.tdb file
sitting on?
On Thu, 2005-07-07 at 21:48 -0400, Dave Hopkins wrote:
> John,
>
> I could deploy on FC3, but I (foolishly?) thought that FC4 wouldn't be
> such an issue. Also, with K12TLSP moving to FC4, I was trying to get
> just a little ahead of the curve on this particular server since I hope
> to push the other 3 k12ltsp servers to fc4 in August. But ... this is
> the price I guess. Anyhow, just re-installed again and will try the
> alpha smbldap-installer script. It is something to do with the silly
> secrets.tdb file not being accessed correctly. LDAP starts and is
> working, just Samba isn't quite there.
>
> Dave ....
>
>
> John Baillie wrote:
>
> >Dave,
> >
> >Just to add my .02 -
> >
> >Back before Matt and David Trask automated the process I spent quite a
> >bit of time messing around with smb/ldap. I was working off the docs on
> >idealx. After a few failures and total reinstalls (I wanted to be back
> >on solid ground) I made careful notes of all files and/or dirs
> >associated with smb/ldap and renamed them incrementing by 1 along the
> >way with each iteration. That way I knew I was dealing with fresh files
> >(without reinstalling the OS) with each new trial I had the old ones to
> >refer back to. I got everything working in a test environment but put
> >off the project for production environment for this summer.
> >
> >Just curious, why not deploy on FC3 (which has already proved it's self)
> >on existing known good hardware?
> >
> >John
> >
> >
> >
> >
> >On Thu, 2005-07-07 at 21:12 +0000, dahopkins at comcast.net wrote:
> >
> >
> >>Chuck,
> >>
> >>Unfortunately, the state firewall blocks any/all chat from the school and I can't figure out how to route the chat through the proxy. I tried the smbpasswd -w somethingnew late last night, but it didn't change anything (p.s. do not use an & in the password, the shell screws it up unless you also esc it with \ )
> >>
> >>I can get on the chat channel at home and will try to do so. This means hauling the server to my house, reconfiguring my home network a little but que sera at this point. takes about 1/2 hour to shut it down, lug it to the car, ....
> >>
> >>Dave ...
> >>
> >>
> >>
> >>
> >>>Dave: can you do xchat on freenode.net #ltsp where you can pastebot your
> >>>configs and stuff...you are Very close..chuck
> >>>
> >>>
> >>>
> >>>
> >>>>Matt,
> >>>>
> >>>>Thanks, late last night I caught the _ vs - change ... but ..... the
> >>>>
> >>>>
> >>>installer now
> >>>completes (I also removed the k12ltsp rpm requirement) and ... samba will
> >>>not start. I am
> >>>getting an error as shown below. I am now officially at wits end. I need
> >>>to get this
> >>>server online and working to replace the existing LDAP server (which is
> >>>samba 2.x based).
> >>>The new system is dual opteron (64 bit) and I am discovering that this may
> >>>not be such a
> >>>good thing. ;)
> >>>
> >>>
> >>>>>From /var/log/samba/log.smbd
> >>>>
> >>>>[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
> >>>> Failed to open /etc/samba/secrets.tdb
> >>>>[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
> >>>> Failed to open /etc/samba/secrets.tdb
> >>>>[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
> >>>> Failed to open /etc/samba/secrets.tdb
> >>>>[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
> >>>> Failed to open /etc/samba/secrets.tdb
> >>>>[2005/07/07 16:12:18, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >>>> pdb_generate_sam_sid: Failed to store generated machine SID.
> >>>>[2005/07/07 16:12:18, 0] lib/util.c:smb_panic2(1517)
> >>>> PANIC: Could not generate a machine SID
> >>>>
> >>>>[2005/07/07 16:12:18, 0] lib/util.c:smb_panic2(1525)
> >>>> BACKTRACE: 6 stack frames:
> >>>> #0 smbd(smb_panic2+0x6d) [0x5555556ee8e0]
> >>>> #1 smbd(get_global_sam_sid+0x2a4) [0x5555556b1a44]
> >>>> #2 smbd(init_guest_info+0x4e) [0x55555572b239]
> >>>> #3 smbd(main+0x222) [0x55555575d5d6]
> >>>> #4 /lib64/libc.so.6(__libc_start_main+0xdc) [0x2aaaac0e24cc]
> >>>> #5 smbd [0x5555555a3989]
> >>>>
> >>>>I am clueless on what is happening at this point. I went through the
> >>>>
> >>>>
> >>>detailed
> >>>instructions (did not use the sbmldap-installer) and end up at the same
> >>>point with the
> >>>same errors.
> >>>
> >>>
> >>>>I am now up to the point of manually building samba from source, and
> >>>>
> >>>>
> >>>don't know what
> >>>directories to use (it appears that the rpm's do not use the default
> >>>directories).
> >>>
> >>>
> >>>>Aaaarrrrrgghhhh!!!!! I have 36 hours before I have to leave for a few
> >>>>
> >>>>
> >>>weeks (medical
> >>>issue) and this? It is looking like August is going to be very, very
> >>>rough. Then again,
> >>>perhaps I will magically find the solution 'real soon' (like installing a
> >>>32-bit version
> >>>of Fedora core 4 on my opteron system)
> >>>
> >>>
> >>>>Sincerely,
> >>>>Dave Hopkins
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>_______________________________________________
> >>>>>K12OSN mailing list
> >>>>>K12OSN at redhat.com
> >>>>>https://www.redhat.com/mailman/listinfo/k12osn
> >>>>>
> >>>>>
> >>>>For more info see <http://www.k12os.org>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------
> >>>This message was sent from Downeast.Net.
> >>>http://ellsworthme.com/
> >>>
> >>>
> >>>_______________________________________________
> >>>K12OSN mailing list
> >>>K12OSN at redhat.com
> >>>https://www.redhat.com/mailman/listinfo/k12osn
> >>>For more info see <http://www.k12os.org>
> >>>
> >>>
> >>_______________________________________________
> >>K12OSN mailing list
> >>K12OSN at redhat.com
> >>https://www.redhat.com/mailman/listinfo/k12osn
> >>For more info see <http://www.k12os.org>
> >>
> >>
> >>
> >
> >_______________________________________________
> >K12OSN mailing list
> >K12OSN at redhat.com
> >https://www.redhat.com/mailman/listinfo/k12osn
> >For more info see <http://www.k12os.org>
> >
> >
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
More information about the K12OSN
mailing list