Software :: OpenSUSE - Map Users Folders From Samba Sharing
Aug 24, 2010
There are 3 computers:
- OpenSUSE (Workstation configured to log in using Active Directory Information)
- First Windows Server (Domain Controller)
- Second Windows Server (Provide shared folders for users to use)
How do I map domain users from second Windows Server (like \windowsserverusers<user>) to a folder (like /home/<domain>/<user>/<user_personal_folder>) in OpenSUSE computer ? It should be via samba right? Trying checking something in /etc/samba/smb.conf but couldn't find anything.
I am using Ubuntu 9.10 desktop. I set up my main user- admin and loaded the folders of files I would be working on and the relevant additional programs. Now, I would like to set up a second user so that someone else can use the computer with access to many of my files and folders, but not all, which would defeat having a second user. I have set sharing preferences for all of my folders. I have giving most rights to my second user. Yet the second user cannot even see ANY of my folders when they sign-in.
I attempted to share my ~/Videos folder using the Folder Sharing dialog when right-clicking a folder in Nautilus. It started to install but failed partially spitting out some error that I didn't bother to read/write down. It asked me to restart which I did. But now when reattempting to share the folder, I get given the following message: 'net usershare' returned error 255: net usershare add: cannot create tmp file /var/lib/samba/usershares/:tmp0BRWpm
I've looked around for a thread for this particular error, but I can't find anything specific to the "cannot create tmp file" issue. I'm assuming it's some folder permission issue. I tried uninstalling and reinstalling samba from the Ubuntu Software Center.
Win7 x64 host with Virtualbox installed running Ubuntu 32bit guest OS. I have Samba installed and I am sharing a folder to have read access from Win7. The folders I tried to share (here 'folder1-3') have been added in the conf.d in etc/samba/ like this - I used these 3 variants, all showed the same problem:
Code:
[folder1] path = /data/mp3 read only = yes guest ok = yes
[code]....
While I can connect to all of these from Windows and map them in Windows Explorer, I am unable to serve those files using my FTP server that is running on Windows. The folders simply do not show up when I add them as folders to serve in FileZilla. The problem I am assuming is causing this is the fact that FileZilla is running as a different instance and not on an administrator level. I cannot however add any users to the permissions list on the Windows side. The 'security' tab of the mapped folder shows the following Users:
EVERYONE root (Unix user oot) root (Unix group oot)
None of these seem to have rights to 'read' or 'list folders', the only permissions listed are 'special permissions'. Does anyone know how I can assign the group EVERYONE privileges to read and list files and then be able to serve this shared folder through my Windows-run FTP server?
sharing the home directory of my mediacenter pc.I run xubuntu 10.04 on this machine, so I had to write my own smb.conf file:
[global] workgroup = ReteDomestica netbios name = MEDIASERVER[code]....
On my desktop PC (ubuntu 10.10) I can see the home folder of the mediacenter, but I cannot open it (unable to mount windows share) Where's the mistake?
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 .........
I've set up smbd 3.4.7 on 10.04x64 LTS server. I've set up a couple shares and I'm having problems blocking access to certain directories using native file permissions. There is one directory that has folders for each sales rep to store their current list of quoted clients, I only want sales people to be able to browse the directories owned by themselves. Everything seems to be set up correctly in terms of user groups and permissions on the filesystem.
Below is marina, a sales rep, and brian, a super user of sorts. id marina: Code: uid=1011(marina) gid=1006(office) groups=1006(office),1005(sales) id nick: Code: uid=1000(brian) gid=1006(office) groups=1006(office),118(admin),1001(full),1002(processing),1003(management),1004(it),1005(sales)
Below is the directory with all the sales reps folders. ls -la: Code: total 60 drwxrwxr-x 15 root it 4096 2011-02-10 20:06 . drwxr-x--- 9 root office 4096 2010-11-19 12:40 .. drwxrwx--- 13 katya full 4096 2010-12-07 12:36 Katya drwxrwx--- 18 lana full 4096 2011-02-08 17:09 Lana drwxrwx--- 23 marina full 4096 2011-02-10 18:09 Marina drwxrwx--- 4 mike full 4096 2011-02-01 12:42 Mike
With this setup marina only be able to browse her folder, but she can browse all folders and has full write access to all folders. This leads me to believe something is up with the smbd.conf file, which is below.
Code: [global] workgroup = COMTREAD null passwords = no server string = Root Server dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 .....
In this case the valid users directive would not work cause I am not making a share for each user. I had this on other shares like the db2 share. My windows box lagged heavily when I tried to access that share with an invalid user. How to deny users the ability to modify permissions I would also like to do that.
I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.
I want to know if you can make a share on Samba and if you access the file you need to put a username and password in and can you save that to the server. If you can give me a step by step guide how to do it or give me a link where I can go read up on it.
I'm a new openSUSE user. I want to make an account for my cousin, but we want our NTFS folders (from the dual WIndows XP install) inaccessible to each other. Problem is that, if I've read well in other searches, permissions can't be applied to NTFS (only the power to write, not only read, the whole partition). I know this can be done in Ubuntu, so I don't find a reason not to be able to do it, and I think my fault is that I'm using KDE (which I like more now, by the way) instead of GNOME.
I'm evaluating OpenSUSE and have installed 11.3 with Gnome (from the latest liveCD) and have it all running fine in a VM at the moment. We are looking at using it for an iSCSI/NFS/Samba server and have it allrunning and it is all configurable from Yast. However I can't seem to get Nautilus to play ball and allow sharing of Samba/NFS shares under folder properties (I'm fairly positive I've done this fine in Ubuntu). All I ever get is Usershare/Gnome sharing (which I believe is Webdav).
I must say I am so impressed with OpenSUSE, the partition manager is just a dream to use and everything works really well it would just be really nice to be able to share NFS/Samaba shares from the file manager. There doesn't seem to be any other file managers in the repositories so I'm a bit stuck now.
I set up a samba file sharing system but my workgroup asks for a username and password see this-This is the text in /etc/samba/smb.conf:
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed.
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
I have currently have opensuse 11.2 installed. I am trying to setup samba shares which you can only access as certain user. Currently looks like the only way I can access these share is use root username/password!
I want to which GUI I need to use to setup this up properly. And of course what setting to exactly to use.
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.
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.
I installed SLES 10.2 with SAMBA 3.5.5.43 to retire our old Microsoft Windows 2000 Server and save some money. All was fine until last week when our chief asked to me to set password expiration for all clients. This morning, all users cannot logon because, when they logon, windows asks to change password and then it gives error error "Access Denied".
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 ?
I have 3 PC's in my household and I wanted to know if I can share folders with them lively. For example, I have LAMP server set up on all three, would it be possible for me to work on one PC then work on another and everything would automatically be shared?
How do I get it to play movies? It needs all kinds of codecs apparently. Is there a good source for these?I'm running Ubuntu on another machine. How do I connect to THAT?I was able to use samba in Ubuntu to connect to my windows network. Will that work to connect Fedora and Ubuntu?I get this when I try to use sudo in terminal.is not in the sudoers file. This incident will be reported.How do I fix that and how can I log in as root? It won't accept my password even though I know it's right.
Current situation: two drives, Ubuntu 10.4 64bit installed and running on one drive, other drive blank and formatted for NTFS. What I want: When I download of save anything I want it to be stored automatically on the NTFS drive with no encryption and have the 'Places' folders point to the corresponding folders on that drive. Why: simple, I'm planing to dual boot Ubuntu and windows 7, and the NTFS folder will be the 'My Documents' Drive, this is why it's formatted NTFS. There will be over 100GB on files I'll need both OS's to have access too and I would like it to be automatic to save duplication. Also, if I need to, I want to be able to take that documents drive from the Ubuntu PC and be able to recover the info with an inferior windows OS... because that's what I have lying round in an emergency.
I can access the folders that I have created in XP. What I would like to know is whether or not it is possible to share or link folders between the two OS. For example, I try to keep my files organized as best I can and had been keeping pictures in my XP "My Pictures" folder, but have to do a bit of directory digging to get to that same folder from Ubuntu.
As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.
I have a USB drive connected to my Ubuntu laptop. I tried to create a share but cant access it from other Win PCs. I'm getting access denied even though I'm entering my ubuntu username and password. I'm guessing this has something to do with my drive being NTFS
I'm on the road with a laptop and my wife. I can get into various networks (like my father in law's) but just to make life nicer, I'd /like/ to only have to enter the wep key once ... in my profile. For instance: I get on the network under my profile. I then log off, and my wife logs on. She has to enter the wep key in her profile. She logs off and a cousin logs on (on our anonymous account that has limited privileges) and they also need to enter the wep key. Any way to share the wep key across all accounts? I'm using network manager in ubuntu hardy.
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
I created a shared folder in my network, and then unshared it but it still shows up on Guest computers and people can still access it.How can I stop the share? "Sharing options" is completely greyed out.
I'm on Ubuntu 10.10. I installed Samba and went Administration > Samba. Added a folder [Videos] to share (this folder is on an ext partition). I then went to the folder [Videos] Right+Click > Sharing Options. I selected 'Share this folder', I put in a name and comment, checked Allow others to create and delete files in this folder and checked Guest Access.
When I view this shared folder [Videos] from my Windows PC I can access it with no problems but when I try drill down into sub folders I get a permissions error. [Attached a screenshot of the error]. If I share each folder separately then I can access them but obviously I'd like to share a folder and all it's contents.