Re: [Samba] mounting Windows NTFS drives on CENTOS 5.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J Sears wrote: > I have been looking through the CENTOS 5.1 and SAMBA doc files trying to > figure out if I can mount my already NTFS formatted and nearly full hard > drives ( nearly I Terabyte of disks) on a CENTOS 5.1 server running SAMBA and > be able to access them with the LINUX operating system and other Windows > computers. > > Any that has information relating to this please send doc references if > possible. > > Thanks I think you're barking up the wrong tree. You really want ntfs3g (search Google and it will come right up). It's a kernel FS driver that is included with any Linux that I know of. mount -f ntfs is all you really need. That should put you on the right track. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIH+lRmb+gadEcsb4RAueKAJwNXpZCnetzWPXTuy7Hsf66F+jMSgCfedfw fqSmkOF9tytSWb+3HGvziM4= =6xLI -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] mounting Windows NTFS drives on CENTOS 5.1
I have been looking through the CENTOS 5.1 and SAMBA doc files trying to figure out if I can mount my already NTFS formatted and nearly full hard drives ( nearly I Terabyte of disks) on a CENTOS 5.1 server running SAMBA and be able to access them with the LINUX operating system and other Windows computers. Any that has information relating to this please send doc references if possible. Thanks Jim - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to change Windows password on Samba BDC
On Thu, 2008-05-01 at 19:38 +, Matt Anderson wrote: > Dear Help, > > We are currently running Samba 3.0.22 on a distributed network/domain as a PDC > (primary domain controller) and several as BDCs (Backup domain controllers) in > our branch offices located around the country. > > At this point, the PDC is set up in our corporate office (where I'm located) > and > users have no trouble authenticating (via logging into windows and accessing > shares) and also have no trouble changing passwords (either when they expire > or > manually) through the Windows interface. > > However, users located in the branch offices (where the BDCs are located), > they > have no trouble authenticating (via logging into windows and accessing shares) > BUT are unable to change their password through the Windows interface, getting > the error that "The system cannot change your password now because the domain > is not available". All clients are Windows XP with SP2 installed. > > I have added (see below) the smb.conf for our PDC as well as the BDC that's > causing problems -- all BDCs basically have the exact same config. If your PDC and BDC are *not* in the name netbios name space, because for example they do not use WINS, or use only local WINS servers, then you can set each remote 'BDC' as if it was a PDC. The only think that enforced the 'one PDC' requirement in Samba is the netbios namespace, and many sites have been set up where there are multiple PDCs for exactly this (being distributed with an LDAP backend) reason. Note that this does not make any changes to how you have LDAP configured - it may still be master/slave, and it will work just as it did before, as long as the BDCs can write (by following the LDAP referrals). Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can I mount an NFS volume and re-export via SAMBA?
On Tue, May 06, 2008 at 08:59:25AM +1000, Andrew Bartlett wrote: > > Not just oplocks (which must be turned off, because they can't be > forwarded by NFS to the source server, so risk parallel writers), but > other byte range locks, if you where expecting these to be honoured back > to the source NFS server. Actually, byte range locks should work over NFS. That's not to say they *do*, but there's an extension to the core protocol that supports them (although not all NFS servers support it). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to change Windows password on Samba BDC
On Thu, 2008-05-01 at 15:45 -0500, Adam Williams wrote: > in the BDC, take out: > > passwd program = /usr/sbin/smbldap-passwd -u %u > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > unix password sync = yes > > > add: > > ldap passwd sync = yes > encrypt passwords = yes Just a quick note that: > update encrypted = Yes This option does nothing these days. It was for when we accepted plaintext passwords (which we do not, as you have set encrypt passwords = yes). Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] machine being dropped from ads
On Mon, 2008-05-05 at 09:54 -0700, Kyle Corupe wrote: > I've noticed this happening quite often, my server after a while gets > dropped from the domain controller. I join it like this... > > net ads join -U [EMAIL PROTECTED] -S windowsserver.corpeda.internal > > I came in this morning and noticed that I could not login to my shares, so I > did a net ads info. and it came back with could not find any login servers. > I re-ran the above command, and restarted smb and winbind. And everything is > working again. > > Would anyone know why this is happening? Perhaps for some reason your AD domain controller is enforcing a maximum password age? I think we try to set a 'password does not expire', but given the timed nature of the failure, this is where I would start looking. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can I mount an NFS volume and re-export via SAMBA?
On Mon, 2008-05-05 at 12:33 -0400, John Drescher wrote: > On Mon, May 5, 2008 at 12:22 PM, Jim Hall <[EMAIL PROTECTED]> wrote: > > We have an NFS filer right now that we need to provide > > our windows users access too. For various reasons they > > won't use SFU, etc. In our legacy environment we have > > a file server that does NFS/CIFS natively. In our new > > environment not so much. We want to provide this > > service to our users and the solution proposed to me > > is to utilize SAMBA as the mechanism to do so. After > > doing exhaustive googling and searching I can't seem > > to find if this is doable, and if it is what kind of > > things I should be on the lookout for, or configuring > > the system for. > > > > So first, is it possible? > Yes. I have been reexporting nfs with samba for many years. > > > Second, if it is possible is it just a matter of > > mounting the NFS volume on the SAMBA server and then > > re-exporting to the Windows clients? > > > Yes. The only problem is that oplocks sometimes give you trouble. Not just oplocks (which must be turned off, because they can't be forwarded by NFS to the source server, so risk parallel writers), but other byte range locks, if you where expecting these to be honoured back to the source NFS server. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] "Must Change Password at Next Login" does not work
When setting the "User Must Change Password at Next Login" flag via usrmgr the user is not prompted to change their password. The various Password fields in password backend (tdb) as viewed using pdbedit are all set to zero, so it is doing something. Setting this using "net sam pwdmustchangenow" works correctly (i.e. the users is prompted to change their password). It also sets all the password fields to zero, but I guess it must be doing something else as well. System is Centos 5.1 x86_64. Samba is a GIT snapshot from 26 Apr 2008. Debug log level 3 and conf files are attached. If this is a bug let me know and I will log it. Thanks Mike # # Generated by /usr/local/samba/modify_samba_config.pl # [global] idmapconfigalldomains:backend = tdb logonhome = \\%L\%U\.profiles addsharecommand = /usr/local/samba/modify_samba_config.pl deletesharecommand= /usr/local/samba/modify_samba_config.pl maxlogsize= 50 usernamemap = /etc/samba/smbusers idmapconfigalldomains:range = 1 - 5 addmachinescript = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false -g machines "%u" deleteuserscript = /usr/sbin/userdel "%u" domainlogons = Yes idmapdomains = ALLDOMAINS winbindnestedgroups = yes logfile = /var/log/samba/%m.log preferredmaster = Yes winsproxy = Yes logondrive= H: addusertogroupscript = /usr/bin/gpasswd -a "%u" "%g" workgroup = NZHH idmapallocconfig:range= 1 - 5 domainmaster = Yes winbindusedefaultdomain = yes addgroupscript= /usr/sbin/groupadd "%g" idmapallocbackend = tdb deleteuserfromgroupscript = /usr/bin/gpasswd -d "%u" "%g" enableprivileges = yes loglevel = 3 adduserscript = /usr/sbin/useradd "%u" -n -g domusers interfaces= lo, eth0 hostsallow= 127., 192.168.43., 192.168.42. winbindenumgroups = Yes passdbbackend = tdbsam:/etc/samba/passdb.tdb deletegroupscript = /usr/sbin/groupdel "%g" cupsoptions = raw winssupport = Yes logonpath = \\%L\Profiles\%U idmapconfigalldomains:default = yes serverstring = Samba Server Version %v winbindenumusers = yes oslevel = 33 ## Section - [share3] [share3] read only = No comment = path = /home/samba/share3 max connections = 0 ## Section - [share1] [share1] readonly = No comment = share1 Testing perl script maxconnections= 100 path = /home/samba/share1 ## Section - [share2] [share2] comment = share2 Testing perl script maxconnections= 100 path = /home/samba/share2 ## Section - [netlogon] [netlogon] readonly = yes sharemodes= No browseable= No comment = Network Logon Service path = /var/lib/samba/netlogon guestok = Yes ## Section - [homes] [homes] readonly = No browseable= No comment = Home Directories ## Section - [profiles] [profiles] directorymask = 0700 createmask= 0600 readonly = no path = /var/lib/samba/profiles # # end of generated smb.conf # -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can I mount an NFS volume and re-export via SAMBA?
On Mon, May 5, 2008 at 12:22 PM, Jim Hall <[EMAIL PROTECTED]> wrote: > We have an NFS filer right now that we need to provide > our windows users access too. For various reasons they > won't use SFU, etc. In our legacy environment we have > a file server that does NFS/CIFS natively. In our new > environment not so much. We want to provide this > service to our users and the solution proposed to me > is to utilize SAMBA as the mechanism to do so. After > doing exhaustive googling and searching I can't seem > to find if this is doable, and if it is what kind of > things I should be on the lookout for, or configuring > the system for. > > So first, is it possible? Yes. I have been reexporting nfs with samba for many years. > Second, if it is possible is it just a matter of > mounting the NFS volume on the SAMBA server and then > re-exporting to the Windows clients? > Yes. The only problem is that oplocks sometimes give you trouble. John John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] machine being dropped from ads
I've noticed this happening quite often, my server after a while gets dropped from the domain controller. I join it like this... net ads join -U [EMAIL PROTECTED] -S windowsserver.corpeda.internal I came in this morning and noticed that I could not login to my shares, so I did a net ads info. and it came back with could not find any login servers. I re-ran the above command, and restarted smb and winbind. And everything is working again. Would anyone know why this is happening? -- Kyle Unix Administrator [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Can I mount an NFS volume and re-export via SAMBA?
We have an NFS filer right now that we need to provide our windows users access too. For various reasons they won't use SFU, etc. In our legacy environment we have a file server that does NFS/CIFS natively. In our new environment not so much. We want to provide this service to our users and the solution proposed to me is to utilize SAMBA as the mechanism to do so. After doing exhaustive googling and searching I can't seem to find if this is doable, and if it is what kind of things I should be on the lookout for, or configuring the system for. So first, is it possible? Second, if it is possible is it just a matter of mounting the NFS volume on the SAMBA server and then re-exporting to the Windows clients? Thanks, Jim -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] machine profiles?
I have configure Samba to not store profiles (logon path= ), Windows creates a local profile on the computer when the user logs in as intended. A machine account gets created every time a computer joins a domain, apparently samba is looking for a profile for the computer on the server every time someone connects to it. [2008/05/05 09:21:32, 0] smbd/service.c:make_connection() machine34 (4.5.6.7) couldn't find service profiles [2008/05/05 09:21:32, 0] smbd/service.c:make_connection() machine34 (4.5.6.7) couldn't find service profiles Samba is configured with an LDAP backend, computers are created with the sambaAccount objectClass and their home directory is set to /dev/null... Any ideas? Thanks, Eric. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Files over 4GB not listing properly. Cannot get CIFS working.
> Hi guys, > > I'm attempting to move large files (>4GB) from a PowerPC-based embedded > system running a 2.4 kernel architecture to an PC running a 2.6 kernel. I've > got samba compiled, installed, and running on the embedded box. I also have > the directories from the PPC system mounted and accessible from the PC. > > I have two problems: larger file sizes do not list correctly, and large files > transferred from the embedded box to the PC are not complete; IE they're > dropping data along the way. I'm familiar with the 2GB file size limit on > samba, and have mounted the PC side using the lfs flag. > > Problem 1: Incorrect listing > > Here's a list of the directory from the embedded box: > -r--r--r-- 1 root root 52646396 Jan 5 06:46 file1.ch10 > -r--r--r-- 1 root root 60755936 Jan 5 06:46 file2.ch10 > -r--r--r-- 1 root root 47606684 Jan 5 06:46 file3.ch10 > -r--r--r-- 1 root root 4920604376 Jan 5 05:51 file4.ch10 > > Here's that same listing, but of the samba mount of that directory on the PC: > > -r-xr-xr-x 1 root root 52646396 Jan 5 2007 file1.ch10 > -r-xr-xr-x 1 root root 60755936 Jan 5 2007 file2.ch10 > -r-xr-xr-x 1 root root 47606684 Jan 5 2007 file3.ch10 > -r-xr-xr-x 1 root root 625637080 Jan 5 2007 file4.ch10 > > As you can see, files 1-3 list fine, but file4 is showing way short. I'm > guessing this might be some sort of overflow condition, any ideas? > > Problem 2: Loss of data during transfer of large files. > When I try to transfer file4, i only get 41 or so of the > total file size. This is the more pressing issue. > > Also, I cannot mount the samba share using CIFS. I use the line > > mount -t smbfs //server/share/ path/to/local/ -o user=u,pass=p,lfs > > to mount with SMBFS, and it works correctly, just doesn't display the large > files. > However, when using the following: > > mount -t smbfs //server/share/ path/to/local/ -o user=u,pass=p,lfs > > I get "Mount error 5= Input/output error" > > Any thoughts? > > Thanks, > Matt > > > > ***Teletronics Technology Corporation*** This e-mail is confidential and may also be privileged. If you are not the addressee or authorized by the addressee to receive this e-mail, you may not disclose, copy, distribute, or use this e-mail. If you have received this e-mail in error, please notify the sender immediately by reply e-mail or by telephone at 267-352-2020 and destroy this message and any copies. Thank you. *** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba on Virtual Machines
Hi Joseph It sounds more like a vmware problem. How is the network configurated on your vmware machine? Best Regards Rune Tønnesen Den 5/5/2008, skrev "Mervini, Joseph A" <[EMAIL PROTECTED]>: >Hi, >We have deployed Samba on VMware (ESX) on IBM Bladecenter H. I am having a >serious problem with Samba related to Window client access. I can mount the >samba share with no problem whatsoever and see all the files that exist within >that share. However, when I try to open/write/copy/get properties on any file >in either direction the operation stalls and eventually I will get a message >similar to "Cannot copy : The specified network name is no longer >available." on the Windows client. We are running stock RHEL5 workstatiom with >most packages installed (sound/telephony excluded). Our samba security is set >to domain but this has also been tested with security set to user. >I have an identical samba server (except IP/hostname, etc.) on a standalone >blade that works flawlessly. I have scoured the web looking for answers but >have come up empty. >Has anyone on this list ever had a similar problem that might be able to share >some insight? >Thanks in advance. > > >-- >Joe Mervini >Scientific Applications and User Support >Sandia National Laboratories >Department 09326 MS-0823 >PO Box 5800 >Albuquerque, NM 87120 >(505) 844.6770 > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba on Virtual Machines
Hi, We have deployed Samba on VMware (ESX) on IBM Bladecenter H. I am having a serious problem with Samba related to Window client access. I can mount the samba share with no problem whatsoever and see all the files that exist within that share. However, when I try to open/write/copy/get properties on any file in either direction the operation stalls and eventually I will get a message similar to "Cannot copy : The specified network name is no longer available." on the Windows client. We are running stock RHEL5 workstatiom with most packages installed (sound/telephony excluded). Our samba security is set to domain but this has also been tested with security set to user. I have an identical samba server (except IP/hostname, etc.) on a standalone blade that works flawlessly. I have scoured the web looking for answers but have come up empty. Has anyone on this list ever had a similar problem that might be able to share some insight? Thanks in advance. -- Joe Mervini Scientific Applications and User Support Sandia National Laboratories Department 09326 MS-0823 PO Box 5800 Albuquerque, NM 87120 (505) 844.6770 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Weird behaviour concerning send-speed (Debian Etch, Samba from official deb)
Hi, I'm experiencing a very annoying and strange behaviour with Samba since quite some time (I guess like 2 months now or so): When I write to a share speeds are quite excellent with up to 60 Mbyte/sec, however when I want to read speeds are under a megabyte per second, mostly even below 300 kb/s which is rather unacceptable in my opinion. I went through the "usual suspects" - I did a purge and reinstall, starting out with a minimal smb.conf, played around with the send and receive buffer, nothing helped. Well, now for the (in my opinion) really weird part: When I put load on my CPU (e.g. via a simple python "while True: pass") the sending speed goes up to about 20 Mb/sec. As soon as I kill the load-generating process the speed instantly drops to the mentioned ~300 kb/s. Other protocols (http, ftp) don't show this behaviour. Any possible help is greatly appreciated! Michael -- Michael Biech, http://tikurion.net OpenPGP-Key: http://tikurion.net/MichaelBiech.asc signature.asc Description: This is a digitally signed message part. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba Volunteer job postings at http://news.samba.org/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerald (Jerry) Carter wrote: > === > The Samba Team is looking for people to help keep our user > community information current, covering development news, > releases, general news, and events. The scope of the > positions will be to: > > * Gather stories, summaries, and content for the > bi-weekly Samba Mashup Report (community newsletter) > * Work on the active content at http://news.samba.org/ > > We are looking initially for two volunteers to help us. If > you are interested in helping, please send a short mail to > [EMAIL PROTECTED] describing why you think you would be a > good match. > === There was a glitch in the wbe-editor email alias that has been resolved now. I'm assuming that the lack of response is just due to email bouncing back :-) cheers, jerry - -- = Samba--- http://www.samba.org Likewise Software - http://www.likewisesoftware.com "What man is a man who does not make the world better?" --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIHvrvIR7qMdg1EfYRApMNAKDLAVXKzgcZLUpdh0I0BTPpNlvBxgCg6tlJ QcWzkQM69WwvJUcHhS+tAJ8= =W1I2 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Add permission? (was How to create a write-only share?)
Need your help! I'm very confised and tired, tried a lot of variants but still at the start, even lost all understanding how the permissions and masks works. Please write me a config for the following case: There is a directory: '/home/shared/door', owned by 'michael:office' shared via samba as '[door]' How can I configure the FS and samba to let 'michael' full control of directory content and let members of gorup 'office' to add files to this Samba share from Windows machine. But members of group 'office' and everyonne esle should not be able to read the files and even see the contents of the share (contents of directory). Thanks in advance, Ash Gosh. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.28a and win 98 no access on shares, no domain login
Hallo, Jens, Du (jewu34) meintest am 05.05.08: > I've migrated from Ubuntu 6.10 to Ubuntu 8.04 (samba 3.0.28a), using > the same smb.conf and the same smbpasswd. But i can't connect to the > Ubuntu/Samba server (PDC) with win 98-clients anymore. Win2K Clients > still working with no problems, but the 98ers can't log on the domain > nor can access any shares. The user and passwd ist the same as the > win2k-clients. When trying to connect to a share then win 98 is > asking for password for ipc$. When tryin to log on domain the it cant > connect to server or wrong password Maybe you must wait some days. Sounds silly, but 2 colleagues reported such a behaviour. (I'd suggest waiting max. 1 week ...) Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.28a and win 98 no access on shares, no domain login
I've migrated from Ubuntu 6.10 to Ubuntu 8.04 (samba 3.0.28a), using the same smb.conf and the same smbpasswd. But i can't connect to the Ubuntu/Samba server (PDC) with win 98-clients anymore. Win2K Clients still working with no problems, but the 98ers can't log on the domain nor can access any shares. The user and passwd ist the same as the win2k-clients. When trying to connect to a share then win 98 is asking for password for ipc$. When tryin to log on domain the it cant connect to server or wrong password (lousy translation of the german message i get ;-)). password encryption is enabled and as i said, the connection worked with the old samba (3.0.20?) without problems. Is there anything changed that may affect win 98 ? Greets Jens -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] open file not shown in smbstatus but in lsof
Hello, we have a clipper application that locks certain files. Today a user called me that he can not access this file A smbstatus | grep -i sauswk where sauswk is part of the filename, returned nothing lsof -i | grep sauswk returned this filename How could this happen ? Thanks Andreas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba