Ubuntu :: Samba Symlink Change With 10.10?

Oct 10, 2010

I have a server with my music on it. There is a network share where all my machines can access that music. In the past I have created a link inside the Music folder of each user/machine which links to the Samba share. I have been doing this by linking to /home/[username]/.gvfs/share on server.

In 8.10 I am able to drag and drop to create the necessary link from Music to share on server. With maybe 9.10 I lost the ability to drag and drop the link and had to resort to the command line ( ln -s "/home/[username]/.gvfs/share on server" /home/[username]/Music ). With 10.10 I don't seem to be able to create this link using any method. (Any link which is created is linked to / .) (After 8.10 admin rights are required to create the link from ~/.gvfs/whatever.) This method is very handy as all of the machines and users point to the exact same location for their music (~/Music/share) and if I can't create that link this system of organization fails.

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Samba Share With Symlink?

Jul 26, 2010

I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?

View 1 Replies View Related

Software :: How To Change Timestamp Of Symlink

Feb 10, 2010

I have a directory containing files and symlinks to files elswhere. I make a copy of the directory like this:
cp -rp dir/* new_dir

The files in new_dir have their original timestamps, but the symlinks have the current time. touch -t does not operate on the symblink but on the files they reference. Is there a way to set the timestamp of the symlink to a time in the past?

View 1 Replies View Related

Fedora :: Change Lib Symlink Everytime Restart F14?

Feb 19, 2011

Because I am working with some 3d software, and to be able to start it I need to symlink libGL.so.1 and libGL.so.1.2 from /usr/lib64/ to libGL.so.1 and libGL.so.1.2 from /usr/lib64/catalyst/ folder. I move existing libs to new names by adding .bak at the end of file name.

But everytime I restart machine soemthing changes libGL.so.1 linking from libGL.so.1.2 (in catalyst folder) to libGL.so.1.2.bak (in usr/lib64/ folder), original file. And I can not start 3d software. Can I stop that from happening somehow? Why is that happening at all?

View 6 Replies View Related

CentOS 5 Server :: Samba-3.0.33 - Cannot Change Computer Names In A Samba Domain?

Oct 8, 2009

I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:

===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)

[code]....

View 3 Replies View Related

Ubuntu Networking :: Change Samba's User Password From Windows 7?

Oct 1, 2010

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.

View 2 Replies View Related

Ubuntu Networking :: Change Samba Shared Folder's User?

Jan 27, 2011

I installed samba just as described in [URL]

Now I want the shared folders (and the files created in them) to be owned by a user named efil. How do I do this?

View 3 Replies View Related

Debian :: Samba AD PDC Password Change Errors

Sep 24, 2015

I have setup a samba Active Directory PDC to essentially eliminate the cost of using a Windows PDC. There are other reasons but I won't go into those now.

So everything works fine apart from a couple of things that are bugs in samba until 4.2 which isn't stable yet on debian (so I read).

The one thing that doesn't work is users trying to change their passwords. I can change them from either the PDC or through Windows users and groups. If a user tries to change it they will get the message:

"Mutual Authentication Failed. The server's password is out of date at the domain controller".

The packages I have installed and configured are:

samba
smbclient
smbldap-tools
ntp
krb5-user
krb5-admin-server
winbind

I provisioned the domain using samba-tool domain provision, i have configured kerberos and users can log in fine....it is simply changing passwords that are the issue. I am not sure if this is a samba config issue or where it is. I would hate to have to fall back to a Windows PDC.

Below is my samba config, the [domain] is of course an actual domain on the server.

Samba Config:

# Global parameters
[global]
workgroup = [domain short]
realm =[domain]
netbios name = BILBO
server role = active directory domain controller

[Code] .....

View 0 Replies View Related

Server :: Samba And OpenLDAP Does Not Change UserPassword?

May 6, 2010

I have OpenLDAP 2.4.12 and Samba 3.5.1 installed. When I try to change the password with smbpasswd, it changes the Windows password fine. But userPassword is not updated in LDAP. The error message is: "smbldap_check_root_dse: Expected one rootDSE, got 0" when I run smbpasswd -D 10 <username>.

I added the following to slapd.conf:

access to dn.base=""
by * read
password-hash {md5}

in hopes of allowing samba to read the root DSE, even though Samba is configured with the root DN.

how to make samba find what it needs in the root DSE of my LDAP server?

View 4 Replies View Related

Software :: Change The Port Numbers Of Samba?

Jan 19, 2011

I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So i need to run samba in a different port.

View 1 Replies View Related

Ubuntu :: Unable To Change User/group Permissions On Samba Shares?

Jul 3, 2011

this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:

-mones
-fsu
-fsu2

[code]....

View 2 Replies View Related

Networking :: Change The Win Net Bios Name Of Opensuse Samba Share?

Sep 20, 2010

I have an openSUSE 11.1 (64 bit ) machine file sharing with samba in a mixed os enviroment [ linux , winxp , mac ]and the share appears in network nghborhood on pcs ok , and the sharing is ok .But-- ther is 1 matter that i would like to change.in network neighborhood the machine name appears asSamba 3.2.7-11.7.1-2373-SUSE-CODE11 (NameMyMachine)the NameMyMachine is just fine but the 1st part --Samba 3.2.7-11.7.1-2373-SUSE-

View 3 Replies View Related

Server :: Can't Change Attributes From Windows On Samba Share

Mar 24, 2010

I need to allow my Windows users to be able to check off "Read-Only" or "Hidden" attributes on our Samba share. Currently its not allowing me to do so.

After searching online, I set the map readonly, hidden and archive option to "yes". Then my entire files were hidden.

I'm having a hard time understanding the concept of the "map" option in smb.conf

View 1 Replies View Related

Programming :: Script To Change Samba Users Password?

Feb 4, 2010

I want to create a webpage where users can change their samba password and before I jump to PHP code i want to write perl code that can be called in php code.I have created two file 1. main.pl - this script actually switch user and call passwd.pl2. passwd.pl - this is actually changes the password {main.pl}

#!/usr/bin/perl
my $username = $ARGV[0];
my $oldpass = $ARGV[1];

[code]....

View 1 Replies View Related

Ubuntu :: How Can Be Changed Symlink From / Etc / Rc2.d Directory

Feb 27, 2010

How can be changed a symlink from the /etc/rc2.d directory.I want tho change the time of start from S20 to S60.

View 1 Replies View Related

Ubuntu :: How To Undo Changing Symlink

Feb 4, 2011

how to undo this?

"Simply change the symlink so that it points to /bin/bash. To do this, open a terminal, and type the following:

sudo rm -f /bin/sh
sudo ln -s /bin/bash /bin/sh

From now on your scripts should work as their authors expected."

View 2 Replies View Related

Ubuntu :: Can't Execute A Symlink In /etc/init.d?

Aug 22, 2011

So, I made a bash script that I need to be executed on booting, I created it in /etc/sbin/mount_folder.sh

Code:
sudo chmod +x mount_folder.sh
sudo ln -s mount_folder.sh /etc/init.d/mount_folder.sh
Then I try to:

[Code].....

Also, if I create the symbolic link in the same folder I can execute it normally

View 5 Replies View Related

Server :: Replace Windows AD With SAMBA - Restrict Clients Not To Change IP

Feb 14, 2011

I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.

View 1 Replies View Related

Server :: Samba Openldap PDC Cannot Change Password From Windows XP Client

Jul 24, 2010

I finished setup Samba PDC with Openldap backend. I can joint Winxp client to domain but can not change pass by press Ctrl + Alt + Delete and choose Change password button

This is my conf.
I used
samba3x-3.3.8
openldap 2.3.43
slapd.access.conf

Code:
access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword
by dn="cn=Manager,dc=microhdesk,dc=net" write
by anonymous auth
by self write
by * none

[Code]....

View 1 Replies View Related

Slackware :: Change The Option To Have Samba Start During The Boot Process?

May 17, 2010

Where do I change the option to have samba start during the boot process? I've googled and I've found old posts that say it's a line in /etc/rc.d/rc.inet2 but in my semi-current box, I don't see the part about starting stopping the samba server.

View 5 Replies View Related

CentOS 5 :: Windows Users Cannot Change Password On PDC Samba Server?

Sep 3, 2009

I'm using on my smb.conf

# Sincronizacion de cuentas LDAP, NT y LM
# unix password sync = Yes
ldap passwd sync = Yes

[code]....

View 2 Replies View Related

CentOS 5 Server :: Samba Option Pwd-must-change-time Does Not Work?

Sep 30, 2010

I have installed centos 5.4 with samba 3.0.33-3.15. Now this server is PDC for a domain with 20 xp client. I want to set the "password must change" option in the samba user detail.Now I have this configurationmaximum password age = 68256000maximum password age = 0with pdbedit -Lv pippo

View 1 Replies View Related

Ubuntu :: Command Line Symlink Reallocation?

Aug 7, 2010

I'm running a clean install of Lucid on a new HD. I've moved over all my old data and files from the previous Karmic system, and am having trouble with a directory full of symlinks. This is a collection of links into my photographs, which I use for wallpaper with Desktop Drapes, and the directory has 1300 symlinks which now point to the wrong place.

I only need to change the first part of the link target:
/oldplace/somedir/subdir/photo.jpg
into:
/newplace/somedir/sudir/photo.jpg

I believe this needs the application of _ ln _ in a terminal to re-write the symlink, and the use of a bash line including _ if . . fi _ or possibly _ IFS _ ? I might also need to use _ sed, - but I'm not sure of the syntax for this.

View 3 Replies View Related

Ubuntu Servers :: Propagate Ldap Password Change To Samba And Unix User Account?

Apr 21, 2010

I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server. But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account.

My smb.conf

Code:

passdb backend = ldapsam:ldap://192.168.3.100
ldap suffix = dc=example,dc=local
ldap user suffix = ou=People
ldap group suffix = ou=Groups

[code].....

But only the ldap password is getting changed and not in the samba and unix user account.

I tried

unix password sync = yes

but same result.

View 1 Replies View Related

OpenSUSE :: Get A Script Or App That Go Through The Samba Share Recursively And Change All File Names?

Apr 5, 2011

I have a samba share that was previously hosted by and accessed by Windows operating systems. As a result the filenames of all the files are not very command-line/linux friendly. I need to get a script or app that can go through the samba share recursively and change all file names to lowercase and replace spaces in the names with a ".", "_" or something.

View 9 Replies View Related

Ubuntu :: Replaced Music With Symlink - Lost Icon

Jul 4, 2010

I have a docs partition with my music on it. I replaced the Music folder in the system's home folder with a symlink pointing to the music folder on the docs partition, but the special music icon has now disappeared (it just looks like a regular folder).

View 3 Replies View Related

Ubuntu :: Pidgin Symlink Or Fstab For Windows Share?

Aug 14, 2010

I have been using pidgin on windows XP with .purple on another networked computer [also win XP]. in windows you can set the environmental variable to change the location of purplehome to the //windows_share/.purple and it 'just works' I am now trying to replicate this using ubuntu 10.04 LTS I need some answers: should a symlink be used? should it be added to fstab? should properties, command be changed in pidgin? I have tried all of these but I must not be doing it right cos it is not working! Trust you can help me out on this. I am a relative newbie but have been using ubuntu for a year or so, just never sorted this one out.

View 1 Replies View Related

General :: Symlink And Sudo Executable?

Jun 14, 2010

If I have the below sudoers entryusera ALL=(userb) NOPASSWD: /home/userc/bin/executable-fileusera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-fileWhen I log-on as usera and try running the below commands, it workssudo -u userb /home/userc/bin/executable-filebut NOT the one below.sudo -u userb /home/userc/bin/link-to-another-executable-fileSorry, user usera is not allowed to execute '/home/userc/bin/link-to-another-executable-file' as userb on hostname.

View 1 Replies View Related

General :: Why Can't Make Symlink Except As Root

Mar 13, 2010

In my MIDI music collection, I have a "best" folder with duplicate copies of only my favorite files. Recently I thought, why waste memory with duplicates--can't I just put symlinks in the "best" folder? So I tried to, in Konqueror. It would only let me make the symlinks from the Konqueror superuser account.

View 4 Replies View Related

General :: Do Symlink Or Hardlink At Start Up?

Jun 7, 2011

2.6.38-8-generic
Mint 11 64 bit

I'm trying to move a file from a directory to another one and create a symlink but seem to be doing something wrong. Have done "man ln" and looked up info in coreutils but I don't seem to be able to get it right. There are two files in ./home/jim/.config/banshee-1/ that I want to move to ./home/jim/Dropbox/banshee. I have created backups of both and created the new folder in Dropbox. see attached screen shots. I then run

Code: jim@saturn ~ $ sudo ln - ./home/jim/Dropbox/banshee/banshee.db ./home/jim/.config/banshee-1/banshee.db
ln: creating symbolic link `./home/jim/.config/banshee-1/banshee.db': No such file or directory and get the above error message. Now I know symlinks do not need to be complete at the time of creation, but I'm not sure if I have done this right or not and if I try and read and write banshee.db at the original location if it will do it properly and efficiently. Is this a case where I should do a hardlink instead and have both files. If I want to do this every time at start up, how do I automate the commands once I have them right?

View 5 Replies View Related







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