[Samba] Question
Can I use Samba to transfer a image folder from Windows to Linux via usb flash drive? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Testing samba4 ( alfa11 ) from Cebtos6 rpm
Hello #On Centos6 I did : yum install samba4 #But I do not see any binaries , scripts , etc [root@dcmsc /]# find / -iname *samba* /etc/selinux/targeted/modules/active/modules/sambagui.pp /etc/selinux/targeted/modules/active/modules/samba.pp /var/lib/yum/yumdb/s/8524e45e3662af1bd68b7947df895eacaeeaa342-samba4-4.0.0-23.alpha11.el6-x86_64 /usr/share/man/ru/man8/samba_selinux.8.gz /usr/share/man/man8/samba_selinux.8.gz /usr/share/selinux/devel/include/apps/sambagui.if /usr/share/selinux/devel/include/services/samba.if /usr/share/selinux/targeted/sambagui.pp.bz2 /usr/share/selinux/targeted/samba.pp.bz2 /usr/share/doc/authconfig-6.1.4/README.samba3 /usr/share/doc/samba4-4.0.0 Did I missed something ? Anyone installed it with success ? P.S. I like to test rpm , and yes I know about how to from samba4 web site. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] facing issue when trying to connect
Hi, I compiled samba 3.5.9 for ARM platform. It is up and running with the below smb.conf file. [ global ] interfaces = eth0 unix charset = UTF8 smb passwd file = /etc/passwd workgroup = netbios name = server string = Openrd Samba Server hosts allow = 10.0.30. hosts deny = encrypt passwords = no security = share max log size = 0 create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 use sendfile =yes wins support = yes guest account= root smb ports = 139 445 [share] path=/home/openrd/nfs/rootfs read only = no public = yes writeable = yes force group = root guest ok = yes When I tried to connect samba server with windows 7 machine. It is not getting connected and I could see error message in the log file as follows. [2000/01/01 07:42:37.783885, 0] lib/util_sock.c:1441(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. [2000/01/01 07:42:37.784085, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2000/01/01 07:42:37.784249, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2000/01/01 07:42:37.799735, 3] smbd/server.c:923(exit_server_common) Server exit (failed to receive smb request) Please give me some pointers on this to resolve. Thanks, Haresh E.L. *** This electronic message is the property of Pactron HJPC Corp. and is intended to be viewed only by the named individual or entity to whom it is addressed. This communication may contain privileged, confidential, or proprietary information that is exempt from disclosure under applicable law. Any dissemination, distribution, forwarding, retention or copying of this communication is strictly prohibited without prior permission. *** *** This electronic message is the property of Pactron HJPC Corp. and is intended to be viewed only by the named individual or entity to whom it is addressed. This communication may contain privileged, confidential, or proprietary information that is exempt from disclosure under applicable law. Any dissemination, distribution, forwarding, retention or copying of this communication is strictly prohibited without prior permission. *** -- 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
Hi The error was solved by adding the following two lines in the smb.conf file recommended by my colleague. wide links = yes unix extensions = no Regards, Dee -Original Message- From: Colb, Andrew [mailto:a...@ici.org] Sent: 22 July 2011 03:10 PM To: Moila December; samba@lists.samba.org Subject: RE: [Samba] Samba Share Access denied on Solaris If the credentials are managed by AD and the Samba share remained joined to the domain throughout the Solaris reinstall/upgrade process, a good start is to kill smbd, take the Samba server out of the AD domain (new to Samba 3.5.5 is net leave command; or delete the Samba server entry directly within AD), refresh AD, then rejoin the Samba server to the domain and restart smbd. This will provide a clean relationship between new Samba and the domain as a starting point. Andy Colb Investment Company Institute -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 AM 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 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
Re: [Samba] Samba Share Access denied on Solaris
I did try but was not lucky. I am still investigating as well. -Original Message- From: Colb, Andrew [mailto:a...@ici.org] Sent: 22 July 2011 03:10 PM To: Moila December; samba@lists.samba.org Subject: RE: [Samba] Samba Share Access denied on Solaris If the credentials are managed by AD and the Samba share remained joined to the domain throughout the Solaris reinstall/upgrade process, a good start is to kill smbd, take the Samba server out of the AD domain (new to Samba 3.5.5 is net leave command; or delete the Samba server entry directly within AD), refresh AD, then rejoin the Samba server to the domain and restart smbd. This will provide a clean relationship between new Samba and the domain as a starting point. Andy Colb Investment Company Institute -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 AM 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 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
Re: [Samba] Samba Share Access denied on Solaris
If the credentials are managed by AD and the Samba share remained joined to the domain throughout the Solaris reinstall/upgrade process, a good start is to kill smbd, take the Samba server out of the AD domain (new to Samba 3.5.5 is net leave command; or delete the Samba server entry directly within AD), refresh AD, then rejoin the Samba server to the domain and restart smbd. This will provide a clean relationship between new Samba and the domain as a starting point. Andy Colb Investment Company Institute -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 AM 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
[Samba] Samba 3.0.28a on Ubuntu 8.04
Hi, We have a samba member server for a fileserver that is running Ubuntu 8.04. We are using winbind and AD to do the authentication. When users save files from their Windows XP workstations to the samba share the files are created with owners/groups as the Linux UIDs instead of the AD usernames/groups. Is there anyway to change the behavious so it writes the AD usernames. We are using id map UID and GID. Thanks for the help. Shanthi -- Shanthi NairPh: 603 672 8900 x 120 IT Manager,Fax: 603 672 9565 Degree Controls, Inc.email: shanthi.n...@degreec.com 18 Meadowbrook Dr. Milford NH 03055 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] question about groups
Andrea, How about doing 'chmod 2770 /path/to/share' and also on all existing subfolders of /path/to/share. In the share definition, you could also add directory mask = 2770 force directory mode = 2770 Dale On 07/29/2011 6:03 AM, Andrea Lanza wrote: Hi all, I have a (simple?) question about groups. this is my scenario: Windows Active directory domain Samba file server ADS integrated 2 shares on this last server (share1, share2) 2 groups on the AD (group1 and group2) First share is only fully available to group1: this is easily done second share is fully available to group2 --- Then I have some users belonging to both group1 and group2; anyway group1 is the principal group. when a user of this kind create a folder or a file on the share2, the file is created as "userxxx" and "group1", so beiing unaccessible to user on the group2. (permission:770, so if one user is in group2 cannot access this file belonging to group1) I tried several combination of "inherit acl", "possible user" and so on, but no hope to make it works. How can I achieve this result ? And sorry if it was already answered elsewhere: I found a lot of discussion (also very old, 2003 and so on) but no one helped me. I am running samba : 3.5.xxx on opensuse 11.4 thanks in advance, Andrea -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Shares and ACLs
Hi, One weird thing (or maybe it is normal) : I have a Samba 3.5.6 on Debian Squeeze 64 bits acting as a PDC that is working perfectly fine. I have a share containing a directory with special acls on an ext3 partition mounted with 'acl,user_xattr' options. When I copy a file (or a directory) to that directory, default acls are correctly applied to the file. If instead I move the same file (or dir), the default acls are not applied. Is this normal behaviour or did I misconfigured something ? Thanks, Julien -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Can't see shares...
I can't figure out what's wrong with my config, I can see the share \\beata\anders, but not store0 or store1; # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2011-03-01 [global] workgroup = NORRBRING passdb backend = tdbsam # printing = cups # printcap name = cups # printcap cache time = 750 # cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf # logon path = \\%L\profiles\.msprofile # logon home = \\%L\%U\.9xprofile # logon drive = P: usershare allow guests = No # add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = user wide links = Yes wins server = 192.168.111.10 wins support = Yes [store0] comment = store0 create mask = 644 force group = users force user = anders guest ok = No inherit acls = Yes path = /store0 follow symlinks = Yes read only = No valid users = anders writeable = Yes [store1] comment = store1 create mask = 644 force group = users force user = anders guest ok = No inherit acls = Yes path = /store1 follow symlinks = Yes read only = No valid users = anders writeable = Yes User anders is added with smbpasswd. Samba is version 3.5.7 /Anders -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] OS X LION issue with Samba printing
A user who upgraded to OS X Lion could no longer add the Samba hosted printers to his system. In this account the user logon rights are limited by workstation. Checking the Samba logs showed that OS X Lion was sending "workstation" as the NetBIOS name instead of the configured NetBIOS name (same as hostname). The configured hostname is clearly sent to the DHCP server. Once I allowed that user rights from workstation "workstation" the printers worked just fine. I am a bit concerned if the other Mac users (fortunately not too many - never thought I would say that) upgrade - multiple systems sending the same NetBIOS name of "workstation" (assuming they will all break in the same way) may be problematic. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Issue with file permissions when mounting a windows share in linux
Good morning I'm migrating the folders under a Windows 2003 Standard share to a Linux Samba server. I have mounted the Windows share configuring it in /etc/fstab this way: //fitxers/personal /import/personal-antic smbfs username=domuser,password=userpassword 0 0 The mount is performed perfectly and the backup script works fine on most files, but there is a considerable percent of files under the shared resource that I cannot operate them because file permissions don't exist. I append the output from ls (which is the same when I try to tar them into a file, or chown them) based on two samba versions, the issued one and a version that everything is working fine: ISSUED SAMBA 3.4.7: ls -laht ls: cannot access DESCRIPCI? VEHICLE 4x4.doc: No such file or directory ls: cannot access DESCRIPCI? VEHICLE SCENIC.doc: No such file or directory total 0 drwxr-xr-x 1 root root 0 2011-07-26 12:40 .. drwxr-xr-x 1 root root 0 2010-10-01 12:42 . -? ? ???? DESCRIPCI? VEHICLE 4x4.doc -? ? ???? DESCRIPCI? VEHICLE SCENIC.doc SAMBA 3.0.28: ls -laht total 216K drwxrwxrwx 1 root root0 2011-07-26 12:40 .. drwxrwxrwx 1 root root0 2010-10-01 12:42 . -rwxrwSrwx 1 root root 108K 2010-07-08 09:11 DESCRIPCI? VEHICLE SCENIC.doc -rwxrwSrwx 1 root root 108K 2010-07-08 09:09 DESCRIPCI? VEHICLE 4x4.doc Thanks in advance -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] question about groups
Hi all, I have a (simple?) question about groups. this is my scenario: Windows Active directory domain Samba file server ADS integrated 2 shares on this last server (share1, share2) 2 groups on the AD (group1 and group2) First share is only fully available to group1: this is easily done second share is fully available to group2 --- Then I have some users belonging to both group1 and group2; anyway group1 is the principal group. when a user of this kind create a folder or a file on the share2, the file is created as "userxxx" and "group1", so beiing unaccessible to user on the group2. (permission:770, so if one user is in group2 cannot access this file belonging to group1) I tried several combination of "inherit acl", "possible user" and so on, but no hope to make it works. How can I achieve this result ? And sorry if it was already answered elsewhere: I found a lot of discussion (also very old, 2003 and so on) but no one helped me. I am running samba : 3.5.xxx on opensuse 11.4 thanks in advance, Andrea -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] winbind - NT_STATUS_NONE_MAPPED ( & auth probs)....related?
I'm seeing this for several lookups in winbind for items that I have not explicitly added. Should I add them? Could not find domain for Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED Could not find domain for sid S-1-1-0 Could not convert sid S-1-1-0: NT_STATUS_NONE_MAPPED Could not find domain for sid S-1-5-11 Could not convert sid S-1-5-11: NT_STATUS_NONE_MAPPED Could not find domain for sid S-1-5-2 Could not convert sid S-1-5-2: NT_STATUS_NONE_MAPPED Also was seeing this for an XP machine (not seeing the messages for the Win7 machine): winbindd_getpwnam: My domain -- rejecting getpwnam() for BLISS\athena$. But machine athena was able to join the domain...so what would such a message mean? I'm able to access my server files normally from that machine as 'me', but when I have a friend over, I set them up w/an account for gaming, and they can't access the server... (fortunately the game is on the local machine)...but I made sure they have an account on the server, they are listed in "wbinfo -u" (as am I), But no password works for validating them and they see no shares. It's also the case that my 'root' user can't do any net rpc tasks because the password comes up 'invalid'... I've reset it with 'smbpasswd', but still net rpc user, (to list users, won't let me because it claims I'm typing in an invalid passwd.. So...is winbind needing something? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba PDC 3.4 + wins server
So, your samba PDC is acting as WINS (better way samba4wins=full working wins server oan a sanba basis). Why don't you set the wins settings in your windows 7 clients? Why do you need "remote announce=..."? On Wed, 27 Jul 2011 16:42:28 +0200, Jubacca wrote: > Linux Ubuntu 10.04 LTS - I used the package of distribution. > > > On 27/07/2011 16.18, Gaiseric Vandal wrote: >> >> >> On 07/27/2011 05:52 AM, Jubacca wrote: >>> Hi , I use Samba 3.4.7 PDC + ldap backend . I can't put the machine >>> if I don't specify >>> the wins server on Pc-client. I try different name resolve order , >>> but nothing change ? Can you help me ? >>> My global is : >>> >>> [global] >>>workgroup = workgroup >>>netbios name = SERVER >>>server string = Server Samba >>>wins support = yes >>>browse list = Yes >>>remote announce = 10.0.0.255/workgroup >>>lm announce = yes >>>lm interval = 30 >>>dns proxy = yes >>>hosts allow = 127.0.0.1 10.0.0.1/255.255.255.0 >>>name resolve order = wins lmhosts host bcast >>> # name resolve order = bcast host lmhosts wins >>>interfaces = bond0 , eth1 ,lo >>>bind interfaces only = no >>>log file = /var/log/samba/%U.%m.log >>>log level = 0 passdb:6 auth:10 vfs:5 acls:3 msdfs:3 >>>max log size = 5000 >>>syslog = 0 >>>panic action = /usr/share/samba/panic-action %d >>>security = user >>>username map = /etc/samba/usermap >>>case sensitive = no >>>encrypt passwords = true >>>enable privileges = yes >>>passdb backend = ldapsam:ldap://server:389/ >>>ldap admin dn = cn=admin,dc=domain,dc=com >>>ldap suffix = dc=domain,dc=com >>>ldap user suffix = ou=users >>>ldap group suffix = ou=groups >>>ldap machine suffix = ou=computers >>>ldap idmap suffix = ou=idmap >>>ldap ssl = off >>>ldap delete dn = nomap to guest = bad user >>>domain logons = yes >>>domain master = yes >>>local master = yes >>>preferred master = yes >>>os level = 255 >>>logon path = \\%N\profiles\%U >>>logon drive = S: >>>logon home = \\%N\%U >>>logon script = logon.bat >>>add user script = /usr/sbin/smbldap-useradd -a -m %u >>>delete user script = /usr/sbin/smbldap-userdel %u >>>add user to group script = /usr/sbin/smbldap-groupmod -m %u %g >>>delete user from group script = /usr/sbin/smbldap-groupmod -x %u %g >>>set primary group script = /usr/sbin/smbldap-usermod -g %g %u >>>add machine script = /usr/sbin/smbldap-useradd -t 0 -w %u >>>add group script = /usr/sbin/smbldap-groupadd -p %g >>>delete group script = /usr/sbin/smbldap-groupdel %g >>>printing = cups >>>socket options = TCP_NODELAY >>>idmap uid = 1-2 >>>idmap gid = 1-2 >>>time server = yes >>>null passwords = no >>>idmap backend = ldap:ldap://server:389/ >>>obey pam restrictions = yes >>>ldap passwd sync = yes >>>unix password sync = no >>>passwd program = /usr/sbin/smbldap-passwd %u >>>passwd chat = *Enter\snew\s*\spassword:* %n\n >>> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . >>>pam password change = yes >>> >> >> What OS? >> >> Did you compile from source? I ran into the following weird issue once: >> Two servers with samba bundled with the OS. >> One server with samba compiled from source. >> Windows machines connecting from VPN- with the firewall >> blocking netbios traffic. >> The Windows clients could connect by name to the 1st 2 servers, >> but only by IP to the 3rd one, even tho DNS name resolution worked. >> (I could add an lmhosts entry on the client but this is clunky.) >> >> >> This indicated to be that the server does try to resolve client names >> or ip's and that something I did when I compiled samba broke this >> functionality. Snooping traffic DID show the client reaching the >> server but some sort of handshaking NOT completing. >> >> I would turn up the general log level. I would also snoop traffic for >> a client with out WINS to see if it is even locating the samba server. >> >> >> >> >> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba