General :: Any Way To Limit X Number Of Samba Users By Samba?

Oct 12, 2009

Is there any way to limit x number of samba users by samba ? Say if there are already 5 samba users using the share, I would like to restrict any futher samba requests.. How do i do that ?

View 1 Replies


ADVERTISEMENT

Fedora :: Enable Quota Limit For Samba Users?

Jun 6, 2011

i installed Samba on my Fedora, have created couple of Share directories and assigned users accordingly, that part is apsolutly fine and working without any problem, but now the next step is i want to assign the quota limits to users to save the disk space,

View 2 Replies View Related

General :: How To Limit Printer Usage By Samba Server

Dec 4, 2010

How can I limit printer usage by SAMBA server?

View 6 Replies View Related

General :: How To Track Samba Users

Mar 18, 2011

At my office we are having a samba sever, staff will access their respective folder from their Windows XP systems. I wish to track all user access activity like file creation, modification, deletion and etc. I tried smbstatus -v, from the output I am not able to guess what the user done. I am giving some of the results I get please help me or you can suggest best way to get access log.

Samba version 3.0.25b-0.el5.4
PID Username Group Machine
14721 govind govind tsl-019 (10.0.2.64)
4832 chandra chandra trivent-9b92c9c (10.0.2.106)
Service pid machine Connected at

[Code]...

View 2 Replies View Related

General :: Samba Not Authenticating Users?

Jun 14, 2011

All of sudden a working SAMBA server not allowing to login and deny permission for users to access it shares. When I check I checked the server directory rights are same, find no changes. and smb.conf is also same. when I checked closely I found the following error.

1. smbd.log show the following messages

[2011/06/14 16:07:15, 0] lib/util_sock.c:get_peer_addr(1232)
getpeername failed. Error was Transport endpoint is not connected
[2011/06/14 16:07:15, 0] lib/util_sock.c:read_data(540)
read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
[2011/06/14 16:07:36, 0] lib/util_sock.c:get_peer_addr(1232)
getpeername failed. Error was Transport endpoint is not connected
[2011/06/14 16:07:36, 0] lib/util_sock.c:get_peer_addr(1232)

[Code]...

View 2 Replies View Related

General :: Delete Multiple Users From Samba?

Jan 25, 2011

i have 3 groups on a samba server with about 30 user per group.I would like to know how to delete all the user in a group before adding new users.

View 1 Replies View Related

General :: Add Users On Ldap - Samba Server?

Sep 26, 2010

I have configured ldap on Debian5 and samba on another machine, all servers are running ok, but when i try to add users, it gives me an errror that "unknown user"

View 4 Replies View Related

General :: Create System And Samba Users With A Script?

Jan 7, 2010

I need to add linux and samba users using a shell script, it falls over because you are prompted to set a password.

I had a similar problem when installing the samba package using a script because it asks for confirmation after the command, I got round it using --force-yes -y as below.

apt-get install samba smbfs swat --force-yes -y

I suspect and hope you can do something along those lines when creating a linux user and a samba user, something like

smbpasswd �a username ?

View 3 Replies View Related

General :: Samba Windows Share \ Made 2 Users?

Jan 9, 2011

want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2

we change the smb.conf file
# less /etc/samba/smb.conf
[global]

[code]...

View 2 Replies View Related

Software :: Mapping Linux Users With Widows Users Using Samba

Jul 11, 2009

I work as an system administrator for AIX and Linux servers. We have an FTP server running in Linux which has shared folders to Windows domain using Samba. The new requirement is to map users created to Linux machine to Windows users in such a way that, when a user logins into Windows machine with an ID say "X123" in domain "TEST", his access control to the samba shares should reflect based on the same user ID created in Linux machine.(FYI. Both the Windows and LINUX machines are in same network and domain). Please let me know the step by step procedure to configure Linux machine (smb.conf entries or any new file to be created for user mapping) to identify Windows user Login and provide access restrictions accordingly.

View 1 Replies View Related

Server :: Limit Print Job Size From Samba?

Mar 15, 2010

Does anyone know of a way of limiting a print-job size from samba?

I know how to limit a print job size form cups, and how to require x amount of free space before accepting a job. I've even dug up how to require x amount of free space for samba to accept a print job, but I can't see how to limit samba to only certain sized jobs.

Someone tried to print a >1G file to my print-server this morning, causing me to have a less relaxed Monday than I had hoped. Because it ran out of space before spooling, it was never limited by cups. Because I had to get rid of it ASAP so people could get work done, I have no idea who's it was, or where it came from. Scouring logs didn't give me any good leads either.

View 2 Replies View Related

Ubuntu Servers :: Add Windows & Mac Users As Samba Users?

Nov 23, 2010

If I want to add Windows & Mac users as Samba users, must I first add them all as Ubuntu users? If so, since none of the other users will actually be working on the Ubuntu Server, how do I disable the other non-admin users on the Ubuntu Server login screen. I am using Webmin to administer some server settings, and command line for others.

View 3 Replies View Related

General :: New REHL Install Default Samba Config - Invalid Users

Mar 16, 2011

I'm comparing a RHEL4 samba server's config to a new RHEL install with a default samba config. On the old one I see that there is a line saying

invalid users = root bin daemon adm sync shutdown halt mail news operator

On the new default install I don't even see where it mentions the invalid users option in the notes. Does it do that by default now or something?

View 3 Replies View Related

CentOS 5 Server :: Setting Quota Limit In Samba 'homes' Share?

May 20, 2010

I'm trying to set up quota limit in samba-3.0.33-3.15.el5_4.1 in CentOS 5.5, by means of the module vfs objects. In the samba howto [1] I found a very brief explanation, but it isn't working for me. The basic idea is to setup a user called 'quota2g' (uid 499) and setup the [homes] share, as it comes by default, to enforce the quota on each user share.quota2g:x:499:499:User quota 2GB:/home/quota2g:/bin/bash

View 1 Replies View Related

OpenSUSE :: How To Hide Samba Version Number

Jun 8, 2009

When I mount my samba share on XP, I see the version number (e.g. marketing on 'Samba 3.0.29-SUSE-SL11.0 (samba.company.tld). How do I hide the version number?

View 9 Replies View Related

OpenSUSE Network :: Getting The Same Volume Serial Number Of Samba Share?

Mar 28, 2010

On a small network i have 3 WinXP computers and i've just installed a two new ones with Win7 pre-installed. As server i'm running OpenSuSE 10.3 and Samba with only one share. As i mount it to WinXP computers all get same volume serial number:

Code:

V:>dir
Volume in drive V is AppDrive
Volume Serial Number is 8CD5-975C

...and all Win7 computers get a diffrent one:

Code:

V:>dir
Volume in drive V is AppDrive
Volume Serial Number is A0D3-975C

We use application witch somehow only works when one/same volume serial number on a mounted drive is used.

View 1 Replies View Related

Networking :: Can't Connect More Than 2 Users In Samba

Sep 13, 2010

I've done all this config [URL] This config for the "foo" folder:

("pruebas" its a user)

Code:

[foo]
path = /home/pruebas
ready only = no
guest ok = yes

[code]....

I have the [HOME] code too, its everything fine with it, and I cant connect with another user ("alfredo") from Red Hat to Windows XP with no problem... but as soon as I double click in "foo" directory, appears this:

[URL]

Already tried to disconnect from windows the directories with "net use" but it doesn't work

View 2 Replies View Related

Fedora Servers :: Add Users To Samba Hangs

Apr 24, 2010

When I try to add a user to samba (using the GNOME UI) in F12, after enter all the information and click OK.it will just hang for about 20 seconds, and then do nothing. Window is still there, I click OK again and same thing.heres the steps i followed:

1) click preferences, Samba Users...
2) click add user
3) select user "joe" (example) from drop down of users
4) enter "joe" windows user name
5) enter password for joe (same as user password)
6) click OK
7) hangs 20 seconds then nothing.window is still there.click OK again same thing no user added

View 1 Replies View Related

Ubuntu Servers :: Samba BDC Not Authenticating Users

Jul 18, 2010

I have two ubuntu 10.04 64-bit servers running samba (3.4.7) and openLDAP (2.4.21). The LDAP directory is successfully replicating between the two servers. These servers also serve as LDAP servers for sudo, pam, nss, and other services for a dozen servers without issues. The BDC samba is configured to use itself for LDAP. I connected to the BDC using the samba ldap credentials and verified I could a) see the Computer object b) read NTPassword and LMPassword. The workstations can authenticate to the domain successfully against the PDC. If a workstation boots and connects to the BDC, they login fails with:

Code:
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:336(get_md4pw)
get_md4pw: Workstation MACHINENAME$: no account in domain
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:584(_netr_ServerAuthenticate3)
_netr_ServerAuthenticate3: failed to get machine password for account MACHINENAME$: NT_STATUS_ACCESS_DENIED

Successful authentication against the PDC shows:
Code:
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service netlogon initially as user username (uid=30000, gid=512) (pid 1727)
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service data initially as user nobody (uid=65534, gid=65534) (pid 1727) .....

View 1 Replies View Related

Ubuntu :: Can't Find Samba Host With Some Users

Apr 3, 2011

If I try to connect to my Samba server with one user ("alex"), everything works fine. If I try to connect with a different user, ("guest"), I receive the error:

Code:
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Both users have been added as samba users using `smbpasswd -a`
These are the settings I've added in my smb.conf file:

[Code].....

View 6 Replies View Related

Networking :: Configuring Samba For Multiple Users On A LAN?

May 26, 2009

I am trying to configure samba for anyone of the scenarios in the subject. here's what my smb.conf looks like:

Code:

workgroup = RnD
[Samba Share]
comment = Samba share on Ubuntu!
path = /srv/sharedfolder
available = yes

[code]....

The error while trying to connect to the share is:

smbd/service.c:make_connection_snum(1082) Can't become connected user!

View 12 Replies View Related

Server :: How To Set Log Off Scripts For Samba Domain Users?

Sep 21, 2010

I want to set a log off script for samba domain users. Actually I am facing a huge temp files related problem. So I want to set a batch file which will run when domain user log off. When user logout then batch file run and delete all temp files.I have already set batch file local group policy and it works for me, but I wants to set it from server side.

View 1 Replies View Related

Software :: Samba Protection - Two Users - Different Access

Jul 8, 2011

I have a Samba server running on a Red Hat 5.6 system that provides a large file share to both UNIX/Linux and Windows environments. There are two user accounts that can access this file share:

foo - has full access to ALL files in the file share
bar - has full access to just one directory tree ('dog') in the file share

I created two different mount points, one for foo and one for bar. I've set all of the files in 'dog' to be owned by bar, which works fine for the bar account. The problem is, the foo account can't access the files. Also, foo and bar need to be able to share files, by placing them in the 'dog' directory tree.

I'm not sure how to set this up using standard Samba tools. I've looked in the Samba GUI available with Red Hat, and don't see anything helpful there regarding my need. I've Google'd and have seen references to using ACLs with Samba. Is this the right solution to this problem, or have I missed something?

View 1 Replies View Related

General :: Samba On Fedora 10.10 - Originator Of Docs "owns" It - Other Users To Share - Save As

Mar 10, 2011

Winxp and Win7 - conencting to a Samba server.

Everything is working fine except for one thing .

To best explain this problem .........

Share name - "admin-public"

Everyone can access it.

Everyone can create new docs and edit / save them.

BUT - only the originator can edit / save.

Everyone else has read only access!

View 1 Replies View Related

Debian :: Only Get Either Guest Or Login Samba Users To Work

Jul 10, 2010

I'm trying to get samba working on a debian/xebian box to use as a fileserver. I have a HTPC which is win 7 and a laptop which is OS X. I've installed SWAT and Samba to manage the whole settings. I'm trying to get it setup so that there's a user which has access to my ~/ and a guest user which just has read access to ~/Media/ so that the Media centre can read all the files from it without having to login.

The problem is when I have map to guest set as NEVER I can access the samba ~/ and I'm asked for a username and password which I login with fine and can access the files on both share ~/ and ~/Media. However when I set the map to guest to bad user or bad password I can access the share for ~/Media. But when I try and access the share ~/ I don't get any login box and I immediately get the error "Can't access share permission denied" or an error along those lines.

Here's my /etc/samba/smb.conf
# Samba config file created using SWAT
# from 192.168.1.65 (192.168.1.65)
# Date: 2010/07/10 20:39:16

# Global parameters
[global]
workgroup = MS_HOME
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *EntersnewsUNIXspassword:* %n .....

How to get it working so I can have a guest share for my HTPC and a logged in user for my private files?

View 1 Replies View Related

Fedora Servers :: Permissions For Users Within Share On Samba PDC

Sep 3, 2010

How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?

View 2 Replies View Related

Ubuntu :: Samba Share In 9.10 - Few Folders Access By 3 Users

Apr 28, 2010

I have configure few folders access by 3 users, In common folder only users that create that document can do changes. The rest of the users can only read the file but can not do changes. Ownership of the folder is admin, group is sambashare which already have the access create and delete files. All the 3 users already in sambashare main group, and they only can edit the file that they copy or create to the common folder .........

View 5 Replies View Related

Ubuntu :: Samba Installation With Access To Guest Users

Apr 19, 2011

All I want is a simple Samba installation that anonymous users/guests can access. I have modified the smb.conf file so much using 'tips' that should enable a simple folder share. Nothing works. If I share the folder using Nautilus share then the folder is accessible without any credentials from only Win7 and android ES File Explorer. XP can't see the folder, nor can any other linux device. I want to switch to linux as a main OS but without shares it's not practical. Does anyone have a stripped down smb.conf which provides guest access to a single folder?

Here's the latest testparm -s
Code:
$ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = MSHOME
server string = %h server (Samba, LinuxMint)
security = SHARE
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
path = /home/mint/Shared
read only = No
create mask = 0777
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
read only = Yes
create mask = 0700
guest ok = No
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
read only = Yes
guest ok = No

View 5 Replies View Related

Networking :: How To Hide Samba Shares From Invalid Users

Jun 8, 2011

I would like to know how can I share folder with samba that samba does not show it to those users that have no access to it?

View 4 Replies View Related

Server :: Configure Samba Share That Users From Ip Pool?

Aug 7, 2010

how to configure samba share that users from ip pool (for example 192.168.1.200-210) have accest without login and rest users form ip pool (192.168.1.2-199 and 192.168.1.211-254) have to past autorization.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved