Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
You really shouldn't bother trying to compile Samba by hand. If you want Samba 3.4, get this: http://ftp.sernet.de/pub/samba/3.4/rhel/6/x86_64/ On 07/13/2012 03:51 AM, Jonathan Buzzard wrote: On 13/07/12 02:36, Heather Choi wrote: How is Samba 3.6 against ADS broken? I have Samba 3.6.6 on SL6.2 with ADS and it's running great... In general it is in my belief not broken, and even the generic Samba packages that come with RHEL 6.2 and it's rebuilds work for me against our 2008R2 AD. What I would say is that this bit of Samba configuration is poorly documented and seems to keep changing between releases, so a working config on 3.5 is bust on 3.6 etc. Trying to compile 3.4.8 on anything is a really retrograde step anyway given that you will be making your box open to a remote root compromise... JAB. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
Too late to save grief, I've been grieving on this for weeks now. I'm rolling back to 3.4.8 because I heard from several sources that idmap against AD has broken at some point since then. I'd obviously prefer to install 3.4.8 from an RPM or (even better) a yum repository somewhere but can't seem to find any for this distro and/or version. I haven't heard from anywhere that the idmap --> ad problem is fixed in 3.6. Is it? If so, I'd be happy to try that instead. I confess I'm unfamiliar with how to use RPM's to install the source and then compile from there. Install the RPM and then from some newly created source folder I ./configure / make / make install / etc? >From the github link below, how do I get an actual rpm file to install? Can anyone point me toward a howto? Or I could get the "plain" source tarball from samba.org for some later version (that's where I'm getting 3.4.8). But it seems likely I'll have the same trouble with the daemon not starting. Or can anyone answer my actual question? For example, how to get logging working so I can get some clues on why the binary fails to start? Hope to hear from you. Randy -Original Message- From: Nico Kadel-Garcia [mailto:nka...@gmail.com] Sent: Tuesday, July 10, 2012 6:07 PM To: Randy Rue Cc: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On Tue, Jul 10, 2012 at 7:32 PM, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several > sources that idmap has seen some serious changes since 3.5 and decided > to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. > I'd like to see if it has the same problems. Save yourself some grief. Either go to www.samba.org for a more recent version, or look at: https://github.com/nkadel/samba-3.6.4-srpm for some useful and very buildable tools for a more recent release. > > Installed a clean build of CentOS_6.2. Stopped the samba service, > removed the package using yum and excluded samba* from yum updates in /etc/yum.conf. > > Downloaded and extracted the 3.4.8 tarball. > > cd into samba-3.../source3 and ran: > > the autoconfig.sh script > ./configure > make > make install > > copied the smb.init script from the packaging/RHEL/setup folder to > /etc/init.d and made it executable chkconfig --add smb chkconfig smb > on > > > service smb start fails. Tries to start both smbd and nmbd and both fail. > > First I get errors about libraries. > copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 > fixed that one > > Then I get errors about not finding the binaries linked > /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one This > feels like a hack. I also tried adding /usr/local/samba/sbin to the > path. Also a hack but made no difference. > > > Now if I try service smb start (or restart) I get failures from the > init script. > > Or I can try smbd directly and I get no response (it appears to start) > but "ps" shows that it didn't start. > > I've turned debug level and log level up to 3 in smb.conf (tried both > arguments) but I get nothing in /var/log/syslog and nothing in any > file in /var/log/samba when I try to start it. > > Forgive the anecdotal tone of the above, I'm working mostly from > memory and have probably garbled a path or file name. Then again, I've > been through these steps six or more times now. > > Am I missing something obvious? > > Hope to hear from you, > > Randy > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
On 13/07/12 02:36, Heather Choi wrote: How is Samba 3.6 against ADS broken? I have Samba 3.6.6 on SL6.2 with ADS and it's running great... In general it is in my belief not broken, and even the generic Samba packages that come with RHEL 6.2 and it's rebuilds work for me against our 2008R2 AD. What I would say is that this bit of Samba configuration is poorly documented and seems to keep changing between releases, so a working config on 3.5 is bust on 3.6 etc. Trying to compile 3.4.8 on anything is a really retrograde step anyway given that you will be making your box open to a remote root compromise... JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
How is Samba 3.6 against ADS broken? I have Samba 3.6.6 on SL6.2 with ADS and it's running great... In fact on my Windows 7 laptop, with my SSH client, I can SSH in with kerberos, no password entering is needed. :-)Same with Linux to Linux. If you really have to install Samba 3.4 against CentOS 6.2, install these: http://ftp.sernet.de/pub/samba/3.4/rhel/6/x86_64/ But you really should at least try to stick with Samba 3.6, and get your configuration file correct. On 07/11/2012 10:46 PM, Denis Fateyev wrote: Hello there, In general, you may save efforts using precompiled binaries from the SerNet team. For example: http://ftp.sernet.de/pub/samba/3.6/rhel/6/x86_64/ --- wbr, Denis. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
>From the same source as the 3.6 rpms I've installed 3.4.17. It works, almost. I can log in using an AD account, and the user has a UID matching the AD Unix Attribute UID and a GID matching that of the Unix Attributes Primary Group. The only weird part is that on login I get an error "id: cannot find name for group ID ," that is, the GID doesn't resolve to the AD name of the Primary Group. If I enter "id" my uid (same as my emplid) and my ad alias, and the numerical gid but no matching name. Then when it lists my group memberships, it lists the primary group first (by gid only) and then the rest of my AD groups including gid and ad name. Progress. And this would seem to support that idmap backend = ad is broken. Any guidance on resolving the group name? Randy -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Denis Fateyev Sent: Thursday, July 12, 2012 11:32 AM To: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 You would better consult the Samba Core Team about this particular issue. Maybe that feature is broken in recent releases. --- wbr, Denis. On Thu, Jul 12, 2012 at 11:40 PM, Randy Rue wrote: > With help from members here I've successfully installed 3.6.6 to a > test machine and reproduced the same problem as with 3.5. So now I'm > back to trying to install 3.4.8 to see if the problem exists there. > > Any guidance on a failure for the compiled binaries to launch with no > clues in any log? > > Or a pointer toward rpms for 3.4.8 and CentOS_6? > > Randy > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
You would better consult the Samba Core Team about this particular issue. Maybe that feature is broken in recent releases. --- wbr, Denis. On Thu, Jul 12, 2012 at 11:40 PM, Randy Rue wrote: > With help from members here I've successfully installed 3.6.6 to a test > machine and reproduced the same problem as with 3.5. So now I'm back to > trying to install 3.4.8 to see if the problem exists there. > > Any guidance on a failure for the compiled binaries to launch with no clues > in any log? > > Or a pointer toward rpms for 3.4.8 and CentOS_6? > > Randy > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
With help from members here I've successfully installed 3.6.6 to a test machine and reproduced the same problem as with 3.5. So now I'm back to trying to install 3.4.8 to see if the problem exists there. Any guidance on a failure for the compiled binaries to launch with no clues in any log? Or a pointer toward rpms for 3.4.8 and CentOS_6? Randy -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Randy Rue Sent: Wednesday, July 11, 2012 2:38 PM To: samba@lists.samba.org Subject: [Samba] compiling samba 3.4.8 on CentOS_6.2 Too late to save grief, I've been grieving on this for weeks now. I'm rolling back to 3.4.8 because I heard from several sources that idmap against AD has broken at some point since then. I'd obviously prefer to install 3.4.8 from an RPM or (even better) a yum repository somewhere but can't seem to find any for this distro and/or version. I haven't heard from anywhere that the idmap --> ad problem is fixed in 3.6. Is it? If so, I'd be happy to try that instead. I confess I'm unfamiliar with how to use RPM's to install the source and then compile from there. Install the RPM and then from some newly created source folder I ./configure / make / make install / etc? >From the github link below, how do I get an actual rpm file to install? Can anyone point me toward a howto? Or I could get the "plain" source tarball from samba.org for some later version (that's where I'm getting 3.4.8). But it seems likely I'll have the same trouble with the daemon not starting. Or can anyone answer my actual question? For example, how to get logging working so I can get some clues on why the binary fails to start? Hope to hear from you. Randy -Original Message- From: Nico Kadel-Garcia [mailto:nka...@gmail.com] Sent: Tuesday, July 10, 2012 6:07 PM To: Randy Rue Cc: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On Tue, Jul 10, 2012 at 7:32 PM, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several > sources that idmap has seen some serious changes since 3.5 and decided > to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. > I'd like to see if it has the same problems. Save yourself some grief. Either go to www.samba.org for a more recent version, or look at: https://github.com/nkadel/samba-3.6.4-srpm for some useful and very buildable tools for a more recent release. > > Installed a clean build of CentOS_6.2. Stopped the samba service, > removed the package using yum and excluded samba* from yum updates in /etc/yum.conf. > > Downloaded and extracted the 3.4.8 tarball. > > cd into samba-3.../source3 and ran: > > the autoconfig.sh script > ./configure > make > make install > > copied the smb.init script from the packaging/RHEL/setup folder to > /etc/init.d and made it executable chkconfig --add smb chkconfig smb > on > > > service smb start fails. Tries to start both smbd and nmbd and both fail. > > First I get errors about libraries. > copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 > fixed that one > > Then I get errors about not finding the binaries linked > /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one This > feels like a hack. I also tried adding /usr/local/samba/sbin to the > path. Also a hack but made no difference. > > > Now if I try service smb start (or restart) I get failures from the > init script. > > Or I can try smbd directly and I get no response (it appears to start) > but "ps" shows that it didn't start. > > I've turned debug level and log level up to 3 in smb.conf (tried both > arguments) but I get nothing in /var/log/syslog and nothing in any > file in /var/log/samba when I try to start it. > > Forgive the anecdotal tone of the above, I'm working mostly from > memory and have probably garbled a path or file name. Then again, I've > been through these steps six or more times now. > > Am I missing something obvious? > > Hope to hear from you, > > Randy > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
I have been using them on servers, so there are no KDE/Gnome specific stuff there. They work fine, although I haven't tested them in GUI environment. Probably, samba packages could be uninstalled with `--nodeps` flag and then replaced with the SerNet ones. Anyway, rebuilding yourself from SRPMS and installing, or compiling from source you impact on your system the same way. --- wbr, Denis. On Thu, Jul 12, 2012 at 10:06 PM, Randy Rue wrote: > It looks like to install these rpm's I first need to use yum to remove > all samba-related packages and a bunch of KDE and gnome stuff, is there a > way to make this work without gutting too much of the rest of the OS? > > ** ** > > Randy > > ** ** > > *From:* Denis Fateyev [mailto:de...@fateyev.com] > *Sent:* Wednesday, July 11, 2012 8:47 PM > > *To:* Randy Rue > *Cc:* samba@lists.samba.org > *Subject:* Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 > > ** ** > > Hello there, > > > In general, you may save efforts using precompiled binaries from the > SerNet team. > For example: http://ftp.sernet.de/pub/samba/3.6/rhel/6/x86_64/ > > --- > wbr, Denis. > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
Hello there, In general, you may save efforts using precompiled binaries from the SerNet team. For example: http://ftp.sernet.de/pub/samba/3.6/rhel/6/x86_64/ --- wbr, Denis. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
FWIW, I've just run the same compile steps against 3.6.6 with the same results. Had to copy the libtalloc.so.1 file and link the binaries to /sbin and now trying to start the daemon from the init.d script fails and directly launching smbd returns no error but ps aux shows it's not running. debug level is 3 and nothing appears in syslog or any of the /var/log/samba/ files Anyone have any guidance on getting a compiled tarball to run? -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Randy Rue Sent: Wednesday, July 11, 2012 2:38 PM To: samba@lists.samba.org Subject: [Samba] compiling samba 3.4.8 on CentOS_6.2 Too late to save grief, I've been grieving on this for weeks now. I'm rolling back to 3.4.8 because I heard from several sources that idmap against AD has broken at some point since then. I'd obviously prefer to install 3.4.8 from an RPM or (even better) a yum repository somewhere but can't seem to find any for this distro and/or version. I haven't heard from anywhere that the idmap --> ad problem is fixed in 3.6. Is it? If so, I'd be happy to try that instead. I confess I'm unfamiliar with how to use RPM's to install the source and then compile from there. Install the RPM and then from some newly created source folder I ./configure / make / make install / etc? >From the github link below, how do I get an actual rpm file to install? Can anyone point me toward a howto? Or I could get the "plain" source tarball from samba.org for some later version (that's where I'm getting 3.4.8). But it seems likely I'll have the same trouble with the daemon not starting. Or can anyone answer my actual question? For example, how to get logging working so I can get some clues on why the binary fails to start? Hope to hear from you. Randy -Original Message- From: Nico Kadel-Garcia [mailto:nka...@gmail.com] Sent: Tuesday, July 10, 2012 6:07 PM To: Randy Rue Cc: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On Tue, Jul 10, 2012 at 7:32 PM, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several > sources that idmap has seen some serious changes since 3.5 and decided > to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. > I'd like to see if it has the same problems. Save yourself some grief. Either go to www.samba.org for a more recent version, or look at: https://github.com/nkadel/samba-3.6.4-srpm for some useful and very buildable tools for a more recent release. > > Installed a clean build of CentOS_6.2. Stopped the samba service, > removed the package using yum and excluded samba* from yum updates in /etc/yum.conf. > > Downloaded and extracted the 3.4.8 tarball. > > cd into samba-3.../source3 and ran: > > the autoconfig.sh script > ./configure > make > make install > > copied the smb.init script from the packaging/RHEL/setup folder to > /etc/init.d and made it executable chkconfig --add smb chkconfig smb > on > > > service smb start fails. Tries to start both smbd and nmbd and both fail. > > First I get errors about libraries. > copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 > fixed that one > > Then I get errors about not finding the binaries linked > /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one This > feels like a hack. I also tried adding /usr/local/samba/sbin to the > path. Also a hack but made no difference. > > > Now if I try service smb start (or restart) I get failures from the > init script. > > Or I can try smbd directly and I get no response (it appears to start) > but "ps" shows that it didn't start. > > I've turned debug level and log level up to 3 in smb.conf (tried both > arguments) but I get nothing in /var/log/syslog and nothing in any > file in /var/log/samba when I try to start it. > > Forgive the anecdotal tone of the above, I'm working mostly from > memory and have probably garbled a path or file name. Then again, I've > been through these steps six or more times now. > > Am I missing something obvious? > > Hope to hear from you, > > Randy > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] compiling samba 3.4.8 on CentOS_6.2
Too late to save grief, I've been grieving on this for weeks now. I'm rolling back to 3.4.8 because I heard from several sources that idmap against AD has broken at some point since then. I'd obviously prefer to install 3.4.8 from an RPM or (even better) a yum repository somewhere but can't seem to find any for this distro and/or version. I haven't heard from anywhere that the idmap --> ad problem is fixed in 3.6. Is it? If so, I'd be happy to try that instead. I confess I'm unfamiliar with how to use RPM's to install the source and then compile from there. Install the RPM and then from some newly created source folder I ./configure / make / make install / etc? >From the github link below, how do I get an actual rpm file to install? Can anyone point me toward a howto? Or I could get the "plain" source tarball from samba.org for some later version (that's where I'm getting 3.4.8). But it seems likely I'll have the same trouble with the daemon not starting. Or can anyone answer my actual question? For example, how to get logging working so I can get some clues on why the binary fails to start? Hope to hear from you. Randy -Original Message- From: Nico Kadel-Garcia [mailto:nka...@gmail.com] Sent: Tuesday, July 10, 2012 6:07 PM To: Randy Rue Cc: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On Tue, Jul 10, 2012 at 7:32 PM, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several > sources that idmap has seen some serious changes since 3.5 and decided > to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. > I'd like to see if it has the same problems. Save yourself some grief. Either go to www.samba.org for a more recent version, or look at: https://github.com/nkadel/samba-3.6.4-srpm for some useful and very buildable tools for a more recent release. > > Installed a clean build of CentOS_6.2. Stopped the samba service, > removed the package using yum and excluded samba* from yum updates in /etc/yum.conf. > > Downloaded and extracted the 3.4.8 tarball. > > cd into samba-3.../source3 and ran: > > the autoconfig.sh script > ./configure > make > make install > > copied the smb.init script from the packaging/RHEL/setup folder to > /etc/init.d and made it executable chkconfig --add smb chkconfig smb > on > > > service smb start fails. Tries to start both smbd and nmbd and both fail. > > First I get errors about libraries. > copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 > fixed that one > > Then I get errors about not finding the binaries linked > /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one This > feels like a hack. I also tried adding /usr/local/samba/sbin to the > path. Also a hack but made no difference. > > > Now if I try service smb start (or restart) I get failures from the > init script. > > Or I can try smbd directly and I get no response (it appears to start) > but "ps" shows that it didn't start. > > I've turned debug level and log level up to 3 in smb.conf (tried both > arguments) but I get nothing in /var/log/syslog and nothing in any > file in /var/log/samba when I try to start it. > > Forgive the anecdotal tone of the above, I'm working mostly from > memory and have probably garbled a path or file name. Then again, I've > been through these steps six or more times now. > > Am I missing something obvious? > > Hope to hear from you, > > Randy > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
Jonathan, I appreciate the help you've given but you and I are having fundamentally different experiences with 3.5. I've tried everything you've suggested, as well as a bunch of conflicting suggestions from others, with no success. I've narrowed the problem down to the idmap --> ad settings in smb.conf and the best information I have right now suggests that something went wonky in the app sometime after 3.4.8. So right now my immediate objective is to get 3.4.8 running and see if the problem still occurs. A particular help would be at least getting some error in syslog or the samba logs to find out why the binary won't start. Randy -Original Message- From: Jonathan Buzzard [mailto:jonat...@buzzard.me.uk] Sent: Wednesday, July 11, 2012 1:29 AM To: Randy Rue Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On 11/07/12 00:32, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several > sources that idmap has seen some serious changes since 3.5 and decided > to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. > I'd like to see if it has the same problems. Why, it works just fine at least with the packages in CentOS 6.2. I cannot speak for CentOS 6.3 because it is just out, but I very much doubt it has broken it. JAB. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] compiling samba 3.4.8 on CentOS_6.2
On Tue, Jul 10, 2012 at 7:32 PM, Randy Rue wrote: > Hello All. > > Been trying without avail to make idmap work with my AD so I can get "real" > UID/GID for SSH logins on a CentOS_6 box. Have heard from several sources > that idmap has seen some serious changes since 3.5 and decided to roll back > from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. I'd like to see if > it has the same problems. Save yourself some grief. Either go to www.samba.org for a more recent version, or look at: https://github.com/nkadel/samba-3.6.4-srpm for some useful and very buildable tools for a more recent release. > > Installed a clean build of CentOS_6.2. Stopped the samba service, removed > the package using yum and excluded samba* from yum updates in /etc/yum.conf. > > Downloaded and extracted the 3.4.8 tarball. > > cd into samba-3.../source3 and ran: > > the autoconfig.sh script > ./configure > make > make install > > copied the smb.init script from the packaging/RHEL/setup folder to > /etc/init.d and made it executable > chkconfig --add smb > chkconfig smb on > > > service smb start fails. Tries to start both smbd and nmbd and both fail. > > First I get errors about libraries. > copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 > fixed that one > > Then I get errors about not finding the binaries > linked /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one > This feels like a hack. I also tried adding /usr/local/samba/sbin to the > path. Also a hack but made no difference. > > > Now if I try service smb start (or restart) I get failures from the init > script. > > Or I can try smbd directly and I get no response (it appears to start) but > "ps" shows that it didn't start. > > I've turned debug level and log level up to 3 in smb.conf (tried both > arguments) but I get nothing in /var/log/syslog and nothing in any file in > /var/log/samba when I try to start it. > > Forgive the anecdotal tone of the above, I'm working mostly from memory and > have probably garbled a path or file name. Then again, I've been through > these steps six or more times now. > > Am I missing something obvious? > > Hope to hear from you, > > Randy > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] compiling samba 3.4.8 on CentOS_6.2
Hello All. Been trying without avail to make idmap work with my AD so I can get "real" UID/GID for SSH logins on a CentOS_6 box. Have heard from several sources that idmap has seen some serious changes since 3.5 and decided to roll back from the "stock" 3.5 that comes with CentOS_6 to 3.4.8. I'd like to see if it has the same problems. Installed a clean build of CentOS_6.2. Stopped the samba service, removed the package using yum and excluded samba* from yum updates in /etc/yum.conf. Downloaded and extracted the 3.4.8 tarball. cd into samba-3.../source3 and ran: the autoconfig.sh script ./configure make make install copied the smb.init script from the packaging/RHEL/setup folder to /etc/init.d and made it executable chkconfig --add smb chkconfig smb on service smb start fails. Tries to start both smbd and nmbd and both fail. First I get errors about libraries. copied the libtalloc.so.1 file from /usr/local/samba/lib to /usr/lib64 fixed that one Then I get errors about not finding the binaries linked /usr/local/samba/sbin/smbd and nmbd to /sbin and fixed that one This feels like a hack. I also tried adding /usr/local/samba/sbin to the path. Also a hack but made no difference. Now if I try service smb start (or restart) I get failures from the init script. Or I can try smbd directly and I get no response (it appears to start) but "ps" shows that it didn't start. I've turned debug level and log level up to 3 in smb.conf (tried both arguments) but I get nothing in /var/log/syslog and nothing in any file in /var/log/samba when I try to start it. Forgive the anecdotal tone of the above, I'm working mostly from memory and have probably garbled a path or file name. Then again, I've been through these steps six or more times now. Am I missing something obvious? Hope to hear from you, Randy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba