search for: _samr_create_user

Displaying 20 results from an estimated 122 matches for "_samr_create_user".

2006 Jul 18
3
Unable to add computer to domain
Dear Expert, Pls help, I am in the progress implementing Samba as LDAP as PDC on FC5, I followed the instruction of "samba3-ldap-howto", now I am unable to add computer to domain.. Tried to check /var/log/samba and found the following: [2006/07/18 14:55:44, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2404) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "nb02$"' gave 9 [2006/07/18 14:56:01, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2404) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "nb02$"' gave 9 [2006/07/18 14:56...
2006 Apr 19
0
Sysprep & Samba
..."The user name could not be found. Would you like to proceed for now and try joining a domain later?" In my Samba logs directory I can see it trying to add a workstation user with the original computer name of the sysprep'd computer: [2006/04/19 11:43:16, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w 'mmb9-m21'' gave 9 [2006/04/19 11:43:28, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w 'mmb9-m21'' gave 9 [2006/04/19 11:...
2005 Jul 22
1
can't join to a domain... can_add_account is returning false
I have just set up a domain and am trying to join a machine to it. When i watch the log i see [2005/07/22 14:56:26, 5] rpc_server/srv_samr_nt.c:_samr_create_user(2311) _samr_create_user: can add this account : False Error: modifications require authentication at /usr/share/perl5/smbldap_tools.pm line 892, <DATA> line 283. [2005/07/22 14:56:28, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/sbin/sm...
2007 Nov 21
2
samba as a pdc problems
...be found". It appears, however, that the "Description" field change was completed successfully (via pdbedit -L -v). b - when trying to add a new user: Windows error: "The user name could not be found". The log file showed: [2007/11/20 17:33:20, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_create_user: Running the command `/usr/sbin/useradd -m 'akop'' gave 5 This looks like another permissions problem with smbd as running this command by hand when signed on as root works just fine. I can post anything appropriate: logs, configs, etc. just didn't want to p...
2006 Jul 06
1
Error looking for next uid at /usr/share/perl5/smbldap_tools.pm
...onfig 0.399 slapd 2.2.26-5ubuntu2.1 smbldap-tools 0.9.2-3 When i try to join a domain i get this error: Could not find base dn, to get next uidNumber at /usr/share/perl5/smbldap_tools.pm line 1046. [2006/07/06 16:54:44, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "na$"' gave 127 I am using /etc/ldap/schema/samba.schema from debian-edu-config. Where does it look for the base dn which it cant find? Cheers, Mario
2006 Oct 10
1
cannot join to domain
...domain using root, I get a dialog box with the following message The following error occurred attempting to join the domain "domain name": The user name could not be found. When I looked inside /var/log/samba/log.hp-laptop I found this [2006/10/10 19:07:02, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_create_user:Running the command '/usr/sbin/smbldap-useradd -w -i "hp-laptop"' gave 9 so I looked inside /usr/sbin/smbldap-useradd, I then found that the only exit that gave 9 was the following # user must not exist in LDAP (should it be nss-wide ?) my ($rc, $dn) =...
2005 Aug 12
4
Adding machine to domain fails - check permissions? (ldap)
Dear list, Whe i trying to add a machine to the domain(ldap/pdc) i get the following error: > Error: modifications require authentication at > /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283. > [2005/08/11 16:46:54, 0] > rpc_server/srv_samr_nt.c:_samr_create_user(2324) > _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w > "eduard-laptop$"' gave 127 Since i used the user Administrator, i login from the windows-machine on the linux-computer running samba with the username Administrator (account which is stored inside...
2005 Aug 09
2
Still having samba join domain problems
...main using the "root" account the Windows XP PC comes back with "The following error occurred attempting to join the domain "SUNDEV"; The user name could not be found". In the smbd log (at level 10) this is all I get: [2005/08/08 17:27:35, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/local/samba/acctscrp/smbldap-useradd t 5 -w "engrpc$"' gave 9 (and that only happens when I try to add an account twice in a row - Ive seen gave 1 show up before but its not happening now) It DOES create a posix account in the rig...
2006 Jul 24
0
impossible to join domain - smbldap-useradd -w "%u" is buggy
...looking like this: add machine script = /usr/sbin/smbldap-useradd -w "%u" This is the command that Samba executes when an unregistered machine account tries to connect to it. But does it work? NO. Check /var/log/samba/log.computer-name: [2006/07/21 15:58:34, 5] rpc_server/srv_samr_nt.c:_samr_create_user(2402) _samr_create_user: can add this account : False Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 286. Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 286. [2006/07/21 15:58:35, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_crea...
2005 Aug 04
1
Machine account setup fail
...I did this last year with 2.2. I need a PDC and roaming profiles. Problem is I can't join the domain with my lone test PC running NT4. I am getting a message saying that the machine account cant be established. Her is the log data; 2005/08/03 20:30:08, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/sbin/useradd -s /bin/ false \-d /dev/null l200772$' gave 1 useradd: unable to lock password file Testparm runs oK, I have encrypt password = yes, I have been studying the Official Samba 3 How to guide but can't figure this out. I c...
2005 Jul 08
0
add machine script problem
...[2005/07/07 16:59:56, 5] lib/username.c:Get_Pwnam_internals(247) Checking combinations of 0 uppercase letters in fileserver$ [2005/07/07 16:59:56, 5] lib/username.c:Get_Pwnam_internals(251) Get_Pwnam_internals didn't find user [fileserver$]! [2005/07/07 16:59:56, 5] rpc_server/srv_samr_nt.c:_samr_create_user(2311) _samr_create_user: can add this account : False Unable to open /etc/opt/IDEALX/smbldap-tools/smbldap.conf for reading ! Compilation failed in require at /usr/local/sbin/smbldap-useradd line 33. BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-useradd line 33. [2005/07/07 16:59...
2015 Mar 24
6
Samba4 + external ldap
...ned > > ldap_connect_system: successful connection to the LDAP server > > New SMB password: > > Retype new SMB password: > > Failed to update uidNumber in sambaUnixIdPool: modifications require >> authentication at /usr/share/perl5/smbldap_tools.pm line 1212. > > _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -m >> "billy"' gave 127 > > Could not find user billy, add script did not work > > Failed to add entry for user billy. > > On Mon, Mar 23, 2015 at 5:00 PM, Rowland Penny <rowlandpenny at googlemail.com> wrot...
2006 Sep 18
1
joining domain fails because of no samba entries with 3.0.23c
..._server/srv_lsa_hnd.c:find_policy_by_hnd_internal(162) Found policy hnd[0] [000] 00 00 00 00 05 00 00 00 00 00 00 00 ED 1D 0F 45 ........ ....?..E [010] 8B 7A 00 00 .z.. [2006/09/18 18:30:05, 5] rpc_server/srv_samr_nt.c:access_check_samr_function(222) _samr_create_user: access check ((granted: 0x000d067b; required: 0x00000010) [2006/09/18 18:30:05, 10] rpc_server/srv_samr_nt.c:can_create(2389) Checking whether [MYCOMPUTER$] can be created [2006/09/18 18:30:05, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 512) : sec_ctx_stack_ndx = 1 [2006/09/18 18:30...
2007 Dec 18
0
CentOS 5: problem with samba as PDC
...39;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/12/18 17:42:49, 0] passdb...
2006 May 04
1
samba ldap domain join
...ts don't get created. Any advise ? This seems to be the last issue I need to get fixed. Error: Insufficient 'write' privilege to the 'uidNumber' attribute of entry 'sambadomainname=ldapauth,dc=mydomain,dc=com'.[2006/05/04 10:15:17, 0] rpc_server/srv_samr_nt.c:(2415) _samr_create_user: Running the command `/usr/local/samba/bin/smbldap-useradd -n -g machines -c Machine -d /dev/null -s /bin/false computer$' gave 1
2006 Mar 17
1
Problem at include a machine in domain
...apsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:26, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:26, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -w "ajax$"' gave 9 Anybody can help me? Thanks! Stephan
2005 Mar 22
3
SAMBA3 + LDAP = Round 5 :(((
...domain: ACCESS DENIED (requested: 0x00000211) [2005/03/22 09:47:05, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2482) Returning domain sid for domain ARZUR-NT -> S-1-5-21-1874299889-3982645529-2160850509 [2005/03/22 09:47:05, 2] rpc_server/srv_samr_nt.c:access_check_samr_function(115) _samr_create_user: ACCESS DENIED (granted: 0x00000201; required: 0x00000010) [2005/03/22 09:47:05, 2] smbd/server.c:exit_server(575) Closing connections 3- The same Administrator, I create a root ldap user (same as the old smbldap-tools) [2005/03/22 09:49:42, 2] lib/smbldap.c:smbldap_open_connection(692) sm...
2004 Aug 15
3
join domain - ou=people searched for machine accounts?
...arch is triggered with a base "ou=people", nothing is found, and the error occurs. As workaround, I used smbldap-useradd without the "-w". The entry is created under "ou=people", and the join is finished sucessfully. [2004/08/15 21:29:27, 3] rpc_server/srv_samr_nt.c:_samr_create_user(2245) _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -w "at-4$"' gave 0 [2004/08/15 21:29:27, 5] lib/username.c:Get_Pwnam(293) Finding user at-4$ [2004/08/15 21:29:27, 5] lib/username.c:Get_Pwnam_internals(223) Trying _Get_Pwnam(), username as lowercase...
2005 Jun 16
1
smbldap adding machine error
..._ldap.c:init_sam_from_ldap(499) init_sam_from_ldap: Entry found for user: root [2005/06/16 11:09:18, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2580) Returning domain sid for domain SPRINGFIELD2 -> S-1-5-21-44546037-3274923872-710358792 [2005/06/16 11:09:18, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/opt/IDEALX/sbin/smbldap-useradd -w sherri$' gave 9 [2005/06/16 11:09:19, 2] smbd/server.c:exit_server(609) Closing connections my smb.conf file is: [global] dos charset = 850 unix charset = ISO8859-1 workgroup = SPRI...
2005 Jun 15
2
Can't join pc to domain with smbldap-tools but can with smbpasswd
..._password: authentication for user [root] -> [root] -> [root] succeeded [2005/06/14 19:01:12, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2580) Returning domain sid for domain LDAPDOMAIN -> S-1-5-21-3007768992-1764342258-1846594437 [2005/06/14 19:01:13, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324) _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -w "ldap-test$"' gave 9 [2005/06/14 19:01:13, 2] smbd/server.c:exit_server(609) Closing connections I'm not sure what the "gave 9" error means or where to look it up. But the ldap-test$...