Questions tagged [samba]

Samba is the standard Windows interoperability suite of programs for Linux and Unix.

Samba is the standard Windows interoperability suite of programs for Linux and Unix.
Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.

1046 questions
169
votes
13 answers

How do you force a CIFS connection to unmount

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…
Lawrence D'Anna
  • 2,998
  • 2
  • 22
  • 25
57
votes
1 answer

preserving file permissions for samba shares when file is edited

The code bases I work with are checked out from Git repositories onto my Linux machine. Since our production code is written to be deployed on Linux, I do all the testing on my Linux machine but like to use Windows for everyday usage, including code…
recognosco
  • 1,506
  • 1
  • 10
  • 10
55
votes
26 answers

Meteor: unexpected mongo exit code 100

I have just installed Meteor version 0.5.9 (45fef52095) to my CentOS release 6.3 (Final) server (Linux version 2.6.32-279.19.1.el6.i686 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Dec 19…
Aaron Cunnington
  • 1,631
  • 2
  • 15
  • 23
51
votes
7 answers

Cannot bulk load because the file could not be opened. Operating System Error Code 3

I'm trying to set up a Stored Procedure as a SQL Server Agent Job and it's giving me the following error, Cannot bulk load because the file "P:\file.csv" could not be opened. Operating system error code 3(failed to retrieve text for this error.…
user1345260
  • 2,151
  • 12
  • 33
  • 42
48
votes
4 answers

What is the meaning of these Windows Environment variables: HOMEDRIVE, HOMEPATH, HOMESHARE, USERPROFILE

What is the meaning of these Windows Environment 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?
Andrea Francia
  • 9,737
  • 16
  • 56
  • 70
46
votes
17 answers

What does cifs_mount failed w/return code = -22 indicate

I am trying sudo mount -t cifs /// -o username=user@domain,password=**** /mnt/ error message: mount: wrong fs type, bad option, bad superblock on //server/share, missing codepage or other error In some…
Adi Pandit
  • 689
  • 1
  • 6
  • 10
35
votes
7 answers

Piping password to smbpasswd

How can I pipe the new password to smbpasswd so I can automate my installation process.
UnkwnTech
  • 88,102
  • 65
  • 184
  • 229
19
votes
1 answer

Mapping Samba's S-1-22-[12]-* SID into names

Samba3 uses SID's in the range S-1-22-1 for users and S-1-22-2 for groups. For instance, S-1-22-1-1-10042 is the UNIX user with uid 10042. I would like to be either able to map such a SID into a name, like 'myunixaccount', similar to this…
Guido Leenders
  • 4,232
  • 1
  • 23
  • 43
18
votes
3 answers

Link to samba shares in html

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…
SCdF
  • 57,260
  • 24
  • 77
  • 113
17
votes
10 answers

Getting File Create Notifications for CIFS Mount in Linux

I have a windows share mounted via CIFS on an ubuntu server. I need to a way to know when a new file has been added to the Windows share. I tried this inotify program: http://www.thegeekstuff.com/2010/04/inotify-c-program-example/ Which works fine…
ofosho
  • 433
  • 1
  • 5
  • 15
17
votes
3 answers

How do I stop Eclipse (EPIC Perl) from adding DOS CR/LF to my Perl scripts?

I use Eclipse on Windows to edit files on a remotely mounted Linux SMB share. Coupled with Samba's stubborn opposition to on-the-fly mapping, Eclipse's insistence on CR/LF creates a real headache with Perl scripts. Any workarounds?
Alex R
  • 11,364
  • 15
  • 100
  • 180
15
votes
2 answers

Problems in JCIFS with certain non-ascii characters

I am using JCIFS to access a file share with a lot of Japanese names on it, and I am running into issues when the ・character in it For example: the path 人事部/要員・コスト管理課/ the first part is ok, but the second part causes an issue. This may be related…
user439407
  • 1,666
  • 2
  • 19
  • 40
15
votes
5 answers

smbclient NT_STATUS_ACCESS_DENIED

About once every 10 years I need to wrestle with SAMBA as I migrate to new hosts, and then I repress the traumatic memory until I have to relearn it all the next time :S Hence this newbyish question. I have a Ubuntu VM with a couple of shares - one…
Michael Lemaire
  • 746
  • 1
  • 6
  • 18
14
votes
6 answers

Sharing a Windows mapped drive

I have a software archiving solution which requires a Windows share for the client but I want to actually store the files through samba on a Linux host. This dependency requires that I have a Windows front-end to my Linux file archive. When I map…
Bruce Chidester
  • 621
  • 1
  • 5
  • 16
14
votes
7 answers

Git over samba - unable to write sha1 filename | Permission denied

When I am using git over samba share on windows I get an error when i want to commit a file via git_extentions or tortoiseGIT. The error is: error: unable to write sha1 filename .git/objects/b4/e819f886bf31b67c42249a0eff8e8b16cf7622: Permission…
InfoTracer
  • 392
  • 1
  • 3
  • 9
1
2 3
69 70