Piping password to smbpasswd
How can I pipe the new password to smbpasswd so I can automate my installation process. ...
How can I pipe the new password to smbpasswd so I can automate my installation process. ...
I'm planning on doing more coding from home but in order to do so, I need to be able to edit files on a Samba drive on our dev server. The problem I've run into with several editors is that the network latency causes the editor to lock up for long periods of time (Eclipse, TextMate). Some editors cope with this a lot better than others, ...
First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc. I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of consolidating this into something more manageable. Currently there are a few options I'm looking...
I have a CIFS share mounted on a Linux machine. The CIFS server is down, or the internet connection is down, and anything that touches the CIFS mount now takes several minutes to timeout, and is unkillable while you wait. I can't even run ls in my home directory because there is a symlink pointing inside the CIFS mount and ls tries to...
Conducting a user account cleanup accross Solaris and Redhat linux systems, many of which have a number of Samba shares. What preference do people have for creating the local unix accounts for non interactive Samba users? In particular, the shell entry: noshell nologin blank And why? JB ...
Is there a way to force a Samba process to close a given file without killing it? Samba opens a process for each client connection, and sometimes I see it holds open files far longer than needed. Usually i just kill the process, and the (windows) client will reopen it the next time it access the share; but sometimes it's actively readi...
I am using a machine on which I do not have root access and would like to access files on a Samba server in random access mode. I know I can transfer the files in their entirety using smbclient but the files are very large (>1GB) and I would rather just treat them as remote files on which I can do random access. The problem as noted is ...
Ok I am a total beginner with the Solaris Operating system and I need to install and configure samba on 3 boxes each has a different version of Solaris (8,9,10). What i want to know is where the smb.conf files go in each version. So far all I have found is Solaris 8 - /usr/local/samba/lib/smb.conf Solaris 9 - Solaris 10 - ...
Hi All, I have a samba network share on a FreeBSD box that I use for development. I have it set up as a shared drive on my WinXP box, and it works fine. However, if I reboot the xp box, the shared drive will not be accessible until I click on it and enter the password, even though I have set it to use the correct username and password...
Is there any way a script can be made that copies files from a Unix drive onto a Windows drive? ...
What is the meaning of these Windows Enviroment variables: HOMEDRIVE, HOMEPATH, HOMESHARE, and USERPROFILE? Who set them? When? Who use them? For doing what? How the configuration of the samba server modify these variables? Thanks! ...
Hi, i'm hacking some samba internals, and I want to log, what's written in read_file and write_file, exactly I want to get file name, directory, and how much bytes are written. in struct files_struct, there is defined file name (char* fsp_name), and I can count number of written bytes, but in files_struct there is no field with director...
I'm running a very computationally intensive scientific job that spits out results every now and then. The job is basically to just simulate the same thing a whole bunch of times, so it's divided among several computers, which use different OSes. I'd like to direct the output from all these instances to the same file, since all the com...
We're looking to run a Windows domain using Samba+OpenLDAP on Ubuntu as a domain controller. The documentation out there is a bit spotty and out of date, especially when it comes to installation, which features are supported, and how well. Once this is set up, we hope to be able to use integrated authentication of our IIS sites (includi...
Hi everyone! I'm using Xubuntu 8.10 with Nautilus as file manager (XFCE desktop isn't active, Nautilus handles it), and I have a wxPython 2.8.8.0 application with a FileBrowseButton that works as expected, except for the "Network" shortcut on the left side of the FileDialog, that is missing. I tried with other applications too: Firefox ...
I'm writing a Windows Service in C#. I have a samba share on a linux server that I can browse/read/write from the windows machine, and I have it mapped to a drive letter. The Windows service is running as the SYSTEM user and cannot write to the share. What should I change? ...
I have a windows service set to copy files from a local directory to a samba share. The service connects via a UNC path to the server (i.e. \remoteserver\shareddir). I have logged in as the user under which the service is running, and was able to both copy files and create files on the samba share, using the UNC path. However, when ru...
The responses to my previous question suggested SSIS as the most efficient and reliable way to get files from AIX into SQL Server. I agree that it's probably a good idea. But for the sake of understanding the other options better, I'd like to narrow the scope a little bit. Irrespective of what I plan to do with the files, how can I dete...
I've been setting up a samba share on a Redhat box, and am able to connect to it from the local machine. From an XP machine however, I'm only able to successfully connect to the root of the share (e.g. "\machine"). Connecting to the actual shared folders (e.g. "\machine\share") generates an error. The full error message is: \machi...
Assume I have access to a SMB server at IP 1.2.3.4, how can I determine the list of available shares? Windows Explorer can do it when I enter a UNC path \\1.2.3.4\ - but command prompt "dir \\1.2.3.4\" fails! I've tried the usual FindFirstFile/FindNext calls - which I use successfully to read the files and directories on each share, bu...