Displaying 20 results from an estimated 34 matches for "pdb_default_create_user".
2007 Sep 05
1
Problems joining machine to domain
.../usr/sbin/smbldap-useradd -t 0 -w "%u"
If I run that by hand, as root, it adds the posixAccount but not the
sambaSamAccount. On the Windows system I get an error like "No such user".
In the Samba logs, I see an error like this:
[2007/09/05 13:24:55, 3] passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -t 0 -w
"xptommy$"' gave 0
[2007/09/05 13:24:55, 3] passdb/pdb_interface.c:pdb_default_create_user(384)
pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER
Just to be sure I...
2011 Mar 23
1
Can't join Windows 7 Pro/XP to samba PDC
...llow guests = Yes
hosts allow = 127.0.0.1, 172.16.1.
cups options = raw
In the workstations with Windows 7 Pro, we try to join them to the
domain. We get a message saying that can't join them. In samba.log we
found this
[2011/03/18 10:45:46.419648, 3]
passdb/pdb_interface.c:348(pdb_default_create_user)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -t
0 -g 1515 -w "cpd-sist03$"' gave 0
[2011/03/18 10:45:46.421589, 3]
passdb/pdb_interface.c:365(pdb_default_create_user)
pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER
Any...
2006 Sep 26
2
PLEASE HELP! Can't add machines to domain!
...etch failed!
[2006/09/26 10:35:53, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1396)
ldapsam_getsampwnam: Unable to locate user [XPLAPTOP$] count=0
[2006/09/26 10:35:53, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2213)
ldapsam_getgroup: Did not find group
[2006/09/26 10:36:00, 3] passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command
`/usr/local/sbin/smbldap-useradd -t 5 -w 'xplaptop$'' gave 0
[2006/09/26 10:36:00, 3] passdb/pdb_interface.c:pdb_default_create_user(381)
pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER
[2006/09/26...
2007 Aug 21
2
ldap and computer accounts
...not find the freshly
created account. Unfortunately the log is net very helpful to point
find out what is wrong:
-------------------
[2007/08/20 20:28:55, 5] lib/username.c:Get_Pwnam_internals(108)
Get_Pwnam_internals didn't find user [WINXP1$]!
[2007/08/20 20:28:56, 3] passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -t 0 -w
"winxp1$"' gave 0
[2007/08/20 20:28:56, 5] lib/username.c:Get_Pwnam_alloc(131)
Finding user WINXP1$
[2007/08/20 20:28:56, 5] lib/username.c:Get_Pwnam_internals(75)
Trying _Get_Pwnam(), username as low...
2011 Feb 21
2
problem joining WinXP machine to samba PDC+LDAP environment
...me of the machine i was
trying to join.]
[2011/02/21 14:32:22, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2481)
ldapsam_getgroup: Did not find group, filter was
(&(objectClass=sambaGroupMapping)(|(displayName=TESTFSCLIENT$)(cn=TESTFSCLIENT$)))
....
[2011/02/21 14:32:22, 0] passdb/pdb_interface.c:pdb_default_create_user(342)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
-c "Workstation (testfsclient$)" "testfsclient$"' gave 9
[2011/02/21 14:32:22, 3] passdb/pdb_interface.c:pdb_default_create_user(359)
pdb_default_create_user: failed to create a new user structure...
2007 Dec 18
0
CentOS 5: problem with samba as PDC
...ine except for one thing
1- i'm unable to add new computer to domain except with the root users.
With others installations all users in the group "Domain Admins" was
able, now i get tis error:
sh: /usr/sbin/useradd: Permission denied
[2007/12/18 17:33:26, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
_samr_create_user: Running the command `/usr/sbin/useradd -g computer
-c "Workstation (genoveffo2$)" -M -s /bin/false "genoveffo2$"' gave 126
After a new group map "Domain Admins" -> root group the error is:
useradd: unable to lock password file
[2007...
2007 Aug 21
0
SOLVED Re: ldap and computer accounts
...ccount. Unfortunately the log is net very helpful to point
> find out what is wrong:
> -------------------
> [2007/08/20 20:28:55, 5] lib/username.c:Get_Pwnam_internals(108)
> Get_Pwnam_internals didn't find user [WINXP1$]!
> [2007/08/20 20:28:56, 3]
> passdb/pdb_interface.c:pdb_default_create_user(368)
> _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -t 0
> -w "winxp1$"' gave 0
> [2007/08/20 20:28:56, 5] lib/username.c:Get_Pwnam_alloc(131)
> Finding user WINXP1$
> [2007/08/20 20:28:56, 5] lib/username.c:Get_Pwnam_internals(75)
> Trying...
2009 Sep 07
2
Problems with Samba 3.4 under Opensolaris snv_111b
...ut
that is not a good idea, since users have to change their passwords
for unix and windows seperately.
Second, joining a Windows XP host to the domein is sometimes possible,
sometimes not. When I add a machine account using "smbpasswd -a -m
host$" sometimes it fails with:
"pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER"
The user exists then as created by the corresponding ldapadd script,
but the samba related attributes are missing. I use the ldapscripts
from sf.net. My ldap stuff in smb.conf is shown below.
Has anybody some expierience h...
2006 Sep 18
1
joining domain fails because of no samba entries with 3.0.23c
...$
[2006/09/18 18:30:05, 5] lib/username.c:Get_Pwnam_internals(102)
Checking combinations of 0 uppercase letters in MYCOMPUTER$
[2006/09/18 18:30:05, 5] lib/username.c:Get_Pwnam_internals(108)
Get_Pwnam_internals didn't find user [MYCOMPUTER$]!
[2006/09/18 18:30:08, 0] passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command
`/usr/local/sbin/smbldap-useradd -w 'MYCOMPUTER$'' gave 0
[2006/09/18 18:30:08, 5] lib/username.c:Get_Pwnam_alloc(131)
Finding user MYCOMPUTER$
[2006/09/18 18:30:08, 5] lib/username.c:Get_Pwnam_internals(75)
Trying _Get_Pwnam(), usernam...
2010 Mar 26
1
SMBLDAP tools reports "modifications require authentication at /usr/sbin//smbldap_tools.pm" but manually command works.
...em to the domain I get this error
in the log:
[2010/03/26 15:18:58, 0] smbd/service.c:make_connection(1191)
april (192.168.1.194) couldn't find service public
Error: modifications require authentication at
/usr/sbin//smbldap_tools.pm line 1083.
[2010/03/26 15:19:16, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"april$"' gave 1
But when I run the command above manually it works fine:
evoserver ~ # /usr/sbin/smbldap-useradd -w "april$"
Cannot confirm uidNumber 1014 is free: checking for the next one
Cannot...
2010 Apr 07
0
profil
...ed connection to service jose
[2010/04/07 16:10:25, 1] smbd/service.c:close_cnum(1409)
bulldog (::ffff:192.168.2.223) closed connection to service partage
Error: modifications require authentication at /usr/share/perl5/
smbldap_tools.pm line 1083.
[2010/04/07 16:19:08, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"meta$"' gave 1
[2010/04/07 16:21:33, 0]
passdb/pdb_interface.c:pdb_default_create_user(336)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"fleur$"' gave 9
[2010/04/07 1...
2006 Aug 07
2
'ldap machine suffix' is ignored?
...inhost$
[2006/08/07 16:35:12, 5] lib/username.c:Get_Pwnam_internals(102)
Checking combinations of 0 uppercase letters in winhost$
[2006/08/07 16:35:12, 5] lib/username.c:Get_Pwnam_internals(108)
Get_Pwnam_internals didn't find user [winhost$]!
[2006/08/07 16:35:12, 3] passdb/pdb_interface.c:pdb_default_create_user(363)
_samr_create_user: Running the command
`/usr/local/sbin/smbldap-useradd -w winhost$' gave 0
[2006/08/07 16:35:12, 5] lib/username.c:Get_Pwnam_alloc(131)
Finding user winhost$
[2006/08/07 16:35:12, 5] lib/username.c:Get_Pwnam_internals(75)
Trying _Get_Pwnam(), username as lowercase i...
2008 Feb 22
3
Windows 2000 pro doesn't join a domain with Samba+Ldap (linux)
...ears in Spanish, but it's
something like "session starting error: username not found or wrong
password")... I've tried to put a higher debug level in samba
(smb.conf-> debug level=3) and between several other messages, it
appears:
[2008/02/22 15:33:37, 3] passdb/pdb_interface.c:pdb_default_create_user(354)
pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER
But I don't know what structure user it may be... and I don't know why
this error only appears when the debug level is that high (I've been
googling around, and this level was only recomended f...
2008 Sep 02
5
Unable to Join Domain
...an idea of what is causing this? Below
is the error and my smb.conf. I created the smb.conf from a guide at
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-samba-servers.html
and added some settings based on previous servers.
smbd.log
[2008/09/01 22:07:44, 0]
passdb/pdb_interface.c:pdb_default_create_user(329)
_samr_create_user: Running the command `/usr/sbin/useradd -s /bin/false
-d /dev/null -g machines sy01$' gave 1
smb.conf
[global]
workgroup = NMTWeb
netbios name = devserver
time server = yes
security = user
add user script = /usr/sbin/useradd -m...
2008 Apr 01
2
smbldap-useradd -w won't create machine account
I can't get smbldap-useradd to add the sambaSamAccount workstation
attributes. For example:
smbldap-useradd -w 'test_machine$'
# test_machine$, People, desktop.hmdc.harvard.edu
dn: uid=test_machine$,ou=People,dc=desktop,dc=hmdc,dc=harvard,dc=edu
objectClass: top
objectClass: account
objectClass: posixAccount
cn: test_machine$
uid: test_machine$
uidNumber: 1010
gidNumber: 515
2007 May 23
1
Can not add machine to the domain
Running samba-3.0.24 with ldap on debian etch.
Whenever I try to add an xp pro machine to the domain I get (on the pc) "the
username can not be found". I'm loggin in as admin. In the samba log I get
(for this pc)
" passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command
`/usr/local/smbldap-tools/smbldap-useradd -w "gal_script$"' gave 127"
I changed disabled the digital encryption for domain on the xp box in
security policy.
I can add the machine from the debian command line with no problems.
Her...
2007 Jan 08
0
failing to create a machine trust account
...0, 1000), real(1000, 0)]
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2797)
Returning domain sid for domain EST ->
S-1-5-21-1152323856-1746261438-3327382661
useradd: unable to lock password file
[2007/01/07 23:03:04, 0, pid=28573, effective(1000, 1000), real(1000, 0)]
passdb/pdb_interface.c:pdb_default_create_user(368)
_samr_create_user: Running the command `/usr/sbin/useradd -d /dev/null -g
100 -s /bin/false tbrownxp$' gave 1
Why is useradd unable to lock the password file?
Then I tried to create the machine trust account manually like this:
/usr/sbin/useradd -d /dev/null -g 100 -s /bin/false tbrow...
2009 Sep 16
1
Problem with net rpc .
...ivre smbd[4178]: [2009/09/15 09:33:27, 0]
rpc_server/srv_netlog_nt.c:_net_auth_2(461)
Sep 15 09:33:27 amblivre smbd[4178]: _net_auth2: failed to get machine
password for account AMBLIVRE$: NT_STATUS_ACCESS_DENIED
Sep 15 09:33:30 amblivre smbd[4179]: [2009/09/15 09:33:30, 0]
passdb/pdb_interface.c:pdb_default_create_user(329)
Somebody have any idea how resolve this problem ?
Thanks all.
--
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification
MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft...
2011 Dec 12
0
Problems trying to add computer to a domain with Domain Admin Users
...Domain Admins but I cannot add them to the domain except when I use Administrator.
This is an example of the log of my user "jdc"
Error: modifications require authentication at /usr/lib/perl5/vendor_perl/5.8.8/smbldap_tools.pm line 1207.
[2011/12/11 19:25:30, 0] passdb/pdb_interface.c:pdb_default_create_user(342)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -t 0 -w "pcpruebas$"' gave 3
Thanks,
Juan Diego
2008 Mar 08
0
(no subject)
...-d /dev/null -s /bin/false -g
515 "labpc1$"' gave 0
Finding user LABPC1$
Trying _Get_Pwnam(), username as lowercase is labpc1$
Trying _Get_Pwnam(), username as given is LABPC1$
Checking combinations of 0 uppercase letters in labpc1$
Get_Pwnam_internals didn't find user [LABPC1$]!
pdb_default_create_user: failed to create a new user structure:
NT_STATUS_NO_SUCH_USER
Now what is very interesting is the LDAP logs show the following queries:
Before the smbldap-useradd command is executed, I see LDAP queries for
labpc1$ which nentries=0 for each query.
Then I see this:
ADD dn="uid=labpc1$,ou=Co...