LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-15-2012, 05:23 AM   #16
kigordid
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled

Thank you very much for answering.

I would like something like a countdown that will logout all users out of samba after a time of inactivity.
If windows save the credentials, I really need a way to block that.
When I say access , I mean when someone is going into a folder to copy, modifiy...

Thanks.
 
Old 05-15-2012, 03:40 PM   #17
kigordid
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
SOS

Quote:
Originally Posted by descendant_command View Post
How do you define an "access"?
The Windows SMB client is constantly 'accessing' the samba server and Windows caches the user credentials.

The only way to get what you want is to log off each user (on the Win box) when they are finished their 'access'.

Tell your users to lock their stations.
Whatever I do, am getting stacked at this point......
 
Old 05-19-2012, 05:21 PM   #18
kigordid
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
For users who are having problem with Samba not working at startup, I propose 2 solutions.

1- Create a Batch file (file_name.sh) on the computer or host it on the net.
To give sudo access, use this:

http://linux.about.com/od/commands/l/blcmdl8_sudo.htm

sudo -V | -h | -l | -L | -v | -k | -K | -s | [ -H ] [-P ] [-S ] [ -b ] | [ -p prompt ] [ -c class|- ] [ -a auth_type ] [ -u username|#uid ] command

check the url to know how to write it.

The next line of your script will be:

sudo smbd restart

That is it any time you double click this, it will reboot samba for you.

2- The other way is to place the way to that script in the autostart and writing a delay script before the sudo command in proposition 1.

Well hope that may help you.

note: Just know that putting the sudo password in that file is dangerous. A way round is to create a special user for that purpose who will have the permission only to reboot samba.

This was implemented on Ubuntu Desktop 12.04 x86.
 
Old 06-15-2012, 02:05 AM   #19
Rick6935
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Hi,
I have a ftp server in red hat server 5.1 with 2GB RAM and C2D processor.
I am facing a problem in ftp server that when I used to copy data about to 8 GB or 6 GB from windows mycomputer address then all contents can not be copy. when i see in ftp server i just see the folder structure and i did not see any contents in the any folder.

Please help me in this same!!
 
Old 06-15-2012, 02:55 AM   #20
Rick6935
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Hi,
I have a ftp server in red hat server 5.1 with 2GB RAM and C2D processor.
I am facing a problem in ftp server that when I used to copy data about to 8 GB or 6 GB from windows mycomputer address then all contents can not be copy. when i see in ftp server i just see the folder structure and i did not see any contents in the any folder.

Please help me in this same!!
 
Old 06-15-2012, 05:01 AM   #21
Rick6935
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Hi,

I am facing a problem in FTP server that:when i used to copy the data from window mycomputer address bar upto 8GB, then it does not copy all data. when i look on the server i see that only folder structure is copied but not contents of that folder.

Guys please help me in this
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where is samba password file - need to list samba users explorer Slackware 8 04-06-2011 05:26 PM
After changing Windows AD password Samba\Winbind still uses old password Criller Linux - Security 2 02-28-2008 04:14 AM
Logon samba on other samba password list hernandi Linux - Networking 1 10-14-2003 12:46 PM
Logon samba on other samba password list hernandi Linux - Networking 0 10-14-2003 12:40 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration