Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] 'Apple' Samba 2.2.3a on OS X 10.2.6 -> Samba 2.2.8..

 
   Soft32 Home -> Linux -> Samba RSS
Next:  [Samba] valid users = %S in rc4  
Author Message
John Snowdon

External


Since: Sep 25, 2003
Posts: 3



(Msg. 1) Posted: Fri Sep 26, 2003 6:50 am
Post subject: [Samba] 'Apple' Samba 2.2.3a on OS X 10.2.6 -> Samba 2.2.8a upgrade
Archived from groups: linux>samba (more info?)

Right, well I've just downloaded the source tarball and compiled it all.
Turned of Apple samba from 'server settings' and fired up smbd and nmbd
by hand... With different log, lock and password directories to Apple
samba, btw...

/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D

/usr/local/samba/bin/smbpasswd -a root
/usr/local/samba/bin/smbpasswd -a john

So far so good. But if I try to change password as john, then I get this
error:

Old SMB password:
New SMB password:
Retype new SMB password:
machine 127.0.0.1 rejected the session setup. Error was : Call returned
zero bytes (EOF)
..
Failed to change password for john

If I try to do any queries with smbclient I get "session setup failed:
Call returned zero bytes (EOF)"

Looking in the smbd.log, there are lots of messages relating to
authentication failures and a new one I haven't seen before:

[2003/09/26 10:35:17, 0] lib/util_sec.c:assert_gid(111)
Failed to set gid privileges to (0,20) now set to (20,20) uid=(0,0)
[2003/09/26 10:35:17, 0] lib/util.c:smb_panic(1094)
PANIC: failed to set gid

Any ideas? Is it actually possible to replace the built in version of
Samba with a later 'proper' version that we can just do local, user
based security authentication with, or does Apples 'netinfo' system get
in the way no matter what?

John Snowdon - IT Support Specialist
-==========================================-
Faculty of Medical Sciences Computing Dept
School of Medical Education Development
University of Newcastle

Phone : 0191 245 4230
Email : j.p.snowdon.TakeThisOut@ncl.ac.uk


I've found that out, much to my annoyance; no rc.d startup, swat is only
half useful, restart by a gui app (which resets smb.conf unless you
'chflags' the file before and after editing)... And as you say...
integration with 'netinfo' for users and password details, which is a
complete pig.

I believe smbpasswd does not actually do anything at *all* to the
passwords. At least when I've been testing it, changing credentials with
it still allows me in with my 'old' details. The only thing it seems to
do is create accounts and null the password. The only thing that seems
to modify the smb passwords is using Apples 'Accounts' and 'Groups'
utilities.

Brilliant, just what I want from a server O/S, gui-only configuration.

Thanks for pointing it out anyway.

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet@samba.org]
Sent: 26 September 2003 00:08
To: John Snowdon
Cc: samba.TakeThisOut@lists.samba.org
Subject: Re: [Samba] Smbpasswd + password sync on OS X


On Thu, 2003-09-25 at 18:13, John Snowdon wrote:
> Samba 2.2.3a on OS-X 10.2.6

> Any ideas if this built in version of Samba is simply borked?

Unless it's been patched, at the very least it suffers very serious
security holes, and must be upgraded (to 2.2.8a at least).

Other than that, apple has played all sorts of fun & games with their
'version' of Samba (intergration with their directory backend), so it
could be an issue in there.

Andrew Bartlett


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Regarding: de.samba.org/samba/whatsnew/samba-2.2.4.. - Hello, This e-mail has been sent to inform you that your web site URL has been submitted to our search engine..

[Samba] Regarding: de.samba.org/samba/bugreports.html/http.. - Hello, This e-mail has been sent to inform you that your web site URL has been submitted to our search engine..

[Samba] Samba 3.0.1 ADS/Kerberos problems relating to Win2.. - Hello All, I've been discovering the joys of Samba/ADS integration here (the environment is a chip design concern that...

[Samba] SUMMARY: Samba + KDE + winbind + home directories .. - Hello Samba list !! This is my original posting that I sent to the list about two months ago. The summary is below. ..

[Samba] upgraded from Samba 2.2.8a to Samba 3.0.0 now moun.. - Ok I think its sorted finaly, all I do is add port=139 and hay presto it all works again. mount -t smbfs -o..

[Samba] User Data / Profiles / Permission / Mappings Loss .. - We have completed a migration from one Samba server to another Samba. The versions and binaries are exactly the same...
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]