e existence of the user
> > root@hayek:~# cat /etc/samba/smbpasswd
> > #
> > # SMB password file.
> > #
> > nobody:65534::XXX
> > X:[U ]:LCT-:nobody
> > john:1000:
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
the user
> root@hayek:~# cat /etc/samba/smbpasswd
> #
> # SMB password file.
> #
> nobody:65534:::[U
> ]:LCT-:nobody
> john:1000:::[U
> ]:LCT-0
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
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 mas
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.
ke - IT Koordinator
Sent: Sunday, May 02, 2010 4: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"
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.
T
On Mon, Apr 12, 2010 at 3:23 PM, Chris Smith 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 pdbedit update
the database
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
--
T
: 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 smb
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
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
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 thei
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 -
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
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
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
instructio
2009/11/15 Pol Hallen :
>> 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 (0xb7aa4000)
>
Michael Wood wrote:
> 2009/11/13 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
2009/11/13 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
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 this
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 = o
On Mon, Apr 13, 2009 at 11:46 AM, Res 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 "-w" change
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?
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 (a
-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
-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
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 future
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
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, I
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 wrote:
> I agree completely. LDAP is the "right" way to go. However, op
> 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 yo
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 ar
> 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
ma
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) rsyn
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 drives.
On Sun, Dec 28, 2008 at 11:21 PM, 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 drives. Instead
>
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 t
-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.
>
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 smbpass
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
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 and
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 simpl
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 u
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) a
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
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 127.0.
>
To: "Samba"
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
amba"
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
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 awi
-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
- --
_ _ _
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
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
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
;>>> -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
en using as a reference machine. See 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
] 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.
>
> The smbpasswd command o
mlessly.
~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, Samba 3.026a) will truncate or
corrupt passwor
TECTED] 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.
The smbpasswd command on the linux clients (Samba 3.024a) is OK.
Anyo
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 follow
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
fil
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 database.
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
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
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
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
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
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 upd
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
workstat
-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 th
000:
adm:3:::[DU
]:LCT-:
sync:5:::[DU
]:LCT-:
nobody:99:::[DU
]:LCT-:
[EMAIL PROTECTED]:/etc/samba# sm
000:
adm:3:::[DU
]:LCT-:
sync:5:::[DU
]:LCT-:
nobody:99:::[DU
]:LCT-:
[EMAIL PROTECTED]:/etc/samba# sm
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
line_co
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: https://lists.samba.org/mailman/li
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 aut
-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 H
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 c
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
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
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
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
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 li
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 expe
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
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 automa
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.
Andres
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.
2006/2
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 Mana
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: 2.16.840.1.11
Im sure this means that its trying to delete the displayName attribute
which is more than likely not in your LDAP schema.
Look in "/slapd-/config/schema/" directory for
your schema
To see if "displayName" is part of any object classes in your LDAP
schema search the schema files:
bash# grep
Daniel, check the log as you said and i hit this:
[14/Feb/2006:14:19:10 +0300] - ERROR<5897> - 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
Have you checkes the Sun LDAP errors.log file for the specific object
class violation? Usually at /slapd-/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 server with Sun Jav
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
uid=aprueba$,o
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 sou
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 unsubscrib
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 ubu
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 execu
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 {FS=","}{p
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/ba
1 - 100 of 340 matches
Mail list logo