Displaying 20 results from an estimated 500 matches similar to: "Samba 3.0b3: Cannot add machine to LDAP database"
2003 Oct 31
1
samba3 and CUPS: lpoptions does not work
Hi,
I have set up a CUPS queue in the samba server with specific lpoptions
(actually, it's a queue to print 2-up on an HP LaserJet4300 printer. I used
lpoptions -d NX2-118 -o number-up=2). Everything works as expected when I
print from the Unix side.
However, when I print to the corresponding samba queue, the options
specified through lpoptions are ignored (i.e. the prints come out as 1-up
2004 Jun 07
1
not able to change passwd
Hello,
Sorry to have posted in the wrong thread, resending the email.
We have a samba domain and now some of the users from WINDOWS 2000 Pro are unable to change their password, below is the error :
They are able to login without any problems.
pdb_free_sam: SAM_ACCOUNT was NULL
[2004/06/07 13:52:29, 0] smbd/chgpasswd.c:check_oem_password(817)
check_oem_password: incorrect password length
2005 Feb 10
2
problem creating trusts between NT4 and samba
Hi,
I recently installed Samba 3.0.11 on Suse 9.2 and have managed to get a
simple domain working (people can logon, share printers etc), however,
I'm having trouble setting up trusts between the new samba domain and
the old NT domain.
I'm following this help:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/InterdomainTr
usts.html, specifically, using samba as the
2003 Nov 16
2
Can not add users to samba 3.0
Hello, I can not seem to get smbpsswd to add any users to samba. No
matter if I use the CLI, the Webmin module or SWAT I always get this
response when trying to add any user
[root@matrix1 samba]# smbpasswd -m -a gerard
Failed initialise SAM_ACCOUNT for user gerard$.
Failed to modify password entry for user gerard$
I take it this has somehting to do with PAM & or shadow passwords, & I
2004 Sep 20
2
Can't delete smbpasswd user if not in /etc/passwd
Hi all,
Looking for a solution to the following:-
# smbpasswd -x jh---
build_sam_account: smbpasswd database is corrupt! username jh--- with uid 1774 is not in unix passwd database!
Failed to initialise SAM_ACCOUNT for user jh---. Does this user exist in the UNIX password database ?
Failed to modify password entry for user jh---
#
Ths user has already been deleted from the /etc/passwd (in
2003 Oct 18
2
interdomain trust relationships
Hello,
I am also triing to set up a interdomain relationship with a NT domain
and I can't create the user, I execute the following command and I get
this.
smbpasswd -a -i xxx
New SMB password:
Retype new SMB password:
Failed initialise SAM_ACCOUNT for user xxx$.
Failed to modify password entry for user xxx$
I have samba set up so that I can set up users and machine
automatically, so I am
2003 Dec 18
2
pdbedit: importing smbpasswd to tdbsam
Hi there,
I'm trying to import a smbpasswd-file into a Samba 3.0 installation on Debian
Sarge using tdbsam as sole passdb backend.
Copying pdbedit's documentation I used
pdbedit -i smbpasswd:/root/smbpasswd.old
The error message returned was tdb_update_sam: Failing to store a SAM_ACCOUNT
for [foo] without a primary group RID
where foo is the username to be imported.
This message was
2002 Nov 02
1
Unable to open passdb???
Hello,
Getting this error:
[2002/11/02 12:55:16, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
unable to open passdb database.
[2002/11/02 12:55:16, 0] smbd/chgpasswd.c:check_oem_password(761)
check_oem_password: getsmbpwnam returned NULL
[2002/11/02 12:55:16, 0] passdb/passdb.c:pdb_free_sam(210)
pdb_free_sam: SAM_ACCOUNT was NULL[2002/11/02 12:55:16, 0]
2005 Sep 30
3
LDAP PDC question
When setting up an LDAP PDC do I have to have both user and machines
in the ou=People container? Here's what I've got.
LDAP Tree
ou=People,o=umd.umich.edu
ou=NIS,ou=Groups,o=umd.umich.eud
ou=machines,ou=Samba,ou=Services,o=umd.umich.edu
ou=Idmap,ou=Samba,ou=Services,o=umd.umich.edu
smb.conf (ldap stuff)
ldap delete dn = no
ldap suffix = o=umd.umich.edu
ldap
2004 Jun 29
3
smbpasswd !!?!
please help me.
Why I cannot create a user with smbpasswd without having this username in /etc/passwd???
###################
bash-2.05# smbpasswd -a testaccount
New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user testaccount.
Failed to modify password entry for user testaccount
bash-2.05#
##############
my global in smb.conf
[global]
workgroup = J9_C
server
2006 Nov 14
4
Samba 3.0.14 (Debian Sarge) Memory Leakage
Hi!
Our Samba file server seems to have a memory leakage. We are using samba
as file server out of the box (debian sarge) on kernel 2.6.16.31.
After a while users who have some shares and files open are acquiring
more and more memory until the smbd dies.
Here is a small shortcut from top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13843 gxxxxx 16 0 51792 44m 2552 S
2005 Sep 30
3
Differences with net join
All;
I'm getting closer to tracking down my problem (I hope).
Since I want samba to verify the windows users from the Windows
domain, I did the usual net join. But it still doesn't get the users
from there, I still need an smbpasswd file.
So... now the question (for the real samba gurus):
Is there a substantial difference between:
net ads join -w <domain/workgroup>
and
net rpc
2004 May 02
1
Unable to open TDB rid database!
Hi all,
I use tdbsam backend.
When I create a box for win2k machine:
# pdbedit -a -m -u machine$
tdb_update_sam: SAM_ACCOUNT (machine$) with no RID!
Unable to add machine! (does it already exist?)
What is wrong?
Other failer message:
Unable to open TDB rid database!
Regards,
Roland
2003 Oct 15
1
Samba 3.0 + OpenLDAP 2.1 Saga (LDAP Attacks!)
Oh Wise Ones,
For the past two days, I have contested with the Samba documentation and
other sources of lore in a vain attempt to achieve Samba/LDAP integration.
My test system is running RedHat 9 with updates applied, along with OpenLDAP
& OpenSSL from redhat-rawhide, and the Samba 3.0.1pre1 RPM from the Samba
website.
A couple of questions:
The HOWTOs instruct one to slapadd a file
2003 Nov 23
1
Unable to add SMB accounts
I get the following errors on attempting to add smb accounts:
[root@corryard root]# smbpasswd -a sean
New SMB password:
Retype new SMB password:
pdb_getsampwnam: Unable to open TDB passwd (/etc/samba/passdb.tdb)!
Failed initialise SAM_ACCOUNT for user sean.
Failed to modify password entry for user sean
[root@corryard root]#
The passdb.tdb file is there.....
K.
2004 Jan 07
1
simple question
i just got confused in creating machine accounts in my samba server
1rst creating the user
[root@genesis root]# smbpasswd -a cpu3
New SMB password:
Retype new SMB password:
Added user cpu3.
than adding the machine...
[root@genesis root]# smbpasswd -a -m cpu3$
Failed initialise SAM_ACCOUNT for user cpu3$.
Failed to modify password entry for user cpu3$
[root@genesis root]#
what am i missing...
2004 Apr 14
1
Samba3 Schema
I tried to use Samba3 schema in my OpenLDAP, but when I tried to pass a
posixAccount to sambaAccount, using smbpasswd -a <user>, I get this
error:
Failed to initialise SAM_ACCOUNT for user teste.
Failed to modify password entry for user teste
And when I try to add user with smbldap-tools (version come with samba
3.0.2a, I suspect is 0.82), I receive this message.
2004 Aug 03
1
smbpasswd error
Hi Samba people
I saw this as a problem in the archives about a month ago but no solution ?
I'm running samba 2.2.10 on Solaris 8.
We have a script to replace /usr/bin/passwd which changes the NIS passwd and
then uses smbpasswd to change the user's smb password to the same thing.
Some users are getting :
NIS password changed for diane on cauchy
machine 127.0.0.1 rejected the password
2004 Oct 13
1
(no subject)
I have problem adding users after I set up a goupmap. Before there was no
problem.
net groupmap ntgroup=Users unixgroup=users
Users (S-1-5-32-545) -> users
useradd pesho -g users
pdbedit -a pesho
new password:
retype new password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [pesho] without a primary
group RID
Unable to add user! (does it already exist?)
pesho of cource doesn?t exist
2004 Oct 14
1
Problem adding users to the PDC
I have problem adding users after I set up a goupmap. Before there was no
problem.
net groupmap ntgroup=Users unixgroup=users
Users (S-1-5-32-545) -> users
useradd pesho -g users
pdbedit -a pesho
new password:
retype new password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [pesho] without a primary
group RID
Unable to add user! (does it already exist?)
pesho of cource doesn?t exist