You are not logged in.

#1 2010-02-11 13:37:06

samsom
Member
Registered: 2009-07-17
Posts: 88

Adding user in Samba(SOLVED)

Hi,
I have recently installed Samba and Swat as per the wiki instructions and was trying to add myself as a user in the samba share.

[root@sony sam]# smbpasswd -a sam
smbpasswd: /usr/lib/libkrb5.so.25: version `HEIMDAL_KRB5_1.0' not found (required by smbpasswd)

I see that its looking for some file which I dont really understand. I have tried googling it to no avail.
Could someone please advise me how to sort the problem?
Thanks

Last edited by samsom (2010-02-14 19:07:20)


Samsom

Offline

#2 2010-02-11 14:00:19

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Adding user in Samba(SOLVED)

Have you heimdal installed? "pacman -Qi heimdal" should show that it's required by samba.

Offline

#3 2010-02-11 23:57:45

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Adding user in Samba(SOLVED)

Hi,
I already have heimdal installed.

[sam@sony ~]$ pacman -Qi heimdal
Name           : heimdal
Version        : 1.3.1-2
URL            : http://www.h5l.org/
Licenses       : custom
Groups         : None
Provides       : None
Depends On     : db>=4.8  openssl  sqlite3
Optional Deps  : None
Required By    : cups  gtk2  imagemagick  kdelibs  libcups  librpcsecgss  libtirpc  neon  openssh  samba  smbclient
Conflicts With : None
Replaces       : None
Installed Size : 10628.00 K
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : i686
Build Date     : Wed Nov 25 07:51:15 2009
Install Date   : Wed Jan 13 10:10:27 2010
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description    : Implementation of Kerberos V5 libraries

[sam@sony ~]$ sudo pacman -S heimdal
Password:
warning: downgrading package heimdal (1.3.1-2 => 1.2.1-7)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: cups: requires heimdal>=1.3.1
:: gtk2: requires heimdal>=1.3.1
:: libcups: requires heimdal>=1.3.1
:: librpcsecgss: requires heimdal>=1.3.1
:: neon: requires heimdal>=1.3.1
:: openssh: requires heimdal>=1.3.1
[sam@sony ~]$

Still stuck....

Also, now when I run pacman -Syu, I get the following messages suggesting that my packages are newer than the ones in the repositories! How did that happen?

warning: xorg-server: local (1.7.3.902-1) is newer than extra (1.7.1.901-2)
warning: xorg-xinit: local (1.2.0-1) is newer than extra (1.1.1-1)
warning: xorg-xkb-utils: local (7.5-2) is newer than extra (7.5-1)
warning: xulrunner: local (1.9.1.7-1) is newer than extra (1.9.1.5-1)
warning: xvidcore: local (1.2.2-1) is newer than extra (1.2.1-1)
warning: zlib: local (1.2.3.4-3) is newer than core (1.2.3.3-3)

Last edited by samsom (2010-02-12 00:07:03)


Samsom

Offline

#4 2010-02-12 00:55:03

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Adding user in Samba(SOLVED)

Your system is seriously outdated. Here is what I have:

% pacman -Q xorg-server xorg-xinit xorg-xkb-utils xulrunner xvidcore zlib
xorg-server 1.7.4.901-1
xorg-xinit 1.2.0-1
xorg-xkb-utils 7.5-2
xulrunner 1.9.2-4
xvidcore 1.2.2-1
zlib 1.2.3.7-2

Look at https://users.archlinux.de/~gerbra/mirrorcheck.html for an up to date mirror.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2010-02-12 05:56:30

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Adding user in Samba(SOLVED)

Ok. I hadn't realised that I needed to check for up to date mirrors ( which I have not done for almost 2 years now!!!)
I hae tried updating my mirrorlist file to the latest update as per
http://www.archlinux.org/packages/?q=pacman-mirrorlist


However after ranking them, pacman -Syy followed by pacman -Syu still says my system is uptodate.


Samsom

Offline

#6 2010-02-12 09:15:19

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Adding user in Samba(SOLVED)

do

$ pacman --debug -Sy

as a regular user and check for the first line that looks like this:

debug: adding new server URL to database 'core': http://www.mirrorservice.org/sites/ftp. … /os/x86_64

Then check if that mirror is up to date.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#7 2010-02-12 13:29:56

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Adding user in Samba(SOLVED)

Thanks. I ran rankmirrors again only using the mirrors from the continent.

I tried pacman -Syu

[sam@sony ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
:: Replace avidemux with extra/avidemux-cli? [Y/n] y
:: Replace kdelibs-experimental with extra/kdelibs? [Y/n] y
:: Replace kernel-headers with core/linux-api-headers? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kdelibs: requires phonon

It does not allow me to install phonon as it conflicts with Qt. And a lot of programs depend on Qt. Is this a problem? If yes, how do I sort it out?
Thanks


Samsom

Offline

#8 2010-02-12 13:47:44

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Adding user in Samba(SOLVED)

See front page of Archlinux about KDE 4.4 upgrade routine.

Offline

#9 2010-02-14 19:06:57

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Adding user in Samba(SOLVED)

Thanks a lot. Problem sorted.


Samsom

Offline

Board footer

Powered by FluxBB