[K12OSN] SMBLDAP script with Fedora Core 4?

Dave Hopkins dahopkins at comcast.net
Fri Jul 8 05:43:04 UTC 2005


Matt,

I tried the alpha release of the script (using make all). But ... I had 
to add the following rpms for a fc4 release.

perl-Jcode-0.83-0.2.fc4.rf.i386.rpm
perl-Convert-BER-1.31.01-1.2.fc4.rf.noarch.rpm
perl-Unicode-Map-0.112-0.2.fc4.rf.i386.rpm

It then added the other missing rpms from included files, and appears to 
have successfully started.ldap, smbd, nmbd, nscd.  In fact, when I 
edited the smb.conf, ldap.conf, and slapd.conf files to try and 'fix' 
the authentication problem, re-running the script was able to correct 
the issue.  Still do not know why smbpasswd -w some_password and then 
making all the changes in all the conf files doesn't work, but .... que 
sera.

Now I just need to get webmin working so that I can add accounts (which 
can currently see the database, but can't add anything due to some 
authentication issue), or phpldapadmin (which can access the ldap 
server, and authenticates, but fails on adding accounts due to 
ObjectClass violation)  Also tried importing an ldif dump from the 
existing ldap server, but ... same ObjectClass error (even after running 
the convertSambaAccount script)

Still, some progress.

Dave Hopkins


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>
>
>  
>




More information about the K12OSN mailing list