Ubuntu :: Samba Server And Windows 7 - User Doesn't Work?
Feb 7, 2010
So here is what I'm trying to do: I want to share a folder and have it so that guests can access it, but only read. I also want to make it possible that I can mount it as a network drive on my Windows 7 machine and login with my linux account so that I can have write access. This is from a completely stock Ubuntu 8.10 and Samba config. Everytime I've tried I've failed to get it working.
I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically.It should look like this:Quote:
comment = Home Directory of '%u' valid users = @"Domain Group" browseable = no
I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically. It should look like this:
comment = Home Directory of '%u' valid users = @"Domain Group" browseable = no writable = yes
[Code]....
When I explicitly declare "path" param, it works ok. But I need PERSONAL home dir for every user separately, not one dir for everyone.
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.
My SAMBA share doesnt work. i have added valid users, public (not protected by password) shares are working but intended password protected share isnt.
Windows XP says:
Code: "You might not have petrmission to use network resource.
Multiple connections to server or shared resource by the same user, using more than one username are not allowed. disconnect all previous connections to the server or shared resource and try again.." /etc/init.d/smb.conf
I got ubuntu samba server on server 10.04 username:user1 , Home folder: /home/user1 This user connects from a macbook pro no problem. I followed the same steps to set up user2 username:user2 , Home folder: /home/user2 This user does not connect from windows vista. I have the correct ports open, 137-139 & 445, and can connect from the macintosh, but not vista. The error says that the username or password is in correct. If you need some log files or config files, just let me know where to go and they're all yours!
system-config-samba doean't work from terminal neither it is shown in graphical mode, i cannot see system > administration > servers. Server is missing.
I have a Samba installed and configured on a Ubuntu Server 10.04 box, as a file server, not as an PDC. And I have several Windows 7 machines accessing the Ubuntu Server to store files.
I would like to let users to change their passwords from windows.
I am currently attempting to setup Samba 3 (installed) for a basic home-network file-sharing server via Ubuntu 10.04. It seems like (based on my extensive googling and research) nobody wants or has a configuration like I do, but surely SOMEBODY knows how to do this.
The following is my goal for a basic setup.
Folder 1 (share is called "Read-Write"):
-Users from Windows 7 can see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
-Users can accomplish all of this from as "guest."
Folder 2 (share is called "Read-Only"):
-I can log in as my user to see, read, write, execute, create, or delete any files and folders in Folder 2 as I so desire.
-People other than me can log in as "guest."
-"Guest" users from Windows 7 can see, read, and execute programs as desired.
Things I have accomplished:
-Directories exist
-Directories are browseable via Windows 7
-My user has a password for Samba (assigned via "sudo smbpasswd -a matthew)
Things I have not yet been able to accomplish:
-Configure Folder 2 so that Samba asks for login credentials when someone tries to access it SO THAT I an use my Samba user to log in.
-Configure Folder 2 so that, when I log in as my Samba user, I can see, read, write, execute, create, or delete any files and folders in Folder 1 as I so desire.
-Configure Folder 2 so that Windows 7 users can easily access it as guest to browse, read, and execute files and folders in it.
-Configure Folder 1 so that any Windows 7 user can easily access it as guest to see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions
[global] workgroup = HOME server string = %h server (Samba, Ubuntu) map to guest = Bad User
I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.
Right now I'm simply using the smb.conf that comes with the package and adding my share info.
I made a Ubuntu server and it is pretty cool. I had a windows computer that I could copy and paste files to and from over the network. What you did is just find it in My Network and the files were available there. How do I make Ubuntu or Samba act like that?
Virtual Box doesn't work under ordinary user, though this user is in vboxusers group. Under SU it work normally. This happied after upgrage to 4.0.10-8.1 version from obs://build.opensuse.org/Virtualization community repository. In Oss repository there is 4.0.4 version.
Here the massage, that appears after start of Virtual Box under ordinary user: "Failed to create the VirtualBox COM object.
The application will now terminate. Ditails: Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)
I have a Samba server running on a box where I login to admin as user: FRED The Samba users are SUE JOE - Read only for specified paths (media playback access only user) SUE can read/write to any directory under the share: Media
So all that is working fine. As long as I do file operations remotely as SUE everything works remotely. How can I make it to where everything SUE does over Samba FRED automatically has permissions to edit when logged in locally (or SSH)? Also, remember, Joe needs to be able to read where specified.
I've tried to ssh in as the root user w/o a password (RSA keys) but I've had no luck as the root user. I've tried the exact same commands with Debian 5 and Centos 5.5, without a problem. Fedora 13 and 14 won't work! I can only log in w/o a password as a normal user, never as the root user! It always asks for the password if I try as root. I've even tried copying Debian's and Centos's sshd_config file and restarting sshd, but it still won't work.
My problem is that I cant "rewrite" older password to new. It looks like I do:
Changing password for user johny. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully.
all looks OK but after set up new password I can log in using OLD and NEW password. It's very unsecure for me. So in fact I cant change password and it looks like centos create next password to one accout and one account have more then one password... how can I prevent it? pls help me couse its very unsecure in my case.user looks in file shadow /etc/shadow like this:
First off I would like to install a GUI for samba. After that I want to set up my network so that router stays as the server for the network I have four windows computers already hanging off of the router. This machine which has Slackware on it is hardwired, directly connected, to the router via cat-5 cables. I have samba installed already and I just need to configure it correctly.
My password doesn't work to enter super user mode in the terminal. this password works for all other administartive uses in and out of the terminal, just not for entering super user mode.
I have a samba server that I had setup using the default smbpasswd backend, and it worked fine. So long as I remembered to use smbpasswd/passwd to setup a user with a username and password matching the account name of a Windows 7 user, then that windows 7 user would be able to navigate the shares with their permissions correctly.I have switched over to using ldap, and: the console/ssh of the machine can correctly use any of the ldap logins getent passwd/group both show the complete listing my Windows 7 machines can all ping the samba server by its netbios name my Windows 7 machines all prompt for authentication if I type \MACHINENAME into explorerHowever, all attempts to access the shares now continually ask for you to enter your username/password, and then fails anyway.No errors appear to be generated on the server (unless I'm missing a log somewhere). Having hunted around on the web, I'm wondering if it has to do with generation of machine accounts (since it tries to access from MACHINENAMEUSER). Without ldap setup, I didn't need to worry about the machine name, but I'm thinking that maybe smbpasswd took care of this somehow.I use the smbldap-useradd tool to setup a user account, which appears to correctly setup the user in ldap, such as:
Code: dn: uid=sharer,ou=Users,dc=intbus,dc=net objectClass: top
how to make a new Ubuntu 9.10 box use our LDAP/Samba server for user authentication. Our Red Hat and Windows machines all use it just fine. I've been trying to use the auth-client-config and libnss-ldap packages for this purpose, but I must be missing something. I'm pretty green with LDAP, so this is my first time diving in... Is there a good How-To or step-by-step read on this? All of my searches lead me to setting up Ubuntu as the server, and that isn't what I want. I've also tried the steps listed in [URL] for the LDAP Authentication section.
I have configured samba server.My requirement was that the path which i have to share was /srv/www/htdocs.With this the shared path for developer user was /srv/www/htdocs/projects.
So in the smb.conf file i made the entries as following:
After that root user was able login to both /srv/www/htdocs and also project folder and developer was only able to login to projects folder.That was according to my requirement but now the problem is that when developer is trying to edit any file in projects folder he is getting error that you dont have permissions to change this file.But developer should be able to edit any files. What changes i need to do now.
i am trying to setup a very basic samba share on RHEL.after editing smb.conf ,testparm output is ok,(though it shows STANDALONE SERVER.)the directive i have used are
I recently have installed Ubuntu 10.10 Maverick Netbook Edition in my personal netbook. The thing is that I had installed Windows 7 in the hard disk drive so I decided to install Ubuntu alongside with it. After the process of installation everything was cool but I hadn't the Grub working. I then pressed the Shift button during the booting process so I got the Grub menu but it didn't show the Windows 7 partition. The Windows installation was not erased because its file system is present in Nautilus. I have tried reinstalling the Grub a thousand times but nothing changes. I have attached the results of the boot info script so you can have some info about my booting configuration.