[Samba] smbpasswd not working

2012-01-19 Thread John Tate
When I used smbpasswd it gives me the following error... root@hayek:~# smbpasswd john New SMB password: Retype new SMB password: Failed to find entry for user john. This is despite the existence of the user root@hayek:~# cat /etc/samba/smbpasswd # # SMB password file. # nobody:65534

Re: [Samba] smbpasswd not working

2012-01-19 Thread Volker Lendecke
/samba/smbpasswd # # SMB password file. # nobody:65534:::[U ]:LCT-:nobody john:1000:::[U ]:LCT-:John Tate,,, I do not understand what is going

Re: [Samba] smbpasswd not working

2012-01-19 Thread Helmut Hullen
Hallo, John, Du meintest am 20.01.12: root@hayek:~# smbpasswd john New SMB password: Retype new SMB password: Failed to find entry for user john. This is despite the existence of the user root@hayek:~# cat /etc/samba/smbpasswd # # SMB password file. # nobody:65534

Re: [Samba] smbpasswd not working

2012-01-19 Thread John Tate
/etc/samba/smbpasswd # # SMB password file. # nobody:65534::XXX X:[U ]:LCT-:nobody john:1000::XX XX:[U ]:LCT-:John Tate,,, Tells pdbedit -Lw

[Samba] smbpasswd and replica ldap server

2011-11-23 Thread tony archibald
Hi, I have a replica ldap server running on a machine and the samba passdb back end on this machine points to this replica ldap server. I have defined an update ref pointing to the master in my slapd.conf. the question is... will utilities like smbpasswd follow these references and update the

[Samba] smbpasswd doesn't accept -'s in username?

2010-07-30 Thread Gilles
Hello Since Lighttpd sets /var/www to www-data, I ran this: # grep -i www-data /etc/passwd www-data:x:33:33:www-data:/var/www:/bin/sh # smbpasswd -a www-data New SMB password: Retype new SMB password: Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL! Failed to add entry for user www-data.

[Samba] How ot migrate from /etc/samba/smbpasswd - LDAP ldapsam:trusted

2010-05-02 Thread Götz Reinicke - IT Koordinator
Hi, has anyone done a migration from an old smb passwd file = /etc/samba/smbpasswd setup to a up to date LDAP ldapsam:trusted setting? (Centos 5.4, samba-3.0.33-3.28, openldap-2.3.43) If so, is there some how to? Or may somewone share his/her experience with me. Thanks a lot and best regards

Re: [Samba] How ot migrate from /etc/samba/smbpasswd - LDAP ldapsam:trusted

2010-05-02 Thread Gaiseric Vandal
:39 AM To: samba@lists.samba.org Subject: [Samba] How ot migrate from /etc/samba/smbpasswd - LDAP ldapsam:trusted Hi, has anyone done a migration from an old smb passwd file = /etc/samba/smbpasswd setup to a up to date LDAP ldapsam:trusted setting? (Centos 5.4, samba-3.0.33-3.28, openldap-2.3.43

Re: [Samba] smbpasswd fails

2010-04-13 Thread Chris Smith
On Mon, Apr 12, 2010 at 3:23 PM, Chris Smith smb...@chrissmith.org wrote: Any clues? Does smbpasswd just not work as a user with NTLMv2? Is this documented anywhere? The problem is that I'm trying to test unix password sync and don't have a windows box. Running smbpasswd as root or using

[Samba] smbpasswd fails

2010-04-12 Thread Chris Smith
Trying to use smbpasswd to change a password and I get: Old SMB password: New SMB password: Retype new SMB password: SAMR connection to machine NT_STATUS_ACCESS_DENIED failed. Error was 127.0.0.1, but LANMAN password changed are disabled This is with samba-3.5.2. Any clues? Thanks, Chris --

Re: [Samba] smbpasswd issue in a migration.

2010-02-05 Thread Gabriel Burgos Informatica
: viernes, 05 de febrero de 2010 04:10 a.m. Para: samba@lists.samba.org Asunto: Re: [Samba] smbpasswd issue in a migration. Hallo, Gabriel, Du meintest am 04.02.10: My problem is when I try to change an user?s password. To change from the original server a password I use the command smbpasswd

Re: [Samba] smbpasswd vs passwd to change

2010-02-04 Thread Adam
so what's you're question? Nickolas Gray wrote: Not sure if someone here can answer this for me. The OpenLDAP guys have blown me off on this one. I have a standalone server which is using ldap as the passdb backend. I can ssh into an account. I can show that smbclient works -L localhost

Re: [Samba] smbpasswd vs passwd to change

2010-02-04 Thread Adam Tauno Williams
On Thu, 2010-02-04 at 10:11 -0600, Adam wrote: so what's you're question? Nickolas Gray wrote: Not sure if someone here can answer this for me. The OpenLDAP guys have blown me off on this one. Don't feel bad; providing opportunities to blow people off is the primarily purpose of their

[Samba] smbpasswd issue in a migration.

2010-02-04 Thread Gabriel Burgos
Hi, I migrated a server from Ubuntu 5.10 to a Ubuntu 8.04. Also I migrated samba. My problem is when I try to change an user´s password. To change from the original server a password I use the command smbpasswd ´user´ and it works; but when I try to do the same in the new server I get this

Re: [Samba] smbpasswd issue in a migration.

2010-02-04 Thread Helmut Hullen
Hallo, Gabriel, Du meintest am 04.02.10: My problem is when I try to change an user?s password. To change from the original server a password I use the command smbpasswd ?user? and it works; but when I try to do the same in the new server I get this error bash: /usr/bin/smbpasswd no such

[Samba] smbpasswd vs passwd to change

2010-02-03 Thread Nickolas Gray
Not sure if someone here can answer this for me. The OpenLDAP guys have blown me off on this one. I have a standalone server which is using ldap as the passdb backend. I can ssh into an account. I can show that smbclient works -L localhost -U ldaptestuser works. If I change the password

Re: [Samba] smbpasswd: where's the file of password?

2009-11-18 Thread Gaiseric Vandal
On 11/17/09 14:43, Pol Hallen wrote: Hi all :-) I compiled samba on my debian stable (all bin are in /usr/local/samba/bin/), smbpasswd too. I use it but I don't see the smbpasswd password file. Where smbpasswd update own file of passwords? thanks Pol testparm -v should show this. -- To

[Samba] smbpasswd: where's the file of password?

2009-11-17 Thread Pol Hallen
Hi all :-) I compiled samba on my debian stable (all bin are in /usr/local/samba/bin/), smbpasswd too. I use it but I don't see the smbpasswd password file. Where smbpasswd update own file of passwords? thanks Pol -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort

2009-11-15 Thread Michael Wood
2009/11/15 Pol Hallen s...@fuckaround.org: What does ldd ./smbpasswd give you? debian-test-0:/usr/local/samba/bin# ldd smbpasswd        linux-gate.so.1 =  (0xb7adf000)        libresolv.so.2 = /lib/i686/cmov/libresolv.so.2 (0xb7abd000)        libnsl.so.1 = /lib/i686/cmov/libnsl.so.1

Re: [Samba] ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort

2009-11-14 Thread Michael Wood
2009/11/13 Pol Hallen s...@fuckaround.org: Hi folks :-) I compiled samba (latest stable v3.4.3) on my debian stable, everything seems ok but when I try to add new samba user ./smbpasswd: ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort I already

Re: [Samba] ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort

2009-11-14 Thread dave mathis
Michael Wood wrote: 2009/11/13 Pol Hallen s...@fuckaround.org: Hi folks :-) I compiled samba (latest stable v3.4.3) on my debian stable, everything seems ok but when I try to add new samba user ./smbpasswd: ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol:

[Samba] ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort

2009-11-13 Thread Pol Hallen
Hi folks :-) I compiled samba (latest stable v3.4.3) on my debian stable, everything seems ok but when I try to add new samba user ./smbpasswd: ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort I already checked useful libreries but I don't understand

[Samba] smbpasswd refuses to add a user if the UID exists somewhere in LDAP

2009-11-10 Thread John Du
All the experts. We have been running samba 3.0.xx (currently at 3.0.28a) on RHEL 4 with LDAP back end for a few years now. It has been working well for us. Now we are having a little problem. I am not sure if the behavior we see is by design or a bug. In smb.conf We have: ldap suffix =

[Samba] smbpasswd

2009-04-13 Thread Res
Hi, For automation in Perl scripts that add users, trying to add in smbpasswd, I'm sure, years ago, there was a way of issuing this without drama, now it seems it wont just take the password, is there a hidden option? or can we get -w changed so that it inserts the password into the pass file?

Re: [Samba] smbpasswd

2009-04-13 Thread Vnpenguin
On Mon, Apr 13, 2009 at 11:46 AM, Res r...@ausics.net wrote: Hi, For automation in Perl scripts that add users, trying to add in smbpasswd, I'm sure, years ago, there was a way of issuing this without drama, now it seems it wont just take the password, is there a hidden option? or can we get

Re: [Samba] smbpasswd or tdbsam? Which one?

2009-01-24 Thread Miguel Medalha
I do use it, though, at it works fine mostly. I've heard it explained that the reasoning for avoiding TDBSAM is that if you're running a PDC, you probably also need features not provided by TDBSAM. In many cases, that isn't exactly accurate. We have MANY users, but our needs are fairly simple

[Samba] smbpasswd or tdbsam? Which one?

2009-01-23 Thread Aaron Souza
All, I have a site with around 200 concurrent users, with a user count of over a thousand... I'm currently using just one PDC using the smbpasswd backend. I currently do not want to go into an LDAP backend... but would tdbsam be a better alternative? One of the issues I have is, pretty randomly,

Re: [Samba] smbpasswd or tdbsam? Which one?

2009-01-23 Thread Miguel Medalha
According to the Samba documentation, smbpasswd is not even recommended for a PDC... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] smbpasswd or tdbsam? Which one?

2009-01-23 Thread Miguel Medalha
I was asking the same question not too many days ago. I went with LDAP. It is not as difficult as some people think. It seems somewhat daunting at first but then you quickly get the grasp of it. It simply *works* and solves *a lot* of challenges at the same time, leaving you ready for

Re: [Samba] smbpasswd or tdbsam? Which one?

2009-01-23 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think you want tdbsam. There's virtually no downside. =R Aaron Souza wrote: All, I have a site with around 200 concurrent users, with a user count of over a thousand... I'm currently using just one PDC using the smbpasswd backend. I currently

Re: [Samba] smbpasswd or tdbsam? Which one?

2009-01-23 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel Medalha wrote: According to the Samba documentation, smbpasswd is not even recommended for a PDC... I do use it, though, at it works fine mostly. I've heard it explained that the reasoning for avoiding TDBSAM is that if you're running a PDC,

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread Adam Williams
openldap. read chapter 5 of samba 3 by example.pdf. Dean Clapper wrote: Is there a way to share smbpasswd (samba user name and password file) between multiple servers. The servers are not on a domain controller, NIS nor ldap. We have 2 - 3 redhat samba servers just for network share

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread Scott Grizzard
There are four ways, off the top of my head, to get this done: 1) LDAP where one server runs ldap and all servers authenticate against it. Advantages: easy to replicate and easily extendable for other uses. Disadvantages: difficult to set up if you don't know what you are doing. 2)

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread John Drescher
1) LDAP where one server runs ldap and all servers authenticate against it. Advantages: easy to replicate and easily extendable for other uses. Disadvantages: difficult to set up if you don't know what you are doing. With syncrepl pretty easy to add more ldap servers. I generally use 1

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread Scott Grizzard
I agree completely. LDAP is the right way to go. However, openldap is a bit daunting for first time users, and the slapd.d way of configuring openldap is not well documented for beginners. If the samba servers can go down for a few hours without causing too big of a headache, and you are

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread John Drescher
I agree completely. LDAP is the right way to go. However, openldap is a bit daunting for first time users, and the slapd.d way of configuring openldap is not well documented for beginners. If the samba servers can go down for a few hours without causing too big of a headache, and you are

Re: [Samba] sharing samba smbpasswd

2008-12-29 Thread Gavin Henry
You don't have to use slapd.d (I'm working on more and better documentation) and can just stick to slapd.conf. Only use that if you want to make changes on the fly that stick around at restart. On 29/12/2008, Scott Grizzard sc...@scottgrizzard.com wrote: I agree completely. LDAP is the right

[Samba] sharing samba smbpasswd

2008-12-28 Thread Dean Clapper
Is there a way to share smbpasswd (samba user name and password file) between multiple servers. The servers are not on a domain controller, NIS nor ldap. We have 2 - 3 redhat samba servers just for network share drives. Instead of managing passwords and user names on multiple systems, I'm

Re: [Samba] sharing samba smbpasswd

2008-12-28 Thread John Drescher
On Sun, Dec 28, 2008 at 11:21 PM, Dean Clapper dclap...@universitycoop.com wrote: Is there a way to share smbpasswd (samba user name and password file) between multiple servers. The servers are not on a domain controller, NIS nor ldap. We have 2 - 3 redhat samba servers just for network

Re: [Samba] smbpasswd web frontend

2008-09-08 Thread Andrea Venturoli
Michael Mohn ha scritto: I would try a minimal setup of webmin. Thanks. I tried this today, but, even with only the samba module loaded, it still has too many features, which I don't want to give to my users. I ended up wrapping smbpasswd in a cgi script. Ugly and risky, but I guess it's

Re: [Samba] smbpasswd web frontend

2008-09-08 Thread Michael Mohn
Am 08.09.2008 um 21:07 schrieb Andrea Venturoli: Michael Mohn ha scritto: I would try a minimal setup of webmin. Thanks. I tried this today, but, even with only the samba module loaded, it still has too many features, which I don't want to give to my users. I ended up wrapping

Re: [Samba] smbpasswd web frontend

2008-09-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea Venturoli wrote: Michael Mohn ha scritto: I would try a minimal setup of webmin. Thanks. I tried this today, but, even with only the samba module loaded, it still has too many features, which I don't want to give to my users. I

[Samba] smbpasswd web frontend

2008-09-03 Thread Andrea Venturoli
Hello. Before starting to write such a thing myself, I'm asking whether it already exists. What I want is the ability to give a non-technical admin the ability to change passwords for any user. This web page will obviusly be protected and only accessible to him. The thing should be as

Re: [Samba] smbpasswd web frontend

2008-09-03 Thread Michael Mohn
Am 03.09.2008 um 11:51 schrieb Andrea Venturoli: Hello. Before starting to write such a thing myself, I'm asking whether it already exists. What I want is the ability to give a non-technical admin the ability to change passwords for any user. This web page will obviusly be protected

Re: [Samba] Smbpasswd help101

2008-04-03 Thread Friedrich Strohmaier
Hi Cao, Minh, *, Cao, Minh schrieb: Hi, I am using samba 3 came with redhat 5.1 , samba-3.0.25b-0.el5.4 Please help to answer these questions 1/ How can I can smb.conf to use /etc/samba/smbpasswd file ? 2/ What is the default 'security' on samba 3 user ? 3/ Does the lines start

[Samba] Smbpasswd help101

2008-04-02 Thread Cao, Minh
Hi, I am using samba 3 came with redhat 5.1 , samba-3.0.25b-0.el5.4 Please help to answer these questions 1/ How can I can smb.conf to use /etc/samba/smbpasswd file ? 2/ What is the default 'security' on samba 3 user ? 3/ Does the lines start with a ; (semi-colo) are default

RE: [Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

2008-02-26 Thread Colb, Andrew
Comm command is ideal; it was built for this type of text processing problem. It requires sorted (collated) input lists. cut -d: -f1 /etc/passwd | sort pass_f1 # provide sorted list of the first field in the passwd file cut -d: -f1 /etc/samba/smbpasswd | sort smbpass_f1 # provide sorted

[Samba] smbpasswd error: rejected the tconX on the IPC$ share

2008-02-26 Thread Bayer, Gerard J (Jerry Bayer)
Can anyone help on this matter in changing samba password: [EMAIL PROTECTED] ~]$ smbpasswd Old SMB password: New SMB password: Retype new SMB password: read_socket_with_timeout: timeout read. read error = Connection reset by peer. Receiving SMB: Server stopped responding machine

Re: [Samba] smbpasswd database is corrupt!

2008-01-25 Thread Robert Pollard
, January 25, 2008 10:28 AM Subject: [Samba] smbpasswd database is corrupt! I added myself into OpenLDAP and deleted my user account from /etc/passwd. Now samba complains in the log file: Jan 25 10:17:56 roark smbd[2767]: build_sam_account: smbpasswd database is corrupt! username awilliam

Re: [Samba] smbpasswd database is corrupt!

2008-01-25 Thread Adam Williams
Sent: Friday, January 25, 2008 10:28 AM Subject: [Samba] smbpasswd database is corrupt! I added myself into OpenLDAP and deleted my user account from /etc/passwd. Now samba complains in the log file: Jan 25 10:17:56 roark smbd[2767]: build_sam_account: smbpasswd database is corrupt

[Samba] smbpasswd database is corrupt!

2008-01-25 Thread Adam Williams
I added myself into OpenLDAP and deleted my user account from /etc/passwd. Now samba complains in the log file: Jan 25 10:17:56 roark smbd[2767]: build_sam_account: smbpasswd database is corrupt! username awilliam with uid 511 is not in unix passwd database! however, I'm resolving my

[Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

2008-01-24 Thread Adam Williams
Is there a command I can run that will compare the users in /etc/samba/smbpasswd against the users in /etc/passwd and print the ones that exist in smbpasswd but not passwd? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman

RE: [Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

2008-01-24 Thread Kristoffer Knigga
diff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Williams Sent: Thursday, January 24, 2008 12:04 PM To: Samba Subject: [Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd Is there a command I can run that will compare the users

Re: [Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

2008-01-24 Thread John Drescher
On Jan 24, 2008 1:15 PM, Kristoffer Knigga [EMAIL PROTECTED] wrote: diff probably sort as well and maybe awk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

2008-01-24 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: On Jan 24, 2008 1:15 PM, Kristoffer Knigga [EMAIL PROTECTED] wrote: diff probably sort as well and maybe awk cut -f1 -d: to get the first field. Then sort, then diff, or a new favorite: comm . =R - -- _ _ _ _ ___

Re: [Samba] smbpasswd and 8 character limit

2007-11-08 Thread Ryan Novosielski
this bug in bugzilla: https://bugzilla.samba.org/show_bug.cgi?id=4863 ~Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaiseric Vandal Sent: Friday, November 02, 2007 5:04 PM To: Samba Subject: [Samba] smbpasswd and 8 character limit

Re: [Samba] smbpasswd and 8 character limit

2007-11-08 Thread Gaiseric Vandal
://bugzilla.samba.org/show_bug.cgi?id=4863 ~Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaiseric Vandal Sent: Friday, November 02, 2007 5:04 PM To: Samba Subject: [Samba] smbpasswd and 8 character limit The smbpasswd on my PDC (Solaris 9

Re: [Samba] smbpasswd and 8 character limit

2007-11-07 Thread Ryan Novosielski
, 2007 5:04 PM To: Samba Subject: [Samba] smbpasswd and 8 character limit The smbpasswd on my PDC (Solaris 9, Samba 3.026a) will truncate or corrupt passwords over 8 chars. The smbpasswd command on the linux clients (Samba 3.024a) is OK. Anyone know if this is a samba version issue

[Samba] smbpasswd and 8 character limit

2007-11-02 Thread Gaiseric Vandal
The smbpasswd on my PDC (Solaris 9, Samba 3.026a) will truncate or corrupt passwords over 8 chars. The smbpasswd command on the linux clients (Samba 3.024a) is OK. Anyone know if this is a samba version issue or something solaris specific. Thanks -- To unsubscribe from this list go to the

RE: [Samba] smbpasswd and 8 character limit

2007-11-02 Thread Eric Diven
Of Gaiseric Vandal Sent: Friday, November 02, 2007 5:04 PM To: Samba Subject: [Samba] smbpasswd and 8 character limit The smbpasswd on my PDC (Solaris 9, Samba 3.026a) will truncate or corrupt passwords over 8 chars. The smbpasswd command on the linux clients (Samba 3.024a) is OK. Anyone know

RE: [Samba] smbpasswd and 8 character limit

2007-11-02 Thread Eric Diven
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaiseric Vandal Sent: Friday, November 02, 2007 5:04 PM To: Samba Subject: [Samba] smbpasswd and 8 character limit The smbpasswd on my PDC (Solaris 9, Samba 3.026a) will truncate or corrupt passwords over 8 chars

[Samba] smbpasswd -a not working with ldap

2007-09-14 Thread James
Hi i'm trying to add new samba users with an ldap backend i can use smbpasswd to change current samba user passwords but if i try to add a user it won't add the attributes to the ldap account. i have run smbpasswd -w already I noticed that when running smbpasswd and adding a user the search

[Samba] smbpasswd on solaris clients

2007-09-03 Thread James Craig
I may be mixing water and oil here, but with a recent upgrade I am discovering our solaris clients aren't able to update samba passwords. Our server is running 2.2.12 (I intend to upgrade to 3.0.x when I get LDAP working) with it's own password

RE: [Samba] smbpasswd truncates password to 8 chars on Solaris sparc?

2007-07-19 Thread Schaefer Jr, Thomas R.
On Wed, 18 Jul 2007 20:35:30 -0600 Zube [EMAIL PROTECTED] wrote: Following up to my own query, it appears that bugs 4782 and 4677 in bugzilla.samba.org also mention this issue. Using the smbpasswd from 3.0.24 seems to work around the problem. Yep, I'm the reporter of bug 4677, hadn't

[Samba] smbpasswd truncates password to 8 chars on Solaris sparc?

2007-07-18 Thread Zube
Good Day. In June, I posted a small query under the Subject of _odd smbpasswd / smbclient error from Linux to Solaris_ Briefly, a Solaris sparc server running 3.0.25a would not accept passwords from the Linux smbclient program if the password was 9 characters or greater. Instead, one would get

Re: [Samba] smbpasswd truncates password to 8 chars on Solaris sparc?

2007-07-18 Thread Zube
On Wed Jul 18 02:57:07 PM, Zube wrote: Good Day. In June, I posted a small query under the Subject of _odd smbpasswd / smbclient error from Linux to Solaris_ Briefly, a Solaris sparc server running 3.0.25a would not accept passwords from the Linux smbclient program if the password was 9

Re: [Samba] smbpasswd problem on Solaris-10

2007-07-12 Thread Ole Benner
I get this: $ smbpasswd -D 10 olb Netbios name list:- my_netbios_names[0]=FILES Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend ldapsam_compat Successfully added passdb backend 'ldapsam_compat' Attempting to register

[Samba] smbpasswd problem on Solaris-10

2007-07-11 Thread Ole Benner
I have compiled both samba-3.0.25a and samba-3.0.25b and with both I have problems setting user password longer than 8 chars with smbpasswd. I get no errors, but if I try to set a password with more than 8 chars the password will only be generated using the first 8 chars. This is on Solaris-10

Re: [Samba] smbpasswd problem on Solaris-10

2007-07-11 Thread Roberto Lizana
What can you see in console if you type this 'smbpasswd -D 10 anyUser' ??? Ole Benner escribió: I have compiled both samba-3.0.25a and samba-3.0.25b and with both I have problems setting user password longer than 8 chars with smbpasswd. I get no errors, but if I try to set a password with more

[Samba] smbpasswd and machine accounts

2007-01-31 Thread Eric A. Hall
I'm using samba-3.0.23d-19 on openSUSE 10.2 with an LDAP PDC arrangement I'm trying to sort out some problems with adding a trust relationship. Specifically, smbpasswd is failing when I try to create/modify the domain account. Further investigation shows that it is also failing to modify

Re: [Samba] smbpasswd doesn't prompt root for password

2006-08-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Skwar wrote: Hello. When I run smbpasswd from samba 3.0.23a on a MIPSEL system running Linux 2.4.20 as root, I'm NEVER asked for a password. Even when I create a new user in smbpasswd, I'm not asked: Please file a bug an attach the

[Samba] smbpasswd doesn't prompt root for password

2006-08-06 Thread Alexander Skwar
:::[DU ]:LCT-: sync:5:::[DU ]:LCT-: nobody:99:::[DU ]:LCT-: [EMAIL PROTECTED]:/etc/samba# smbpasswd

[Samba] smbpasswd doesn't prompt root for password

2006-08-06 Thread Alexander Skwar
:::[DU ]:LCT-: sync:5:::[DU ]:LCT-: nobody:99:::[DU ]:LCT-: [EMAIL PROTECTED]:/etc/samba# smbpasswd

[Samba] smbpasswd batch mode

2006-06-09 Thread Craig Jackson
Hi, I need to create a large number of users in the smbpasswd file.Is there a way to do this without having to type passwords? I need a batch mode. Using Samba 3. Thanks, Craig -- To unsubscribe from this list go to the following URL and read the instructions:

Re: [Samba] smbpasswd batch mode

2006-06-09 Thread Matthew Daubenspeck
On Fri, Jun 09, 2006 at 05:09:13PM -0500, Craig Jackson wrote: Hi, I need to create a large number of users in the smbpasswd file.Is there a way to do this without having to type passwords? I need a batch mode. Using Samba 3. # cat importusers.sh #!/bin/bash datafile=userdata

[Samba] smbpasswd and /etc/samba/smbusers

2006-05-16 Thread Felipe Alfaro Solana
Hi, I've been Googling around trying to found why I can't make SAMBA (concretely smbpasswd and pdbedit) make good use of the information held in the file /etc/samba/smbusers. I have done a clean install of Red Hat Enterprise Linux ES 4.1 Update 3 (both x86_64 and IA32) and Fedora Core 5. In all

Re: [Samba] smbpasswd and /etc/samba/smbusers

2006-05-16 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe Alfaro Solana wrote: Hi, I've been Googling around trying to found why I can't make SAMBA (concretely smbpasswd and pdbedit) make good use of the information held in the file /etc/samba/smbusers. I have done a clean install of Red Hat

Re: [Samba] smbpasswd and /etc/samba/smbusers

2006-05-16 Thread Felipe Alfaro Solana
You add root and not administrator. This is by design. When in security = user, think of the username map as simply an alias file used for authentication requests. smbpasswd and pdbedit work below that layer. You were completely right. I was screwed. Adding root via smbpasswd allows me to

[Samba] Smbpasswd versus Winbind and tdb backend

2006-04-29 Thread Ricardo Chamorro
For a LAN of 15 clients W9x/2000/XP with Samba 3 PDC level security User, backend default smbpasswd and without winbind, I have problem to view NT domain users groups lists in Windows 9x Sharing (I ran net groupmap modify to change english language name groups to spanish )... This problem

[Samba] Smbpasswd versus Winbind and tdb backend

2006-04-29 Thread Ricardo Chamorro
For a LAN of 15 clients W9x/2000/XP with Samba 3 PDC level security User, backend default smbpasswd and without winbind, I have problem to view NT domain users groups lists in Windows 9x Sharing (I ran net groupmap modify to change english language name groups to spanish )... This problem

Re: [Samba] Smbpasswd in a cron job

2006-02-21 Thread Sebastian Held
Try echo -e ${PASSWD}\n${PASSWD} | smbpasswd -a -s ${USER} br, Sebastian pgpY2IZTjjNNb.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Smbpasswd in a cron job

2006-02-21 Thread Dennis Duggen
Hi Sebastian echo -e ${PASSWD}\n${PASSWD} | smbpasswd -a -s ${USER} Thanks a lot, it worked nicely Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] Smbpasswd in a cron job

2006-02-20 Thread Dennis Duggen
Hi list For a project we are trying to change the samba password automatically in a cron job. Since smbpasswd doesn't allow the password to be entered otherwise than though the console (user input). We found a solution to the input part though expect. But as thing go expect doesn't work in a

Re: [Samba] Smbpasswd in a cron job

2006-02-20 Thread Tomasz Chmielewski
Dennis Duggen wrote: Hi list For a project we are trying to change the samba password automatically in a cron job. Since smbpasswd doesn't allow the password to be entered otherwise than though the console (user input). We found a solution to the input part though expect. But as thing go

Re: [Samba] Smbpasswd in a cron job

2006-02-20 Thread lists
Hi Tomasz You might try running your expect script through screen (although I solved the cupsaddsmb problem differently). Thanks for your suggestion. I've tried it, but receive the message: Must be connected to a terminal.. Any more suggestions would be great. Is there maybe an easy way like

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-18 Thread Fermin Molina
On Thu, 2006-02-16 at 11:43 -0300, Andrés Yacopino wrote: This time i add values to cn , the object class inetOrgPerson and a value for sn. After that i try to delete the machine account and it works. Apparently it needs this object class as you said. How can i do to add this class

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-16 Thread Andrés Yacopino
I see the attribute displayName(as allowed attribute) in these user object classes: -pabperson -sambasamaccount -smabagroupmapping The user account has only this classes: sambaSamAccount account top Is this wrong?, the attribute could be in some classes at the same time? Thanks, Andres.

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-16 Thread Andrés Yacopino
This time i add values to cn , the object class inetOrgPerson and a value for sn. After that i try to delete the machine account and it works. Apparently it needs this object class as you said. How can i do to add this class automatically when a add a machine account using smbpasswd? Thanks.

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-15 Thread Daniel Wilson
What object class is the displayName in and does the user account have that object class ? Im sure you need to have the object class before you can add/remove the attribute assigned to the object classs. Attributes belong to and are grouped in objectclasses. Regards Daniel Wilson Systems

[Samba] Smbpasswd -m -x not working, object class violation error

2006-02-14 Thread Andrés Yacopino
I have deployed a samba server with Sun Java Ldap Directory. I sucessfully create users and deleted them when ldap delete dn=yes in smb.conf, but when ldap delete dn=no i obtain this error when i issue a smbpasswd -m -x command: ldapsam_delete_entry: Could not delete attributes for

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-14 Thread Daniel Wilson
Have you checkes the Sun LDAP errors.log file for the specific object class violation? Usually at install_dir/slapd-hostname/logs/errors.log Daniel Wilson Systems Manager Student and Learning Support University of Sunderland Tel: 0191 515 2695 Andrés Yacopino wrote: I have deployed a samba

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-14 Thread Andrés Yacopino
Daniel, check the log as you said and i hit this: [14/Feb/2006:14:19:10 +0300] - ERROR5897 - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry uid=aprueba$,ou=computers,o=acasalud.com.ar ,dc=acasalud,dc=c om,dc=ar, attribute displayName is not allowed What does it means? Thanks, Andrés.

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-14 Thread Daniel Wilson
Im sure this means that its trying to delete the displayName attribute which is more than likely not in your LDAP schema. Look in install_dir/slapd-hostname/config/schema/ directory for your schema To see if displayName is part of any object classes in your LDAP schema search the schema

Re: [Samba] Smbpasswd -m -x not working, object class violation error

2006-02-14 Thread Andrés Yacopino
Thanks for replying Daniel, i execute :grep -il displayName *.ldif and i obtain: 00core.ldif 50ns-admin.ldif 50ns-iabs.ldif 99samba-schema-netscapeds5.x.ldif 99user.ldif And also see the configuration in the console and i see: Standard Attribute(Read Only): Name: displayName OID:

[Samba] smbpasswd and rpcclient differences between 3.0.14a and 3.0.21a

2006-01-16 Thread gints neimanis
Hi all, The problem is that from version 3.0.21a the commands rpcclient and smbpasswd does't work as before (and as I wish), when connecting to remote Windows2000 domain controller. Below are some tests and outputs, which show the command outputs. In both cases samba is compiled from original

[Samba] smbpasswd usage

2005-12-23 Thread Michel Bouchet
Hi, I used to set up Samba password on the command line with smbpasswd using the following syntax : smbpasswd -a newuser usersecretpasswd smbpasswd -e newuser but it does work any more. How can I do the same without having to type in the password ? Thanks in advance. Michel -- To unsubscribe

[Samba] smbpasswd and password sync

2005-12-15 Thread Francesc Guasch
Hi. I wanted to test password sync. I only have one linux server, with no windows PCs around. When I change the password with smbpasswd the sync is not executed. I wonder why ? Maybe smbpasswd access directly the database. Is there a way I can test it from within only one linux box ? This is

[Samba] smbpasswd script fails

2005-12-01 Thread Jack Mendez
i am using a script with awk which only works to add the first user from my csv file. when running with out the -s switch the output seems to be correct using echo to test. here is the script #!/bin/bash cat users.csv |awk 'BEGIN {FS=,}{print echo smbpasswd -a -s $1\n$3\n$3\n}' |/bin/bash this

Re: [Samba] smbpasswd script fails

2005-12-01 Thread Herb Lewis
You are sending all the output to a single bash shell so only one command gets executed. You need to figure out a way to execute the awk | bash for each line of users.csv Something like the following should work #! /bin/bash cat users.csv | while read ; do echo $REPLY | awk 'BEGIN

Re: [Samba] smbpasswd script fails

2005-12-01 Thread Jack Mendez
my useradd script works exactly the same way, why does that one work and not this one? kinda new to awk so just want to learn, i will give this a shot though. On Thu, December 1, 2005 9:02 pm, Herb Lewis said: You are sending all the output to a single bash shell so only one command gets

  1   2   3   4   >