[CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Kaplan, Andrew H.
Hi there --

I am having an issue with the Samba package, release 3.033375, that came bundled
with the 
CentOS 5.3 distribution. It seems that even though I created the smbpasswd file,
located at
the /etc/samba directory, I am unable to modify the password of the users listed
in it.

I can run the /usr/bin/smbpasswd -a username command as root, and even though
there
are no errors, a subsequent check of the smbpasswd file indicates the username
in question
is still listed with the series of X's and NO PASSWORD indicator. 

I have confirmed through the find command the only instances of smbpasswd are
those at the 
/etc/samba and /usr/bin locations.  

Has anyone seen this issue, and aside from installing samba from source, have a
solution to
this problem? Thanks. 





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Craig White
On Fri, 2009-11-20 at 11:45 -0500, Kaplan, Andrew H. wrote:
 Hi there --
 
 I am having an issue with the Samba package, release 3.033375, that
 came bundled with the 
 CentOS 5.3 distribution. It seems that even though I created the
 smbpasswd file, located at 
 the /etc/samba directory, I am unable to modify the password of the
 users listed in it.
 
 I can run the /usr/bin/smbpasswd -a username command as root, and
 even though there 
 are no errors, a subsequent check of the smbpasswd file indicates the
 username in question 
 is still listed with the series of X's and NO PASSWORD indicator. 
 
 I have confirmed through the find command the only instances of
 smbpasswd are those at the 
 /etc/samba and /usr/bin locations.  
 
 Has anyone seen this issue, and aside from installing samba from
 source, have a solution to 
 this problem? Thanks. 

are you sure that is the file being used?

what is output of the command...

testparm -s |grep passdb

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Eero Volotinen
Kaplan, Andrew H. wrote:
 Hi there --
 
 I am having an issue with the Samba package, release 3.033375, that came 
 bundled with the
 CentOS 5.3 distribution. It seems that even though I created the 
 smbpasswd file, located at
 the /etc/samba directory, I am unable to modify the password of the 
 users listed in it.

Is that version still using the old smbpasswd backend? Please put config 
file on mailinglist or to pastebin.com

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Kaplan, Andrew H.
Hi there --

Thanks for your reply. The output of the testparm command is shown below:


Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Processing section [printers]
Processing section [roinventory]
Loaded services file OK.
Server role: ROLE_STANDALONE
passdb backend = tdbsam 

The smbpasswd command is available for backwards compatibility. At the risk of
coming across
as a complete idiot, how does that tie in to this situation?



-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of
Craig White
Sent: Friday, November 20, 2009 11:54 AM
To: CentOS mailing list
Subject: Re: [CentOS] Problem with Samba on CentOS 5.3

On Fri, 2009-11-20 at 11:45 -0500, Kaplan, Andrew H. wrote:
 Hi there --
 
 I am having an issue with the Samba package, release 3.033375, that
 came bundled with the 
 CentOS 5.3 distribution. It seems that even though I created the
 smbpasswd file, located at 
 the /etc/samba directory, I am unable to modify the password of the
 users listed in it.
 
 I can run the /usr/bin/smbpasswd -a username command as root, and
 even though there 
 are no errors, a subsequent check of the smbpasswd file indicates the
 username in question 
 is still listed with the series of X's and NO PASSWORD indicator. 
 
 I have confirmed through the find command the only instances of
 smbpasswd are those at the 
 /etc/samba and /usr/bin locations.  
 
 Has anyone seen this issue, and aside from installing samba from
 source, have a solution to 
 this problem? Thanks. 

are you sure that is the file being used?

what is output of the command...

testparm -s |grep passdb

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Kaplan, Andrew H.
Hi there -- 


Thanks for your reply. The output from the testparm command is shown below:

Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Processing section [printers]
Processing section [roinventory]
Loaded services file OK.
Server role: ROLE_STANDALONE
passdb backend = tdbsam 

Evidently this version of samba is not using smbpasswd backend. If that is the 
case what would be the correct command syntax to use here?



-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of
Eero Volotinen
Sent: Friday, November 20, 2009 11:54 AM
To: CentOS mailing list
Subject: Re: [CentOS] Problem with Samba on CentOS 5.3

Kaplan, Andrew H. wrote:
 Hi there --
 
 I am having an issue with the Samba package, release 3.033375, that came 
 bundled with the
 CentOS 5.3 distribution. It seems that even though I created the 
 smbpasswd file, located at
 the /etc/samba directory, I am unable to modify the password of the 
 users listed in it.

Is that version still using the old smbpasswd backend? Please put config 
file on mailinglist or to pastebin.com

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Craig White
On Fri, 2009-11-20 at 11:58 -0500, Kaplan, Andrew H. wrote:
 Hi there --
 
 Thanks for your reply. The output of the testparm command is shown below:
 
 
 Load smb config files from /etc/samba/smb.conf
 Processing section [homes]
 Processing section [printers]
 Processing section [roinventory]
 Loaded services file OK.
 Server role: ROLE_STANDALONE
 passdb backend = tdbsam 
 
 The smbpasswd command is available for backwards compatibility. At the risk of
 coming across
 as a complete idiot, how does that tie in to this situation?

the passdb is where users/passwords are stored according to your
configuration

You can use tdbdump utility to see the contents of your passdb if you
want.

tdb is the database provided with samba and it stores many more
attributes than the old smbpasswd file and has been the default for
several years now.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread John Doe
From: Kaplan, Andrew H. ahkap...@partners.org
I am having an issue with the Samba package, release 3.033375, that came 
bundled with the  
CentOS 5.3 distribution. It seems that even though I created the smbpasswd 
file, located at 
the /etc/samba directory, I am unable to modify the password of the users 
listed in it. 
I can run the /usr/bin/smbpasswd -a username command as root, and even 
though there 
are no errors, a subsequent check of the smbpasswd file indicates the username 
in question 
is still listed with the series of X's and NO PASSWORD indicator.  
I have confirmed through the find command the only instances of smbpasswd are 
those at the  
/etc/samba and /usr/bin locations.   
Has anyone seen this issue, and aside from installing samba from source, have 
a solution to 
this problem? Thanks.  

I have smb passwd file = /etc/samba/smbpasswd in my smb.conf...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread Craig White
On Fri, 2009-11-20 at 11:58 -0500, Kaplan, Andrew H. wrote:
 Hi there --
 
 Thanks for your reply. The output of the testparm command is shown below:
 
 
 Load smb config files from /etc/samba/smb.conf
 Processing section [homes]
 Processing section [printers]
 Processing section [roinventory]
 Loaded services file OK.
 Server role: ROLE_STANDALONE
 passdb backend = tdbsam 
 
 The smbpasswd command is available for backwards compatibility. At the risk of
 coming across
 as a complete idiot, how does that tie in to this situation?

you can read about the different types of passdb's here in Samba's
Official HowTo

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#id2592512

I would recommend using tdbsam as you are doing and you can simply check
the contents of this file by typing 'tdbdump /etc/samba/passdb.tdb'

tdb stands for 'trivial database' and it actually allows you to use more
of the pdb features like setting some policies for users.

The usage of 'passdb = smbpasswd' is the old / flatfile database and all
it really permits is a username and password.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos