Can't connect to Samba drive in CentOS 6.3Windows domain account can't create files via samba share, but can...
What kind of curve (or model) should I fit to my percentage data?
Would using carbon dioxide as fuel work to reduce the greenhouse effect?
Has Iron Man made any suit for underwater combat?
I am a dual citizen of United States and Mexico, can I use my Mexican license in california when visiting?
Why did modems have speakers?
How to handle not being able to attend as often as I'd like
Caption in landscape table, need help?
What is the metal bit in the front of this propeller spinner?
Found more old paper shares from broken up companies
Can a creature sustain itself by eating its own severed body parts?
Host telling me to cancel my booking in exchange for a discount?
I have a domain, static IP and many devices I'd like to access outside my house. How to route them?
Does switching on an old games console without a cartridge damage it?
Acoustic guitar chords' positions vs those of a Bass guitar
Can I use Sitecore's Configuration patching mechanics for my Identity Server configuration?
Facebook video calling problem in Safari
Is it better to merge "often" or only after completion do a big merge of feature branches?
What kind of vegetable has pink and white concentric rings?
Adding gears to my grandson's 12" bike
How should I handle a question regarding my regrets during an interview?
Is it OK to accept a job opportunity while planning on not taking it?
Why are the phonemes of Tutankhamun's throne name transliterated out of order?
90s (or earlier) book in which a human detective is hired by a vampire to find killer of vampires
is FIND WORDS in P?
Can't connect to Samba drive in CentOS 6.3
Windows domain account can't create files via samba share, but can do this in linux shell, why?Centos 6.3 can't resolve hostname of network drive while others canIssues mounting a NTFS share on Centos 6.3Samba 2.2.12 accepts my password, but is rejecting other user accounts?Samba instructions work on CentOS 6.5, but not CentOS 6.3 - permissions in Windows are differentHow can I mount from CentOS7 a drive shared from a home router using Samba?securing a samba server to work with windows 10 and linux at the highest possible smb protocoll with encryptionHow can I disable “WORKGROUP” in smbclientSamba share can only be accessed with smbclient but not Explorer from Windows 10?Linux clients can't login on samba share while windows and mac can (active directory env)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
#smbclient //ballzdeep/torrents
Server not using user level security and no password supplied
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Does this mean I would need to require a username and password for my drive? Windows and Ubuntu connect to it with their GUIs, but I can't get CentOS 6.3 to do so.
centos samba
bumped to the homepage by Community♦ 30 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
#smbclient //ballzdeep/torrents
Server not using user level security and no password supplied
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Does this mean I would need to require a username and password for my drive? Windows and Ubuntu connect to it with their GUIs, but I can't get CentOS 6.3 to do so.
centos samba
bumped to the homepage by Community♦ 30 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
#smbclient //ballzdeep/torrents
Server not using user level security and no password supplied
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Does this mean I would need to require a username and password for my drive? Windows and Ubuntu connect to it with their GUIs, but I can't get CentOS 6.3 to do so.
centos samba
#smbclient //ballzdeep/torrents
Server not using user level security and no password supplied
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Does this mean I would need to require a username and password for my drive? Windows and Ubuntu connect to it with their GUIs, but I can't get CentOS 6.3 to do so.
centos samba
centos samba
edited Mar 10 '16 at 0:50
3kstc
1,5378 gold badges23 silver badges43 bronze badges
1,5378 gold badges23 silver badges43 bronze badges
asked Dec 1 '12 at 20:36
Emery KingEmery King
1681 silver badge7 bronze badges
1681 silver badge7 bronze badges
bumped to the homepage by Community♦ 30 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 30 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Generally, you need to create some kind of credentials file and use it when you mount cifs/samba shares. Here is an example using fstab
# insecure and common usage
//share/dir /mnt/myshare cifs username=user,password=pass
# more secure usage
Create a credentials file in /etc/ that has 0600 permissions for root.
Call it fileshare
//share/dir /mt/myshare cifs credentials=/etc/fileshare
cat /etc/fileshare
username=yourusername
password=youpass
You can then mount it by hand if you like by doing this.
smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f57328%2fcant-connect-to-samba-drive-in-centos-6-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Generally, you need to create some kind of credentials file and use it when you mount cifs/samba shares. Here is an example using fstab
# insecure and common usage
//share/dir /mnt/myshare cifs username=user,password=pass
# more secure usage
Create a credentials file in /etc/ that has 0600 permissions for root.
Call it fileshare
//share/dir /mt/myshare cifs credentials=/etc/fileshare
cat /etc/fileshare
username=yourusername
password=youpass
You can then mount it by hand if you like by doing this.
smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
add a comment |
Generally, you need to create some kind of credentials file and use it when you mount cifs/samba shares. Here is an example using fstab
# insecure and common usage
//share/dir /mnt/myshare cifs username=user,password=pass
# more secure usage
Create a credentials file in /etc/ that has 0600 permissions for root.
Call it fileshare
//share/dir /mt/myshare cifs credentials=/etc/fileshare
cat /etc/fileshare
username=yourusername
password=youpass
You can then mount it by hand if you like by doing this.
smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
add a comment |
Generally, you need to create some kind of credentials file and use it when you mount cifs/samba shares. Here is an example using fstab
# insecure and common usage
//share/dir /mnt/myshare cifs username=user,password=pass
# more secure usage
Create a credentials file in /etc/ that has 0600 permissions for root.
Call it fileshare
//share/dir /mt/myshare cifs credentials=/etc/fileshare
cat /etc/fileshare
username=yourusername
password=youpass
You can then mount it by hand if you like by doing this.
smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
Generally, you need to create some kind of credentials file and use it when you mount cifs/samba shares. Here is an example using fstab
# insecure and common usage
//share/dir /mnt/myshare cifs username=user,password=pass
# more secure usage
Create a credentials file in /etc/ that has 0600 permissions for root.
Call it fileshare
//share/dir /mt/myshare cifs credentials=/etc/fileshare
cat /etc/fileshare
username=yourusername
password=youpass
You can then mount it by hand if you like by doing this.
smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
answered Dec 2 '12 at 3:39
Mark CohenMark Cohen
1,1817 silver badges12 bronze badges
1,1817 silver badges12 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f57328%2fcant-connect-to-samba-drive-in-centos-6-3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown