Re: [Samba] Cannot see linux machines from XP
Is the nmbd deamon started on ads1 and ads2? Can you access share when typing \\ads1\other in address bar of explorer on DRS2? yj -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Al Schapira Sent: Monday, July 25, 2011 12:29 PM To: samba@lists.samba.org Subject: [Samba] Cannot see linux machines from XP I'll try to spell out the problem as best I can. There are three computers on a LAN, ADS1, ADS2 and DRS2. ADS1 and ADS2 run samba-3.5.8-76.fc14.i686 under Fedora 14. DRS2 runs Windows XP professional, SP3. Each of them can successfully ping all the others by name. They are all in the same WORKGROUP (GAMMA5). The Fedora machines (ADS1, ADS2) can see all three machines (including the XP machine) in their Network places, and in the Windows Network, and can successfully read and write designated shared files on the all the other machines (including the XP machine). The Windows machine (DRS2) cannot even see the linux machines in its network places. (It sees only itself, DRS2 in the WORKGROUP GAMMA5) Naturally, therefore, it cannot see files on the linux machines. Where do I start to solve this? Thanks in advance for you help. -Al Here is the non-comment part of smb.conf on ADS2 [global] workgroup = gamma5 security = share idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 winbind use default domain = false winbind offline logon = false server string = Samba Server Version %v netbios name = ADS2 log file = /var/log/samba/log.%m max log size = 50 cups options = raw encrypt passwords = no guest ok = yes guest account = guest [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no printable = yes [other] path = /other read only = no guest ok = yes ... other shares, nothing else. -- 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] samba on AIX 6
Do you use ads or domain security? If not, you will be prompted for credential. Please check if root is added to Samba user database. Regards yj -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Jim Lapointe Sent: Tuesday, July 19, 2011 2:02 AM To: samba@lists.samba.org Subject: [Samba] samba on AIX 6 After installing samba on AIX 6 and setting up the shares, I am being prompted for credentials when trying to access the shares. The AIX root credentials are not working. 1) Why am I being prompted for credentials? If that is required, why is it not accepting root? Thanks in advance for any assistance. James Lapointe President - Colden Company Inc. Phone: (518) 885-2857: Office Phone: (518) 229-3962: Cell www.coldencompany.com Business Technology Solutions -- 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] Samba Share Access denied on Solaris
Check smbd log will give you useful information. Change the directory's mode to 777 to verify if the directory permission issue. Regards yj -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Moila December Sent: Tuesday, July 19, 2011 6:18 PM To: samba@lists.samba.org Subject: [Samba] Samba Share Access denied on Solaris Hi I have reinstalled the Solaris 10 server with update 9 and now runs samba 3.5.5. I can log into the share but cannot open it. It says permissions denied . I modified the permissions on OS but still face the same error. Any kind of help will be appreciated. Kind Regards Dee DISCLAIMER: This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify the system manager/sender. Any unauthorized use, alteration or dissemination is prohibited. The Department of Water Affairs and Forestry further accepts no liability whatsoever for any loss, whether it be direct, indirect or consequential, arising from this e-mail, nor for any consequence of its use or storage. -- 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] ????: Could not build Samba with ADS support on Solaris 10 [SEC=UNCLASSIFIED]
openssl_rt - Openssl runtime libraries application CSWosslutils openssl_utils - Openssl binaries and related tools application CSWperl perl - A high-level, general-purpose programming language system CSWpkggetpkg_get - CSW version of automated package download tool application CSWpkgutil pkgutil - Installs Solaris packages easily application CSWreadline readline_stub - Transitional package. Content moved to CSWlibhistory4 CSWlibhistory5 CSWlibhistory6 CSWlibreadli ... application CSWsasl sasl - Simple Authentication and Security Layer system CSWtcpwrap tcpwrappers - (ipv6.4 patched) lib and tools for pre-screening tcp connections application CSWterminfo terminfo - Database of terminal information, part of ncurses application CSWtexinfo texinfo - The GNU Documentation System application CSWunixodbc unixodbc - ODBC drivers for Unix systems application CSWzlib zlib - Zlib Data Compression Library -bash-3.00# -bash-3.00# ls -l /usr/ccs/bin/ld lrwxrwxrwx 1 root root 16 Jul 9 06:06 /usr/ccs/bin/ld - /opt/csw/bin/gld -bash-3.00# PATH=$PATH:/usr/ccs/bin:/opt/csw/bin:/opt/csw/gcc3/bin export PATH CC=/opt/csw/gcc3/bin/gcc export CC CPP=/opt/csw/gcc3/bin/cpp export CPP LD_LIBRARY_PATH=/opt/csw/lib:/opt/csw/libexec export LD_LIBRARY_PATH LD_LIBRARY_PATH=/opt/csw/lib # CPPFLAGS=-I/usr/local/include CPPFLAGS=-I/opt/csw/include -I/usr/include -I/usr/sfw/include export CPPFLAGS cd /samba-3.4.12/source3 ./configure --with-ldap --with-ads ... checking for ber_sockbuf_add_io... yes checking for LDAP_OPT_SOCKBUF... no checking for LBER_OPT_LOG_PRINT_FN... no checking for ldap_init in -lldap... yes checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 3 checking for ldap_initialize... no checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for ldap_initialize... (cached) no configure: error: Active Directory support requires ldap_initialize Regards youngjohn04 -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Wilkinson, Alex Sent: Thursday, July 07, 2011 11:03 AM To: samba@lists.samba.org Subject: Re: [Samba] : Could not build Samba with ADS support on Solaris 10 [SEC=UNCLASSIFIED] 0n Wed, Jul 06, 2011 at 11:13:54PM +0800, youngjohn04 wrote: With these environment variables set, same error appeared. To avoid using bundled ldap, I removed SUNWlldap, keep only Openldap, but this also made no difference. I also tried using Sun Studio12, failed too. Try something like: 1. Dependencies #pkg-get -i autoconf automake berkeleydb4 binutils bison common flex gcc3 gcc3core gcc3corert gcc3g++ gcc3g++rt gcc3rt ggettext gmake gnupg gnutls krb5_lib krb5_lib_dev krb5_user openldap openldap_client openldap_rt sasl zlib 2. $PATH At a minimum: /usr/sbin:/usr/bin:/usr/ccs/bin:/opt/csw/bin:/opt/csw/gcc3/bin 3. /bin/sh variables Use /bin/sh when doing the build. you then need to set the following variables: CC=gcc CPPFLAGS=-I/opt/csw/include -I/usr/include -I/usr/sfw/include LDFLAGS=-L/opt/csw/lib -L/usr/sfw/lib -R/opt/csw/lib:/usr/sfw/lib LD_LIBRARY_PATH=/opt/csw/lib export CC LDFLAGS LD_LIBRARY_PATH CPPFLAGS 4. ld(1) hack This is the only hack that hack to be done. samba likes to use GNU ld and not the native solaris linker. This is the hack you will need: #mv /usr/ccs/bin/ld /usr/ccs/bin/ld.orig #ln -s /opt/csw/bin/gld /usr/ccs/bin/ld 5. Build #./configure --prefix=/export/server_apps/SAMBA_3_0_32/ --with-ldap --with-ads --with-krb5=/opt/csw --with-winbind --with-pam --disable-cups --with-acl-support --with-krb5=/opt/csw --with-shared-modules=idmap_rid #make #make install The aforementioned recipe has worked for me many times in the past. I havent tried recently though. -Alex IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email. -- 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] Could not build Samba with ADS support on Solaris 10
I tried to build Samba with ADS support, I got error, messages are: . checking for ldap_initialize... no checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for ldap_initialize... (cached) no configure: error: Active Directory support requires ldap_initialize I installed Openldap(downloaded from sunfreeware), tried the following commands, all resulted the same. $ ./configure --with-ads $ ./configure --with-ads CPPFLAGS=-I/usr/local/include $ export CPPFLAGS=-I/usr/local/include; ./configure --with-ads Samba Version: 3.4.13 or 3.5.9, Solaris 10 Sparc or x86_64. C compiler: /usr/sfw/bin/gcc I also tried on Redhat Linux 5.5, succeeded, without error. Anyone have any idea? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] 答复: Could not build Samba with ADS support on Solaris 10
Thank you Vandal. With these environment variables set, same error appeared. To avoid using bundled ldap, I removed SUNWlldap, keep only Openldap, but this also made no difference. I also tried using Sun Studio12, failed too. Check ldap.h file: # grep ldap_initialize /usr/local/include/ldap.h ldap_init LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */ ldap_open LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */ ldap_initialize LDAP_P(( ldap_initialize really there, but it seems the configure program does not use it. Regards Youngjohn04 -邮件原件- 发件人: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] 代表 Gaiseric Vandal 发送时间: 2011年7月6日 21:35 收件人: samba@lists.samba.org 主题: Re: [Samba] Could not build Samba with ADS support on Solaris 10 Samba on Solaris can be a real challenge. Your build is probably picking up the Sun native(non-openldap) ldap libraries which is why you have ldap support but not AD support. AD support always requires kerberos but the Solaris kerberos libraries Did you set LD_LIBRARY_PATH? You may also need to set LDLFAGS LDFLAGS= -L/usr/local/lib -R/usr/local/lib -L/usr/lib -R/usr/lib LDFLAGS=-L/usr/local/samba-3.5.2/lib -R/usr/local/samba-3.5.2/lib $LDFLAGS If the compiler uses /usr/ccs/bin/ld , you will usually have have compiler failures. If /usr/sfw/bin/gcc uses a gnu ld you may have better luck. Probably the most reliable may to compile for Solaris is to use Sun Studio compilers and dmake. Sun-bundled Samba 3.0.x was compiled with sun ldap, but with some extra netscape (?) libraries. If you have an Oracle support contract you can download a Sun-provided Samba 3.5.x - and forget compiling it at all. I do not know if they used openldap or native ldap libraries. I don't know if the samba patches are included in the latest patch cluster. (I suspect so.) It would be nice to have a wiki page on samba.org for building Samba under Solaris. On 07/06/2011 08:33 AM, youngjohn04 wrote: I tried to build Samba with ADS support, I got error, messages are: . checking for ldap_initialize... no checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for ldap_initialize... (cached) no configure: error: Active Directory support requires ldap_initialize I installed Openldap(downloaded from sunfreeware), tried the following commands, all resulted the same. $ ./configure --with-ads $ ./configure --with-ads CPPFLAGS=-I/usr/local/include $ export CPPFLAGS=-I/usr/local/include; ./configure --with-ads Samba Version: 3.4.13 or 3.5.9, Solaris 10 Sparc or x86_64. C compiler: /usr/sfw/bin/gcc I also tried on Redhat Linux 5.5, succeeded, without error. Anyone have any idea? -- 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] Problem using smbusers with samba 3.5.8.1 on AIX 5.2 TL11SP1 system
Did you specify username map = option in your smb.conf file? -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of GALVAN, Jean-Pierre Sent: Wednesday, July 06, 2011 10:22 PM To: samba@lists.samba.org Subject: [Samba] Problem using smbusers with samba 3.5.8.1 on AIX 5.2 TL11SP1 system Hello. I don't know if you're the person who can help me. I've got a problem with Samba 3.5.8.1 on a AIX 5.3 TL11SP1 machine. I installed and configured Samba. It worked fine. I use a DOMAIN member security mode. The join into our domain worked well. Any users from a Windows computer is able to access to the AIX machine. But the only problem I have is this one : - The use of smbusers file is not working : when I try to specify an other unix account for a windows user, the Windows computer sees the original account. - = It is just as if smbusers file was not used ... Can you help me on this ? Thank you in advance. Best regards. Jean-Pierre GALVAN. -- 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